Knowledge Graphs

Exercise 2.10 - Translation between property graphs and RDF

Exercise 2.10 Write a translator to perform the following format conversions. You may test your translator using the data from Sections 2, 3 and 4.
(a) Convert RDF data into property graph format. Sample Solution
(b) Convert property graph data into RDF format, suitably handling the edge labels through reification. Sample Solution
(c) Convert property graph data into RDF-star format, representing node labels using rdf:type and relationship properties using RDF-star quoted triples. Sample Solution