Simple Question (Direct)
Simple Question
Q773736
P509
Q2057971
USER
What lead to the death of Sidney Lanier ?
(Q773736,P509,c(Q2057971))
action filter_type
action find
entity Q773736
relation P509
type Q2057971
['Q773736', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2057971 . resource:Q773736 property:P509 ?s }
Sidney Lanier
action filter_type
action find
entity Sidney Lanier
relation cause of death
type health problem
['Sidney Lanier', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:health_problem . resource:Sidney_Lanier property:cause_of_death ?s }
[]
health problem
Q12204
SYSTEM
tuberculosis
Q12204
(Q773736,P509,c(Q2057971))
action filter_type
action find
entity Q773736
relation P509
type Q2057971
[ANSWER] lead to the death of Sidney Lanier
['Q773736', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2057971 . resource:Q773736 property:P509 ?s }
tuberculosis
Tuberculosis lead to the death of Sidney Lanier
tuberculosis
action filter_type
action find
entity Sidney Lanier
relation cause of death
type health problem
['Sidney Lanier', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:health_problem . resource:Sidney_Lanier property:cause_of_death ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12204
P828
Q12136
USER
What does that health problem cause ?
(c(Q12136),P828,Q12204)
action filter_type
action find_reverse
entity Q12204
relation P828
type Q12136
[{'concept': 'Q12136'}, 'P828', 'Q12204']
SELECT DISTINCT ?v WHERE { ?v property:P828 resource:Q12204 . ?v rdf:type ontology:Q12136 }
tuberculosis
action filter_type
action find_reverse
entity tuberculosis
relation has cause
type disease
[{'concept': 'disease'}, 'has cause', 'tuberculosis']
SELECT DISTINCT ?v WHERE { ?v property:has_cause resource:tuberculosis . ?v rdf:type ontology:disease }
[]
disease
Q2723627
SYSTEM
Pott disease
Q2723627
(c(Q12136),P828,Q12204)
action filter_type
action find_reverse
entity Q12204
relation P828
type Q12136
That health problem causes the [ANSWER]
[{'concept': 'Q12136'}, 'P828', 'Q12204']
SELECT DISTINCT ?v WHERE { ?v property:P828 resource:Q12204 . ?v rdf:type ontology:Q12136 }
Pott disease
That health problem causes the Pott disease
Pott disease
action filter_type
action find_reverse
entity tuberculosis
relation has cause
type disease
[{'concept': 'disease'}, 'has cause', 'tuberculosis']
SELECT DISTINCT ?v WHERE { ?v property:has_cause resource:tuberculosis . ?v rdf:type ontology:disease }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q773736
P737
Q502895
USER
Who did Sidney Lanier have an influence on ?
(c(Q502895),P737,Q773736)
action filter_type
action find_reverse
entity Q773736
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q773736']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P737 resource:Q773736 }
Sidney Lanier
action filter_type
action find_reverse
entity Sidney Lanier
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Sidney Lanier']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:influenced_by resource:Sidney_Lanier }
[]
common name
Q533505
SYSTEM
Wendell Berry
Q533505
(c(Q502895),P737,Q773736)
action filter_type
action find_reverse
entity Q773736
relation P737
type Q502895
Sidney Lanier had an influence on [ANSWER]
[{'concept': 'Q502895'}, 'P737', 'Q773736']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P737 resource:Q773736 }
Wendell Berry
Sidney Lanier had an influence on Wendell Berry
Wendell Berry
action filter_type
action find_reverse
entity Sidney Lanier
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Sidney Lanier']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:influenced_by resource:Sidney_Lanier }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q533505
P69
Q163740
USER
Which nonprofit organization is the alma mater of that person ?
(Q533505,P69,c(Q163740))
action filter_type
action find
entity Q533505
relation P69
type Q163740
['Q533505', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q163740 . resource:Q533505 property:P69 ?b }
Wendell Berry
action filter_type
action find
entity Wendell Berry
relation educated at
type nonprofit organization
['Wendell Berry', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:nonprofit_organization . resource:Wendell_Berry property:educated_at ?b }
[]
nonprofit organization
Q41506
SYSTEM
Stanford University
Q41506
(Q533505,P69,c(Q163740))
action filter_type
action find
entity Q533505
relation P69
type Q163740
[ANSWER] is the alma mater of that person
['Q533505', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q163740 . resource:Q533505 property:P69 ?b }
Stanford University
Stanford University is the alma mater of that person
Stanford University
action filter_type
action find
entity Wendell Berry
relation educated at
type nonprofit organization
['Wendell Berry', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:nonprofit_organization . resource:Wendell_Berry property:educated_at ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q533505
P551
Q852446 Q56061
USER
How many US administrative territories and administrative territories were the places of residence of Wendell Berry ?
(Q533505,P551,c(Q852446)) (Q533505,P551,c(Q56061))
action count
action union
action filter_type
action find
entity Q533505
relation P551
type Q852446
action filter_type
action find
entity Q533505
relation P551
type Q56061
['Q533505', 'P551', {'concept': 'Q852446'}] ['Q533505', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { VALUES ( ?r ) { ( ontology:Q852446 ) ( ontology:Q56061 ) } . ?g rdf:type ?r }
Wendell Berry
action count
action union
action filter_type
action find
entity Wendell Berry
relation residence
type administrative territorial entity of the United States
action filter_type
action find
entity Wendell Berry
relation residence
type administrative territorial entity
['Wendell Berry', 'residence', {'concept': 'administrative territorial entity of the United States'}] ['Wendell Berry', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { VALUES ( ?r ) { ( ontology:administrative_territorial_entity_of_the_United_States ) ( ontology:administrative_territorial_entity ) } . ?g rdf:type ?r }
[]
administrative territorial entity of the United States administrative territorial entity
SYSTEM
1 US administrative territories and 1 administrative territories
Q43668 Q7230898
(Q533505,P551,c(Q852446)) (Q533505,P551,c(Q56061))
action count
action union
action filter_type
action find
entity Q533505
relation P551
type Q852446
action filter_type
action find
entity Q533505
relation P551
type Q56061
[ANSWER]
['Q533505', 'P551', {'concept': 'Q852446'}] ['Q533505', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { VALUES ( ?r ) { ( ontology:Q852446 ) ( ontology:Q56061 ) } . ?g rdf:type ?r }
Louisville Port Royal
1 US administrative territories and 1 administrative territories
action count
action union
action filter_type
action find
entity Wendell Berry
relation residence
type administrative territorial entity of the United States
action filter_type
action find
entity Wendell Berry
relation residence
type administrative territorial entity
['Wendell Berry', 'residence', {'concept': 'administrative territorial entity of the United States'}] ['Wendell Berry', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { VALUES ( ?r ) { ( ontology:administrative_territorial_entity_of_the_United_States ) ( ontology:administrative_territorial_entity ) } . ?g rdf:type ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22973389 Q773736
P27
Q15617994
USER
Which administrative territories are the native countriesof Sidney Lanier or Paul-Louis-Philippe de Lezay de Lusignan ?
OR((Q773736,P27,c(Q15617994)), (Q22973389,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q773736
relation P27
action find
entity Q22973389
relation P27
type Q15617994
{'OR': [['Q773736', 'P27', {'concept': 'Q15617994'}], ['Q22973389', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q22973389 property:P27 ?b } UNION { resource:Q773736 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Paul-Louis-Philippe de Lezay de Lusignan Sidney Lanier
action filter_type
action union
action find
entity Sidney Lanier
relation country of citizenship
action find
entity Paul-Louis-Philippe de Lezay de Lusignan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sidney Lanier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Paul-Louis-Philippe de Lezay de Lusignan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Paul-Louis-Philippe_de_Lezay_de_Lusignan property:country_of_citizenship ?b } UNION { resource:Sidney_Lanier property:country_of_citizenship ?b } } . ?b 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((Q773736,P27,c(Q15617994)), (Q22973389,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q773736
relation P27
action find
entity Q22973389
relation P27
type Q15617994
[ANSWERS] are the native countriesof Sidney Lanier or Paul-Louis-Philippe de Lezay de Lusignan
{'OR': [['Q773736', 'P27', {'concept': 'Q15617994'}], ['Q22973389', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q22973389 property:P27 ?b } UNION { resource:Q773736 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
France United States of America
France and United States of America are the native countriesof Sidney Lanier or Paul-Louis-Philippe de Lezay de Lusignan
France United States of America
action filter_type
action union
action find
entity Sidney Lanier
relation country of citizenship
action find
entity Paul-Louis-Philippe de Lezay de Lusignan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sidney Lanier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Paul-Louis-Philippe de Lezay de Lusignan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Paul-Louis-Philippe_de_Lezay_de_Lusignan property:country_of_citizenship ?b } UNION { resource:Sidney_Lanier property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q12049
P530
Q1048835
USER
Do Premià de Dalt have ambassadorial relations with those administrative territories ?
(Q12049,P530,Q142) (Q12049,P530,Q30)
action is_in
entity prev_answer
action find
entity Q12049
relation P530
['Q12049', 'P530', 'Q142'] ['Q12049', 'P530', 'Q30']
ASK WHERE { VALUES ( ?g ) { ( resource:Q142 ) ( resource:Q30 ) } . resource:Q12049 property:P530 ?g }
Premià de Dalt
action is_in
entity prev_answer
action find
entity Premià de Dalt
relation diplomatic relation
['Premià de Dalt', 'diplomatic relation', 'France'] ['Premià de Dalt', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?g ) { ( resource:France ) ( resource:United_States_of_America ) } . resource:Premià_de_Dalt property:diplomatic_relation ?g }
[]
political territorial entity
SYSTEM
NO
(Q12049,P530,Q142) (Q12049,P530,Q30)
action is_in
entity prev_answer
action find
entity Q12049
relation P530
[ANSWER]
['Q12049', 'P530', 'Q142'] ['Q12049', 'P530', 'Q30']
ASK WHERE { VALUES ( ?g ) { ( resource:Q142 ) ( resource:Q30 ) } . resource:Q12049 property:P530 ?g }
No
action is_in
entity prev_answer
action find
entity Premià de Dalt
relation diplomatic relation
['Premià de Dalt', 'diplomatic relation', 'France'] ['Premià de Dalt', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?g ) { ( resource:France ) ( resource:United_States_of_America ) } . resource:Premià_de_Dalt property:diplomatic_relation ?g }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with atmost 44 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 44
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?n ) WHERE { ?x property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?n <= 44 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 44
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?n ) WHERE { ?x property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?n <= 44 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q55
SYSTEM
United States of America, Russia, Netherlands
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 44
[ANSWERS] are known to have diplomatic connections with atmost 44 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?n ) WHERE { ?x property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?n <= 44 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
United States of America, Russia and Netherlands are known to have diplomatic connections with atmost 44 administrative territories
United States of America Russia Netherlands
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 44
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?n ) WHERE { ?x property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?n <= 44 ) }
[]