Open
Description
Why?
I am tired of writing / copy-pasting every prefix each time I need to write a query.
The prefix mechanism makes the SPARQL learning curve steeper.
Previous work
- RDFa defines default prefixes : https://www.w3.org/2011/rdfa-context/rdfa-1.1
- prefix.cc defines prefix-URI mappings : http://prefix.cc/
- LOV offers a prefix-URI API : https://lov.linkeddata.es/dataset/lov/api
- Virtuoso has the ability to predefine prefixes : http://dbpedia.org/sparql?help=nsdecl
Proposed solution
- Indicate that an RDF database can use predefined prefixes to interpret queries
- Rely on a list of prefixes defined centrally (à la RDFa), to parse the prefixes in a query where they are not explicitely defined.
Considerations for backward compatibility
Queries without prefixes would now be valid, while they are currently not. E.g.
SELECT * WHERE { ?x a skos:Concept }