Simple Question (Direct)
Simple Question
Q3163751
P19
Q56061
USER
Which administrative territory is the birthplace of Jean-Baptiste-Alexandre-Marie Somis ?
(Q3163751,P19,c(Q56061))
action filter_type
action find
entity Q3163751
relation P19
type Q56061
['Q3163751', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q3163751 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Jean-Baptiste-Alexandre-Marie Somis
action filter_type
action find
entity Jean-Baptiste-Alexandre-Marie Somis
relation place of birth
type administrative territorial entity
['Jean-Baptiste-Alexandre-Marie Somis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jean-Baptiste-Alexandre-Marie_Somis property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q495
SYSTEM
Turin
Q495
(Q3163751,P19,c(Q56061))
action filter_type
action find
entity Q3163751
relation P19
type Q56061
[ANSWER]
['Q3163751', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q3163751 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Turin
Turin
action filter_type
action find
entity Jean-Baptiste-Alexandre-Marie Somis
relation place of birth
type administrative territorial entity
['Jean-Baptiste-Alexandre-Marie Somis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jean-Baptiste-Alexandre-Marie_Somis property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3163751
P106
Q12737077
USER
What does Jean-Baptiste-Alexandre-Marie Somis do for a living ?
(Q3163751,P106,c(Q12737077))
action filter_type
action find
entity Q3163751
relation P106
type Q12737077
['Q3163751', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q3163751 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Jean-Baptiste-Alexandre-Marie Somis
action filter_type
action find
entity Jean-Baptiste-Alexandre-Marie Somis
relation occupation
type occupation
['Jean-Baptiste-Alexandre-Marie Somis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Jean-Baptiste-Alexandre-Marie_Somis property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3163751,P106,c(Q12737077))
action filter_type
action find
entity Q3163751
relation P106
type Q12737077
[ANSWER]
['Q3163751', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q3163751 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Jean-Baptiste-Alexandre-Marie Somis
relation occupation
type occupation
['Jean-Baptiste-Alexandre-Marie Somis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Jean-Baptiste-Alexandre-Marie_Somis property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3163751
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q3163751
relation P27
type Q15617994
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q3163751 property:P27 ?w }
Jean-Baptiste-Alexandre-Marie Somis
action filter_type
action find
entity Jean-Baptiste-Alexandre-Marie Somis
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean-Baptiste-Alexandre-Marie_Somis property:country_of_citizenship ?w }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q3163751
relation P27
type Q15617994
[ANSWER]
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q3163751 property:P27 ?w }
France
France
action filter_type
action find
entity Jean-Baptiste-Alexandre-Marie Somis
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean-Baptiste-Alexandre-Marie_Somis property:country_of_citizenship ?w }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q15617994 Q838948 Q2342494
USER
Which administrative territories are depicted in min number of works of art or collectables ?
(c(Q838948)|c(Q2342494),P180,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?c ) WHERE { { ?h rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q838948 . ?z property:P180 ?h } UNION { ?z property:P180 ?h . ?h rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q2342494 } } GROUP BY ?h } . FILTER ( ?c = ?w ) . { SELECT DISTINCT ( MIN ( ?r ) AS ?w ) { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?m ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?v rdf:type ?m } GROUP BY ?f } } }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?c ) WHERE { { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:work_of_art . ?z property:depicts ?h } UNION { ?z property:depicts ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:collectable } } GROUP BY ?h } . FILTER ( ?c = ?w ) . { SELECT DISTINCT ( MIN ( ?r ) AS ?w ) { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?m ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?v rdf:type ?m } GROUP BY ?f } } }
[]
designation for an administrative territorial entity work of art collectable
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q47505 Q148 Q128081 Q131596 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q13320 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q72432 Q811 Q772 Q1016 Q1273 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q80591 Q42288 Q1034158
(c(Q838948)|c(Q2342494),P180,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?c ) WHERE { { ?h rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q838948 . ?z property:P180 ?h } UNION { ?z property:P180 ?h . ?h rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q2342494 } } GROUP BY ?h } . FILTER ( ?c = ?w ) . { SELECT DISTINCT ( MIN ( ?r ) AS ?w ) { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?m ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?v rdf:type ?m } GROUP BY ?f } } }
Catanzaro Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom Dolo People's Republic of China Cori, Lazio farm Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Savona Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Procida Nicaragua Drenthe Libya Tuscany Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Atrani Asola Cap Norfeu
Italy Brazil Russia
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?c ) WHERE { { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:work_of_art . ?z property:depicts ?h } UNION { ?z property:depicts ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:collectable } } GROUP BY ?h } . FILTER ( ?c = ?w ) . { SELECT DISTINCT ( MIN ( ?r ) AS ?w ) { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?m ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?v rdf:type ?m } GROUP BY ?f } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q79
P530
Q15617994
USER
Do Egypt have diplomatic relations with those ones ?
(Q79,P530,Q38) (Q79,P530,Q155) (Q79,P530,Q159)
action is_in
entity prev_answer
action find
entity Q79
relation P530
['Q79', 'P530', 'Q38'] ['Q79', 'P530', 'Q155'] ['Q79', 'P530', 'Q159']
ASK WHERE { VALUES ( ?l ) { ( resource:Q3883 ) ( resource:Q1256 ) ( resource:Q1462 ) } . resource:Q79 property:P530 ?l }
Egypt
action is_in
entity prev_answer
action find
entity Egypt
relation diplomatic relation
['Egypt', 'diplomatic relation', 'Italy'] ['Egypt', 'diplomatic relation', 'Brazil'] ['Egypt', 'diplomatic relation', 'Russia']
ASK WHERE { VALUES ( ?l ) { ( resource:Catanzaro ) ( resource:Liguria ) ( resource:Sardinia ) } . resource:Egypt property:diplomatic_relation ?l }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q79,P530,Q38) (Q79,P530,Q155) (Q79,P530,Q159)
action is_in
entity prev_answer
action find
entity Q79
relation P530
[ANSWER]
['Q79', 'P530', 'Q38'] ['Q79', 'P530', 'Q155'] ['Q79', 'P530', 'Q159']
ASK WHERE { VALUES ( ?l ) { ( resource:Q3883 ) ( resource:Q1256 ) ( resource:Q1462 ) } . resource:Q79 property:P530 ?l }
Yes
action is_in
entity prev_answer
action find
entity Egypt
relation diplomatic relation
['Egypt', 'diplomatic relation', 'Italy'] ['Egypt', 'diplomatic relation', 'Brazil'] ['Egypt', 'diplomatic relation', 'Russia']
ASK WHERE { VALUES ( ?l ) { ( resource:Catanzaro ) ( resource:Liguria ) ( resource:Sardinia ) } . resource:Egypt property:diplomatic_relation ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q155
P276
Q350604 Q15726688
USER
How many armed conflicts or Esperanto meetings are located at Brazil ?
(c(Q350604),P276,Q155) (c(Q15726688),P276,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P276
type Q350604
action filter_type
action find_reverse
entity Q155
relation P276
type Q15726688
[{'concept': 'Q350604'}, 'P276', 'Q155'] [{'concept': 'Q15726688'}, 'P276', 'Q155']
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l rdf:type ?t . VALUES ( ?t ) { ( ontology:Q350604 ) ( ontology:Q15726688 ) } }
Brazil
action count
action union
action filter_type
action find_reverse
entity Brazil
relation location
type armed conflict
action filter_type
action find_reverse
entity Brazil
relation location
type Esperanto meeting
[{'concept': 'armed conflict'}, 'location', 'Brazil'] [{'concept': 'Esperanto meeting'}, 'location', 'Brazil']
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l rdf:type ?t . VALUES ( ?t ) { ( ontology:armed_conflict ) ( ontology:Esperanto_meeting ) } }
[]
armed conflict Esperanto meeting
SYSTEM
2
Q12345822 Q3042463
(c(Q350604),P276,Q155) (c(Q15726688),P276,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P276
type Q350604
action filter_type
action find_reverse
entity Q155
relation P276
type Q15726688
[ANSWER]
[{'concept': 'Q350604'}, 'P276', 'Q155'] [{'concept': 'Q15726688'}, 'P276', 'Q155']
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l rdf:type ?t . VALUES ( ?t ) { ( ontology:Q350604 ) ( ontology:Q15726688 ) } }
Brazilian Esperanto Congress Uruguayan War
2
action count
action union
action filter_type
action find_reverse
entity Brazil
relation location
type armed conflict
action filter_type
action find_reverse
entity Brazil
relation location
type Esperanto meeting
[{'concept': 'armed conflict'}, 'location', 'Brazil'] [{'concept': 'Esperanto meeting'}, 'location', 'Brazil']
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l rdf:type ?t . VALUES ( ?t ) { ( ontology:armed_conflict ) ( ontology:Esperanto_meeting ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3106094
P3091
Q3745054 Q502895 Q502895
USER
Which people rides on a less number of horse breeds and people than Gilles Bertrán de Balanda ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action less
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q3106094
relation P3091
type Q3745054
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?b ) WHERE { { ?n property:P3091 ?m . ?n rdf:type ontology:Q502895 . ?m rdf:type ontology:Q3745054 } UNION { ?n property:P3091 ?m . ?n rdf:type ontology:Q502895 . ?m rdf:type ontology:Q502895 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { VALUES ( ?d ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?l rdf:type ?d } . resource:Q3106094 property:P3091 ?l } } . FILTER ( ?b < ?s ) }
Gilles Bertrán de Balanda
action less
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Gilles Bertrán de Balanda
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?b ) WHERE { { ?n property:mount ?m . ?n rdf:type ontology:common_name . ?m rdf:type ontology:horse_breed } UNION { ?n property:mount ?m . ?n rdf:type ontology:common_name . ?m rdf:type ontology:common_name } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { VALUES ( ?d ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?l rdf:type ?d } . resource:Gilles_Bertrán_de_Balanda property:mount ?l } } . FILTER ( ?b < ?s ) }
[]
horse breed common name common name
Q34479 Q312391 Q151754
SYSTEM
Hirohito, Philippe Leclerc de Hauteclocque, Anne, Princess Royal
Q71451 Q64650 Q186164 Q7934379 Q262338 Q2965770 Q1038847 Q20240956 Q364502 Q3081121 Q25906162 Q355148 Q3035045 Q3351282 Q678324 Q151754 Q997380 Q84536 Q3056396 Q207535 Q2941011 Q3565906 Q942215 Q3385955 Q249233 Q364920 Q2162566 Q3573625 Q450267 Q2577320 Q4351964 Q317846 Q3501998 Q840001 Q3167944 Q6409976 Q3299860 Q19630255 Q444585 Q34479 Q312391 Q1061259 Q2041036 Q2966249 Q1739026 Q1081174 Q16104944 Q5908769 Q967780 Q488277 Q1332346 Q3147326 Q454614
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action less
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q3106094
relation P3091
type Q3745054
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?b ) WHERE { { ?n property:P3091 ?m . ?n rdf:type ontology:Q502895 . ?m rdf:type ontology:Q3745054 } UNION { ?n property:P3091 ?m . ?n rdf:type ontology:Q502895 . ?m rdf:type ontology:Q502895 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { VALUES ( ?d ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?l rdf:type ?d } . resource:Q3106094 property:P3091 ?l } } . FILTER ( ?b < ?s ) }
Franke Sloothaak Ingrid Klimke Pippa Funnell Virginia Leng Nicole Uphoff Criquette Head-Maarek Carl Hester Arnaud Serre David O'Connor Kieren Fallon Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Olivier Peslier Jorma Kontio Anne, Princess Royal Yutaka Take Hugo Simon Eric Saint-Martin Roland Cash Asmussen Walter Swinburn Jean-Claude Van Geenberghe Pierre Levesque Kristina Sprehe Bruce Davidson Ryan Moore Yves Dreux Nadine Capellmann Wilhelm Melliger Björn Goop Lü Bu Stéphane Pasquier Christophe Soumillon Jean-Michel Bazire Kimberly Severson Matthieu Abrivard Léopold Verroken Ulla Salzgeber Hirohito Philippe Leclerc de Hauteclocque Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Gérald Mossé Michael Page Örjan Kihlström Franck Nivard Jan Tops Mark Todd Ian Stark Fritz Ligges
Hirohito Philippe Leclerc de Hauteclocque Anne, Princess Royal
action less
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Gilles Bertrán de Balanda
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?b ) WHERE { { ?n property:mount ?m . ?n rdf:type ontology:common_name . ?m rdf:type ontology:horse_breed } UNION { ?n property:mount ?m . ?n rdf:type ontology:common_name . ?m rdf:type ontology:common_name } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { VALUES ( ?d ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?l rdf:type ?d } . resource:Gilles_Bertrán_de_Balanda property:mount ?l } } . FILTER ( ?b < ?s ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q5398426
USER
How many television series did around 14 people dub for ?
(c(Q5398426),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 14
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { FILTER ( ?f = 14 ) . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?f ) WHERE { ?t property:P725 ?e . ?t rdf:type ontology:Q5398426 . ?e rdf:type ontology:Q502895 } GROUP BY ?t } }
action count
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
value 14
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { FILTER ( ?f = 14 ) . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?f ) WHERE { ?t property:voice_actor ?e . ?t rdf:type ontology:television_series . ?e rdf:type ontology:common_name } GROUP BY ?t } }
[]
common name television series
SYSTEM
1
Q15392994
(c(Q5398426),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 14
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { FILTER ( ?f = 14 ) . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?f ) WHERE { ?t property:P725 ?e . ?t rdf:type ontology:Q5398426 . ?e rdf:type ontology:Q502895 } GROUP BY ?t } }
Prison School
1
action count
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
value 14
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { FILTER ( ?f = 14 ) . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?f ) WHERE { ?t property:voice_actor ?e . ?t rdf:type ontology:television_series . ?e rdf:type ontology:common_name } GROUP BY ?t } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q2342494 Q15416
USER
How many administrative territories are atmost 137 collectables or television programs set in ?
(c(Q2342494)|c(Q15416),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
value 137
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?l WHERE { { ?a property:P840 ?l . ?l rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q2342494 } UNION { ?a property:P840 ?l . ?l rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15416 } } GROUP BY ?l } . FILTER ( ?j <= 137 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
value 137
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?l WHERE { { ?a property:narrative_location ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:collectable } UNION { ?a property:narrative_location ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:television_program } } GROUP BY ?l } . FILTER ( ?j <= 137 ) }
[]
designation for an administrative territorial entity collectable television program
SYSTEM
157
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q55 Q1948 Q145 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q928 Q39 Q38 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q96 Q17 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q2342494)|c(Q15416),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
value 137
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?l WHERE { { ?a property:P840 ?l . ?l rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q2342494 } UNION { ?a property:P840 ?l . ?l rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15416 } } GROUP BY ?l } . FILTER ( ?j <= 137 ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Netherlands Manitoba United Kingdom Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Philippines Switzerland Italy Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Mexico Japan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
157
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
value 137
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?l WHERE { { ?a property:narrative_location ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:collectable } UNION { ?a property:narrative_location ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:television_program } } GROUP BY ?l } . FILTER ( ?j <= 137 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34479
P166
Q193622
USER
Which orders were received by Hirohito ?
(Q34479,P166,c(Q193622))
action filter_type
action find
entity Q34479
relation P166
type Q193622
['Q34479', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?l WHERE { resource:Q34479 property:P166 ?l . ?l rdf:type ontology:Q193622 }
Hirohito
action filter_type
action find
entity Hirohito
relation award received
type order
['Hirohito', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?l WHERE { resource:Hirohito property:award_received ?l . ?l rdf:type ontology:order }
[]
order
Q5361043 Q14539990
SYSTEM
Grand Cordon of the Supreme Order of the Chrysanthemum, Knight Grand Cross with Collar of the Order of Merit of the Italian Republic
Q5361043 Q14539990
(Q34479,P166,c(Q193622))
action filter_type
action find
entity Q34479
relation P166
type Q193622
[ANSWERS]
['Q34479', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?l WHERE { resource:Q34479 property:P166 ?l . ?l rdf:type ontology:Q193622 }
Grand Cordon of the Supreme Order of the Chrysanthemum Knight Grand Cross with Collar of the Order of Merit of the Italian Republic
Grand Cordon of the Supreme Order of the Chrysanthemum Knight Grand Cross with Collar of the Order of Merit of the Italian Republic
action filter_type
action find
entity Hirohito
relation award received
type order
['Hirohito', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?l WHERE { resource:Hirohito property:award_received ?l . ?l rdf:type ontology:order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34479
P40
Q502895
USER
Which people are an offsprings of Hirohito ?
(Q34479,P40,c(Q502895))
action filter_type
action find
entity Q34479
relation P40
type Q502895
['Q34479', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q34479 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Hirohito
action filter_type
action find
entity Hirohito
relation child
type common name
['Hirohito', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Hirohito property:child ?k . ?k rdf:type ontology:common_name }
[]
common name
Q37979 Q1030337 Q1030373
SYSTEM
Akihito, Shigeko Higashikuni, Kazuko Takatsukasa
Q467874 Q3077388 Q1030337 Q725680 Q1030373 Q37979 Q1030348
(Q34479,P40,c(Q502895))
action filter_type
action find
entity Q34479
relation P40
type Q502895
[ANSWERS]
['Q34479', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q34479 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Takako Shimazu Sachiko, Princess Hisa Shigeko Higashikuni Prince Hitachi Kazuko Takatsukasa Akihito Atsuko Ikeda
Akihito Shigeko Higashikuni Kazuko Takatsukasa
action filter_type
action find
entity Hirohito
relation child
type common name
['Hirohito', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Hirohito property:child ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3745315
Q502895
USER
And also tell me about Filippo Sacchi?
(Q3745315,P40,c(Q502895))
action filter_type
action find
entity Q3745315
relation P40
type Q502895
['Q3745315', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q3745315 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Filippo Sacchi
action filter_type
action find
entity Filippo Sacchi
relation child
type common name
['Filippo Sacchi', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Filippo_Sacchi property:child ?k . ?k rdf:type ontology:common_name }
[]
common name
Q3664119
SYSTEM
Cecilia Sacchi
Q3664119
(Q3745315,P40,c(Q502895))
action filter_type
action find
entity Q3745315
relation P40
type Q502895
[ANSWER]
['Q3745315', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q3745315 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Cecilia Sacchi
Cecilia Sacchi
action filter_type
action find
entity Filippo Sacchi
relation child
type common name
['Filippo Sacchi', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Filippo_Sacchi property:child ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atmost 3448 people ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3448
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?q } . FILTER ( ?m <= 3448 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3448
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?q } . FILTER ( ?m <= 3448 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3448
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?q } . FILTER ( ?m <= 3448 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3448
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?q } . FILTER ( ?m <= 3448 ) }
[]