Simple Question (Direct)
Simple Question
Q705474
P106
Q12737077
USER
What does Mike York do for a living ?
(Q705474,P106,c(Q12737077))
action filter_type
action find
entity Q705474
relation P106
type Q12737077
['Q705474', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q705474 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Mike York
action filter_type
action find
entity Mike York
relation occupation
type occupation
['Mike York', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Mike_York property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q705474,P106,c(Q12737077))
action filter_type
action find
entity Q705474
relation P106
type Q12737077
Mike York does for a living as [ANSWER]
['Q705474', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q705474 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
ice hockey player
Mike York does for a living as ice hockey player
ice hockey player
action filter_type
action find
entity Mike York
relation occupation
type occupation
['Mike York', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Mike_York property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q705474
P1344
Q15900616
USER
What did Mike York participate in ?
(Q705474,P1344,c(Q15900616))
action filter_type
action find
entity Q705474
relation P1344
type Q15900616
['Q705474', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?g WHERE { resource:Q705474 property:P1344 ?g . ?g rdf:type ontology:Q15900616 }
Mike York
action filter_type
action find
entity Mike York
relation participant of
type event sequence
['Mike York', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?g WHERE { resource:Mike_York property:participant_of ?g . ?g rdf:type ontology:event_sequence }
[]
event sequence
Q9668
SYSTEM
2002 Winter Olympics
Q9668
(Q705474,P1344,c(Q15900616))
action filter_type
action find
entity Q705474
relation P1344
type Q15900616
Mike York participated in [ANSWER]
['Q705474', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?g WHERE { resource:Q705474 property:P1344 ?g . ?g rdf:type ontology:Q15900616 }
2002 Winter Olympics
Mike York participated in 2002 Winter Olympics
2002 Winter Olympics
action filter_type
action find
entity Mike York
relation participant of
type event sequence
['Mike York', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?g WHERE { resource:Mike_York property:participant_of ?g . ?g rdf:type ontology:event_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q705474
P641
Q349
USER
What did that person participate in ?
(Q9668,P641,c(Q349))
action filter_type
action find
entity Q705474
relation P641
type Q349
['Q9668', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q705474 property:P641 ?j . ?j rdf:type ontology:Q349 }
Mike York
action filter_type
action find
entity Mike York
relation sport
type sport
['2002 Winter Olympics', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Mike_York property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q9668,P641,c(Q349))
action filter_type
action find
entity Q705474
relation P641
type Q349
That person participated in [ANSWER]
['Q9668', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q705474 property:P641 ?j . ?j rdf:type ontology:Q349 }
ice hockey
That person participated in ice hockey
ice hockey
action filter_type
action find
entity Mike York
relation sport
type sport
['2002 Winter Olympics', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Mike_York property:sport ?j . ?j rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11629205 Q705474
P27
Q15617994
USER
Which administrative territories do Mike York or Katsuhiko Nishida belong to ?
OR((Q705474,P27,c(Q15617994)), (Q11629205,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q705474
relation P27
action find
entity Q11629205
relation P27
type Q15617994
{'OR': [['Q705474', 'P27', {'concept': 'Q15617994'}], ['Q11629205', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { ?j property:P27 ?k . VALUES ( ?j ) { ( resource:Q705474 ) ( resource:Q11629205 ) } } . ?k rdf:type ontology:Q15617994 }
Katsuhiko Nishida Mike York
action filter_type
action union
action find
entity Mike York
relation country of citizenship
action find
entity Katsuhiko Nishida
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mike York', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Katsuhiko Nishida', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { ?j property:country_of_citizenship ?k . VALUES ( ?j ) { ( resource:Mike_York ) ( resource:Katsuhiko_Nishida ) } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q30
SYSTEM
Japan, United States of America
Q17 Q30
OR((Q705474,P27,c(Q15617994)), (Q11629205,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q705474
relation P27
action find
entity Q11629205
relation P27
type Q15617994
Mike York or Katsuhiko Nishida belong to the [ANSWERS]
{'OR': [['Q705474', 'P27', {'concept': 'Q15617994'}], ['Q11629205', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { ?j property:P27 ?k . VALUES ( ?j ) { ( resource:Q705474 ) ( resource:Q11629205 ) } } . ?k rdf:type ontology:Q15617994 }
Japan United States of America
Mike York or Katsuhiko Nishida belong to the Japan and United States of America
Japan United States of America
action filter_type
action union
action find
entity Mike York
relation country of citizenship
action find
entity Katsuhiko Nishida
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mike York', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Katsuhiko Nishida', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { ?j property:country_of_citizenship ?k . VALUES ( ?j ) { ( resource:Mike_York ) ( resource:Katsuhiko_Nishida ) } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4555182
P17
Q18340514
USER
Are 1866 in Denmark located in those administrative territories ?
(Q4555182,P17,Q17) (Q4555182,P17,Q30)
action is_in
entity prev_answer
action find
entity Q4555182
relation P17
['Q4555182', 'P17', 'Q17'] ['Q4555182', 'P17', 'Q30']
ASK WHERE { resource:Q4555182 property:P17 ?n . VALUES ( ?n ) { ( resource:Q17 ) ( resource:Q30 ) } }
1866 in Denmark
action is_in
entity prev_answer
action find
entity 1866 in Denmark
relation country
['1866 in Denmark', 'country', 'Japan'] ['1866 in Denmark', 'country', 'United States of America']
ASK WHERE { resource:1866_in_Denmark property:country ?n . VALUES ( ?n ) { ( resource:Japan ) ( resource:United_States_of_America ) } }
[]
article about events in a specific year or time period
SYSTEM
NO
(Q4555182,P17,Q17) (Q4555182,P17,Q30)
action is_in
entity prev_answer
action find
entity Q4555182
relation P17
[ANSWER]
['Q4555182', 'P17', 'Q17'] ['Q4555182', 'P17', 'Q30']
ASK WHERE { resource:Q4555182 property:P17 ?n . VALUES ( ?n ) { ( resource:Q17 ) ( resource:Q30 ) } }
No
action is_in
entity prev_answer
action find
entity 1866 in Denmark
relation country
['1866 in Denmark', 'country', 'Japan'] ['1866 in Denmark', 'country', 'United States of America']
ASK WHERE { resource:1866_in_Denmark property:country ?n . VALUES ( ?n ) { ( resource:Japan ) ( resource:United_States_of_America ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q31
P1376
Q15617994 Q56061 Q20667921
USER
How many administrative territories have more number of administrative territories or french administrative divisions as their capital than Belgium ?
(c(Q56061)|c(Q20667921),P1376,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q31
relation P1376
type Q56061
type Q20667921
[[{'concept': 'Q56061'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { VALUES ( ?a ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } . ?n rdf:type ?a } . ?n property:P1376 resource:Q31 } } . FILTER ( ?d > ?e ) . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?d ) WHERE { { ?j property:P1376 ?h . ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q56061 } UNION { ?j property:P1376 ?h . ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q20667921 } } GROUP BY ?h } }
Belgium
action count
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Belgium
relation capital of
type administrative territorial entity
type type of french administrative division
[[{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { VALUES ( ?a ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?n rdf:type ?a } . ?n property:capital_of resource:Belgium } } . FILTER ( ?d > ?e ) . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?d ) WHERE { { ?j property:capital_of ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:administrative_territorial_entity } UNION { ?j property:capital_of ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?h } }
[]
designation for an administrative territorial entity administrative territorial entity type of french administrative division
SYSTEM
20
Q805 Q2998020 Q258 Q3259 Q12798 Q1020 Q12703 Q12569 Q41 Q12789 Q30 Q38 Q12730 Q199688 Q3278 Q12772 Q12661 Q12536 Q517333 Q160307
(c(Q56061)|c(Q20667921),P1376,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q31
relation P1376
type Q56061
type Q20667921
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { VALUES ( ?a ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } . ?n rdf:type ?a } . ?n property:P1376 resource:Q31 } } . FILTER ( ?d > ?e ) . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?d ) WHERE { { ?j property:P1376 ?h . ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q56061 } UNION { ?j property:P1376 ?h . ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q20667921 } } GROUP BY ?h } }
Yemen Corse South Africa Cantal Vendée Malawi Pyrénées-Atlantiques Loire Greece Var United States of America Italy Haute-Saône Almohad Charente-Maritime Tarn Nord Abbasid caliphate Principality of Polotsk Fatimid caliphate
20
action count
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Belgium
relation capital of
type administrative territorial entity
type type of french administrative division
[[{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { VALUES ( ?a ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?n rdf:type ?a } . ?n property:capital_of resource:Belgium } } . FILTER ( ?d > ?e ) . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?d ) WHERE { { ?j property:capital_of ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:administrative_territorial_entity } UNION { ?j property:capital_of ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?h } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P793
Q464980
USER
Which exhibition is a significant event associated with Japan ?
(Q17,P793,c(Q464980))
action filter_type
action find
entity Q17
relation P793
type Q464980
['Q17', 'P793', {'concept': 'Q464980'}]
SELECT DISTINCT ?p WHERE { resource:Q17 property:P793 ?p . ?p rdf:type ontology:Q464980 }
Japan
action filter_type
action find
entity Japan
relation significant event
type exhibition
['Japan', 'significant event', {'concept': 'exhibition'}]
SELECT DISTINCT ?p WHERE { resource:Japan property:significant_event ?p . ?p rdf:type ontology:exhibition }
[]
exhibition
Q1119956
SYSTEM
Expo '70
Q1119956
(Q17,P793,c(Q464980))
action filter_type
action find
entity Q17
relation P793
type Q464980
[ANSWER] is a significant event associated with Japan
['Q17', 'P793', {'concept': 'Q464980'}]
SELECT DISTINCT ?p WHERE { resource:Q17 property:P793 ?p . ?p rdf:type ontology:Q464980 }
Expo '70
Expo '70 is a significant event associated with Japan
Expo '70
action filter_type
action find
entity Japan
relation significant event
type exhibition
['Japan', 'significant event', {'concept': 'exhibition'}]
SELECT DISTINCT ?p WHERE { resource:Japan property:significant_event ?p . ?p rdf:type ontology:exhibition }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12013217
Q464980
USER
And also tell me about Noordbrabants Museum?
(Q12013217,P793,c(Q464980))
action filter_type
action find
entity Q12013217
relation P793
type Q464980
['Q12013217', 'P793', {'concept': 'Q464980'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q464980 . resource:Q12013217 property:P793 ?s }
Noordbrabants Museum
action filter_type
action find
entity Noordbrabants Museum
relation significant event
type exhibition
['Noordbrabants Museum', 'significant event', {'concept': 'exhibition'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:exhibition . resource:Noordbrabants_Museum property:significant_event ?s }
[]
exhibition
Q23042264
SYSTEM
Jheronimus Bosch - Visions of genius
Q23042264
(Q12013217,P793,c(Q464980))
action filter_type
action find
entity Q12013217
relation P793
type Q464980
[ANSWER]
['Q12013217', 'P793', {'concept': 'Q464980'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q464980 . resource:Q12013217 property:P793 ?s }
Jheronimus Bosch - Visions of genius
Jheronimus Bosch - Visions of genius
action filter_type
action find
entity Noordbrabants Museum
relation significant event
type exhibition
['Noordbrabants Museum', 'significant event', {'concept': 'exhibition'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:exhibition . resource:Noordbrabants_Museum property:significant_event ?s }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P608
Q464980 Q838948
USER
Which works of art were displayed at approximately 3 exhibitions ?
(c(Q838948),P608,c(Q464980))
action approx
action find_tuple_counts
relation P608
type Q838948
type Q464980
value 3
[{'concept': 'Q838948'}, 'P608', {'concept': 'Q464980'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?m ) WHERE { ?y property:P608 ?t . ?y rdf:type ontology:Q838948 . ?t rdf:type ontology:Q464980 } GROUP BY ?y } . FILTER ( ?m = 3 ) }
action approx
action find_tuple_counts
relation exhibition history
type work of art
type exhibition
value 3
[{'concept': 'work of art'}, 'exhibition history', {'concept': 'exhibition'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?m ) WHERE { ?y property:exhibition_history ?t . ?y rdf:type ontology:work_of_art . ?t rdf:type ontology:exhibition } GROUP BY ?y } . FILTER ( ?m = 3 ) }
[]
exhibition work of art
Q17450435
SYSTEM
The Chaste Susannah
Q17450435
(c(Q838948),P608,c(Q464980))
action approx
action find_tuple_counts
relation P608
type Q838948
type Q464980
value 3
[ANSWER] was displayed at approximately 3 exhibitions
[{'concept': 'Q838948'}, 'P608', {'concept': 'Q464980'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?m ) WHERE { ?y property:P608 ?t . ?y rdf:type ontology:Q838948 . ?t rdf:type ontology:Q464980 } GROUP BY ?y } . FILTER ( ?m = 3 ) }
The Chaste Susannah
The Chaste Susannah was displayed at approximately 3 exhibitions
The Chaste Susannah
action approx
action find_tuple_counts
relation exhibition history
type work of art
type exhibition
value 3
[{'concept': 'work of art'}, 'exhibition history', {'concept': 'exhibition'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?m ) WHERE { ?y property:exhibition_history ?t . ?y rdf:type ontology:work_of_art . ?t rdf:type ontology:exhibition } GROUP BY ?y } . FILTER ( ?m = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q355304 Q56061 Q15617994
USER
Which administrative territories have their location as min number of watercourses or administrative territories ?
(c(Q15617994),P706,c(Q355304)|c(Q56061))
action argmin
action union
action find_tuple_counts
relation P706
type Q15617994
type Q355304
action find_tuple_counts
relation P706
type Q15617994
type Q56061
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q355304'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?k WHERE { VALUES ( ?s ) { ( ontology:Q355304 ) ( ontology:Q56061 ) } . ?m rdf:type ?s } GROUP BY ?k } } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) ?b WHERE { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:Q355304 ) ( ontology:Q56061 ) } } GROUP BY ?b } }
action argmin
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'watercourse'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?k WHERE { VALUES ( ?s ) { ( ontology:watercourse ) ( ontology:administrative_territorial_entity ) } . ?m rdf:type ?s } GROUP BY ?k } } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) ?b WHERE { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:watercourse ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?b } }
[]
watercourse administrative territorial entity designation for an administrative territorial entity
Q148 Q145 Q805
SYSTEM
People's Republic of China, United Kingdom, Yemen
Q805 Q1070686 Q695445 Q2712111 Q489215 Q5101419 Q682072 Q6685870 Q4692591 Q525879 Q24846 Q267993 Q3172 Q922342 Q637400 Q21042 Q632868 Q148 Q784 Q21049 Q786 Q25129 Q7042 Q312335 Q21160 Q525945 Q5382040 Q252320 Q3003231 Q505665 Q1462 Q15744129 Q4692611 Q521132 Q790 Q508054 Q1721440 Q5517964 Q496389 Q555609 Q267005 Q128230 Q27332 Q1093572 Q6350324 Q204529 Q244 Q4789577 Q501683 Q582690 Q216422 Q20789 Q16642582 Q33 Q921 Q633162 Q3146 Q520347 Q851 Q845396 Q15213143 Q598754 Q252772 Q21074475 Q81306 Q771971 Q1778088 Q3942 Q145 Q333149 Q27 Q494305 Q4770750 Q20836 Q20837 Q769680 Q5420482 Q19906291 Q192129 Q502662 Q47821 Q20019215 Q503693 Q4692647 Q3038 Q3068 Q331886 Q15244035 Q6472577 Q25130 Q588957 Q25135 Q229 Q3218 Q4769813 Q112019 Q704288 Q21008 Q7916724 Q660806 Q25125 Q29931 Q28091 Q754 Q507258 Q25082 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q628095 Q3923 Q27649869 Q5283827 Q3193 Q522992 Q15744111 Q23968 Q760 Q6835962 Q489865 Q518171 Q2119591 Q46870 Q72432 Q504134 Q625747 Q2585085 Q20754 Q8147649 Q153969 Q481758 Q8043694 Q55416 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q355304)|c(Q56061))
action argmin
action union
action find_tuple_counts
relation P706
type Q15617994
type Q355304
action find_tuple_counts
relation P706
type Q15617994
type Q56061
[ANSWERS] have their location as min number of watercourses or administrative territories
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q355304'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?k WHERE { VALUES ( ?s ) { ( ontology:Q355304 ) ( ontology:Q56061 ) } . ?m rdf:type ?s } GROUP BY ?k } } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) ?b WHERE { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:Q355304 ) ( ontology:Q56061 ) } } GROUP BY ?b } }
Yemen Leivathos Langen Zagori Oberhof Chionata Rankwitz Loucha Agioi Pantes Haundorf Juist Muhr am See Fehmarn Sithonia Hohenwarte Nebel Sasbach People's Republic of China Dominica Norddorf auf Amrum Dominican Republic Langeoog Amberg Spalt List auf Sylt Pfofeld Epanochori, Cephalonia Pleinfeld Croisset Bergen Sardinia Oberscheuren Agios Dimitrios, Cephalonia Hilpoltstein Haiti Neu Wulmstorf Kaimig Galaro Lipari Magdala Moneglia Ventotene Kampen Trøllanes Kalamaki, Zakynthos Zingst Barbados Arginia Rosengarten Neuenhagen bei Berlin Samsø Wenningstedt-Braderup Hydra Finland Brunei Drestedt Pellworm Röttenbach, Roth Saudi Arabia Pyramiden Davgata Undeloh Eichstätt Nenndorf Forbach Avlida Kochenbach Aschaffenburg United Kingdom Abstatt Ireland Kelheim Ansons Bay Hallig Hooge Fanø Bornholm Exo Chora Western New Guinea Ustica Bad Salzungen Malcesine Natal Riedenburg Agios Nikolaos, Cephalonia Helgoland Loire-Atlantique Absberg Makryotika Lagopodo Spiekeroog Allersberg Wangerooge Cyprus Insel Hiddensee Ano Gerakari Sirmione Duchy of Holstein Sylt Vasilikades Karlshagen Baltrum Langeneß Wittdün auf Amrum Trinidad and Tobago Kipfenberg Borkum Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Nürburg Bayreuth Teglkås Divarata Ostseebad Insel Poel Braunlage Niederscheuren Norderney Saint Lucia Michata Isola delle Femmine Ellhofen Pylaros Bardolino Procida Kirchlinteln Rangsdorf Wintersberg Gröde Ba District Lindau Pantelleria Xenopoulo Chioggia Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
People's Republic of China, United Kingdom and Yemen have their location as min number of watercourses or administrative territories
People's Republic of China United Kingdom Yemen
action argmin
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'watercourse'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?k WHERE { VALUES ( ?s ) { ( ontology:watercourse ) ( ontology:administrative_territorial_entity ) } . ?m rdf:type ?s } GROUP BY ?k } } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) ?b WHERE { ?r rdf:type ?g . VALUES ( ?g ) { ( ontology:watercourse ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?b } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q736
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with greater number of administrative territories than Ecuador ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q736
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?r ) WHERE { ?b property:P530 ?o . ?b rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Q736 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?r > ?e ) }
Ecuador
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ecuador
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?r ) WHERE { ?b property:diplomatic_relation ?o . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Ecuador property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r > ?e ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
66
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q733 Q230 Q27 Q28 Q843 Q184 Q228 Q227 Q225 Q222 Q96 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q79 Q77 Q858 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q736
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?r ) WHERE { ?b property:P530 ?o . ?b rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Q736 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?r > ?e ) }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Paraguay Georgia Ireland Hungary Pakistan Belarus Andorra Azerbaijan Bosnia and Herzegovina Albania Mexico Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Egypt Uruguay Syria Tunisia Libya Cape Verde Spain Zambia
66
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ecuador
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?r ) WHERE { ?b property:diplomatic_relation ?o . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Ecuador property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r > ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1032
P530
Q15617994 Q15617994
USER
And how about Niger?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1032
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?t ) WHERE { ?p property:P530 ?h . ?p rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Q1032 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?n ) }
Niger
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Niger
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?t ) WHERE { ?p property:diplomatic_relation ?h . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Niger property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?n ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
109
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1032
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?t ) WHERE { ?p property:P530 ?h . ?p rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Q1032 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?n ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
109
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Niger
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?t ) WHERE { ?p property:diplomatic_relation ?h . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Niger property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?n ) }
[]