UNPKG

@rmlio/yarrrml-parser

Version:

Parse YARRRML descriptions into RML RDF statements

28 lines (23 loc) 983 B
@prefix rr: <http://www.w3.org/ns/r2rml#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix fnml: <http://semweb.mmlab.be/ns/fnml#> . @prefix fno: <https://w3id.org/function/ontology#> . @prefix d2rq: <http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#> . @prefix rml: <http://semweb.mmlab.be/ns/rml#> . @prefix ql: <http://semweb.mmlab.be/ns/ql#> . @prefix : <http://mapping.example.com/> . @prefix mail: <http://example.com/mail#> . @prefix ex: <http://www.example.com/> . :source_000 rdf:type rml:LogicalSource ; rdfs:label "source1" ; rml:source "src/test/resources/example1/example1.xml" ; rml:iterator "/notes/note" ; rml:referenceFormulation ql:XPath . :map_example_000 rml:logicalSource :source_000 ; rdf:type rr:TriplesMap ; rdfs:label "example" ; rr:subjectMap :s_000 . :s_000 rdf:type rr:SubjectMap ; rr:template "http://www.example.com/note/{@id}" ; rr:class mail:Note, ex:Note .