Skip to content

Commit

Permalink
fix blank node resources in test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaria authored and DylanVanAssche committed Mar 4, 2024
1 parent 3707893 commit 986e14d
Show file tree
Hide file tree
Showing 128 changed files with 320 additions and 320 deletions.
4 changes: 2 additions & 2 deletions test-cases/RMLTC0000-CSV/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<http://example.com/base/TriplesMap1> a rml:TriplesMap ;
rml:logicalSource [ a rml:LogicalSource ;
rml:referenceFormulation rml:CSV ;
rml:source <_:b277322> ] ;
rml:source _:b277322 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:template "http://example.com/{Name}" ] .

<_:b277322> a rml:RelativePathSource ;
_:b277322 a rml:RelativePathSource ;
rml:path "student.csv" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0000-JSON/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "$.students[*]" ;
rml:referenceFormulation rml:JSONPath ;
rml:source <_:b820041> ] ;
rml:source _:b820041 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:template "http://example.com/{Name}" ] .

<_:b820041> a rml:RelativePathSource ;
_:b820041 a rml:RelativePathSource ;
rml:path "student.json" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0000-XML/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "/students/student" ;
rml:referenceFormulation rml:XPath ;
rml:source <_:b848099> ] ;
rml:source _:b848099 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:template "http://example.com/{Name}" ] .

<_:b848099> a rml:RelativePathSource ;
_:b848099 a rml:RelativePathSource ;
rml:path "student.xml" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0001a-CSV/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<http://example.com/base/TriplesMap1> a rml:TriplesMap ;
rml:logicalSource [ a rml:LogicalSource ;
rml:referenceFormulation rml:CSV ;
rml:source <_:b408533> ] ;
rml:source _:b408533 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:template "http://example.com/{Name}" ] .

<_:b408533> a rml:RelativePathSource ;
_:b408533 a rml:RelativePathSource ;
rml:path "student.csv" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0001a-JSON/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "$.students[*]" ;
rml:referenceFormulation rml:JSONPath ;
rml:source <_:b738439> ] ;
rml:source _:b738439 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap <http://example.com/base/#NameSubjectMap> .

<_:b738439> a rml:RelativePathSource ;
_:b738439 a rml:RelativePathSource ;
rml:path "student.json" .

<http://example.com/base/#NameSubjectMap> rml:template "http://example.com/{Name}" .
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLTC0001a-XML/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "/students/student" ;
rml:referenceFormulation rml:XPath ;
rml:source <_:b893000> ] ;
rml:source _:b893000 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:template "http://example.com/{Name}" ] .

<_:b893000> a rml:RelativePathSource ;
_:b893000 a rml:RelativePathSource ;
rml:path "student.xml" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0001b-CSV/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<http://example.com/base/TriplesMap1> a rml:TriplesMap ;
rml:logicalSource [ a rml:LogicalSource ;
rml:referenceFormulation rml:CSV ;
rml:source <_:b679881> ] ;
rml:source _:b679881 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:template "{Name}" ;
rml:termType rml:BlankNode ] .

<_:b679881> a rml:RelativePathSource ;
_:b679881 a rml:RelativePathSource ;
rml:path "student.csv" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0001b-JSON/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "$.students[*]" ;
rml:referenceFormulation rml:JSONPath ;
rml:source <_:b879138> ] ;
rml:source _:b879138 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:template "{Name}" ;
rml:termType rml:BlankNode ] .

<_:b879138> a rml:RelativePathSource ;
_:b879138 a rml:RelativePathSource ;
rml:path "student.json" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0001b-XML/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "/students/student" ;
rml:referenceFormulation rml:XPath ;
rml:source <_:b598646> ] ;
rml:source _:b598646 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:template "{Name}" ;
rml:termType rml:BlankNode ] .

<_:b598646> a rml:RelativePathSource ;
_:b598646 a rml:RelativePathSource ;
rml:path "student.xml" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0002a-CSV/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<http://example.com/base/TriplesMap1> a rml:TriplesMap ;
rml:logicalSource [ a rml:LogicalSource ;
rml:referenceFormulation rml:CSV ;
rml:source <_:b967105> ] ;
rml:source _:b967105 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "ID" ] ;
rml:predicate ex:id ],
[ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:class foaf:Person ;
rml:template "http://example.com/{ID}/{Name}" ] .

