8. Linked Data / RDF
● Standards
– What it means
– Syntaxes for exchanging data
– Query language
● URI name things globally
● Uniform representation
– Link to another thing is same as link to a value
● Complex structures encoded in the basic mechanism
● “Schemaless” data integration
9. Linked Data
★ make your stuff available on the Web (whatever
format) under an open license
★★ make it available as structured data (e.g., Excel
instead of image scan of a table)
★★★ use non-proprietary formats (e.g., CSV instead
of Excel)
★★★★ use URIs to denote things, so that people
can point at your stuff
★★★★★ link your data to other data to provide context
http://5stardata.info/
13. Property Graphs
● Separates Links and Attributes
● Nodes have attributes
– … and so do edges
● Different definitions
– https://github.com/tinkerpop/ is the de facto standard
– Not universal
● Data exchange (web publishing) is not an objective
● Analysis and schema-less data applications
14. Build
Graph graph = new TinkerGraph();
Vertex a = graph.addVertex("alice");
Vertex b = graph.addVertex("bob");
a.setProperty("name","Alice Hacker");
b.setProperty("name","Bob Coder");
Edge e1 = graph.addEdge("k1", a, b, "knows");
Edge e2 = graph.addEdge("k2", b, a, "knows") ;