-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test case for constant blank node (#182)
* New test case for issue 175 * Update test-cases/RMLTC0025/mapping.ttl Co-authored-by: Pano Maria <[email protected]> --------- Co-authored-by: Pano Maria <[email protected]>
- Loading branch information
1 parent
6dbb0b6
commit c803cc5
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix rml: <http://w3id.org/rml/> . | ||
@prefix ex: <http://example.com/>. | ||
|
||
<http://example.com/base/TriplesMap1> a rml:TriplesMap; | ||
rml:logicalSource [ a rml:LogicalSource; | ||
rml:iterator "$.students[*]"; | ||
rml:referenceFormulation rml:JSONPath; | ||
rml:source [ a rml:RelativePathSource; | ||
rml:root rml:MappingDirectory; | ||
rml:path "student.json" | ||
] | ||
]; | ||
rml:predicateObjectMap [ | ||
rml:objectMap [ | ||
rml:reference "Name" | ||
]; | ||
rml:predicate ex:student | ||
]; | ||
rml:subject _:School . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
_:School <http://example.com/student> "Julio" . | ||
_:School <http://example.com/student> "Venus" . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"students": [{ | ||
"Name":"Venus" | ||
}, | ||
{ | ||
"Name":"Julio" | ||
}] | ||
} |