@prefix rr: <http://www.w3.org/ns/r2rml#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix fnml: <http://semweb.mmlab.be/ns/fnml#> .
@prefix fno: <https://w3id.org/function/ontology#> .
@prefix d2rq: <http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#> .
@prefix void: <http://rdfs.org/ns/void#> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rml: <http://semweb.mmlab.be/ns/rml#> .
@prefix ql: <http://semweb.mmlab.be/ns/ql#> .
@prefix : <http://example.com/base/> .
@prefix o: <http://example.com/ont/> .
@prefix rmle: <https://w3id.org/imec/rml/ns/extensions#> .
@prefix rmlt: <http://semweb.mmlab.be/ns/rml-target#> .
@prefix formats: <http://www.w3.org/ns/formats/> .
@prefix htv: <http://www.w3.org/2011/http#> .

:auth_000 rdf:type rmle:CssClientCredentialsAuthentication ;
	rmle:authEmail "user1@pod.playground.solidlab.be" ;
	rmle:authPassword "user1" ;
	rmle:authOidcIssuer <https://pod.playground.solidlab.be/> ;
	rmle:authWebId <https://pod.playground.solidlab.be/user1/profile/card#me> .

:target_000 rdf:type rmlt:LogicalTarget ;
	rdfs:label "target1" ;
	rmlt:serialization formats:N-Quads ;
	rmlt:target :directhttprequest_000 .

:directhttprequest_000 rdf:type rmle:DirectHttpRequest ;
	htv:absoluteURI "https://pod.playground.solidlab.be/user1/rmlmapper/building" ;
	htv:methodName "PUT" ;
	htv:headers :listElement_0 ;
	rmle:userAuthentication :auth_000 .

:header-Content-Type_000 rr:class htv:RequestHeader ;
	htv:fieldName "Content-Type" ;
	htv:fieldValue "text/turtle" .

:listElement_0 rdf:first :header-Content-Type_000 ;
	rdf:rest rdf:nil .

:map_TriplesMap1_000 rml:logicalSource :source_000 ;
	rdf:type rr:TriplesMap ;
	rdfs:label "TriplesMap1" ;
	rr:subjectMap :s_000 ;
	rr:predicateObjectMap :pom_000 .

:source_000 rdf:type rml:LogicalSource ;
	rml:source "src/test/resources/solid-target/solid1/buildings.csv" ;
	rml:referenceFormulation ql:CSV .

:s_000 rdf:type rr:SubjectMap ;
	rr:template "http://example.com/{BuildingID}" ;
	rml:logicalTarget :target_000 .

:pom_000 rdf:type rr:PredicateObjectMap ;
	rr:predicateMap :pm_000 ;
	rr:objectMap :om_000 .

:pm_000 rdf:type rr:PredicateMap ;
	rr:constant o:has-floor-tile .

:om_000 rdf:type rr:ObjectMap ;
	rr:template "http://example.com/product-{FloorTileID}" ;
	rr:termType rr:IRI .


