Holger Knublauch

Handling of facility subclasses

......@@ -1482,21 +1482,38 @@ rhspin:npdIndividualByName
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "individual"^^xsd:string
]) ;
sp:where ([ rdf:type sp:NamedGraph ;
sp:elements ([ rdf:type sp:TriplePath ;
sp:object
[ sp:varName "type"^^xsd:string
] ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject
[ sp:varName "a"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/schema/1.0/npd>
sp:where ([ rdf:type sp:Union ;
sp:elements (([ rdf:type sp:NamedGraph ;
sp:elements ([ rdf:type sp:TriplePath ;
sp:object
[ sp:varName "type"^^xsd:string
] ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject
[ sp:varName "a"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/schema/1.0/npd>
]) ([ rdf:type sp:NamedGraph ;
sp:elements ([ rdf:type sp:TriplePath ;
sp:object
[ sp:varName "type"^^xsd:string
] ;
sp:path [ rdf:type sp:ModPath ;
sp:modMax -2 ;
sp:modMin 0 ;
sp:subPath rdfs:subClassOf
] ;
sp:subject
[ sp:varName "a"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/ep/schema/1.0/facility>
]))
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object
[ sp:varName "name"^^xsd:string
......