User:PAC2/Draft
SELECT ?item ?itemLabel ?date
WHERE {
?item wdt:P31 wd:Q10876391;
wdt:P571 ?date
rdfs:label?itemLabel.
FILTER(LANG(?itemLabel) = "en")
}
Documented and featured SPARQL queries[edit]
SPARQL queries are essential to explore the Wikidata database, get insights from Wikidata and check the quality of the data.
Right now, we can find queries in the following places :
- examples queries (Wikidata:SPARQL query service/queries, Wikidata:SPARQL query service/queries/examples)
- in user pages : many users have their own queries in their user space. See User:PAC2/SPARQL queries
- in WikiProjects : see Wikidata:WikiProject France/Queries for example.
- in the weekly newsletter : see Wikidata:SPARQL query service/qotw)
That's great but those queries are often poorly documented. They have a title but few explanations, context, insights, and there are few warnings or quality checks to know if the results are reliable.
I've recently made a proposal to create dedicated pages to document a query with a basic skeleton to explain the context, the quality checks, the construction of the query, etc. See User:PAC2/Documented queries.
A few years ago, there have been a proposal to create featured queries (see Wikidata:Showcase Queries). I think that we need both. Documented queries is just a template to document a query. If the documentation is high is of high quality, the query is optimised and the results are reliable, the query can be nominated as a featured query.
My proposition :
- Create a dedicated WikiProject to Documented and featured queries
- Documented queries can be created
- In a user space
- In a Wikiproject
- Anywhere in the Wikidata namespace
- All documented queries should be in the category : Category:Documented query
- Documented queries can be proposed to be featured queries. One need to create a new subpage with the discussion and the vote. This could be something such as User:PAC2/Query/List of current French departments/Featured query.
- If the vote is conclusive after a few weeks, the documented query can be considered as a featured query. (we may create a category and a small template with a barnstar.)
I think it's worth to have a discussion about this proposal instead of voting.
See also
Name item[edit]
causal inference: process of drawing a conclusion about a causal connection based on the conditions of the occurrence of an effect
Paris: capital of France
Item documentation redesign[edit]
Template:Item documentation/redesign
Autodescription — France (Q142)
- Tools: Reasonator --
- Generic queries for administrative territorial entities
This list of queries is designed for all instances of administrative territorial entity (Q56061). It is generated using {{TP administrative area}}
.
- Places in France (query)
- Map of places in France (query)
- List of monuments (Monumental (Q29167605))
- List of places ordered by altitude (query) (Based on elevation above sea level (P2044).)
- Count of buildings by architectural style (query)
- List of highest buildings (query) (Based on height (P2048).)
- Organizations with headquarters in France (query)
- List of items which have power over or which apply to France (query) (applies to jurisdiction (P1001))
- People born in France, sorted by number of sitelinks (query)
- Main occupation of people born in France (query)
- People dead in France, sorted by number of sitelinks (query) (place of death (P20))
- People buried in France, sorted by number of sitelinks (query) (place of burial (P119))
- People living in France, sorted by number of sitelinks (query) (residence (P551))
- List of items with narrative location in France (query) (narrative location (P840))
- List of movies with filming location in France (query) (filming location (P915))
- See also: Wikidata:WikiProject Country subdivision
- See also
- This documentation is generated using
{{Item documentation}}
.