Holger Knublauch

Handling of facility subclasses

...@@ -1482,7 +1482,8 @@ rhspin:npdIndividualByName ...@@ -1482,7 +1482,8 @@ rhspin:npdIndividualByName
1482 [ rdf:type sp:Select ; 1482 [ rdf:type sp:Select ;
1483 sp:resultVariables ([ sp:varName "individual"^^xsd:string 1483 sp:resultVariables ([ sp:varName "individual"^^xsd:string
1484 ]) ; 1484 ]) ;
1485 - sp:where ([ rdf:type sp:NamedGraph ; 1485 + sp:where ([ rdf:type sp:Union ;
1486 + sp:elements (([ rdf:type sp:NamedGraph ;
1486 sp:elements ([ rdf:type sp:TriplePath ; 1487 sp:elements ([ rdf:type sp:TriplePath ;
1487 sp:object 1488 sp:object
1488 [ sp:varName "type"^^xsd:string 1489 [ sp:varName "type"^^xsd:string
...@@ -1497,6 +1498,22 @@ rhspin:npdIndividualByName ...@@ -1497,6 +1498,22 @@ rhspin:npdIndividualByName
1497 ] 1498 ]
1498 ]) ; 1499 ]) ;
1499 sp:graphNameNode <http://www.reportinghub.no/np/schema/1.0/npd> 1500 sp:graphNameNode <http://www.reportinghub.no/np/schema/1.0/npd>
1501 + ]) ([ rdf:type sp:NamedGraph ;
1502 + sp:elements ([ rdf:type sp:TriplePath ;
1503 + sp:object
1504 + [ sp:varName "type"^^xsd:string
1505 + ] ;
1506 + sp:path [ rdf:type sp:ModPath ;
1507 + sp:modMax -2 ;
1508 + sp:modMin 0 ;
1509 + sp:subPath rdfs:subClassOf
1510 + ] ;
1511 + sp:subject
1512 + [ sp:varName "a"^^xsd:string
1513 + ]
1514 + ]) ;
1515 + sp:graphNameNode <http://www.reportinghub.no/ep/schema/1.0/facility>
1516 + ]))
1500 ] [ rdf:type sp:NamedGraph ; 1517 ] [ rdf:type sp:NamedGraph ;
1501 sp:elements ([ sp:object 1518 sp:elements ([ sp:object
1502 [ sp:varName "name"^^xsd:string 1519 [ sp:varName "name"^^xsd:string
......