Holger Knublauch

Handling of facility subclasses

...@@ -1482,21 +1482,38 @@ rhspin:npdIndividualByName ...@@ -1482,21 +1482,38 @@ 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:TriplePath ; 1486 + sp:elements (([ rdf:type sp:NamedGraph ;
1487 - sp:object 1487 + sp:elements ([ rdf:type sp:TriplePath ;
1488 - [ sp:varName "type"^^xsd:string 1488 + sp:object
1489 - ] ; 1489 + [ sp:varName "type"^^xsd:string
1490 - sp:path [ rdf:type sp:ModPath ; 1490 + ] ;
1491 - sp:modMax -2 ; 1491 + sp:path [ rdf:type sp:ModPath ;
1492 - sp:modMin 0 ; 1492 + sp:modMax -2 ;
1493 - sp:subPath rdfs:subClassOf 1493 + sp:modMin 0 ;
1494 - ] ; 1494 + sp:subPath rdfs:subClassOf
1495 - sp:subject 1495 + ] ;
1496 - [ sp:varName "a"^^xsd:string 1496 + sp:subject
1497 - ] 1497 + [ sp:varName "a"^^xsd:string
1498 - ]) ; 1498 + ]
1499 - sp:graphNameNode <http://www.reportinghub.no/np/schema/1.0/npd> 1499 + ]) ;
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
......