User:Teester: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
(20 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
https://w.wiki/7Rdz: {{Q|Q91586285}} for a specific year and {{Q|Q1756157}} for each act |
https://w.wiki/7Rdz: {{Q|Q91586285}} for a specific year and {{Q|Q1756157}} for each act |
||
https://w.wiki/B6Xf: {{Q|Q2151232}} with more than 2 {{P|P5097}} |
|||
== {{P|P31}} > 500000 == |
== {{P|P31}} > 500000 == |
||
Line 27: | Line 29: | ||
{| |
{| |
||
|- |
|- |
||
!No || {{P|P31}} || Quantity || Associated Entityschema || Documentation |
!No || {{P|P31}} || Quantity || Associated Entityschema || Documentation || Wikiproject |
||
|- |
|- |
||
|1 || {{Q|Q13442814}} || 42,202,338 || {{E|E292}} || Yes |
|1 || {{Q|Q13442814}} || 42,202,338 || {{E|E292}} || Yes || [[Wikidata:WikiProject Periodicals]] |
||
|- |
|- |
||
|2 || {{Q|Q5}} || 11,309,750 || {{E|E10}} || Yes |
|2 || {{Q|Q5}} || 11,309,750 || {{E|E10}} || Yes |
||
| |
|||
|- |
|- |
||
|3 || {{Q|Q4167836}} || 5,410,315 || {{E|E315}} || Yes |
|3 || {{Q|Q4167836}} || 5,410,315 || {{E|E315}} || Yes |
||
|[[Wikidata:WikiProject_Categories]] |
|||
|- |
|- |
||
|4 || {{Q|Q16521}} || 3,727,070 || {{E|E433}} || |
|4 || {{Q|Q16521}} || 3,727,070 || {{E|E433}} ||Yes |
||
| |
|||
|- |
|- |
||
|5 || {{Q|Q523}} || 3,284,179 || {{E|E440}} || |
|5 || {{Q|Q523}} || 3,284,179 || {{E|E440}} ||Yes |
||
| |
|||
|- |
|- |
||
|6 || {{Q|Q7318358}} || 2,099,699 || {{E|E414}} || |
|6 || {{Q|Q7318358}} || 2,099,699 || {{E|E414}} ||Yes |
||
| |
|||
|- |
|- |
||
|7 || {{Q|Q318}} || 2,094,845 || {{E|E441}} || |
|7 || {{Q|Q318}} || 2,094,845 || {{E|E441}} ||Yes |
||
| |
|||
|- |
|- |
||
|8 || {{Q|Q4167410}} || 1,482,835 || {{E|E438}} || |
|8 || {{Q|Q4167410}} || 1,482,835 || {{E|E438}} ||Yes |
||
|[[Wikidata:WikiProject Disambiguation pages]] |
|||
|- |
|- |
||
|9 || {{Q|Q113145171}} || 1,277,010 || {{E|E406}} || |
|9 || {{Q|Q113145171}} || 1,277,010 || {{E|E406}} ||Yes |
||
|[[Wikidata:WikiProject Chemistry]] |
|||
|- |
|- |
||
|10 || {{Q|Q7187}} || 1,222,105 || {{E|E258}}, {{E|E75}} || |
|10 || {{Q|Q7187}} || 1,222,105 || {{E|E258}}, {{E|E75}} ||No, Yes |
||
| |
|||
|- |
|- |
||
|11 || {{Q|Q8054}} || 1,005,740 || {{E|E167}} || |
|11 || {{Q|Q8054}} || 1,005,740 || {{E|E167}} ||Yes |
||
| |
|||
|- |
|- |
||
|12 || {{Q|Q3305213}} || 935,380 || {{E|E130}} || |
|12 || {{Q|Q3305213}} || 935,380 || {{E|E130}} ||Yes |
||
|[[Wikidata:WikiProject sum of all paintings]] |
|||
|- |
|- |
||
|13 || {{Q|Q11266439}} || 822,170 || {{E|E439}} || |
|13 || {{Q|Q11266439}} || 822,170 || {{E|E439}} ||Yes |
||
| |
|||
|- |
|- |
||
|14 || {{Q|Q79007}} || 678,855 || {{E|E317}} || Yes |
|14 || {{Q|Q79007}} || 678,855 || {{E|E317}} || Yes |
||
| |
|||
|- |
|- |
||
|15 || {{Q|Q13433827}} || 629,800 || || |
|15 || {{Q|Q13433827}} || 629,800 || {{E|E444}} || Yes |
||
| |
|||
|- |
|- |
||
|16 || {{Q|Q101352}} || 621,564 || {{E|E734}} || |
|16 || {{Q|Q101352}} || 621,564 || {{E|E734}} ||Yes |
||
|[[Wikidata:WikiProject Names]] |
|||
|- |
|- |
||
|17 || {{Q|Q13100073}} || 588,385 || || |
|17 || {{Q|Q13100073}} || 588,385 || {{E|E442}} || Yes |
||
| |
|||
|- |
|- |
||
|18 || {{Q|Q486972}} || 559,846 || || |
|18 || {{Q|Q486972}} || 559,846 || {{E|E443}} || Yes |
||
| |
|||
|- |
|- |
||
|19 || {{Q|Q3331189}} || 533,510 || {{E|E36}} || |
|19 || {{Q|Q3331189}} || 533,510 || {{E|E36}} ||Yes |
||
| |
|||
|- |
|- |
||
|20 || {{Q|Q8502}} || 528,196 || {{E|E339}} || |
|20 || {{Q|Q8502}} || 528,196 || {{E|E339}} ||Yes |
||
| |
|||
|- |
|- |
||
|21 || {{Q|Q871232}} || 512,977 || || |
|21 || {{Q|Q871232}} || 512,977 || {{E|E445}} || Yes |
||
| |
|||
|- |
|- |
||
|22 || {{Q|Q2668072}} || 502,752 || || |
|22 || {{Q|Q2668072}} || 502,752 || {{E|E446}} || Yes |
||
| |
|||
|- |
|- |
||
|} |
|} |
||
{{SPARQL |
|||
| query = PREFIX wdt: <http://www.wikidata.org/prop/direct/> |
|||
PREFIX wd: <http://www.wikidata.org/entity/> |
|||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> |
|||
PREFIX wikibase: <http://wikiba.se/ontology#> |
|||
SELECT ?p ?label (count(?p) as ?count) WHERE { |
|||
?s wdt:P31 wd:Q2668072. |
|||
?s ?p ?o. |
|||
?pd wikibase:directClaim ?p. |
|||
?pd rdfs:label ?label. |
|||
filter (LANG(?label) = "en") . |
|||
filter contains (str(?p), "prop/direct/P") |
|||
} |
|||
group by ?p ?label |
|||
order BY desc(?count) |
|||
}} |
Latest revision as of 08:46, 7 September 2024
Tools
[edit]- Entityshape - Userscript & API to compare items to entityschemas - Userscript - Github
- Entityschema Generator - A GUI to create simple entityschemas for Wikidata - Toolforge
- Shextranslator - A tool to convert entityschemas into human readable versions - Toolforge
- Parliament Diagram Generator - A tool to generate semicircular parliament diagrams for legislatures using WIkidata data - Toolforge
Useful queries
[edit]https://w.wiki/7Rds: Act of the Oireachtas (Q91586285) broken down by area of law (Q1756157)
https://w.wiki/7Rdz: Act of the Oireachtas (Q91586285) for a specific year and area of law (Q1756157) for each act
https://w.wiki/B6Xf: townland (Q2151232) with more than 2 Logainm ID (P5097)
instance of (P31) > 500000
[edit]PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?o (count(?o) as ?count) WHERE {
?id wdt:P31 ?o.
}
group by ?o
having (?count > 500000)
order by desc(?count)
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT ?p ?label (count(?p) as ?count) WHERE {
?s wdt:P31 wd:Q2668072.
?s ?p ?o.
?pd wikibase:directClaim ?p.
?pd rdfs:label ?label.
filter (LANG(?label) = "en") .
filter contains (str(?p), "prop/direct/P")
}
group by ?p ?label
order BY desc(?count)