query-2dccd83f350b6f6b0740c8879d330d7d

rq turtle/ttl

Which one1)  ⟩25⟨  (P393)edition number  ⟩  (Q23009701)2016–17 Premier League ⟨ or  ⟩25⟨  (P1545)series ordinal  ⟩  (Q23009701)2016–17 Premier League ⟨ 2)  ⟩  (Q9448)Premier League ⟨  (P361)part of  ⟩  (Q23009701)2016–17 Premier League ⟨ or  ⟩  (Q9448)Premier League ⟨  (P279)subclass of  ⟩  (Q23009701)2016–17 Premier League ⟨  16:59, 28 November 2016 (UTC)) talk (Xaris333 20:56, 28 November 2016 (UTC) pagetalk / TomT0m author The rationale is that an event can appear in several series and that the number in the series depends of the series we consider. So we must bind the number with the series (it's a ternary relation for the mathematicians or computer guys amongs us) and the right way to do this is to put everything in a single statement. . ⟩ 25⟨  (P1545)series ordinal  ⟩series of england football national championship⟨  Search series  ⟩  (Q23009701)2016–17 Premier League ⟨   ⟩  (Q9448)Premier League ⟨  (P2670)has part(s) of the class  ⟩series of england football national championship⟨ But you're right that there is a series of actual competition and that we should provide a way to model this, if possible consistent across different domains. Maybe we should create a "series of england football national championship" with who provides guidelines on what instance of and part of means.Help:BMP. It's neither a part (a physical part ? what would be the sum of all the part ? The sequence of all championship?) nor a subclass (what would be its instances?). We have  ⟩  (Q9448)Premier League ⟨  (P31)instance of  ⟩  (Q23009701)2016–17 Premier League ⟨  11:43, 29 November 2016 (UTC)) talk (Xaris333: So I must create items like "series of Premier League" for each league of each country? TomT0m@: TomT0m@ ⟩  (Q13394)Ligue 1 ⟨  (P2670)has part(s) of the class  ⟩  (Q27927008)series of Ligue 1 ⟨ and  ⟩"1"⟨  (P1545)series ordinal  ⟩  (Q616704)1932–33 French Division 1 ⟨  (P527)has part(s)  ⟩  (Q27927008)series of Ligue 1 ⟨  etc and  ⟩"79"⟨  (P1545)series ordinal  ⟩  (Q27927008)series of Ligue 1 ⟨  (P179)part of the series  ⟩  (Q22683328)2016–17 Ligue 1 ⟨ and  ⟩  (Q27927008)series of Ligue 1 ⟨  (P179)part of the series  ⟩  (Q13394)Ligue 1 ⟨  15:20, 29 November 2016 (UTC)) talk (Xaris333Are these all the cases? Are they correct? 16:21, 30 November 2016 (UTC)) talk (Unnited meta as a qualifier -- (P393)edition number with (Q9448)Premier League (P31)instance of as (Q23009701)2016–17 Premier League Cant we have the :Module:PropertyPath: Anyway it's kind of useless to try to explicit the number as it can be computed (by a query or in lua by a Unnited meta, Xaris333@

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?championship ?championshipLabel (COUNT(DISTINCT ?earlierChampionship) AS ?count) WHERE {
  ?championship wdt:P31 wd:Q9448.

  ?earlierChampionship wdt:P31 wd:Q9448;
                       wdt:P155* ?championship.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
GROUP BY ?championship ?championshipLabel
ORDER BY ?count

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?championship"):::projected v4("?count") v3("?earlierChampionship"):::projected c5(["bd:serviceParam"]):::iri c7(["en"]):::literal c2(["wd:Q9448"]):::iri v2 --"wdt:P31"--> c2 v3 --"wdt:P31"--> c2 v3 --"wdt:P155"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end bind1[/"count(?earlierChampionship)"/] v3 --o bind1 bind1 --as--o v4