select * {
?x rdfs:isDefinedBy tgn:
optional {?x owl:inverseOf ?y}
}
Karl,
If you keep it simple, the query should complete, e.g.:
select distinct ?type ?en {
?s gvp:placeTypePreferred ?type .
?type gvp:prefLabelGVP [xl:literalForm ?en].
} limit 1000
I get the first 200 terms of 591 in my results page.
Best wishes,
Richard
--
You received this message because you are subscribed to the Google Groups "Getty Vocabularies as Linked Open Data" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gettyvocablo...@googlegroups.com.
To post to this group, send email to gettyv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gettyvocablod/7fd7cb3e-d853-4d16-875b-f7e9e78a87bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes, sorry Richard, I did realize I could get what I needed this way, and neglected to update the forum post
SELECT DISTINCT ?type ?en
{
{
select DISTINCT ?type ?en {
?s gvp:placeTypePreferred ?type .
?type gvp:prefLabelGVP [xl:literalForm ?en].
}
}
UNION
{
select DISTINCT ?type ?en {
?s gvp:placeTypeNonPreferred ?type .
?type gvp:prefLabelGVP [xl:literalForm ?en].
}
}
}
This got me what I think is all the labels in use for both placeTypes, whether preferred or not (975)
Slowly re-acquainting with sparql…
best, Karl
--
You received this message because you are subscribed to a topic in the Google Groups "Getty Vocabularies as Linked Open Data" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gettyvocablod/RooonIokVg0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gettyvocablo...@googlegroups.com.
To post to this group, send email to gettyv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gettyvocablod/2677703d-9adb-049e-eae9-9a432d66f652%40light.demon.co.uk.
aat:300403962 gvp:prefLabelGVP aat_term:1000641334-en .