Distributed Knowledge Graphs 1
UNC SDIS, INLS 620, Fall 2026
August 18
Introduction to the course
Total amount of required reading for this meeting: 1,000 words
An introduction to the course: what knowledge graphs are, what makes them distributed, and how we will work together this semester.
π To read before this meeting:
-
1,000 wordsRecurse Center. “Social Rules,” n.d. https://www.recurse.com/social-rules.
August 20
Git and GitHub
View
notes
Git is a distributed version control system, and GitHub hosts Git repositories on the Web. Each assignment is distributed as a repository that is forked for you; we look at how to clone your fork, and how to stage, commit, and push your work back to it.
π To read before this meeting:
-
GitHub, Inc. “Start Your Journey: Learn the Basics of GitHub.” GitHub Docs, 2024. https://docs.github.com/en/get-started/start-your-journey.
-
GitHub, Inc. “Apply to GitHub Education as a Student.” GitHub Docs, 2024. https://docs.github.com/en/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-education-for-students/apply-to-github-education-as-a-student.
August 25
Visual Studio Code and Codespaces
Total amount of required viewing for this meeting: 14 minutes
Visual Studio Code is the editor we will use throughout the course. A codespace is a preconfigured Linux development environment that runs in a container, either remotely on GitHub or locally using Docker.
πΊ To view before this meeting:
-
Viewing tips
You can follow along at https://vscode.dev.
August 25
Hello world assignment available
August 27
Forms of data
Total amount of required reading for this meeting: 12,800 words
Data can be structured as blobs, sets, lists, dictionaries, trees, or graphs, and each of these structures makes different questions easy to ask. We compare the tabular, relational, meta-markup, and graph metamodels built on top of them.
π To read before this meeting:
August 27
Hello world assignment due
September 1
(Semantic) data modeling I
Total amount of required viewing for this meeting: 19 minutes
Data modeling is the design of a formal language intended to aid communication and mediate among different purposes and perspectives.
πΊ To view before this meeting:
September 3
(Semantic) data modeling II
Total amount of required reading for this meeting: 8,000 words
The Semantic Web is a vision of the Web as a space for sharing data rather than documents. We consider what it means to model data so that it can be combined with data modeled by other people for other purposes.
π To read before this meeting:
-
8,000 wordsAllemang, Dean, Jim Hendler, and Fabien Gandon. “What Is the Semantic Web?” In Semantic Web for the Working Ontologist, 3rd ed., 1–18. ACM Books 33. Association for Computing Machinery, 2020. PDF.
September 3
Data modeling assignment available
September 8
(Semantic) data modeling III
Total amount of required reading for this meeting: 7,000 words
Semantic modeling makes the meaning of data explicit, so that data can be interpreted consistently by parties who never coordinated with one another.
π To read before this meeting:
-
7,000 wordsAllemang, Dean, Jim Hendler, and Fabien Gandon. “Semantic Modeling.” In Semantic Web for the Working Ontologist, 3rd ed., 19–35. ACM Books 33. Association for Computing Machinery, 2020. PDF.
September 10
The Web I
Total amount of required reading for this meeting: 10,200 words
The (World Wide) Web is an Internet-scale distributed hypermedia system. It exists by means of voluntary compliance with open communication protocols and data format standards.
π To read before this meeting:
-
4,500 wordsRichardson, Leonard, and Mike Amundsen. “Surfing the Web.” In RESTful Web APIs, 1–16. Sebastopol, California: O’Reilly, 2013. PDF.
-
5,700 wordsHogan, Aidan. “Introduction.” In The Web of Data, 1–14. Springer, 2020. PDF.
Reading tips
Focus on section 1.2 (βThe Current Webβ), pages 6β14.
September 15
The Web II
Total amount of required reading for this meeting: 4,900 words
A closer look at the machinery of the Web: resources identified by URIs, representations transferred over HTTP, and the roles played by DNS, HTTP methods, status codes, and content negotiation.
π To read before this meeting:
-
4,900 wordsRichardson, Leonard, and Mike Amundsen. “Resources and Representations.” In RESTful Web APIs, 29–43. Sebastopol, California: O’Reilly, 2013. PDF.
-
Optional11,600 wordsAllemang, Dean, Jim Hendler, and Fabien Gandon. “Linked Data.” In Semantic Web for the Working Ontologist, 3rd ed., 85–118. ACM Books 33. Association for Computing Machinery, 2020. PDF.
September 15
Data modeling assignment due
September 17
RDF: terms, triples, graphs I
Total amount of required reading for this meeting: 7,000 words
The Resource Description Framework (RDF) is a conceptual model for structuring information into triples that can be combined into graphs.
π To read before this meeting:
-
2,100 wordsDuCharme, Bob. “What Is RDF?,” June 27, 2021. https://www.bobdc.com/blog/whatisrdf/.
-
3,600 wordsStardog. “Graph Data Model,” 2018. https://web.archive.org/web/20190306231928/https://www.stardog.com/tutorials/data-model/.
-
1,300 wordsSchreiber, Guus, and Yves Raimond. “RDF Data Model.” In RDF 1.1 Primer. W3C, 2014. https://www.w3.org/TR/rdf11-primer/#section-data-model.
September 17
The Web assignment available
September 22
RDF: terms, triples, graphs II
Total amount of required reading for this meeting: 7,000 words
The three kinds of node found in an RDF graphβURIs, literals, and blank nodesβand the properties that relate them. We also look at namespaces and CURIEs, and at how RDF datasets keep track of graphs that change over time.
π To read before this meeting:
-
7,000 wordsAllemang, Dean, Jim Hendler, and Fabien Gandon. “RDF—The Basis of the Semantic Web.” In Semantic Web for the Working Ontologist, 3rd ed., 37–67. ACM Books 33. Association for Computing Machinery, 2020. PDF.
-
Optional10,000 wordsHogan, Aidan. “Resource Description Framework.” In The Web of Data, 59–109. Springer, 2020. PDF.
-
OptionalW3C. “RDF 1.1 Concepts and Abstract Syntax,” February 25, 2014. https://www.w3.org/TR/rdf11-concepts/.
September 24
RDF: serializations I
Total amount of required reading for this meeting: 5,100 words
Because RDF is a purely conceptual model, it does not specify how data should be written down or serialized. There are several alternative standards for serialization.
π To read before this meeting:
-
2,900 wordsSchreiber, Guus, and Yves Raimond. “Writing RDF Graphs.” In RDF 1.1 Primer. W3C, 2014. https://www.w3.org/TR/rdf11-primer/#section-graph-syntax.
-
2,200 wordsAllemang, Dean, Jim Hendler, and Fabien Gandon. “Alternatives for Serialization.” In Semantic Web for the Working Ontologist, 3rd ed., 68–63. ACM Books 33. Association for Computing Machinery, 2020. PDF.
September 29
RDF: serializations II
Total amount of required reading for this meeting: 5,000 words
A survey of the standard RDF syntaxesβN-Triples, Turtle, RDF/XML, and JSON-LDβand the tradeoffs among them, including what JSON-LD offers to developers already working with JSON.
π To read before this meeting:
-
5,000 wordsHogan, Aidan. “RDF Syntaxes.” In The Web of Data, 94–109. Springer, 2020. PDF.
-
OptionalSporny, Manu. What Is JSON-LD?, 2012. https://www.youtube.com/watch?v=vioCbTo3C-4.
September 29
The Web assignment due
October 1
RDF Schema and RDF vocabularies I
Total amount of required reading for this meeting: 2,200 words
RDF Schema is a data modeling language layered on top of the basic RDF conceptual model. It provides additional tools for describing classifications and collections of resources.
π To read before this meeting:
-
1,500 wordsDuCharme, Bob. “What Is RDFS?,” July 25, 2021. https://www.bobdc.com/blog/whatisrdfs/.
-
700 wordsSchreiber, Guus, and Yves Raimond. “RDF Vocabularies.” In RDF 1.1 Primer. W3C, 2014. https://www.w3.org/TR/rdf11-primer/#section-vocabulary.
October 6
Well-being day
Due to the well-being day, we will not meet today.
October 8
RDF Schema and RDF vocabularies II
Total amount of required reading for this meeting: 11,300 words
The core RDF Schema vocabulary: classes and their instances, the subclass and subproperty relations, and the domains and ranges of properties. We also look at containers, collections, and reification.
π To read before this meeting:
-
11,300 wordsAllemang, Dean, Jim Hendler, and Fabien Gandon. “RDF Schema.” In Semantic Web for the Working Ontologist, 3rd ed., 201–32. ACM Books 33. Association for Computing Machinery, 2020. PDF.
-
Optional25,100 wordsHogan, Aidan. “RDF Schema and Semantics.” In The Web of Data, 111–83. Springer, 2020. PDF.
October 8
RDFS assignment available
October 13
Wikidata and Wikibase I
Total amount of required reading for this meeting: 5,100 words
Wikidata is a free and openly editable knowledge base that is published as RDF. Wikibase is the software it runs on.
π To read before this meeting:
-
Vanderbilt University. “Learn Wikidata.” Accessed January 7, 2022. https://www.learnwikidata.net/.
-
5,100 wordsVrandečić, Denny, and Markus Krötzsch. “Wikidata: A Free Collaborative Knowledgebase.” Communications of the ACM 57, no. 10 (September 23, 2014): 78–85. https://doi.org/10.1145/2629489.
October 15
Fall break
Due to fall break, we will not meet today.
October 20
Wikidata and Wikibase II
Total amount of required reading for this meeting: 6,800 words
The Wikidata data model: items, properties, and the statements that relate them, along with the qualifiers, references, and datatypes a statement may involve, and how this model is mapped onto RDF.
π To read before this meeting:
-
1,900 wordsWikidata. “Help:Items,” n.d. https://www.wikidata.org/wiki/Help:Items.
-
1,200 wordsWikidata. “Help:Properties,” n.d. https://www.wikidata.org/wiki/Help:Properties.
-
1,800 wordsWikidata. “Help:Statements,” n.d. https://www.wikidata.org/wiki/Help:Statements.
-
1,900 wordsWikidata. “Help:Data Type,” n.d. https://www.wikidata.org/wiki/Help:Data_type.
-
Optional7,200 wordsWikibase. “Wikibase/DataModel,” n.d. https://www.mediawiki.org/wiki/Wikibase/DataModel.
-
Optional4,800 wordsWikibase. “Wikibase/Indexing/RDF Dump Format,” n.d. https://www.mediawiki.org/wiki/Wikibase/Indexing/RDF_Dump_Format.
October 20
RDFS assignment due
October 22
SPARQL I
Total amount of required reading for this meeting: 19,200 words
The SPARQL Protocol and RDF Query Language (SPARQL) is a query language for RDF.
π To read before this meeting:
-
5,100 wordsDuCharme, Bob. “Jumping Right in: Some Data and Some Queries.” In Learning SPARQL: Querying and Updating with SPARQL 1.1, 2nd ed., 1–17. Sebastopol: O’Reilly Media, 2013. PDF.
-
14,100 wordsDuCharme, Bob. “SPARQL Queries: A Deeper Dive.” In Learning SPARQL: Querying and Updating with SPARQL 1.1, 2nd ed., 47–102. Sebastopol: O’Reilly Media, 2013. PDF.
October 27
Ryan is out of town
I will be be out of town, so we will not meet today.
October 29
SPARQL II
Total amount of required viewing for this meeting: 45 minutes
Total amount of required reading for this meeting: 2,200 words
Writing SPARQL queries: basic graph patterns and the variables they bind, then ordering, limiting, and filtering results, matching alternatives with UNION, and handling incomplete data with OPTIONAL.
πΊ To view before this meeting:
-
Viewing tips
You need not watch the entire 111 minutes⦠the first 45 minutes covers the most important things.
π To read before this meeting:
-
2,200 words“A Gentle Introduction to the Wikidata Query Service.” In Wikidata, n.d. https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/A_gentle_introduction_to_the_Wikidata_Query_Service.
-
OptionalWikidata. “Wikidata:SPARQL Query Service/Queries,” n.d. https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries.
October 29
Wikidata and SPARQL assignment available
November 3
SPARQL III
Total amount of required reading for this meeting: 18,900 words
More of SPARQL: property paths for matching routes of arbitrary length through a graph, grouping and aggregation, and CONSTRUCT queries that return graphs rather than tables. We also look at querying Wikidata for labels, qualifiers, and references.
π To read before this meeting:
-
18,900 wordsAllemang, Dean, Jim Hendler, and Fabien Gandon. “Querying the Semantic Web—SPARQL.” In Semantic Web for the Working Ontologist, 3rd ed., 119–80. ACM Books 33. Association for Computing Machinery, 2020. PDF.
-
Optional37,500 wordsHogan, Aidan. “SPARQL Query Language.” In The Web of Data, 323–448. Springer, 2020. PDF.
-
OptionalW3C. “SPARQL 1.1 Query Language,” March 21, 2013. https://www.w3.org/TR/sparql11-query/.
November 5
Shape constraints I
Total amount of required reading for this meeting: 19,800 words
Shape constraint languages (SHACL and ShEx) allow us to prescribe a certain βshapeβ for a graph, by requiring or forbidding certain patterns of triples.
π To read before this meeting:
-
19,800 wordsHogan, Aidan. “Shape Constraints and Expressions.” In The Web of Data, 449–513. Springer, 2020. PDF.
November 5
Wikidata and SPARQL assignment due
November 10
Shape constraints II
Shape constraint languages (SHACL and ShEx) allow us to prescribe a certain βshapeβ for a graph, by requiring or forbidding certain patterns of triples.
π To read before this meeting:
-
Wikidata. “Wikidata:WikiProject Schemas,” n.d. https://www.wikidata.org/wiki/Wikidata:WikiProject_Schemas.
November 10
SHACL and OWL assignment available
November 12
Shape constraints III / OWL I
We finish with shape constraints and begin the Web Ontology Language (OWL), introducing inverse, transitive, and symmetric properties and the distinction between object and datatype properties, by looking at how they are used to define the Simple Knowledge Organization System (SKOS).
π To read before this meeting:
-
Optional7,400 wordsAllemang, Dean, Jim Hendler, and Fabien Gandon. “Extending RDF: RDFS and SHACL.” In Semantic Web for the Working Ontologist, 3rd ed., 181–200. ACM Books 33. Association for Computing Machinery, 2020. PDF.
November 17
OWL II
Total amount of required reading for this meeting: 12,400 words
The Web Ontology Language (OWL) is a data modeling language layered on top of RDF Schema (which is why some parts of OWL are referred to as βRDF-Plus.β OWL enables more complex inferences to be drawn from RDF data.
π To read before this meeting:
-
12,400 wordsAllemang, Dean, Jim Hendler, and Fabien Gandon. “RDFS-Plus.” In Semantic Web for the Working Ontologist, 3rd ed., 233–69. ACM Books 33. Association for Computing Machinery, 2020. PDF.
November 19
OWL III
Total amount of required reading for this meeting: 22,600 words
Beyond RDFS-Plus: the basic OWL constructs for describing classes in terms of set operations and cardinality restrictions, and what is involved in using these vocabularies in the wild.
π To read before this meeting:
-
12,600 wordsAllemang, Dean, Jim Hendler, and Fabien Gandon. “Using RDFS-Plus in the Wild.” In Semantic Web for the Working Ontologist, 3rd ed., 271–302. ACM Books 33. Association for Computing Machinery, 2020. PDF.
-
10,000 wordsAllemang, Dean, Jim Hendler, and Fabien Gandon. “Basic OWL.” In Semantic Web for the Working Ontologist, 3rd ed., 319–51. ACM Books 33. Association for Computing Machinery, 2020. PDF.
-
Optional5,700 wordsAllemang, Dean, Jim Hendler, and Fabien Gandon. “SKOS—Managing Vocabularies with RDFS-Plus.” In Semantic Web for the Working Ontologist, 3rd ed., 303–18. ACM Books 33. Association for Computing Machinery, 2020. PDF.
-
Optional11,500 wordsAllemang, Dean, Jim Hendler, and Fabien Gandon. “Counting and Sets in OWL.” In Semantic Web for the Working Ontologist, 3rd ed., 353–89. ACM Books 33. Association for Computing Machinery, 2020. PDF.
-
Optional49,300 wordsHogan, Aidan. “Web Ontology Language.” In The Web of Data, 185–322. Springer, 2020. PDF.
November 24β26
Thanksgiving
Due to Thanksgiving, we will not meet this week.