Simple Question (Direct)
Simple Question
Q1441674
P102
Q7210356
USER
Which party is Francis O. Lindquist affiliated with ?
(Q1441674,P102,c(Q7210356))
action filter_type
action find
entity Q1441674
relation P102
type Q7210356
['Q1441674', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7210356 . resource:Q1441674 property:P102 ?k }
Francis O. Lindquist
action filter_type
action find
entity Francis O. Lindquist
relation member of political party
type political organization
['Francis O. Lindquist', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_organization . resource:Francis_O._Lindquist property:member_of_political_party ?k }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q1441674,P102,c(Q7210356))
action filter_type
action find
entity Q1441674
relation P102
type Q7210356
Francis O. Lindquist is affiliated with [ANSWER]
['Q1441674', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7210356 . resource:Q1441674 property:P102 ?k }
Republican Party
Francis O. Lindquist is affiliated with Republican Party
Republican Party
action filter_type
action find
entity Francis O. Lindquist
relation member of political party
type political organization
['Francis O. Lindquist', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_organization . resource:Francis_O._Lindquist property:member_of_political_party ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1441674
P19
Q5119
USER
Which capital is the birthplace of Francis O. Lindquist ?
(Q1441674,P19,c(Q5119))
action filter_type
action find
entity Q1441674
relation P19
type Q5119
['Q1441674', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?q WHERE { resource:Q1441674 property:P19 ?q . ?q rdf:type ontology:Q5119 }
Francis O. Lindquist
action filter_type
action find
entity Francis O. Lindquist
relation place of birth
type capital
['Francis O. Lindquist', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?q WHERE { resource:Francis_O._Lindquist property:place_of_birth ?q . ?q rdf:type ontology:capital }
[]
capital
Q1013700
SYSTEM
Marinette
Q1013700
(Q1441674,P19,c(Q5119))
action filter_type
action find
entity Q1441674
relation P19
type Q5119
[ANSWER] is the birthplace of Francis O. Lindquist
['Q1441674', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?q WHERE { resource:Q1441674 property:P19 ?q . ?q rdf:type ontology:Q5119 }
Marinette
Marinette is the birthplace of Francis O. Lindquist
Marinette
action filter_type
action find
entity Francis O. Lindquist
relation place of birth
type capital
['Francis O. Lindquist', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?q WHERE { resource:Francis_O._Lindquist property:place_of_birth ?q . ?q rdf:type ontology:capital }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1013700
P1408
Q4830453
USER
Which business enterprises are licensed to broadcast to that capital ?
(c(Q4830453),P1408,Q1013700)
action filter_type
action find_reverse
entity Q1013700
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q1013700']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q4830453 . ?g property:P1408 resource:Q1013700 }
Marinette
action filter_type
action find_reverse
entity Marinette
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Marinette']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:business_enterprise . ?g property:licensed_to_broadcast_to resource:Marinette }
[]
business enterprise
Q7952479 Q7952632
SYSTEM
WLST, WMAM
Q7952479 Q7952632
(c(Q4830453),P1408,Q1013700)
action filter_type
action find_reverse
entity Q1013700
relation P1408
type Q4830453
[ANSWERS] are licensed to broadcast to that capital
[{'concept': 'Q4830453'}, 'P1408', 'Q1013700']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q4830453 . ?g property:P1408 resource:Q1013700 }
WLST WMAM
WLST and WMAM are licensed to broadcast to that capital
WLST WMAM
action filter_type
action find_reverse
entity Marinette
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Marinette']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:business_enterprise . ?g property:licensed_to_broadcast_to resource:Marinette }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q79750 Q1013700
P1408
Q4830453
USER
Or Decatur?
OR((c(Q4830453),P1408,Q1013700), (c(Q4830453),P1408,Q79750))
action filter_type
action union
action find_reverse
entity Q1013700
relation P1408
action find_reverse
entity Q79750
relation P1408
type Q4830453
{'OR': [[{'concept': 'Q4830453'}, 'P1408', 'Q1013700'], [{'concept': 'Q4830453'}, 'P1408', 'Q79750']]}
SELECT DISTINCT ?l WHERE { { ?l property:P1408 ?j . VALUES ( ?j ) { ( resource:Q1013700 ) ( resource:Q79750 ) } } . ?l rdf:type ontology:Q4830453 }
Decatur Marinette
action filter_type
action union
action find_reverse
entity Marinette
relation licensed to broadcast to
action find_reverse
entity Decatur
relation licensed to broadcast to
type business enterprise
{'OR': [[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Marinette'], [{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Decatur']]}
SELECT DISTINCT ?l WHERE { { ?l property:licensed_to_broadcast_to ?j . VALUES ( ?j ) { ( resource:Marinette ) ( resource:Decatur ) } } . ?l rdf:type ontology:business_enterprise }
[]
business enterprise
Q7948566 Q7950337 Q7952479 Q7948892 Q7952632
SYSTEM
WDRM, WHOS, WLST, WEKI, WMAM
Q7948566 Q7950337 Q7952479 Q7948892 Q7952632
OR((c(Q4830453),P1408,Q1013700), (c(Q4830453),P1408,Q79750))
action filter_type
action union
action find_reverse
entity Q1013700
relation P1408
action find_reverse
entity Q79750
relation P1408
type Q4830453
[ANSWERS]
{'OR': [[{'concept': 'Q4830453'}, 'P1408', 'Q1013700'], [{'concept': 'Q4830453'}, 'P1408', 'Q79750']]}
SELECT DISTINCT ?l WHERE { { ?l property:P1408 ?j . VALUES ( ?j ) { ( resource:Q1013700 ) ( resource:Q79750 ) } } . ?l rdf:type ontology:Q4830453 }
WDRM WHOS WLST WEKI WMAM
WDRM WHOS WLST WEKI WMAM
action filter_type
action union
action find_reverse
entity Marinette
relation licensed to broadcast to
action find_reverse
entity Decatur
relation licensed to broadcast to
type business enterprise
{'OR': [[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Marinette'], [{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Decatur']]}
SELECT DISTINCT ?l WHERE { { ?l property:licensed_to_broadcast_to ?j . VALUES ( ?j ) { ( resource:Marinette ) ( resource:Decatur ) } } . ?l rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1013700
P17
Q15617994
USER
Which administrative territory is Marinette situated in ?
(Q1013700,P17,c(Q15617994))
action filter_type
action find
entity Q1013700
relation P17
type Q15617994
['Q1013700', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1013700 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Marinette
action filter_type
action find
entity Marinette
relation country
type designation for an administrative territorial entity
['Marinette', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Marinette property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1013700,P17,c(Q15617994))
action filter_type
action find
entity Q1013700
relation P17
type Q15617994
Marinette is situated in [ANSWER]
['Q1013700', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1013700 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
United States of America
Marinette is situated in United States of America
United States of America
action filter_type
action find
entity Marinette
relation country
type designation for an administrative territorial entity
['Marinette', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Marinette property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1013700
P20
Q502895
USER
Which people expired at that capital ?
(c(Q502895),P20,Q30)
action filter_type
action find_reverse
entity Q1013700
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q30']
SELECT DISTINCT ?f WHERE { ?f property:P20 resource:Q1013700 . ?f rdf:type ontology:Q502895 }
Marinette
action filter_type
action find_reverse
entity Marinette
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'United States of America']
SELECT DISTINCT ?f WHERE { ?f property:place_of_death resource:Marinette . ?f rdf:type ontology:common_name }
[]
common name
Q5677642 Q24626010 Q666270
SYSTEM
Harvey Vanzandt Higley, Ervin Maske, Isaac Stephenson
Q5677642 Q24626010 Q666270
(c(Q502895),P20,Q30)
action filter_type
action find_reverse
entity Q1013700
relation P20
type Q502895
[ANSWERS] expired at that capital
[{'concept': 'Q502895'}, 'P20', 'Q30']
SELECT DISTINCT ?f WHERE { ?f property:P20 resource:Q1013700 . ?f rdf:type ontology:Q502895 }
Harvey Vanzandt Higley Ervin Maske Isaac Stephenson
Harvey Vanzandt Higley, Ervin Maske and Isaac Stephenson expired at that capital
Harvey Vanzandt Higley Ervin Maske Isaac Stephenson
action filter_type
action find_reverse
entity Marinette
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'United States of America']
SELECT DISTINCT ?f WHERE { ?f property:place_of_death resource:Marinette . ?f rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2169667 Q7952479
P17
Q15617994
USER
Which administrative territories do WLST or Route nationale 27 belong to ?
OR((Q7952479,P17,c(Q15617994)), (Q2169667,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7952479
relation P17
action find
entity Q2169667
relation P17
type Q15617994
{'OR': [['Q7952479', 'P17', {'concept': 'Q15617994'}], ['Q2169667', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { ?y property:P17 ?g . VALUES ( ?y ) { ( resource:Q7952479 ) ( resource:Q2169667 ) } } . ?g rdf:type ontology:Q15617994 }
Route nationale 27 WLST
action filter_type
action union
action find
entity WLST
relation country
action find
entity Route nationale 27
relation country
type designation for an administrative territorial entity
{'OR': [['WLST', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Route nationale 27', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { ?y property:country ?g . VALUES ( ?y ) { ( resource:WLST ) ( resource:Route_nationale_27 ) } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q30
SYSTEM
France, United States of America
Q142 Q30
OR((Q7952479,P17,c(Q15617994)), (Q2169667,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7952479
relation P17
action find
entity Q2169667
relation P17
type Q15617994
WLST or Route nationale 27 belong to the [ANSWERS]
{'OR': [['Q7952479', 'P17', {'concept': 'Q15617994'}], ['Q2169667', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { ?y property:P17 ?g . VALUES ( ?y ) { ( resource:Q7952479 ) ( resource:Q2169667 ) } } . ?g rdf:type ontology:Q15617994 }
France United States of America
WLST or Route nationale 27 belong to the France and United States of America
France United States of America
action filter_type
action union
action find
entity WLST
relation country
action find
entity Route nationale 27
relation country
type designation for an administrative territorial entity
{'OR': [['WLST', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Route nationale 27', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { ?y property:country ?g . VALUES ( ?y ) { ( resource:WLST ) ( resource:Route_nationale_27 ) } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17413172 Q24626010
P19 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Ervin Maske or were Biagio Pinto born ?
OR((Q24626010,P27,c(Q15617994)), (Q17413172,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q24626010
relation P27
action find
entity Q17413172
relation P19
type Q15617994
{'OR': [['Q24626010', 'P27', {'concept': 'Q15617994'}], ['Q17413172', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q24626010 property:P27 ?j } UNION { resource:Q17413172 property:P19 ?j } } . ?j rdf:type ontology:Q15617994 }
Biagio Pinto Ervin Maske
action filter_type
action union
action find
entity Ervin Maske
relation country of citizenship
action find
entity Biagio Pinto
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Ervin Maske', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Biagio Pinto', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Ervin_Maske property:country_of_citizenship ?j } UNION { resource:Biagio_Pinto property:place_of_birth ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q81330 Q30
SYSTEM
Pisciotta, United States of America
Q81330 Q30
OR((Q24626010,P27,c(Q15617994)), (Q17413172,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q24626010
relation P27
action find
entity Q17413172
relation P19
type Q15617994
[ANSWERS] are the countries of citizenship of Ervin Maske or were Biagio Pinto born
{'OR': [['Q24626010', 'P27', {'concept': 'Q15617994'}], ['Q17413172', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q24626010 property:P27 ?j } UNION { resource:Q17413172 property:P19 ?j } } . ?j rdf:type ontology:Q15617994 }
Pisciotta United States of America
Pisciotta and United States of America are the countries of citizenship of Ervin Maske or were Biagio Pinto born
Pisciotta United States of America
action filter_type
action union
action find
entity Ervin Maske
relation country of citizenship
action find
entity Biagio Pinto
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Ervin Maske', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Biagio Pinto', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Ervin_Maske property:country_of_citizenship ?j } UNION { resource:Biagio_Pinto property:place_of_birth ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people were born at that administrative territory ?
(c(Q502895),P19,Q81330)
[{'concept': 'Q502895'}, 'P19', 'Q81330']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q81330 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'place of birth', 'Pisciotta']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Pisciotta . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
(c(Q502895),P19,Q81330) (c(Q502895),P19,Q30)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q81330'] [{'concept': 'Q502895'}, 'P19', 'Q30']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q81330 . ?z rdf:type ontology:Q502895 }
Did you mean United States of America ?
United States of America
[{'concept': 'common name'}, 'place of birth', 'Pisciotta'] [{'concept': 'common name'}, 'place of birth', 'United States of America']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Pisciotta . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Pisciotta. Could you tell me the answer for that?
(c(Q502895),P19,Q81330)
Q81330
[{'concept': 'Q502895'}, 'P19', 'Q81330']
[{'concept': 'common name'}, 'place of birth', 'Pisciotta']
[]
SYSTEM
5
Q21587803 Q3839975 Q3766786 Q17413172 Q1173021
(c(Q502895),P19,Q81330)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q81330']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q81330 . ?z rdf:type ontology:Q502895 }
Giovanni Oriolo Luigi Pappacoda Giovanni Battista de Bellis Biagio Pinto Erminio Azzaro
5
[{'concept': 'common name'}, 'place of birth', 'Pisciotta']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Pisciotta . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q189912
P740
Q2088357
USER
How many musical ensembles originated at France or Aberdeenshire ?
(c(Q2088357),P740,Q142) (c(Q2088357),P740,Q189912)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q189912
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q142'] [{'concept': 'Q2088357'}, 'P740', 'Q189912']
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { ?t property:P740 resource:Q142 . ?t rdf:type ontology:Q2088357 } UNION { ?t property:P740 resource:Q189912 . ?t rdf:type ontology:Q2088357 } }
France Aberdeenshire
action count
action union
action filter_type
action find_reverse
entity France
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Aberdeenshire
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'France'] [{'concept': 'musical ensemble'}, 'location of formation', 'Aberdeenshire']
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { ?t property:location_of_formation resource:France . ?t rdf:type ontology:musical_ensemble } UNION { ?t property:location_of_formation resource:Aberdeenshire . ?t rdf:type ontology:musical_ensemble } }
[]
musical ensemble
SYSTEM
27
Q2482652 Q6533353 Q3232823 Q14455902 Q5205878 Q2869575 Q2013381 Q22951192 Q16930080 Q948804 Q2982785 Q2113827 Q3396185 Q15198337 Q5934794 Q13945471 Q3562922 Q3196402 Q606650 Q646039 Q845508 Q2813204 Q4653239 Q3498740 Q3238355 Q15052981 Q3001954
(c(Q2088357),P740,Q142) (c(Q2088357),P740,Q189912)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q189912
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q2088357'}, 'P740', 'Q142'] [{'concept': 'Q2088357'}, 'P740', 'Q189912']
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { ?t property:P740 resource:Q142 . ?t rdf:type ontology:Q2088357 } UNION { ?t property:P740 resource:Q189912 . ?t rdf:type ontology:Q2088357 } }
Les Discrets Lethian Dreams Les Frères Misère Flavel & Neto DOP Atomic Garden Ocean Drive Kids United The Other Colors One-T Collectif Paris-Africa Prototypes Poney Express Détroit Monade The Mess Volo Kidtonik Empyr Era Les Hurlements d'Léo 1995 APB StereoHeroes Life's Decay Y.A.S. Crack ov Dawn
27
action count
action union
action filter_type
action find_reverse
entity France
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Aberdeenshire
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'France'] [{'concept': 'musical ensemble'}, 'location of formation', 'Aberdeenshire']
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { ?t property:location_of_formation resource:France . ?t rdf:type ontology:musical_ensemble } UNION { ?t property:location_of_formation resource:Aberdeenshire . ?t rdf:type ontology:musical_ensemble } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1037
P17
Q15617994 Q2385804 Q7210356
USER
Which administrative territories are greater number of educational institutions and political organizations situated in than Rwanda ?
(c(Q2385804)|c(Q7210356),P17,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q2385804
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7210356
action count
action filter_multi_types
action find_reverse
entity Q1037
relation P17
type Q2385804
type Q7210356
[[{'concept': 'Q2385804'}, {'concept': 'Q7210356'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?j ) WHERE { { ?n rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2385804 . ?t property:P17 ?n } UNION { ?t property:P17 ?n . ?n rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q7210356 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P17 resource:Q1037 . { VALUES ( ?v ) { ( ontology:Q2385804 ) ( ontology:Q7210356 ) } . ?h rdf:type ?v } } } . FILTER ( ?j > ?u ) }
Rwanda
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type educational institution
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political organization
action count
action filter_multi_types
action find_reverse
entity Rwanda
relation country
type educational institution
type political organization
[[{'concept': 'educational institution'}, {'concept': 'political organization'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?j ) WHERE { { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:educational_institution . ?t property:country ?n } UNION { ?t property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_organization } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:country resource:Rwanda . { VALUES ( ?v ) { ( ontology:educational_institution ) ( ontology:political_organization ) } . ?h rdf:type ?v } } } . FILTER ( ?j > ?u ) }
[]
designation for an administrative territorial entity educational institution political organization
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q800 Q709 Q398 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q214 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q889 Q884 Q958 Q881 Q986 Q219 Q4628 Q826 Q822 Q241 Q242 Q244 Q811 Q736 Q33 Q921 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q733 Q854 Q734 Q424 Q730 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q836 Q786 Q32 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q215 Q218 Q37 Q912 Q917 Q916 Q1007 Q1006 Q833 Q1009 Q1008 Q971 Q970 Q683 Q686 Q760 Q29 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q1039 Q929 Q863 Q1049 Q869 Q953
(c(Q2385804)|c(Q7210356),P17,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q2385804
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7210356
action count
action filter_multi_types
action find_reverse
entity Q1037
relation P17
type Q2385804
type Q7210356
[ANSWERS] are greater number of educational institutions and political organizations situated in than Rwanda
[[{'concept': 'Q2385804'}, {'concept': 'Q7210356'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?j ) WHERE { { ?n rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2385804 . ?t property:P17 ?n } UNION { ?t property:P17 ?n . ?n rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q7210356 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P17 resource:Q1037 . { VALUES ( ?v ) { ( ontology:Q2385804 ) ( ontology:Q7210356 ) } . ?h rdf:type ?v } } } . FILTER ( ?j > ?u ) }
Panama Israel Costa Rica Marshall Islands Bahrain Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Afghanistan South Korea South Sudan Vietnam Eritrea Bulgaria Faroe Islands Maldives Lebanon Cuba Belize Barbados Nicaragua Ecuador Finland Brunei Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Paraguay Sri Lanka Guyana Cambodia Suriname Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Myanmar Dominican Republic Luxembourg Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovenia Romania Lithuania Mali Bhutan Angola Guinea-Bissau Guinea Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Vanuatu Saint Lucia Spain East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Sao Tomé and Príncipe Central African Republic Tajikistan Sudan Thailand Zambia
Italy, Brazil and United States of America are greater number of educational institutions and political organizations situated in than Rwanda
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type educational institution
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political organization
action count
action filter_multi_types
action find_reverse
entity Rwanda
relation country
type educational institution
type political organization
[[{'concept': 'educational institution'}, {'concept': 'political organization'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?j ) WHERE { { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:educational_institution . ?t property:country ?n } UNION { ?t property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_organization } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:country resource:Rwanda . { VALUES ( ?v ) { ( ontology:educational_institution ) ( ontology:political_organization ) } . ?h rdf:type ?v } } } . FILTER ( ?j > ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q678
P17
Q15617994 Q2385804 Q7210356
USER
And also tell me about Tonga?
(c(Q2385804)|c(Q7210356),P17,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q2385804
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7210356
action count
action filter_multi_types
action find_reverse
entity Q678
relation P17
type Q2385804
type Q7210356
[[{'concept': 'Q2385804'}, {'concept': 'Q7210356'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:Q2385804 ) ( ontology:Q7210356 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P17 resource:Q678 . { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2385804 ) ( ontology:Q7210356 ) } } } } . FILTER ( ?p > ?q ) }
Tonga
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type educational institution
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political organization
action count
action filter_multi_types
action find_reverse
entity Tonga
relation country
type educational institution
type political organization
[[{'concept': 'educational institution'}, {'concept': 'political organization'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:educational_institution ) ( ontology:political_organization ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:country resource:Tonga . { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:educational_institution ) ( ontology:political_organization ) } } } } . FILTER ( ?p > ?q ) }
[]
designation for an administrative territorial entity educational institution political organization
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q800 Q709 Q398 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q214 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q889 Q884 Q958 Q881 Q986 Q219 Q4628 Q826 Q822 Q241 Q242 Q244 Q811 Q736 Q33 Q921 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q733 Q854 Q734 Q424 Q730 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q836 Q786 Q32 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q215 Q218 Q37 Q912 Q917 Q916 Q1007 Q1006 Q833 Q1009 Q1008 Q971 Q970 Q683 Q686 Q760 Q29 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q1039 Q929 Q863 Q1049 Q869 Q953
(c(Q2385804)|c(Q7210356),P17,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q2385804
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7210356
action count
action filter_multi_types
action find_reverse
entity Q678
relation P17
type Q2385804
type Q7210356
[ANSWERS]
[[{'concept': 'Q2385804'}, {'concept': 'Q7210356'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:Q2385804 ) ( ontology:Q7210356 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P17 resource:Q678 . { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2385804 ) ( ontology:Q7210356 ) } } } } . FILTER ( ?p > ?q ) }
Panama Israel Costa Rica Marshall Islands Bahrain Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Afghanistan South Korea South Sudan Vietnam Eritrea Bulgaria Faroe Islands Maldives Lebanon Cuba Belize Barbados Nicaragua Ecuador Finland Brunei Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Paraguay Sri Lanka Guyana Cambodia Suriname Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Myanmar Dominican Republic Luxembourg Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovenia Romania Lithuania Mali Bhutan Angola Guinea-Bissau Guinea Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Vanuatu Saint Lucia Spain East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Sao Tomé and Príncipe Central African Republic Tajikistan Sudan Thailand Zambia
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type educational institution
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political organization
action count
action filter_multi_types
action find_reverse
entity Tonga
relation country
type educational institution
type political organization
[[{'concept': 'educational institution'}, {'concept': 'political organization'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ?l . VALUES ( ?l ) { ( ontology:educational_institution ) ( ontology:political_organization ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:country resource:Tonga . { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:educational_institution ) ( ontology:political_organization ) } } } } . FILTER ( ?p > ?q ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q30
P840
Q2342494
USER
Which collectables have their setting located at those administrative territories ?
(c(Q2342494),P840,Q38) (c(Q2342494),P840,Q155) (c(Q2342494),P840,Q30)
action filter_type
action find_reverse
entity prev_answer
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q38'] [{'concept': 'Q2342494'}, 'P840', 'Q155'] [{'concept': 'Q2342494'}, 'P840', 'Q30']
SELECT DISTINCT ?z WHERE { VALUES ( ?w ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . ?z rdf:type ontology:Q2342494 . ?z property:P840 ?w }
Italy Brazil United States of America
action filter_type
action find_reverse
entity prev_answer
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Italy'] [{'concept': 'collectable'}, 'narrative location', 'Brazil'] [{'concept': 'collectable'}, 'narrative location', 'United States of America']
SELECT DISTINCT ?z WHERE { VALUES ( ?w ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . ?z rdf:type ontology:collectable . ?z property:narrative_location ?w }
[]
collectable
Q22815168 Q215894 Q202009
SYSTEM
Eine Frau fährt um die Welt, Candide, Fahrenheit 451
Q22677282 Q3227887 Q4004281 Q22815168 Q215894 Q14981122 Q7760729 Q4383533 Q4821962 Q7858413 Q1775616 Q4881313 Q6859933 Q7974172 Q7742137 Q7148065 Q788777 Q7726595 Q4105644 Q8028655 Q7718071 Q10306884 Q3236399 Q7034086 Q743180 Q6310416 Q202009 Q7766816
(c(Q2342494),P840,Q38) (c(Q2342494),P840,Q155) (c(Q2342494),P840,Q30)
action filter_type
action find_reverse
entity prev_answer
relation P840
type Q2342494
[ANSWERS] have their setting located at those administrative territories
[{'concept': 'Q2342494'}, 'P840', 'Q38'] [{'concept': 'Q2342494'}, 'P840', 'Q155'] [{'concept': 'Q2342494'}, 'P840', 'Q30']
SELECT DISTINCT ?z WHERE { VALUES ( ?w ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . ?z rdf:type ontology:Q2342494 . ?z property:P840 ?w }
La voyageuse languedocienne ou Les aventures de Mademoiselle de Lanoy comtesse d'Itry The Very Lowly A Handful of Dust Eine Frau fährt um die Welt Candide A Case of Two Cities The Rifle A Kiss Before Dying Aunt Jane's Nieces and Uncle John Twins A Wind Named Amnesia Being There Millroy the Magician Waterlily The Inscrutable Americans Patriots Novels Series Breakfast of Champions The Codfish Musket Up the Down Staircase Witz The Bird is Gone: A Manifesto Jewels The Dead All Have the Same Skin Nightwing On the Road July, July Fahrenheit 451 The Story of a Country Town
Eine Frau fährt um die Welt, Candide and Fahrenheit 451 have their setting located at those administrative territories
Eine Frau fährt um die Welt Candide Fahrenheit 451
action filter_type
action find_reverse
entity prev_answer
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Italy'] [{'concept': 'collectable'}, 'narrative location', 'Brazil'] [{'concept': 'collectable'}, 'narrative location', 'United States of America']
SELECT DISTINCT ?z WHERE { VALUES ( ?w ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . ?z rdf:type ontology:collectable . ?z property:narrative_location ?w }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q22815168 Q215894 Q202009
P50
Q502895
USER
Which people authored those collectables ?
(Q22815168,P50,c(Q502895)) (Q215894,P50,c(Q502895)) (Q202009,P50,c(Q502895))
action filter_type
action find
entity prev_answer
relation P50
type Q502895
['Q22815168', 'P50', {'concept': 'Q502895'}] ['Q215894', 'P50', {'concept': 'Q502895'}] ['Q202009', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?o ) { ( resource:Q22677282 ) ( resource:Q3227887 ) ( resource:Q4004281 ) } . ?o property:P50 ?y . ?y rdf:type ontology:Q502895 }
Eine Frau fährt um die Welt Candide Fahrenheit 451
action filter_type
action find
entity prev_answer
relation author
type common name
['Eine Frau fährt um die Welt', 'author', {'concept': 'common name'}] ['Candide', 'author', {'concept': 'common name'}] ['Fahrenheit 451', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?o ) { ( resource:La_voyageuse_languedocienne_ou_Les_aventures_de_Mademoiselle_de_Lanoy_comtesse_d'Itry ) ( resource:The_Very_Lowly ) ( resource:A_Handful_of_Dust ) } . ?o property:author ?y . ?y rdf:type ontology:common_name }
[]
common name
Q78873 Q9068 Q40640
SYSTEM
Ida Laura Pfeiffer, Voltaire, Ray Bradbury
Q78873 Q9068 Q40640
(Q22815168,P50,c(Q502895)) (Q215894,P50,c(Q502895)) (Q202009,P50,c(Q502895))
action filter_type
action find
entity prev_answer
relation P50
type Q502895
[ANSWERS] authored those collectables
['Q22815168', 'P50', {'concept': 'Q502895'}] ['Q215894', 'P50', {'concept': 'Q502895'}] ['Q202009', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?o ) { ( resource:Q22677282 ) ( resource:Q3227887 ) ( resource:Q4004281 ) } . ?o property:P50 ?y . ?y rdf:type ontology:Q502895 }
Ida Laura Pfeiffer Voltaire Ray Bradbury
Ida Laura Pfeiffer, Voltaire and Ray Bradbury authored those collectables
Ida Laura Pfeiffer Voltaire Ray Bradbury
action filter_type
action find
entity prev_answer
relation author
type common name
['Eine Frau fährt um die Welt', 'author', {'concept': 'common name'}] ['Candide', 'author', {'concept': 'common name'}] ['Fahrenheit 451', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?o ) { ( resource:La_voyageuse_languedocienne_ou_Les_aventures_de_Mademoiselle_de_Lanoy_comtesse_d'Itry ) ( resource:The_Very_Lowly ) ( resource:A_Handful_of_Dust ) } . ?o property:author ?y . ?y rdf:type ontology:common_name }
[]