<_:b967105> a rml:RelativePathSource ;
_:b967105 a rml:RelativePathSource ;
rml:path "student.csv" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0002a-JSON/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "$.students[*]" ;
rml:referenceFormulation rml:JSONPath ;
rml:source <_:b917> ] ;
rml:source _:b917 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "ID" ] ;
rml:predicate ex:id ],
[ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:class foaf:Person ;
rml:template "http://example.com/{ID}/{Name}" ] .

<_:b917> a rml:RelativePathSource ;
_:b917 a rml:RelativePathSource ;
rml:path "student.json" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0002a-XML/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "/students/student" ;
rml:referenceFormulation rml:XPath ;
rml:source <_:b273958> ] ;
rml:source _:b273958 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "ID" ] ;
rml:predicate ex:id ],
[ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:class foaf:Person ;
rml:template "http://example.com/{ID}/{Name}" ] .

<_:b273958> a rml:RelativePathSource ;
_:b273958 a rml:RelativePathSource ;
rml:path "student.xml" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0002b-CSV/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<http://example.com/base/TriplesMap1> a rml:TriplesMap ;
rml:logicalSource [ a rml:LogicalSource ;
rml:referenceFormulation rml:CSV ;
rml:source <_:b961651> ] ;
rml:source _:b961651 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:template "students{ID}" ;
rml:termType rml:BlankNode ] .

<_:b961651> a rml:RelativePathSource ;
_:b961651 a rml:RelativePathSource ;
rml:path "student.csv" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0002b-JSON/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "$.students[*]" ;
rml:referenceFormulation rml:JSONPath ;
rml:source <_:b640700> ] ;
rml:source _:b640700 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:template "students{ID}" ;
rml:termType rml:BlankNode ] .

<_:b640700> a rml:RelativePathSource ;
_:b640700 a rml:RelativePathSource ;
rml:path "student.json" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0002b-XML/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "/students/student" ;
rml:referenceFormulation rml:XPath ;
rml:source <_:b684296> ] ;
rml:source _:b684296 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Name" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:template "students{ID}" ;
rml:termType rml:BlankNode ] .

<_:b684296> a rml:RelativePathSource ;
_:b684296 a rml:RelativePathSource ;
rml:path "student.xml" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0002c-CSV/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<http://example.com/base/TriplesMap1> a rml:TriplesMap ;
rml:logicalSource [ a rml:LogicalSource ;
rml:referenceFormulation rml:CSV ;
rml:source <_:b855455> ] ;
rml:source _:b855455 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "IDs" ] ;
rml:predicate ex:id ] ;
rml:subjectMap [ rml:template "http://example.com/{ID}/{Name}" ] .

<_:b855455> a rml:RelativePathSource ;
_:b855455 a rml:RelativePathSource ;
rml:path "student.csv" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0002e-CSV/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<http://example.com/base/TriplesMap1> a rml:TriplesMap ;
rml:logicalSource [ a rml:LogicalSource ;
rml:referenceFormulation rml:CSV ;
rml:source <_:b756717> ] ;
rml:source _:b756717 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "IDs" ] ;
rml:predicate ex:id ] ;
rml:subjectMap [ rml:template "http://example.com/{ID}/{Name}" ] .

<_:b756717> a rml:RelativePathSource ;
_:b756717 a rml:RelativePathSource ;
rml:path "student2.csv" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0002e-JSON/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "$.students[*]" ;
rml:referenceFormulation rml:JSONPath ;
rml:source <_:b528806> ] ;
rml:source _:b528806 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "IDs" ] ;
rml:predicate ex:id ] ;
rml:subjectMap [ rml:template "http://example.com/{ID}/{Name}" ] .

<_:b528806> a rml:RelativePathSource ;
_:b528806 a rml:RelativePathSource ;
rml:path "student2.json" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0002e-XML/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "/students/student" ;
rml:referenceFormulation rml:XPath ;
rml:source <_:b29658> ] ;
rml:source _:b29658 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "IDs" ] ;
rml:predicate ex:id ] ;
rml:subjectMap [ rml:template "http://example.com/{ID}/{Name}" ] .

