|
| 1 | +@prefix rr: <http://www.w3.org/ns/r2rml#> . |
| 2 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 3 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 4 | +@prefix fnml: <http://semweb.mmlab.be/ns/fnml#> . |
| 5 | +@prefix fno: <https://w3id.org/function/ontology#> . |
| 6 | +@prefix d2rq: <http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#> . |
| 7 | +@prefix void: <http://rdfs.org/ns/void#> . |
| 8 | +@prefix dc: <http://purl.org/dc/terms/> . |
| 9 | +@prefix foaf: <http://xmlns.com/foaf/0.1/> . |
| 10 | +@prefix rml: <http://semweb.mmlab.be/ns/rml#> . |
| 11 | +@prefix ql: <http://semweb.mmlab.be/ns/ql#> . |
| 12 | +@prefix : <http://example.com/base/> . |
| 13 | +@prefix o: <http://example.com/ont/> . |
| 14 | +@prefix rmle: <https://w3id.org/imec/rml/ns/extensions#> . |
| 15 | +@prefix rmlt: <http://semweb.mmlab.be/ns/rml-target#> . |
| 16 | +@prefix formats: <http://www.w3.org/ns/formats/> . |
| 17 | +@prefix htv: <http://www.w3.org/2011/http#> . |
| 18 | + |
| 19 | +:auth_000 rdf:type rmle:CssClientCredentialsAuthentication ; |
| 20 | + rmle:authEmail "user1@pod.playground.solidlab.be" ; |
| 21 | + rmle:authPassword "user1" ; |
| 22 | + rmle:authOidcIssuer <https://pod.playground.solidlab.be/> ; |
| 23 | + rmle:authWebId <https://pod.playground.solidlab.be/user1/profile/card#me> . |
| 24 | + |
| 25 | +:target_000 rdf:type rmlt:LogicalTarget ; |
| 26 | + rdfs:label "target1" ; |
| 27 | + rmlt:serialization formats:N-Quads ; |
| 28 | + rmlt:target :directhttprequest_000 . |
| 29 | + |
| 30 | +:directhttprequest_000 rdf:type rmle:DirectHttpRequest ; |
| 31 | + htv:absoluteURI "https://pod.playground.solidlab.be/user1/rmlmapper/building" ; |
| 32 | + htv:methodName "PUT" ; |
| 33 | + htv:headers :listElement_0 ; |
| 34 | + rmle:userAuthentication :auth_000 . |
| 35 | + |
| 36 | +:header-Content-Type_000 rr:class htv:RequestHeader ; |
| 37 | + htv:fieldName "Content-Type" ; |
| 38 | + htv:fieldValue "text/turtle" . |
| 39 | + |
| 40 | +:listElement_0 rdf:first :header-Content-Type_000 ; |
| 41 | + rdf:rest rdf:nil . |
| 42 | + |
| 43 | +:map_TriplesMap1_000 rml:logicalSource :source_000 ; |
| 44 | + rdf:type rr:TriplesMap ; |
| 45 | + rdfs:label "TriplesMap1" ; |
| 46 | + rr:subjectMap :s_000 ; |
| 47 | + rr:predicateObjectMap :pom_000 . |
| 48 | + |
| 49 | +:source_000 rdf:type rml:LogicalSource ; |
| 50 | + rml:source "src/test/resources/solid-target/solid1/buildings.csv" ; |
| 51 | + rml:referenceFormulation ql:CSV . |
| 52 | + |
| 53 | +:s_000 rdf:type rr:SubjectMap ; |
| 54 | + rr:template "http://example.com/{BuildingID}" ; |
| 55 | + rml:logicalTarget :target_000 . |
| 56 | + |
| 57 | +:pom_000 rdf:type rr:PredicateObjectMap ; |
| 58 | + rr:predicateMap :pm_000 ; |
| 59 | + rr:objectMap :om_000 . |
| 60 | + |
| 61 | +:pm_000 rdf:type rr:PredicateMap ; |
| 62 | + rr:constant o:has-floor-tile . |
| 63 | + |
| 64 | +:om_000 rdf:type rr:ObjectMap ; |
| 65 | + rr:template "http://example.com/product-{FloorTileID}" ; |
| 66 | + rr:termType rr:IRI . |
| 67 | + |
| 68 | + |
0 commit comments