query-2e01fab9ca6d49bc671c6ae73521bfe2
Wikidata Path status update - we can use the english labels of properties to write paths - will express the values of the "of" qualifier of an "union of" statement. union of>ofHi people, like you might know, I'm in the middle of the project of implementing an equivalent of SPARQL property paths for Wikidata data model in lua - that is, mainly extended to support qualified statement. I choose to use the ">" symbol to express that we want the qualifiers values of a statement, for example the path It's almost functional, except I feel harder to find motivation to finish it after a couple of month developping it, so I feel the need to show something to community :) shows examples of Wikidata Paths and the result of some queries, computed through the lua API. The are because something is still developped or broken in current development state and might be not errors very soon, especially if you like this :) }}Show Path Items{{The template : Zolo, Izno@ 14:14, 2 September 2016 (UTC) pagetalk / TomT0m author 15:24, 2 September 2016 (UTC)) talk (Zolo: not 100% working, but pretty nice :) --TomT0m@Update 2: made progress on the star/plus operators front this afternoon : (Q21042316)Christian Gottlieb Bach (Q21042307)Ernestus Andreas Bach (Q21042303)Johann August Abraham Bach (Q21042284)Regina Johanna Bach (Q21042280)Christiana Benedicta Louisa (Q21042273)Christiana Dorothea Bach (Q21042259)Johanna Carolina Bach (Q21042256)Regina Susanna Bach (Q21029017)Christiana Sophia Enrietta Bach (Q21029016)Leopold Augustus Bach (Q30075271)Johann Christoph Bach (Q21029009)Maria Sophia Bach (Q15735857)Elisabeth Juliana Friderica Bach (Q15079141)Catharina Dorothea Bach (Q710996)Gottfried Heinrich Bach (Q72936596)Caroline Auguste Wilhelmine Bach (Q505267)Wilhelm Friedrich Ernst Bach (Q57225)Johann Christoph Friedrich Bach (Q470198)Johann Gottfried Bernhard Bach (Q106641)Johann Christian Bach (Q72936593)Anna Carolina Philippina Bach (Q66587214)Johann August Bach (Q638391)Johann Sebastian Bach (Q76428)Carl Philipp Emanuel Bach (Q107277)Wilhelm Friedemann Bach 22 resutles, which matches
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
select (count(?child) as ?num) where {
wd:Q1339 wdt:P40+ ?child .
}