Hi Gregg,
Thanks very much for your reply, and we managed to craft a SPARQL query to provide us with just about everything we needed. I'm including it here:
select ?x ?name ?type ?nationality ?birth ?died ?lcnaf {
?x gvp:broaderExtended ulan:500000002. # Persons, Artists
optional {?x gvp:agentTypePreferred [gvp:prefLabelGVP [xl:literalForm ?type]]}
optional {?x foaf:focus [gvp:nationalityPreferred [gvp:prefLabelGVP [xl:literalForm ?nationality]]]}
optional {?x gvp:prefLabelGVP [xl:literalForm ?name]}
optional {?x foaf:focus [gvp:biographyPreferred [gvp:estStart ?birth; gvp:estEnd ?died]]}
optional {?x skos:exactMatch ?lcnaf FILTER(contains(str(?lcnaf),“
id.loc.gov”))}
}
And a second one for alternative names:
select ?x ?altname {
?x gvp:broaderExtended ulan:500000002.
optional {?x skosxl:altLabel [xl:literalForm ?altname]}
}
We also did the same query for all five ULAN codes- persons, artists, corporate bodies, etc. Because there are many alternate names attached to one ID, we chose to do a separate pull using first normal form. Many thanks for the LCNAF ID query.
A couple of things- I should have been more clear in that the LOD version uses URIs more widely due to its very nature than the XML version does. For example, using the TGN term for a nationality is more helpful to us than the old ULAN codes that began with "9". Apologies for inferring the XML version contained less data than the LOD version.
Also, I did see VIAF listed as a source for ULAN records– here is what it looks like in the XML: <Source_ID>2100183299/VIAF: Virtual International Authority File [online] (2009-)</Source_ID>
Wikidata seems to be listed as well: <Source_ID>2100182972/Wikidata online (2000-)</Source_ID>
Occasionally, a VIAF ID is listed as well:
<Source_ID>2100183299/VIAF: Virtual International Authority File [online] (2009-)</Source_ID>
</Source>
<Page>29657151; accessed 29 July 2016</Page>
Could you provide the query for VIAF and Wikidata if they possibly exist? Or if I'm still mis-reading the data, please let me know!
Lastly, we're looking to grab the DisplayName, Birthplace, and Deathplace. Any aid on formulating these last three queries would be much appreciated!
--Nicholas