prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
select ?s ?p ?o
where { <http://vocab.getty.edu/ulan/500033408> rdfs:label ?o }
However, I've done a lot of searching and yet can't seem to make it work on the command line via curl. Could someone show the correct way to do this? Thanks.
Hi,
I took the URL which the SPARQL end-point generated for the XML response, and just added it (in quotes) after curl on the command line. It worked OK:
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 view this discussion on the web visit https://groups.google.com/d/msgid/gettyvocablod/778cac25-1fcd-4758-88ed-d074b443c48dn%40googlegroups.com.
Ah, thank you. That "sparql.xml" does make for a more easy to parse format (as would "sparql.json", I see). Thanks again!
Left to my own devices, I would always use CONSTRUCT instead of SELECT, and request an RDF/XML response. That way I get a machine-processible graph fragment. (I realise there are other points of view on this issue ...)
Richard
To view this discussion on the web visit https://groups.google.com/d/msgid/gettyvocablod/59bf6e8b-2916-4c38-9873-f9a2296b1f47n%40googlegroups.com.