Skip to content

Commit

Permalink
Expose SKOS XL metadata of labels. Fixes #109
Browse files Browse the repository at this point in the history
  • Loading branch information
osma committed Sep 8, 2016
1 parent 2de94e5 commit 4764acf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions model/sparql/GenericSparql.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ private function generateConceptInfoQuery($uris, $arrayClass, $vocabs) {
?o rdf:value ?ov .
?o skos:notation ?on .
?o ?oprop ?oval .
?o ?xlprop ?xlval .
?directgroup skos:member ?uri .
?parent skos:member ?group .
?group skos:prefLabel ?grouplabel .
Expand Down Expand Up @@ -393,6 +394,9 @@ private function generateConceptInfoQuery($uris, $arrayClass, $vocabs) {
}
UNION
{ ?o skos:notation ?on . }
UNION
{ ?o a skosxl:Label .
?o ?xlprop ?xlval }
} $optional
}
}
Expand Down

0 comments on commit 4764acf

Please sign in to comment.