Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed json path references to respect the new standard #46

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading