Simple Question (Direct)
Simple Question
Q7818027
P102
Q7210356
USER
Which party does Tom Wheelwright belong to ?
(Q7818027,P102,c(Q7210356))
action filter_type
action find
entity Q7818027
relation P102
type Q7210356
['Q7818027', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q7818027 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Tom Wheelwright
action filter_type
action find
entity Tom Wheelwright
relation member of political party
type political organization
['Tom Wheelwright', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Tom_Wheelwright property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q216082
SYSTEM
Australian Labor Party
Q216082
(Q7818027,P102,c(Q7210356))
action filter_type
action find
entity Q7818027
relation P102
type Q7210356
Tom Wheelwright belongs to [ANSWER]
['Q7818027', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q7818027 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Australian Labor Party
Tom Wheelwright belongs to Australian Labor Party
Australian Labor Party
action filter_type
action find
entity Tom Wheelwright
relation member of political party
type political organization
['Tom Wheelwright', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Tom_Wheelwright property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7818027
P39
Q12737077
USER
Which occupation was a position occupied by Tom Wheelwright ?
(Q7818027,P39,c(Q12737077))
action filter_type
action find
entity Q7818027
relation P39
type Q12737077
['Q7818027', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q7818027 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Tom Wheelwright
action filter_type
action find
entity Tom Wheelwright
relation position held
type occupation
['Tom Wheelwright', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Tom_Wheelwright property:position_held ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q6814428
SYSTEM
member of the Australian Senate
Q6814428
(Q7818027,P39,c(Q12737077))
action filter_type
action find
entity Q7818027
relation P39
type Q12737077
A [ANSWER] was a position occupied by Tom Wheelwright
['Q7818027', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q7818027 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
member of the Australian Senate
A member of the Australian Senate was a position occupied by Tom Wheelwright
member of the Australian Senate
action filter_type
action find
entity Tom Wheelwright
relation position held
type occupation
['Tom Wheelwright', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Tom_Wheelwright property:position_held ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6814428
P1001
Q1048835
USER
Which political territory comes under the supervision of that occupation ?
(Q6814428,P1001,c(Q1048835))
action filter_type
action find
entity Q6814428
relation P1001
type Q1048835
['Q6814428', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1048835 . resource:Q6814428 property:P1001 ?e }
member of the Australian Senate
action filter_type
action find
entity member of the Australian Senate
relation applies to jurisdiction
type political territorial entity
['member of the Australian Senate', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_territorial_entity . resource:member_of_the_Australian_Senate property:applies_to_jurisdiction ?e }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q6814428,P1001,c(Q1048835))
action filter_type
action find
entity Q6814428
relation P1001
type Q1048835
[ANSWER] comes under the supervision of that occupation
['Q6814428', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1048835 . resource:Q6814428 property:P1001 ?e }
Australia
Australia comes under the supervision of that occupation
Australia
action filter_type
action find
entity member of the Australian Senate
relation applies to jurisdiction
type political territorial entity
['member of the Australian Senate', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_territorial_entity . resource:member_of_the_Australian_Senate property:applies_to_jurisdiction ?e }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q408 Q16204551
P27
Q502895
USER
Is Peter Sawyer a citizen of that political territory ?
(Q16204551,P27,Q408)
action is_in
entity Q16204551
action find
entity Q408
relation P27
['Q16204551', 'P27', 'Q408']
ASK WHERE { resource:Q408 property:P27 resource:Q16204551 }
Australia Peter Sawyer
action is_in
entity Peter Sawyer
action find
entity Australia
relation country of citizenship
['Peter Sawyer', 'country of citizenship', 'Australia']
ASK WHERE { resource:Australia property:country_of_citizenship resource:Peter_Sawyer }
[]
common name
SYSTEM
NO
(Q16204551,P27,Q408)
action is_in
entity Q16204551
action find
entity Q408
relation P27
[ANSWER]
['Q16204551', 'P27', 'Q408']
ASK WHERE { resource:Q408 property:P27 resource:Q16204551 }
No
action is_in
entity Peter Sawyer
action find
entity Australia
relation country of citizenship
['Peter Sawyer', 'country of citizenship', 'Australia']
ASK WHERE { resource:Australia property:country_of_citizenship resource:Peter_Sawyer }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q216082 Q4441447
P17
Q1048835
USER
Is Australian Labor Party located in Stebni ?
(Q216082,P17,Q4441447)
action is_in
entity Q4441447
action find
entity Q216082
relation P17
['Q216082', 'P17', 'Q4441447']
ASK WHERE { resource:Q216082 property:P17 resource:Q4441447 }
Australian Labor Party Stebni
action is_in
entity Stebni
action find
entity Australian Labor Party
relation country
['Australian Labor Party', 'country', 'Stebni']
ASK WHERE { resource:Australian_Labor_Party property:country resource:Stebni }
[]
political territorial entity
SYSTEM
NO
(Q216082,P17,Q4441447)
action is_in
entity Q4441447
action find
entity Q216082
relation P17
[ANSWER]
['Q216082', 'P17', 'Q4441447']
ASK WHERE { resource:Q216082 property:P17 resource:Q4441447 }
No
action is_in
entity Stebni
action find
entity Australian Labor Party
relation country
['Australian Labor Party', 'country', 'Stebni']
ASK WHERE { resource:Australian_Labor_Party property:country resource:Stebni }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q20641688 Q408
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Australia and are the countries of citizenship of Zin Min Tun ?
AND((Q408,P530,c(Q15617994)), (Q20641688,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q20641688
relation P27
type Q15617994
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q20641688', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q408 property:P530 ?o . resource:Q20641688 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Zin Min Tun Australia
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Zin Min Tun
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Zin Min Tun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Australia property:diplomatic_relation ?o . resource:Zin_Min_Tun property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q836
SYSTEM
Myanmar
Q836
AND((Q408,P530,c(Q15617994)), (Q20641688,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q20641688
relation P27
type Q15617994
[ANSWER] have diplomatic relations with Australia and are the countries of citizenship of Zin Min Tun
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q20641688', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q408 property:P530 ?o . resource:Q20641688 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Myanmar
Myanmar have diplomatic relations with Australia and are the countries of citizenship of Zin Min Tun
Myanmar
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Zin Min Tun
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Zin Min Tun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Australia property:diplomatic_relation ?o . resource:Zin_Min_Tun property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q836 Q902 Q4960533
P47
Q15617994
USER
Does Bangladesh and Bremen Community High School District 228 share a border with Q836 ?
(Q836,P47,Q902) (Q836,P47,Q4960533)
action is_in
entity Q836
action intersection
action find_reverse
entity Q902
relation P47
action find_reverse
entity Q4960533
relation P47
['Q836', 'P47', 'Q902'] ['Q836', 'P47', 'Q4960533']
ASK WHERE { resource:Q836 property:P47 resource:Q902 . resource:Q836 property:P47 resource:Q4960533 }
Myanmar Bangladesh Bremen Community High School District 228
action is_in
entity Myanmar
action intersection
action find_reverse
entity Bangladesh
relation shares border with
action find_reverse
entity Bremen Community High School District 228
relation shares border with
['Myanmar', 'shares border with', 'Bangladesh'] ['Myanmar', 'shares border with', 'Bremen Community High School District 228']
ASK WHERE { resource:Myanmar property:shares_border_with resource:Bangladesh . resource:Myanmar property:shares_border_with resource:Bremen_Community_High_School_District_228 }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q836,P47,Q902) (Q836,P47,Q4960533)
action is_in
entity Q836
action intersection
action find_reverse
entity Q902
relation P47
action find_reverse
entity Q4960533
relation P47
[ANSWER]
['Q836', 'P47', 'Q902'] ['Q836', 'P47', 'Q4960533']
ASK WHERE { resource:Q836 property:P47 resource:Q902 . resource:Q836 property:P47 resource:Q4960533 }
YES and NO respectively
action is_in
entity Myanmar
action intersection
action find_reverse
entity Bangladesh
relation shares border with
action find_reverse
entity Bremen Community High School District 228
relation shares border with
['Myanmar', 'shares border with', 'Bangladesh'] ['Myanmar', 'shares border with', 'Bremen Community High School District 228']
ASK WHERE { resource:Myanmar property:shares_border_with resource:Bangladesh . resource:Myanmar property:shares_border_with resource:Bremen_Community_High_School_District_228 }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q836 Q7768
P47
Q15617994
USER
How many administrative territories share border with Myanmar and ASEAN ?
(Q836,P47,c(Q15617994)) (Q7768,P47,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q836
relation P47
type Q15617994
action filter_type
action find
entity Q7768
relation P47
type Q15617994
['Q836', 'P47', {'concept': 'Q15617994'}] ['Q7768', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q836 property:P47 ?n . resource:Q7768 property:P47 ?n . ?n rdf:type ontology:Q15617994 }
Myanmar ASEAN
action count
action intersection
action filter_type
action find
entity Myanmar
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity ASEAN
relation shares border with
type designation for an administrative territorial entity
['Myanmar', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['ASEAN', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Myanmar property:shares_border_with ?n . resource:ASEAN property:shares_border_with ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
Q148 Q902 Q668
(Q836,P47,c(Q15617994)) (Q7768,P47,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q836
relation P47
type Q15617994
action filter_type
action find
entity Q7768
relation P47
type Q15617994
[ANSWER]
['Q836', 'P47', {'concept': 'Q15617994'}] ['Q7768', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q836 property:P47 ?n . resource:Q7768 property:P47 ?n . ?n rdf:type ontology:Q15617994 }
People's Republic of China Bangladesh India
3
action count
action intersection
action filter_type
action find
entity Myanmar
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity ASEAN
relation shares border with
type designation for an administrative territorial entity
['Myanmar', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['ASEAN', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Myanmar property:shares_border_with ?n . resource:ASEAN property:shares_border_with ?n . ?n 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 atmost 91 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 91
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?x ) WHERE { ?n property:P530 ?i . ?n rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?x <= 91 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 91
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?x ) WHERE { ?n property:diplomatic_relation ?i . ?n rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?x <= 91 ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 91
[ANSWERS] have diplomatic associations with atmost 91 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?x ) WHERE { ?n property:P530 ?i . ?n rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?x <= 91 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic associations with atmost 91 administrative territories
Denmark Canada Austria
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 91
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?x ) WHERE { ?n property:diplomatic_relation ?i . ?n rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?x <= 91 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q40
P463
Q484652
USER
Which organizations were that political territory a member of ?
(Q40,P463,c(Q484652))
action filter_type
action find
entity Q40
relation P463
type Q484652
['Q40', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?a WHERE { resource:Q40 property:P463 ?a . ?a rdf:type ontology:Q484652 }
Austria
action filter_type
action find
entity Austria
relation member of
type international organization
['Austria', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?a WHERE { resource:Austria property:member_of ?a . ?a rdf:type ontology:international_organization }
[]
international organization
Clarification for simple ques.
Q35
SYSTEM
Did you mean Denmark ?
Q35 Q16 Q40
(Q35,P463,c(Q484652)) (Q16,P463,c(Q484652)) (Q40,P463,c(Q484652))
[ANSWER]
['Q35', 'P463', {'concept': 'Q484652'}] ['Q16', 'P463', {'concept': 'Q484652'}] ['Q40', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?a WHERE { resource:Q40 property:P463 ?a . ?a rdf:type ontology:Q484652 }
Denmark Canada Austria
Did you mean Denmark ?
Denmark
['Denmark', 'member of', {'concept': 'international organization'}] ['Canada', 'member of', {'concept': 'international organization'}] ['Austria', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?a WHERE { resource:Austria property:member_of ?a . ?a rdf:type ontology:international_organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Austria. Could you tell me the answer for that?
(Q40,P463,c(Q484652))
Q40
['Q40', 'P463', {'concept': 'Q484652'}]
['Austria', 'member of', {'concept': 'international organization'}]
[]
Q81299 Q1065 Q188822
SYSTEM
Organization for Security and Co-operation in Europe, United Nations, Asian Development Bank
Q81299 Q1065 Q188822 Q1043527
(Q40,P463,c(Q484652))
action filter_type
action find
entity Q40
relation P463
type Q484652
[ANSWERS] were that political territory a member of
['Q40', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?a WHERE { resource:Q40 property:P463 ?a . ?a rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations Asian Development Bank Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, United Nations and Asian Development Bank were that political territory a member of
Organization for Security and Co-operation in Europe United Nations Asian Development Bank
action filter_type
action find
entity Austria
relation member of
type international organization
['Austria', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?a WHERE { resource:Austria property:member_of ?a . ?a rdf:type ontology:international_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q654163
P463
Q15617994
USER
Are Weingarten a part of those international organizations ?
(Q654163,P463,Q81299) (Q654163,P463,Q1065) (Q654163,P463,Q188822)
action is_in
entity prev_answer
action find
entity Q654163
relation P463
['Q654163', 'P463', 'Q81299'] ['Q654163', 'P463', 'Q1065'] ['Q654163', 'P463', 'Q188822']
ASK WHERE { VALUES ( ?s ) { ( resource:Q81299 ) ( resource:Q1065 ) ( resource:Q188822 ) } . resource:Q654163 property:P463 ?s }
Weingarten
action is_in
entity prev_answer
action find
entity Weingarten
relation member of
['Weingarten', 'member of', 'Organization for Security and Co-operation in Europe'] ['Weingarten', 'member of', 'United Nations'] ['Weingarten', 'member of', 'Asian Development Bank']
ASK WHERE { VALUES ( ?s ) { ( resource:Organization_for_Security_and_Co-operation_in_Europe ) ( resource:United_Nations ) ( resource:Asian_Development_Bank ) } . resource:Weingarten property:member_of ?s }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q654163,P463,Q81299) (Q654163,P463,Q1065) (Q654163,P463,Q188822)
action is_in
entity prev_answer
action find
entity Q654163
relation P463
[ANSWER]
['Q654163', 'P463', 'Q81299'] ['Q654163', 'P463', 'Q1065'] ['Q654163', 'P463', 'Q188822']
ASK WHERE { VALUES ( ?s ) { ( resource:Q81299 ) ( resource:Q1065 ) ( resource:Q188822 ) } . resource:Q654163 property:P463 ?s }
No
action is_in
entity prev_answer
action find
entity Weingarten
relation member of
['Weingarten', 'member of', 'Organization for Security and Co-operation in Europe'] ['Weingarten', 'member of', 'United Nations'] ['Weingarten', 'member of', 'Asian Development Bank']
ASK WHERE { VALUES ( ?s ) { ( resource:Organization_for_Security_and_Co-operation_in_Europe ) ( resource:United_Nations ) ( resource:Asian_Development_Bank ) } . resource:Weingarten property:member_of ?s }
[]