help with exanding existing query needed :)

28 views
Skip to first unread message

Ykje

unread,
Feb 18, 2021, 5:42:21 AM2/18/21
to Getty Vocabularies as Linked Open Data
Hello all,

A few years ago I received help, I think Vladimir created the query below for us. VERY useful.
Now I'd like to reuse it, but can't seem to get what I want...

select ?x ?id ?gvpLabel ?prefNl (group_concat(?alt; separator="; ") as?altNl) ?noteNl {
 ?x gvp:broaderExtended aat:300209261;
 dc:identifier ?id;
 gvp:prefLabelGVP [xl:literalForm ?gvpLabel].
 optional {?x xl:prefLabel [dct:language gvp_lang:nl; xl:literalForm ?prefNl]}
 optional {?x xl:altLabel [dct:language gvp_lang:nl; xl:literalForm ?alt]}
 optional {?x skos:scopeNote [dct:language gvp_lang:nl; rdf:value ?noteNl]}
} group by ?x ?id ?gvpLabel ?prefNl ?noteNl 

I need for each concept the broader english term.
And if possible the broader Dutch. 

Can anyone help me?

:)

Thank you in advance & all the best,

Ykje

Ykje

unread,
Feb 18, 2021, 5:49:55 AM2/18/21
to Getty Vocabularies as Linked Open Data
Dear all,

Arghh, now realise, that if there is a field possible called "path" (with all broaders of a concept combined in one, separated by semicolons), that would be even more useful than both of those broaders.
I feel that I have seen this property in other exports, but not sure if it still exists?

So if that could be in the query it would make my current task even more easy.

Thank you and best wishes,

Ykje

Op donderdag 18 februari 2021 om 11:42:21 UTC+1 schreef Ykje:
Reply all
Reply to author
Forward
0 new messages