Simple Question (Direct)
Simple Question
Q5111151
P69
Q163740
USER
Where were Christine Poon educated ?
(Q5111151,P69,c(Q163740))
action filter_type
action find
entity Q5111151
relation P69
type Q163740
['Q5111151', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { resource:Q5111151 property:P69 ?y . ?y rdf:type ontology:Q163740 }
Christine Poon
action filter_type
action find
entity Christine Poon
relation educated at
type nonprofit organization
['Christine Poon', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { resource:Christine_Poon property:educated_at ?y . ?y rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q309350 Q734774 Q49110
SYSTEM
Northwestern University, Saint Louis University, Boston University
Q309350 Q734774 Q49110
(Q5111151,P69,c(Q163740))
action filter_type
action find
entity Q5111151
relation P69
type Q163740
Christine Poon were educated at [ANSWERS]
['Q5111151', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { resource:Q5111151 property:P69 ?y . ?y rdf:type ontology:Q163740 }
Northwestern University Saint Louis University Boston University
Christine Poon were educated at Northwestern University, Saint Louis University and Boston University
Northwestern University Saint Louis University Boston University
action filter_type
action find
entity Christine Poon
relation educated at
type nonprofit organization
['Christine Poon', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { resource:Christine_Poon property:educated_at ?y . ?y rdf:type ontology:nonprofit_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q734774
P463
Q874405
USER
Which social group had that nonprofit organization as its member ?
(Q734774,P463,c(Q874405))
action filter_type
action find
entity Q734774
relation P463
type Q874405
['Q734774', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q734774 property:P463 ?w . ?w rdf:type ontology:Q874405 }
Saint Louis University
action filter_type
action find
entity Saint Louis University
relation member of
type social group
['Saint Louis University', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:Saint_Louis_University property:member_of ?w . ?w rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q49110
SYSTEM
Did you mean Boston University ?
Q309350 Q734774 Q49110
(Q309350,P463,c(Q874405)) (Q734774,P463,c(Q874405)) (Q49110,P463,c(Q874405))
[ANSWER]
['Q309350', 'P463', {'concept': 'Q874405'}] ['Q734774', 'P463', {'concept': 'Q874405'}] ['Q49110', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q734774 property:P463 ?w . ?w rdf:type ontology:Q874405 }
Northwestern University Saint Louis University Boston University
Did you mean Boston University ?
Boston University
['Northwestern University', 'member of', {'concept': 'social group'}] ['Saint Louis University', 'member of', {'concept': 'social group'}] ['Boston University', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:Saint_Louis_University property:member_of ?w . ?w rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
No, I meant Saint Louis University. Could you tell me the answer for that?
(Q734774,P463,c(Q874405))
Q734774
['Q734774', 'P463', {'concept': 'Q874405'}]
['Saint Louis University', 'member of', {'concept': 'social group'}]
[]
Q743945
SYSTEM
Association of Jesuit Colleges and Universities
Q743945
(Q734774,P463,c(Q874405))
action filter_type
action find
entity Q734774
relation P463
type Q874405
[ANSWER] had that nonprofit organization as its member
['Q734774', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q734774 property:P463 ?w . ?w rdf:type ontology:Q874405 }
Association of Jesuit Colleges and Universities
Association of Jesuit Colleges and Universities had that nonprofit organization as its member
Association of Jesuit Colleges and Universities
action filter_type
action find
entity Saint Louis University
relation member of
type social group
['Saint Louis University', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:Saint_Louis_University property:member_of ?w . ?w rdf:type ontology:social_group }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q743945 Q30
P17
Q15617994
USER
Does that social group belong to United States of America ?
(Q743945,P17,Q30)
action is_in
entity Q30
action find
entity Q743945
relation P17
['Q743945', 'P17', 'Q30']
ASK WHERE { resource:Q743945 property:P17 resource:Q30 }
Association of Jesuit Colleges and Universities United States of America
action is_in
entity United States of America
action find
entity Association of Jesuit Colleges and Universities
relation country
['Association of Jesuit Colleges and Universities', 'country', 'United States of America']
ASK WHERE { resource:Association_of_Jesuit_Colleges_and_Universities property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q743945,P17,Q30)
action is_in
entity Q30
action find
entity Q743945
relation P17
[ANSWER]
['Q743945', 'P17', 'Q30']
ASK WHERE { resource:Q743945 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Association of Jesuit Colleges and Universities
relation country
['Association of Jesuit Colleges and Universities', 'country', 'United States of America']
ASK WHERE { resource:Association_of_Jesuit_Colleges_and_Universities property:country resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49110
P159
Q56061
USER
Where is the head office for Boston University located ?
(Q49110,P159,c(Q56061))
action filter_type
action find
entity Q49110
relation P159
type Q56061
['Q49110', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q49110 property:P159 ?w . ?w rdf:type ontology:Q56061 }
Boston University
action filter_type
action find
entity Boston University
relation headquarters location
type administrative territorial entity
['Boston University', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Boston_University property:headquarters_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100
SYSTEM
Boston
Q100
(Q49110,P159,c(Q56061))
action filter_type
action find
entity Q49110
relation P159
type Q56061
The head office for [ANSWER] University is located in [ANSWER]
['Q49110', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q49110 property:P159 ?w . ?w rdf:type ontology:Q56061 }
Boston
The head office for Boston University is located in Boston
Boston
action filter_type
action find
entity Boston University
relation headquarters location
type administrative territorial entity
['Boston University', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Boston_University property:headquarters_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2923166 Q5111151
P27
Q15617994
USER
Which administrative territories are Christine Poon and Božidar Kantušer a civilian of ?
AND((Q5111151,P27,c(Q15617994)), (Q2923166,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q5111151
relation P27
action find
entity Q2923166
relation P27
type Q15617994
{'AND': [['Q5111151', 'P27', {'concept': 'Q15617994'}], ['Q2923166', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { resource:Q5111151 property:P27 ?a . resource:Q2923166 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Božidar Kantušer Christine Poon
action filter_type
action intersection
action find
entity Christine Poon
relation country of citizenship
action find
entity Božidar Kantušer
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Christine Poon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Božidar Kantušer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { resource:Christine_Poon property:country_of_citizenship ?a . resource:Božidar_Kantušer property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q5111151,P27,c(Q15617994)), (Q2923166,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q5111151
relation P27
action find
entity Q2923166
relation P27
type Q15617994
[ANSWER] is Christine Poon and Božidar Kantušer a civilian of
{'AND': [['Q5111151', 'P27', {'concept': 'Q15617994'}], ['Q2923166', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { resource:Q5111151 property:P27 ?a . resource:Q2923166 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
United States of America is Christine Poon and Božidar Kantušer a civilian of
United States of America
action filter_type
action intersection
action find
entity Christine Poon
relation country of citizenship
action find
entity Božidar Kantušer
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Christine Poon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Božidar Kantušer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { resource:Christine_Poon property:country_of_citizenship ?a . resource:Božidar_Kantušer property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic associations with atleast 39 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 39
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?l ) WHERE { ?t property:P530 ?e . ?t rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?l >= 39 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 39
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?l ) WHERE { ?t property:diplomatic_relation ?e . ?t rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?l >= 39 ) }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 39
[ANSWERS] have diplomatic associations with atleast 39 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?l ) WHERE { ?t property:P530 ?e . ?t rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?l >= 39 ) }
Germany Australia
Germany and Australia have diplomatic associations with atleast 39 administrative territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 39
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?l ) WHERE { ?t property:diplomatic_relation ?e . ?t rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?l >= 39 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q115
P530
Q15617994
USER
Do Ethiopia have tactful political relations with those political territories ?
(Q115,P530,Q183) (Q115,P530,Q408)
action is_in
entity prev_answer
action find
entity Q115
relation P530
['Q115', 'P530', 'Q183'] ['Q115', 'P530', 'Q408']
ASK WHERE { VALUES ( ?z ) { ( resource:Q183 ) ( resource:Q408 ) } . resource:Q115 property:P530 ?z }
Ethiopia
action is_in
entity prev_answer
action find
entity Ethiopia
relation diplomatic relation
['Ethiopia', 'diplomatic relation', 'Germany'] ['Ethiopia', 'diplomatic relation', 'Australia']
ASK WHERE { VALUES ( ?z ) { ( resource:Germany ) ( resource:Australia ) } . resource:Ethiopia property:diplomatic_relation ?z }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q115,P530,Q183) (Q115,P530,Q408)
action is_in
entity prev_answer
action find
entity Q115
relation P530
[ANSWER]
['Q115', 'P530', 'Q183'] ['Q115', 'P530', 'Q408']
ASK WHERE { VALUES ( ?z ) { ( resource:Q183 ) ( resource:Q408 ) } . resource:Q115 property:P530 ?z }
Yes
action is_in
entity prev_answer
action find
entity Ethiopia
relation diplomatic relation
['Ethiopia', 'diplomatic relation', 'Germany'] ['Ethiopia', 'diplomatic relation', 'Australia']
ASK WHERE { VALUES ( ?z ) { ( resource:Germany ) ( resource:Australia ) } . resource:Ethiopia property:diplomatic_relation ?z }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q954
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relationships with less number of political territories than Zimbabwe ?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q954
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q954 property:P530 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?a < ?o ) }
Zimbabwe
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Zimbabwe
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Zimbabwe property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?a < ?o ) }
[]
designation for an administrative territorial entity political territorial entity
Q230 Q184 Q32
SYSTEM
Georgia, Belarus, Luxembourg
Q702 Q805 Q262 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q954
relation P530
type Q1048835
[ANSWERS] have diplomatic relationships with less number of political territories than Zimbabwe
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q954 property:P530 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?a < ?o ) }
Federated States of Micronesia Yemen Algeria Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Georgia, Belarus and Luxembourg have diplomatic relationships with less number of political territories than Zimbabwe
Georgia Belarus Luxembourg
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Zimbabwe
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Zimbabwe property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?a < ?o ) }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q49110 Q268868
P17
Q15617994
USER
Is Boston University located in Haselbach ?
(Q49110,P17,Q268868)
action is_in
entity Q268868
action find
entity Q49110
relation P17
['Q49110', 'P17', 'Q268868']
ASK WHERE { resource:Q49110 property:P17 resource:Q268868 }
Boston University Haselbach
action is_in
entity Haselbach
action find
entity Boston University
relation country
['Boston University', 'country', 'Haselbach']
ASK WHERE { resource:Boston_University property:country resource:Haselbach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q49110,P17,Q268868)
action is_in
entity Q268868
action find
entity Q49110
relation P17
[ANSWER]
['Q49110', 'P17', 'Q268868']
ASK WHERE { resource:Q49110 property:P17 resource:Q268868 }
No
action is_in
entity Haselbach
action find
entity Boston University
relation country
['Boston University', 'country', 'Haselbach']
ASK WHERE { resource:Boston_University property:country resource:Haselbach }
[]