<_:b29658> a rml:RelativePathSource ;
_:b29658 a rml:RelativePathSource ;
rml:path "student2.xml" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0002g-JSON/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "$.students[*]]" ;
rml:referenceFormulation rml:JSONPath ;
rml:source <_:b660259> ] ;
rml:source _:b660259 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "IDs" ] ;
rml:predicate ex:id ] ;
rml:subjectMap [ rml:template "http://example.com/{ID}/{Name}" ] .

<_:b660259> a rml:RelativePathSource ;
_:b660259 a rml:RelativePathSource ;
rml:path "student2.json" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0003c-CSV/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<http://example.com/base/TriplesMap1> a rml:TriplesMap ;
rml:logicalSource [ a rml:LogicalSource ;
rml:referenceFormulation rml:CSV ;
rml:source <_:b876850> ] ;
rml:source _:b876850 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:template "{FirstName} {LastName}" ;
rml:termType rml:Literal ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:template "http://example.com/Student{ID}" ] .

<_:b876850> a rml:RelativePathSource ;
_:b876850 a rml:RelativePathSource ;
rml:path "student.csv" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0003c-JSON/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "$.students[*]" ;
rml:referenceFormulation rml:JSONPath ;
rml:source <_:b671596> ] ;
rml:source _:b671596 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:template "{FirstName} {LastName}" ;
rml:termType rml:Literal ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:template "http://example.com/Student{ID}" ] .

<_:b671596> a rml:RelativePathSource ;
_:b671596 a rml:RelativePathSource ;
rml:path "student.json" .

4 changes: 2 additions & 2 deletions test-cases/RMLTC0003c-XML/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "/students/student" ;
rml:referenceFormulation rml:XPath ;
rml:source <_:b44968> ] ;
rml:source _:b44968 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:template "{FirstName} {LastName}" ;
rml:termType rml:Literal ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:template "http://example.com/Student{ID}" ] .

<_:b44968> a rml:RelativePathSource ;
_:b44968 a rml:RelativePathSource ;
rml:path "student.xml" .

8 changes: 4 additions & 4 deletions test-cases/RMLTC0004a-CSV/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<http://example.com/base/TriplesMap1> a rml:TriplesMap ;
rml:logicalSource [ a rml:LogicalSource ;
rml:referenceFormulation rml:CSV ;
rml:source <_:b281455> ] ;
rml:source _:b281455 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Student" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:class ex:Student ;
Expand All @@ -14,15 +14,15 @@
<http://example.com/base/TriplesMap2> a rml:TriplesMap ;
rml:logicalSource [ a rml:LogicalSource ;
rml:referenceFormulation rml:CSV ;
rml:source <_:b710091> ] ;
rml:source _:b710091 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Sport" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:class ex:Sport ;
rml:template "http://example.com/{Sport}" ] .

<_:b281455> a rml:RelativePathSource ;
_:b281455 a rml:RelativePathSource ;
rml:path "student_sport.csv" .

<_:b710091> a rml:RelativePathSource ;
_:b710091 a rml:RelativePathSource ;
rml:path "student_sport.csv" .

8 changes: 4 additions & 4 deletions test-cases/RMLTC0004a-JSON/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "$.students[*]" ;
rml:referenceFormulation rml:JSONPath ;
rml:source <_:b364951> ] ;
rml:source _:b364951 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Student" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:class ex:Student ;
Expand All @@ -16,15 +16,15 @@
rml:logicalSource [ a rml:LogicalSource ;
rml:iterator "$.students[*]" ;
rml:referenceFormulation rml:JSONPath ;
rml:source <_:b68150> ] ;
rml:source _:b68150 ] ;
rml:predicateObjectMap [ rml:objectMap [ rml:reference "Sport" ] ;
rml:predicate foaf:name ] ;
rml:subjectMap [ rml:class ex:Sport ;
rml:template "http://example.com/{Sport}" ] .

<_:b364951> a rml:RelativePathSource ;
_:b364951 a rml:RelativePathSource ;
rml:path "student_sport.json" .

<_:b68150> a rml:RelativePathSource ;
_:b68150 a rml:RelativePathSource ;
rml:path "student_sport.json" .

Loading

0 comments on commit 986e14d

Please sign in to comment.