config.rml.beer.rml.ttl Maven / Gradle / Ivy
@prefix rdfs: .
@prefix gsp: .
@prefix rdf: .
@prefix sd: .
@prefix xsd: .
@prefix prov: .
@prefix pdok: .
@prefix beer: .
@prefix rr: .
@prefix rml: .
@prefix ql: .
@prefix fno: .
@prefix fnml: .
@prefix : .
:Beer_LogicalSource
rml:source "" ;
rml:referenceFormulation ql:JSONPath ;
rml:iterator "$" ;
.
:Beer_doc_termMap
rr:template "http://dotwebstack.org/doc/beer/{identifier}" ;
.
:Beer a rr:TriplesMap ;
rml:logicalSource :Beer_LogicalSource ;
rr:subjectMap [
rr:template "http://dotwebstack.org/id/beer/{identifier}";
rr:class beer:Beer ;
rr:graphMap :Beer_doc_termMap ;
] ;
rr:predicateObjectMap
:Beer_graph ,
:Beer_identifier ,
:Beer_name ,
:Beer_abv ,
:Beer_soldPerYear ,
:Beer_retired ,
:Beer_brewedBy ,
:Beer_ingredient ,
:Beer_taste ;
.
:Beer_graph
rr:predicate
foaf:isPrimaryTopicOf ,
foaf:page ;
rr:objectMap :Beer_doc_termMap ;
.
:Beer_identifier
rr:predicate beer:identifier ;
rr:objectMap [
rml:reference "identifier" ;
] ;
.
:Beer_name
rr:predicate beer:name ;
rr:objectMap [
rml:reference "name" ;
] ;
.
:Beer_abv
rr:predicate beer:abv ;
rr:objectMap [
rml:reference "abv" ;
rr:datatype xsd:decimal ;
] ;
.
:Beer_soldPerYear
rr:predicate beer:soldPerYear ;
rr:objectMap [
rml:reference "soldPerYear" ;
rr:datatype xsd:integer ;
] ;
.
:Beer_retired
rr:predicate beer:retired ;
rr:objectMap [
fnml:functionValue [
rml:logicalSource :Beer_LogicalSource ;
rr:subjectMap [
rml:reference "identifier";
rr:termType rr:BlankNode ;
] ;
rr:predicateObjectMap
[
rr:predicate fno:executes ;
rr:object :booleanToIndicatie ;
] ,
[
rr:predicate :valueParam ;
rr:objectMap [
rml:reference "retired" ;
] ;
] ;
] ;
rr:datatype xsd:string ;
] ;
.
:Beer_brewedBy
rr:predicate beer:brewedBy ;
rr:objectMap [
rr:template "http://dotwebstack.org/id/brewery/{brewery.identifier}" ;
] ;
.
:Beer_ingredient
rr:predicate beer:ingredient ;
rr:objectMap [
rr:template "http://dotwebstack.org/id/ingredient/{ingredients[*].identifier}" ;
] ;
.
:Beer_taste
rr:predicate beer:taste ;
rr:objectMap [
rr:template "http://dotwebstack.org/id/taste/{taste}" ;
] ;
.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy