CLARIAH / grlc

grlc builds Web APIs using shared SPARQL queries
http://grlc.io
MIT License
137 stars 32 forks source link

Within repo id #107

Open rlzijdeman opened 6 years ago

rlzijdeman commented 6 years ago

Please add an ID to each query inside a repo, so it’s possible to refer to specifica queries.

albertmeronyo commented 6 years ago

Hi @rlzijdeman I'm note quite sure I understand. Queries are unique to a given repo by filename (you can't have two files with the same name in the same repo). Isn't the query name already a query ID?

rlzijdeman commented 6 years ago

Hi @albertmeronyo, From the repo, e.g. https://github.com/CLARIAH/wp4-queries-hisco you can indeed refer to the file names. But from the 'grlc-view' e.g. http://grlc.io/api/CLARIAH/wp4-queries-hisco you cannot. Solvable if you understand that the grlc view is build from the repo, but not sure if that's easy for everyone. (and we now allow for two different extensions, right?, so it's not simply adding '.rq' to the name)