## JSON-LD End ## ## Linked Data using Relative URIs Exercise 1 ## JSON-LD Start ## { "@context": { "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "foaf": "http://xmlns.com/foaf/0.1/", "dcterms": "http://purl.org/dc/terms/", "gr": "http://purl.org/goodrelations/v1#", "wdrs": "http://www.w3.org/2007/05/powder-s#" }, "@graph": [ { "@id": "#", "@type": "foaf:Document", "dcterms:description": "A collection of RDF sentences that describe a Person literally identified (or labeled) as 'Bob'", "foaf:name": "A Document that describes a Person literally identified as 'Bob'", "foaf:primaryTopic": { "@id": "#bob" } }, { "@id": "#bob", "@type": "foaf:Person", "gr:seeks": { "@id": "#CoolRedCar" }, "wdrs:describedby": { "@id": "#" }, "foaf:depiction": { "@id": "http://www.silhouettegraphics.net/wp-content/uploads/2013/10/young-man-silhouettegraphics-.jpg" }, "foaf:knows": { "@id": "#alice" }, "foaf:name": "Bob" } ] } ## JSON-LD End ## ## Exercise 2 ## JSON-LD Start ## { "@context": { "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "foaf": "http://xmlns.com/foaf/0.1/", "dcterms": "http://purl.org/dc/terms/", "rel": "http://purl.org/vocab/relationship/", "wdrs": "http://www.w3.org/2007/05/powder-s#" }, "@graph": [ { "@id": "#", "@type": "foaf:Document", "dcterms:description": "A collection of RDF sentences that describe a Person literally identified (or labeled) as 'Alice'", "foaf:name": "A Document that describes a Person literally identified as 'Alice'", "foaf:primaryTopic": { "@id": "#alice" } }, { "@id": "#alice", "@type": "foaf:Person", "rel:employedBy": { "@id": "https://medium.com/openlink-software-blog/org.ttl#exampleCars" }, "wdrs:describedby": { "@id": "#" }, "foaf:depiction": { "@id": "http://clipart-library.com/images/kiMb8ggKT.jpg" }, "foaf:knows": { "@id": "#bob" }, "foaf:name": "Alice" } ] } ## JSON-LD End ## ## Exercise 3 ## JSON-LD Start ## { "@context": { "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "foaf": "http://xmlns.com/foaf/0.1/", "dcterms": "http://purl.org/dc/terms/", "gr": "http://purl.org/goodrelations/v1#", "wdrs": "http://www.w3.org/2007/05/powder-s#" }, "@graph": [ { "@id": "#", "@type": "foaf:Document", "dcterms:description": "A collection of RDF sentences that describe an Organization literally identified (or labeled) as 'Example Cars & Co.'", "foaf:name": "A Document that describes an Organization literally identified as 'Example Cars & Co.'", "foaf:primaryTopic": { "@id": "#exampleCars" } }, { "@id": "#exampleCars", "@type": [ "gr:BusinessEntity", "foaf:Organization" ], "wdrs:describedby": { "@id": "" }, "foaf:depiction": { "@id": "https://thumb1.shutterstock.com/display_pic_with_logo/3648824/532862638/stock-vector-silhouette-automated-production-line-robotic-factory-banner-532862638.jpg" }, "foaf:made": { "@id": "https://medium.com/openlink-software-blog/product.ttl#CoolRedCar" }, "foaf:name": "Example Cars & Co." } ] } ## JSON-LD End ## ## Exercise 4 ## JSON-LD Start ## { "@context": { "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "foaf": "http://xmlns.com/foaf/0.1/", "dcterms": "http://purl.org/dc/terms/", "gr": "http://purl.org/goodrelations/v1#", "wdrs": "http://www.w3.org/2007/05/powder-s#" }, "@graph": [ { "@id": "#", "@type": "foaf:Document", "dcterms:description": "A collection of RDF sentences that describe a Product literally identified (or labeled) as 'Gift Wrapped Cool Red Car -- Brand Unknown'", "foaf:name": "A Document that describes a Product literally identified as 'Gift Wrapped Cool Red Car -- Brand Unknown'", "foaf:primaryTopic": { "@id": "#CoolRedCar" } }, { "@id": "#CoolRedCar", "@type": "gr:ProductOrService", "wdrs:describedby": { "@id": "#" }, "foaf:depiction": { "@id": "http://highroaddigital.com/wp-content/uploads/2015/01/wonanewcar.jpg" }, "foaf:maker": { "@id": "#exampleCars" }, "foaf:name": "Gift Wrapped Cool Red Car -- Brand Unknown" } ] } ## JSON-LD End ## ## Exercise 5 ## JSON-LD Start ## { "@context": { "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "foaf": "http://xmlns.com/foaf/0.1/", "dcterms": "http://purl.org/dc/terms/" }, "@id": "#", "@type": "foaf:Document", "dcterms:description": "A collection of RDF sentences that describe a Linked Data Deployment exercise", "foaf:depiction": { "@id": "http://kingsley.idehen.net/DAV/home/kidehen/Public/Linked%20Data%20Documents/Tutorials/slide38_linked_data_network_v2_SPO%20_latest_relative_uris.png" }, "foaf:name": "A Document about illustrating a simple Linked Data Deployment exercise", "foaf:topic": [ { "@id": "#" }, { "@id": "/doc1.ttl" }, { "@id": "/doc2.ttl" }, { "@id": "/product.ttl" }, { "@id": "/org.ttl" } ] } ## JSON-LD End ##