Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT DISTINCT ?instance ?instanceType WHERE {
- ?instance emf:instanceType "objectinstance" .
- ?instance emf:isDeleted "false"^^xsd:boolean .
- ?instance a emf:ClassDescription.
- ?instance emf:isPartOfObjectLibrary "true"^^xsd:boolean.
- OPTIONAL{
- ?instance dcterms:title ?title .
- FILTER(LANG(?searchTitle) = ?LANG)
- }
- OPTIONAL {
- ?instance dcterms:title ?title_en .
- FILTER(LANG(?title_en) = "en")
- }
- BIND(IF(BOUND(?title), LCASE(?title), LCASE(?title_en)) AS ?title_)
- } ORDER BY ?title_
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement