Skip to content

Commit

Permalink
Merge pull request #46 from kg-construct/fix-json-path
Browse files Browse the repository at this point in the history
Fixed json path references to respect the new standard
  • Loading branch information
chrdebru authored Mar 28, 2024
2 parents 37eb3a0 + b759c3b commit dbae34c
Show file tree
Hide file tree
Showing 24 changed files with 48 additions and 48 deletions.
4 changes: 2 additions & 2 deletions test-cases/RMLTC-CC-0001-Alt/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:Alt ;
] ;
] ;
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLTC-CC-0001-Bag/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:Bag ;
] ;
] ;
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLTC-CC-0001-List/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:List ;
] ;
] ;
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLTC-CC-0001-Seq/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:Seq ;
] ;
] ;
Expand Down
6 changes: 3 additions & 3 deletions test-cases/RMLTC-CC-0002-Bag/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:template "c/{id}" ;
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:template "c/{$.id}" ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:Bag ;
] ;
] ;
Expand Down
6 changes: 3 additions & 3 deletions test-cases/RMLTC-CC-0002-List/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:template "c/{id}" ;
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:template "c/{$.id}" ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:List ;
] ;
] ;
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLTC-CC-0003-EB/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:allowEmptyListAndContainer true ;
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:Bag ;
] ;
] ;
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLTC-CC-0003-EL/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:allowEmptyListAndContainer true ;
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:List ;
] ;
] ;
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLTC-CC-0003-NEB/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:Bag ;
] ;
] ;
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLTC-CC-0003-NEL/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:List ;
] ;
] ;
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLTC-CC-0003-NELb/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:allowEmptyListAndContainer false ;
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:List ;
] ;
] ;
Expand Down
2 changes: 1 addition & 1 deletion test-cases/RMLTC-CC-0004-SM1/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
] ;

rml:subjectMap [
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:List ;
] ;

Expand Down
2 changes: 1 addition & 1 deletion test-cases/RMLTC-CC-0004-SM2/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
] ;

rml:subjectMap [
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:List ;
] ;
.
Expand Down
2 changes: 1 addition & 1 deletion test-cases/RMLTC-CC-0004-SM3/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
] ;

rml:subjectMap [
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:List ;
] ;
.
Expand Down
2 changes: 1 addition & 1 deletion test-cases/RMLTC-CC-0004-SM4/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
] ;

rml:subjectMap [
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:Bag ;
] ;

Expand Down
2 changes: 1 addition & 1 deletion test-cases/RMLTC-CC-0004-SM5/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
] ;

rml:subjectMap [
rml:gather ( [ rml:reference "values.*" ; ] ) ;
rml:gather ( [ rml:reference "$.values.*" ; ] ) ;
rml:gatherAs rdf:Bag ;
] ;
.
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLTC-CC-0005-App1/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:gather ( [ rml:reference "v1.*" ; ] [ rml:reference "v2.*" ; ] ) ;
rml:gather ( [ rml:reference "$.v1.*" ; ] [ rml:reference "$.v2.*" ; ] ) ;
rml:gatherAs rdf:List ;
] ;
] ;
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLTC-CC-0005-App2/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:gather ( [ rml:reference "v1.*" ; ] [ rml:reference "v2.*" ; ] ) ;
rml:gather ( [ rml:reference "$.v1.*" ; ] [ rml:reference "$.v2.*" ; ] ) ;
rml:gatherAs rdf:List ;
] ;
] ;
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLTC-CC-0005-Car1/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:gather ( [ rml:reference "v1.*" ; ] [ rml:reference "v2.*" ; ] ) ;
rml:gather ( [ rml:reference "$.v1.*" ; ] [ rml:reference "$.v2.*" ; ] ) ;
rml:gatherAs rdf:List ;
rml:strategy rml:cartesianProduct ;
] ;
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLTC-CC-0005-Car2/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:gather ( [ rml:reference "v1.*" ; ] [ rml:reference "v2.*" ; ] ) ;
rml:gather ( [ rml:reference "$.v1.*" ; ] [ rml:reference "$.v2.*" ; ] ) ;
rml:gatherAs rdf:List ;
rml:strategy rml:cartesianProduct ;
] ;
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLTC-CC-0006-IT0/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:gather ( [ rml:reference "v1.*" ; ] ) ;
rml:gather ( [ rml:reference "$.v1.*" ; ] ) ;
rml:gatherAs rdf:List ;
] ;
] ;
Expand Down
6 changes: 3 additions & 3 deletions test-cases/RMLTC-CC-0006-IT1/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:template "c/{id}" ;
rml:gather ( [ rml:reference "v1.*" ; ] ) ;
rml:template "c/{$.id}" ;
rml:gather ( [ rml:reference "$.v1.*" ; ] ) ;
rml:gatherAs rdf:List ;
] ;
] ;
Expand Down
6 changes: 3 additions & 3 deletions test-cases/RMLTC-CC-0006-IT2/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:template "c/{id}" ;
rml:gather ( [ rml:reference "v1.*" ; ] [ rml:reference "v2.*" ; ] ) ;
rml:template "c/{$.id}" ;
rml:gather ( [ rml:reference "$.v1.*" ; ] [ rml:reference "$.v2.*" ; ] ) ;
rml:gatherAs rdf:List ;
] ;
] ;
Expand Down
6 changes: 3 additions & 3 deletions test-cases/RMLTC-CC-0007-NES/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
] ;

rml:subjectMap [
rml:template "e/{id}" ;
rml:template "e/{$.id}" ;
] ;

rml:predicateObjectMap [
rml:predicate ex:with ;
rml:objectMap [
rml:gather (
[
rml:gather ( [ rml:reference "v1.*" ; ] ) ;
rml:gather ( [ rml:reference "$.v1.*" ; ] ) ;
rml:gatherAs rdf:Bag ;
]
[
rml:gather ( [ rml:reference "v2.*" ; ] ) ;
rml:gather ( [ rml:reference "$.v2.*" ; ] ) ;
rml:gatherAs rdf:Bag ;
]
) ;
Expand Down

0 comments on commit dbae34c

Please sign in to comment.