On 23.08.2016 21:03, Stas Malyshev wrote:
Hi!

Relaying a question from a brief discussion on Twitter [1], I am curious
to hear how people feel about the idea of creating a a "SPARQL query
example" property for properties, modeled after "Wikidata property
example" [2]?

Might be nice, but we need a good way to present the query in the UI
(see below).

This would allow people to discover queries that exemplify how the
property is used in practice. Does the approach make sense or would it
stretch too much the scope of properties of properties? Are there better
ways to reference SPARQL examples and bring them closer to their source?

I think it may be a good idea to start thinking about some way of
storing queries on Wikidata maybe? On one hand, they are just strings,
on the other hand, they are code - like CSS or Javascript - and storing
them just as strings may be inconvenient. Maybe .sparql file extension
handler like we have for .js and .json and so on?

If you could store queries, you could also store queries for each item that is about a list of things, so that the query returns exactly the things that should be in the list ... could be useful.

Markus

_______________________________________________
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata

Reply via email to