Laura Morales kirjoitti 27.02.2018 klo 13:48:
Do these libraries also add PREFIXes for the output? For example I send a 
query, get a XML or JSON-LD back, and the library automatically applies known 
prefixes to the JSON-LD?

Isn't that the responsibility of the SPARQL endpoint? For XML, the prefixes need to be in the file itself, otherwise it won't even parse. For JSON-LD the context could also be separate, but often it's inlined.

But no, the libraries don't do that.

-Osma

--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
[email protected]
http://www.nationallibrary.fi

Reply via email to