Simple Question (Direct)
Simple Question
Q6203693
P136
Q151885
USER
What is the genre of Jiří Jelínek ?
(Q6203693,P136,c(Q151885))
action filter_type
action find
entity Q6203693
relation P136
type Q151885
['Q6203693', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q6203693 property:P136 ?z . ?z rdf:type ontology:Q151885 }
Jiří Jelínek
action filter_type
action find
entity Jiří Jelínek
relation genre
type concept
['Jiří Jelínek', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Jiří_Jelínek property:genre ?z . ?z rdf:type ontology:concept }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q6203693,P136,c(Q151885))
action filter_type
action find
entity Q6203693
relation P136
type Q151885
The genre of Jiří Jelínek is a [ANSWER]
['Q6203693', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q6203693 property:P136 ?z . ?z rdf:type ontology:Q151885 }
jazz
The genre of Jiří Jelínek is a jazz
jazz
action filter_type
action find
entity Jiří Jelínek
relation genre
type concept
['Jiří Jelínek', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Jiří_Jelínek property:genre ?z . ?z rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6203693
P735
Q82799
USER
What is forename of Jiří Jelínek ?
(Q6203693,P735,c(Q82799))
action filter_type
action find
entity Q6203693
relation P735
type Q82799
['Q6203693', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q6203693 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Jiří Jelínek
action filter_type
action find
entity Jiří Jelínek
relation given name
type name
['Jiří Jelínek', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Jiří_Jelínek property:given_name ?j . ?j rdf:type ontology:name }
[]
name
Q168563
SYSTEM
Jiří
Q168563
(Q6203693,P735,c(Q82799))
action filter_type
action find
entity Q6203693
relation P735
type Q82799
Forename of [ANSWER] Jelínek is of [ANSWER]
['Q6203693', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q6203693 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Jiří
Forename of Jiří Jelínek is of Jiří
Jiří
action filter_type
action find
entity Jiří Jelínek
relation given name
type name
['Jiří Jelínek', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Jiří_Jelínek property:given_name ?j . ?j rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6203693
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q168563,P20,c(Q56061))
action filter_type
action find
entity Q6203693
relation P20
type Q56061
['Q168563', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q6203693 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Jiří Jelínek
action filter_type
action find
entity Jiří Jelínek
relation place of death
type administrative territorial entity
['Jiří', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jiří_Jelínek property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q168563,P20,c(Q56061))
action filter_type
action find
entity Q6203693
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q168563', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q6203693 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Prague
Prague is the place of death of that person
Prague
action filter_type
action find
entity Jiří Jelínek
relation place of death
type administrative territorial entity
['Jiří', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jiří_Jelínek property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6203693
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q1085,P106,c(Q12737077))
action filter_type
action find
entity Q6203693
relation P106
type Q12737077
['Q1085', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q6203693 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Jiří Jelínek
action filter_type
action find
entity Jiří Jelínek
relation occupation
type occupation
['Prague', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Jiří_Jelínek property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q1028181 Q15981151 Q17093672
SYSTEM
painter, jazz musician, trumpeter
Q1028181 Q15981151 Q17093672
(Q1085,P106,c(Q12737077))
action filter_type
action find
entity Q6203693
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q1085', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q6203693 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
painter jazz musician trumpeter
The professions of that person are painter, jazz musician and trumpeter
painter jazz musician trumpeter
action filter_type
action find
entity Jiří Jelínek
relation occupation
type occupation
['Prague', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Jiří_Jelínek property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q41466 Q168563
P735 P641
Q502895
USER
Which people have Jiří as given name and play ice hockey ?
AND((c(Q502895),P735,Q168563), (c(Q502895),P641,Q41466))
action filter_type
action intersection
action find_reverse
entity Q168563
relation P735
action find_reverse
entity Q41466
relation P641
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P735', 'Q168563'], [{'concept': 'Q502895'}, 'P641', 'Q41466']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P735 resource:Q168563 . ?t property:P641 resource:Q41466 }
ice hockey Jiří
action filter_type
action intersection
action find_reverse
entity Jiří
relation given name
action find_reverse
entity ice hockey
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'given name', 'Jiří'], [{'concept': 'common name'}, 'sport', 'ice hockey']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:given_name resource:Jiří . ?t property:sport resource:ice_hockey }
[]
common name
Q1435834 Q12792471 Q585540 Q1241450 Q6203650 Q12025312 Q3179319 Q722971 Q3179328 Q6203790
SYSTEM
Some of them are Jiří Bubla, Jiří Jonák, Jiří Lála, Jiří Králík, Jiří Hanzlík, Jiří Kulíček, Jiří Jelen, Jiří Šlégr, Jiří Rambousek, Jiří Polanský
Q531052 Q3179317 Q3179313 Q3503601 Q722971 Q12857321 Q3179319 Q253289 Q6203767 Q320754 Q12856830 Q375393 Q1195453 Q3488261 Q585540 Q940997 Q3179328 Q12792471 Q167288 Q8427690 Q1689805 Q12025312 Q6203738 Q13091417 Q722653 Q710726 Q1689784 Q8838561 Q979648 Q536970 Q6203790 Q1435834 Q1689773 Q1391836 Q1241450 Q1029029 Q1361267 Q6203650 Q6203839 Q1689771 Q3179337
AND((c(Q502895),P735,Q168563), (c(Q502895),P641,Q41466))
action filter_type
action intersection
action find_reverse
entity Q168563
relation P735
action find_reverse
entity Q41466
relation P641
type Q502895
[ANSWERS] have Jiří as given name and play ice hockey
{'AND': [[{'concept': 'Q502895'}, 'P735', 'Q168563'], [{'concept': 'Q502895'}, 'P641', 'Q41466']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P735 resource:Q168563 . ?t property:P641 resource:Q41466 }
Jiří Sekáč Jiří Hubáček Jiří Dudáček Jiří Šejba Jiří Šlégr Jiří Zamastil Jiří Jelen Jiří Crha Jiří Moravec Jiří Dopita Jiří Andrt Jiří Zelenka Jiří Kučera Jiří Doležal Jiří Lála Jiří Holeček Jiří Rambousek Jiří Jonák Jiří Novotný Jiří Kuntoš Jiří Marušák Jiří Kulíček Jiří Kučný Jiří Hertl Jiří Hudler Jiří Kochta Jiří Hrdina Jiří Vašíček Jiří Hunkes Jiří Vykoukal Jiří Polanský Jiří Bubla Jiří Hanzl Jiří Bicek Jiří Králík Jiří Holík Jiří Tlustý Jiří Hanzlík Jiří Trvaj Jiří Fischer Jiří Veber
Jiří Bubla, Jiří Jonák, Jiří Lála, Jiří Králík, Jiří Hanzlík, Jiří Kulíček, Jiří Jelen, Jiří Šlégr, Jiří Rambousek and Jiří Polanský have Jiří as given name and play ice hockey
Jiří Bubla Jiří Jonák Jiří Lála Jiří Králík Jiří Hanzlík Jiří Kulíček Jiří Jelen Jiří Šlégr Jiří Rambousek Jiří Polanský
action filter_type
action intersection
action find_reverse
entity Jiří
relation given name
action find_reverse
entity ice hockey
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'given name', 'Jiří'], [{'concept': 'common name'}, 'sport', 'ice hockey']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:given_name resource:Jiří . ?t property:sport resource:ice_hockey }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 2035 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2035
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?z = 2035 ) . { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?a } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2035
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?z = 2035 ) . { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?a } }
[]
musical instrument common name
Q46185 Q80019 Q8338
SYSTEM
bass guitar, double bass, trumpet
Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2035
[ANSWERS] are played by around 2035 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?z = 2035 ) . { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?a } }
bass guitar double bass trumpet cello organ drum kit
Bass guitar, double bass and trumpet are played by around 2035 people
bass guitar double bass trumpet
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2035
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?z = 2035 ) . { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q183 Q8338
P27 P1303
Q502895
USER
Which people knows to play trumpet and are a native of Germany ?
AND((c(Q502895),P1303,Q8338), (c(Q502895),P27,Q183))
action filter_type
action intersection
action find_reverse
entity Q8338
relation P1303
action find_reverse
entity Q183
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q8338'], [{'concept': 'Q502895'}, 'P27', 'Q183']]}
SELECT DISTINCT ?l WHERE { ?l property:P1303 resource:Q8338 . ?l property:P27 resource:Q183 . ?l rdf:type ontology:Q502895 }
Germany trumpet
action filter_type
action intersection
action find_reverse
entity trumpet
relation instrument
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'trumpet'], [{'concept': 'common name'}, 'country of citizenship', 'Germany']]}
SELECT DISTINCT ?l WHERE { ?l property:instrument resource:trumpet . ?l property:country_of_citizenship resource:Germany . ?l rdf:type ontology:common_name }
[]
common name
Q15811967 Q1449658 Q1387513 Q1536724 Q2473295 Q1458076 Q1452231 Q863193 Q104464 Q103290
SYSTEM
Some of them are Gerhard Vohwinkel, Joo Kraus, Hanne Wilfert, Henning Langhage, Udo Moll, Frédéric Rabold, Fred Bunge, Billy Mo, Enrique Crespo, Armin Rosin
Q2078734 Q539915 Q76490 Q2473295 Q1498204 Q386267 Q2544934 Q15811967 Q1420844 Q1041884 Q1426473 Q1750984 Q1578674 Q2531013 Q306456 Q317446 Q15428105 Q1715394 Q1604128 Q98008 Q92087 Q1527409 Q1992472 Q823860 Q15809531 Q1663052 Q1082364 Q525248 Q2165628 Q15837738 Q2427298 Q1311188 Q18411438 Q7050373 Q1608428 Q328014 Q15818851 Q1578105 Q1929541 Q90760 Q1901840 Q1614863 Q1686274 Q115301 Q86806 Q12469951 Q1098784 Q2077627 Q15818827 Q993468 Q1605537 Q1745526 Q20752267 Q1629318 Q15455641 Q1086001 Q1324278 Q2562320 Q1531765 Q1600316 Q103290 Q1690257 Q1346223 Q1629392 Q873424 Q2591585 Q567496 Q457357 Q324431 Q1456494 Q1267291 Q1387513 Q77220 Q15815196 Q2369448 Q15849161 Q15453826 Q2444916 Q17521438 Q1909946 Q1793664 Q364088 Q1564797 Q1929349 Q1536724 Q1458076 Q13428924 Q2562268 Q15435661 Q1453118 Q1416656 Q1452632 Q566659 Q1449658 Q1903351 Q1903353 Q863193 Q2343595 Q792075 Q15455004 Q3430849 Q104464 Q1098835 Q6748520 Q15838054 Q1745395 Q2424604 Q1909724 Q1077822 Q443261 Q1882934 Q530491 Q17575821 Q2263165 Q1452231 Q1308870
AND((c(Q502895),P1303,Q8338), (c(Q502895),P27,Q183))
action filter_type
action intersection
action find_reverse
entity Q8338
relation P1303
action find_reverse
entity Q183
relation P27
type Q502895
[ANSWERS] know to play trumpet and are a native of Germany
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q8338'], [{'concept': 'Q502895'}, 'P27', 'Q183']]}
SELECT DISTINCT ?l WHERE { ?l property:P1303 resource:Q8338 . ?l property:P27 resource:Q183 . ?l rdf:type ontology:Q502895 }
Peter Tuscher Daniel Speer Helge Schneider Udo Moll Herbert Joos Till Brönner Walter Jenson Gerhard Vohwinkel Reinhold Friedrich Carlo Bohländer Julian Wasserfuhr Rüdiger Baldauf Hans Berry Volker Goetze Abbi Hübner Kurt Noack Wolf Escher Jörg Kaufmann Helmut Schlitt Uwe Köller Matthias Höfs Gisela Meßollen Nils Wülker Bernd Marquart Ferenc Aszódy Ingfried Hoffmann Christian Winninghoff Andy Altenfelder Arnold Hänsch Roland Kreid Thomas Siffling Markus Stockhausen Magnus Schriefl Norbert Susemihl Herbert Hellhund Peer Baierlein Günther Karpa Hans-Peter Salentin Michael T. Otto Fabian Halbig Markus Türk Herwig Barthes Jeff Cascaro Rolf Schneebiegl Ludwig Güttler Werner Deinert Claus Reichstaller Peter Protschka Günter Duke Bruno Leicht Henning Paur Klaus Osterloh Ansco Bruinier Horst Fischer Menzel Mutzke Christoph Titz Johannes Faber Werner Rehm Reiner Winterschladen Heinz H. Teitge Armin Rosin Joachim Kunze Sabine Ercklentz Horst Grabosch Christian Bollmann Wolfgang Trattner Gottfried Reiche Manfred Schoof Adam Taubitz Friedel Keim Willi Ehringer Hanne Wilfert Johann Christoph Pezel Herbert Christ Susanne Riemer Stephan Zimmermann Heinz Schachtner Torsten Maass Axel Schlosser Matthias Harig Kurt Hohenberger Adolf Scherbaum Uli Beckerhoff Michael Sell Henning Langhage Frédéric Rabold Albert Lorenz Werner Pfüller Ingolf Burkhardt Frederik Köster Iris Kramer Freddy Christmann Annette Neuffer Joo Kraus Martin Auer Martin Auer Billy Mo Stephan Meinberg Axel Dörner Hans Thomas Oskar Böhme Enrique Crespo Claus Stötter Manfred Moch Pablo Giw Klaus Lenz Thomas Heberer Matthias Bergmann Chris Walden Otto Sauter Macky Kasper Johann Ernst Altenburg Horst Schwarz Sebastian Studnitzky Fred Bunge Matthias Schriefl
Gerhard Vohwinkel, Joo Kraus, Hanne Wilfert, Henning Langhage, Udo Moll, Frédéric Rabold, Fred Bunge, Billy Mo, Enrique Crespo and Armin Rosin know to play trumpet and are a native of Germany
Gerhard Vohwinkel Joo Kraus Hanne Wilfert Henning Langhage Udo Moll Frédéric Rabold Fred Bunge Billy Mo Enrique Crespo Armin Rosin
action filter_type
action intersection
action find_reverse
entity trumpet
relation instrument
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'trumpet'], [{'concept': 'common name'}, 'country of citizenship', 'Germany']]}
SELECT DISTINCT ?l WHERE { ?l property:instrument resource:trumpet . ?l property:country_of_citizenship resource:Germany . ?l rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q9394
P180
Q82799 Q3305213 Q340169
USER
How many names are expressed in lesser number of paintings and medias than rabbit ?
(c(Q3305213)|c(Q340169),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q9394
relation P180
type Q3305213
type Q340169
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) ?z WHERE { VALUES ( ?t ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } . ?s rdf:type ?t } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P180 resource:Q9394 . { { ?u rdf:type ontology:Q3305213 } UNION { ?u rdf:type ontology:Q340169 } } } } . FILTER ( ?v < ?e ) }
rabbit
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity rabbit
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) ?z WHERE { VALUES ( ?t ) { ( ontology:painting ) ( ontology:media ) } . ?s rdf:type ?t } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:depicts resource:rabbit . { { ?u rdf:type ontology:painting } UNION { ?u rdf:type ontology:media } } } } . FILTER ( ?v < ?e ) }
[]
name painting media
SYSTEM
35
Q13219075 Q134609 Q6453151 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q11946202 Q2258881 Q4767951 Q16529344 Q713019 Q1807269 Q8331 Q846664 Q3116510 Q1865281 Q1192868 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q190294 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q5070208 Q10968813
(c(Q3305213)|c(Q340169),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q9394
relation P180
type Q3305213
type Q340169
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) ?z WHERE { VALUES ( ?t ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } . ?s rdf:type ?t } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P180 resource:Q9394 . { { ?u rdf:type ontology:Q3305213 } UNION { ?u rdf:type ontology:Q340169 } } } } . FILTER ( ?v < ?e ) }
octopus Cynara scolymus toad mule wolf Partridge sugarcane shrimp butterfly trout cattle goose cannoneer leek fox hawk frog whale clam magpie slug lizard antelope Yellow jacket Tree squirrel mouflon vulture pheasant thistle snail Scipio locust wasp kangaroo jay
35
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity rabbit
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) ?z WHERE { VALUES ( ?t ) { ( ontology:painting ) ( ontology:media ) } . ?s rdf:type ?t } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:depicts resource:rabbit . { { ?u rdf:type ontology:painting } UNION { ?u rdf:type ontology:media } } } } . FILTER ( ?v < ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2734060
P180
Q82799 Q3305213 Q340169
USER
And how about reed?
(c(Q3305213)|c(Q340169),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q2734060
relation P180
type Q3305213
type Q340169
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?w WHERE { VALUES ( ?m ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } . ?c rdf:type ?m } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P180 resource:Q2734060 . { { ?k rdf:type ontology:Q3305213 } UNION { ?k rdf:type ontology:Q340169 } } } } . FILTER ( ?d < ?f ) }
reed
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity reed
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?w WHERE { VALUES ( ?m ) { ( ontology:painting ) ( ontology:media ) } . ?c rdf:type ?m } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:depicts resource:reed . { { ?k rdf:type ontology:painting } UNION { ?k rdf:type ontology:media } } } } . FILTER ( ?d < ?f ) }
[]
name painting media
SYSTEM
35
Q13219075 Q134609 Q6453151 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q11946202 Q2258881 Q4767951 Q16529344 Q713019 Q1807269 Q8331 Q846664 Q3116510 Q1865281 Q1192868 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q190294 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q5070208 Q10968813
(c(Q3305213)|c(Q340169),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q2734060
relation P180
type Q3305213
type Q340169
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?w WHERE { VALUES ( ?m ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } . ?c rdf:type ?m } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P180 resource:Q2734060 . { { ?k rdf:type ontology:Q3305213 } UNION { ?k rdf:type ontology:Q340169 } } } } . FILTER ( ?d < ?f ) }
octopus Cynara scolymus toad mule wolf Partridge sugarcane shrimp butterfly trout cattle goose cannoneer leek fox hawk frog whale clam magpie slug lizard antelope Yellow jacket Tree squirrel mouflon vulture pheasant thistle snail Scipio locust wasp kangaroo jay
35
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity reed
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?w WHERE { VALUES ( ?m ) { ( ontology:painting ) ( ontology:media ) } . ?c rdf:type ?m } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:depicts resource:reed . { { ?k rdf:type ontology:painting } UNION { ?k rdf:type ontology:media } } } } . FILTER ( ?d < ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1085 Q51436
P190
Q515
USER
How many cities are twin towns of Prague or Castilenti ?
(Q1085,P190,c(Q515)) (Q51436,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q1085
relation P190
type Q515
action filter_type
action find
entity Q51436
relation P190
type Q515
['Q1085', 'P190', {'concept': 'Q515'}] ['Q51436', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { resource:Q1085 property:P190 ?m . ?m rdf:type ontology:Q515 } UNION { resource:Q51436 property:P190 ?m . ?m rdf:type ontology:Q515 } }
Prague Castilenti
action count
action union
action filter_type
action find
entity Prague
relation sister city
type city
action filter_type
action find
entity Castilenti
relation sister city
type city
['Prague', 'sister city', {'concept': 'city'}] ['Castilenti', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { resource:Prague property:sister_city ?m . ?m rdf:type ontology:city } UNION { resource:Castilenti property:sister_city ?m . ?m rdf:type ontology:city } }
[]
city
SYSTEM
6
Q3936 Q19689 Q1486 Q1794 Q9005 Q3572
(Q1085,P190,c(Q515)) (Q51436,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q1085
relation P190
type Q515
action filter_type
action find
entity Q51436
relation P190
type Q515
[ANSWER]
['Q1085', 'P190', {'concept': 'Q515'}] ['Q51436', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { resource:Q1085 property:P190 ?m . ?m rdf:type ontology:Q515 } UNION { resource:Q51436 property:P190 ?m . ?m rdf:type ontology:Q515 } }
Bamberg Tirana Buenos Aires Frankfurt Brussels Tunis
6
action count
action union
action filter_type
action find
entity Prague
relation sister city
type city
action filter_type
action find
entity Castilenti
relation sister city
type city
['Prague', 'sister city', {'concept': 'city'}] ['Castilenti', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { resource:Prague property:sister_city ?m . ?m rdf:type ontology:city } UNION { resource:Castilenti property:sister_city ?m . ?m rdf:type ontology:city } }
[]