NIHVIVO-2186 Filter out incomplete object property statements for non-editing users.

This commit is contained in:
ryounes 2011-03-22 18:52:39 +00:00
parent 044964176c
commit b9b6c50e87
5 changed files with 9 additions and 23 deletions

View file

@ -13,12 +13,16 @@
SELECT <collated> ?subclass </collated>
?object ?name ?moniker WHERE {
?subject ?property ?object
<collated> OPTIONAL { ?object a ?subclass }
FILTER ( afn:namespace(?subclass) != "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#" )
</collated>
OPTIONAL { ?object rdfs:label ?name }
OPTIONAL { ?object vitro:moniker ?moniker }
OPTIONAL { ?object vitro:moniker ?moniker }
<linked-individual-required>
FILTER ( bound(?name) )
</linked-individual-required>
} ORDER BY <collated> ?subclass </collated> ?name ?object
</query-select>