Simple Question (Direct)
Simple Question
Q599255
P39
Q12737077
USER
What was the position for which Hugh A. Dinsmore was appointed ?
(Q599255,P39,c(Q12737077))
action filter_type
action find
entity Q599255
relation P39
type Q12737077
['Q599255', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q599255 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Hugh A. Dinsmore
action filter_type
action find
entity Hugh A. Dinsmore
relation position held
type occupation
['Hugh A. Dinsmore', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Hugh_A._Dinsmore property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q599255,P39,c(Q12737077))
action filter_type
action find
entity Q599255
relation P39
type Q12737077
What the [ANSWER]
['Q599255', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q599255 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
United States representative
What the United States representative
United States representative
action filter_type
action find
entity Hugh A. Dinsmore
relation position held
type occupation
['Hugh A. Dinsmore', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Hugh_A._Dinsmore property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13218630
P1001
Q15617994
USER
Which administrative territory belongs to jurisdiction of that occupation ?
(Q13218630,P1001,c(Q15617994))
action filter_type
action find
entity Q13218630
relation P1001
type Q15617994
['Q13218630', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q13218630 property:P1001 ?e }
United States representative
action filter_type
action find
entity United States representative
relation applies to jurisdiction
type designation for an administrative territorial entity
['United States representative', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_representative property:applies_to_jurisdiction ?e }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q13218630,P1001,c(Q15617994))
action filter_type
action find
entity Q13218630
relation P1001
type Q15617994
[ANSWER] belongs to jurisdiction of that occupation
['Q13218630', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q13218630 property:P1001 ?e }
United States of America
United States of America belongs to jurisdiction of that occupation
United States of America
action filter_type
action find
entity United States representative
relation applies to jurisdiction
type designation for an administrative territorial entity
['United States representative', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_representative property:applies_to_jurisdiction ?e }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with max number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?z ) { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?s ) WHERE { ?n property:P530 ?g . ?n rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?n } } . FILTER ( ?q = ?z ) . { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?q ) WHERE { ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 . ?l property:P530 ?b } GROUP BY ?l } }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?z ) { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?s ) WHERE { ?n property:diplomatic_relation ?g . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } } . FILTER ( ?q = ?z ) . { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?q ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?b } GROUP BY ?l } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWER] have diplomatic relationships with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?z ) { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?s ) WHERE { ?n property:P530 ?g . ?n rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?n } } . FILTER ( ?q = ?z ) . { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?q ) WHERE { ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 . ?l property:P530 ?b } GROUP BY ?l } }
Italy
Italy have diplomatic relationships with max number of administrative territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?z ) { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?s ) WHERE { ?n property:diplomatic_relation ?g . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } } . FILTER ( ?q = ?z ) . { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?q ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?b } GROUP BY ?l } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q38 Q931366
P17
Q15617994
USER
Is Unterneukirchen present in that one ?
(Q931366,P17,Q38)
action is_in
entity Q931366
action find
entity Q38
relation P17
['Q931366', 'P17', 'Q38']
ASK WHERE { resource:Q38 property:P17 resource:Q931366 }
Italy Unterneukirchen
action is_in
entity Unterneukirchen
action find
entity Italy
relation country
['Unterneukirchen', 'country', 'Italy']
ASK WHERE { resource:Italy property:country resource:Unterneukirchen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q931366,P17,Q38)
action is_in
entity Q931366
action find
entity Q38
relation P17
[ANSWER]
['Q931366', 'P17', 'Q38']
ASK WHERE { resource:Q38 property:P17 resource:Q931366 }
No
action is_in
entity Unterneukirchen
action find
entity Italy
relation country
['Unterneukirchen', 'country', 'Italy']
ASK WHERE { resource:Italy property:country resource:Unterneukirchen }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P710
Q1190554 Q1656682
USER
How many events or events have United States of America as their participant ?
(c(Q1190554),P710,Q30) (c(Q1656682),P710,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q30
relation P710
type Q1656682
[{'concept': 'Q1190554'}, 'P710', 'Q30'] [{'concept': 'Q1656682'}, 'P710', 'Q30']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { ?r property:P710 resource:Q30 . ?r rdf:type ontology:Q1656682 } UNION { ?r property:P710 resource:Q30 . ?r rdf:type ontology:Q1190554 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation participant
type event
action filter_type
action find_reverse
entity United States of America
relation participant
type event
[{'concept': 'event'}, 'participant', 'United States of America'] [{'concept': 'event'}, 'participant', 'United States of America']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { ?r property:participant resource:United_States_of_America . ?r rdf:type ontology:event } UNION { ?r property:participant resource:United_States_of_America . ?r rdf:type ontology:event } }
[]
event event
SYSTEM
36
Q4871186 Q2888122 Q4872216 Q3354826 Q4872357 Q4870748 Q4870881 Q3636553 Q218678 Q1402530 Q714223 Q504347 Q1634629 Q610048 Q2237268 Q1063735 Q1141380 Q856168 Q327052 Q128160 Q2888379 Q4871421 Q15613979 Q609030 Q1934591 Q2026308 Q16470 Q4870165 Q22894201 Q1638488 Q214456 Q2889960 Q4872463 Q41894 Q750567 Q3636251
(c(Q1190554),P710,Q30) (c(Q1656682),P710,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q30
relation P710
type Q1656682
[ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q30'] [{'concept': 'Q1656682'}, 'P710', 'Q30']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { ?r property:P710 resource:Q30 . ?r rdf:type ontology:Q1656682 } UNION { ?r property:P710 resource:Q30 . ?r rdf:type ontology:Q1190554 } }
Battle of Hampden Battle of Basra Battle of Rumaila Operation Red Wings Battle of Setauket Battle of Cieneguilla Battle of Do Ab Battle of Norfolk North African Campaign Battle of 73 Easting Battle for Brest Battle of the Philippine Sea Battle of Medina Ridge Battle of Balikpapan Battle of Umm Qasr Second Battle of the Somme Battle of Wake Island Pastry War Battle of Aachen Cuban Missile Crisis Battle of Dahaneh Battle of Khaz Oruzgan Geneva II Conference on Syria Battle of Peleliu Battle of North Borneo Operation Praying Mantis Normandy landings Battle for Jalibah Airfield Al-Shaddadi offensive (2016) Battle of Monmouth Philippine–American War Battle of Shewan Battle of Sunset Pass Battle of New Orleans Spring Offensive Battle of Wadi Al-Batin
36
action count
action union
action filter_type
action find_reverse
entity United States of America
relation participant
type event
action filter_type
action find_reverse
entity United States of America
relation participant
type event
[{'concept': 'event'}, 'participant', 'United States of America'] [{'concept': 'event'}, 'participant', 'United States of America']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { ?r property:participant resource:United_States_of_America . ?r rdf:type ontology:event } UNION { ?r property:participant resource:United_States_of_America . ?r rdf:type ontology:event } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P1071
Q2424752
USER
Which product has Italy as its location of final assembly ?
(c(Q2424752),P1071,Q38)
action filter_type
action find_reverse
entity Q38
relation P1071
type Q2424752
[{'concept': 'Q2424752'}, 'P1071', 'Q38']
SELECT DISTINCT ?k WHERE { ?k property:P1071 resource:Q38 . ?k rdf:type ontology:Q2424752 }
Italy
action filter_type
action find_reverse
entity Italy
relation location of final assembly
type product
[{'concept': 'product'}, 'location of final assembly', 'Italy']
SELECT DISTINCT ?k WHERE { ?k property:location_of_final_assembly resource:Italy . ?k rdf:type ontology:product }
[]
product
Q17861994
SYSTEM
P.180 Avanti II
Q17861994
(c(Q2424752),P1071,Q38)
action filter_type
action find_reverse
entity Q38
relation P1071
type Q2424752
[ANSWER] has Italy as its location of final assembly
[{'concept': 'Q2424752'}, 'P1071', 'Q38']
SELECT DISTINCT ?k WHERE { ?k property:P1071 resource:Q38 . ?k rdf:type ontology:Q2424752 }
P.180 Avanti II
P.180 Avanti II has Italy as its location of final assembly
P.180 Avanti II
action filter_type
action find_reverse
entity Italy
relation location of final assembly
type product
[{'concept': 'product'}, 'location of final assembly', 'Italy']
SELECT DISTINCT ?k WHERE { ?k property:location_of_final_assembly resource:Italy . ?k rdf:type ontology:product }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P36
Q56061
USER
Which administrative territories are associated to United States of America as the capital ?
(Q30,P36,c(Q56061))
action filter_type
action find
entity Q30
relation P36
type Q56061
['Q30', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q30 property:P36 ?v . ?v rdf:type ontology:Q56061 }
United States of America
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['United States of America', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:United_States_of_America property:capital ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q61
SYSTEM
New York City, Washington, D.C.
Q60 Q61
(Q30,P36,c(Q56061))
action filter_type
action find
entity Q30
relation P36
type Q56061
[ANSWERS]
['Q30', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q30 property:P36 ?v . ?v rdf:type ontology:Q56061 }
New York City Washington, D.C.
New York City and Washington, D.C. are associated to United States of America as the capital
New York City Washington, D.C.
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['United States of America', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:United_States_of_America property:capital ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P463
Q35749
USER
Which parliament was United States of America a member of ?
(Q30,P463,c(Q35749))
action filter_type
action find
entity Q30
relation P463
type Q35749
['Q30', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ?x WHERE { resource:Q30 property:P463 ?x . ?x rdf:type ontology:Q35749 }
United States of America
action filter_type
action find
entity United States of America
relation member of
type parliament
['United States of America', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ?x WHERE { resource:United_States_of_America property:member_of ?x . ?x rdf:type ontology:parliament }
[]
parliament
Q37470
SYSTEM
United Nations Security Council
Q37470
(Q30,P463,c(Q35749))
action filter_type
action find
entity Q30
relation P463
type Q35749
Which parliament was United States of America a member of
['Q30', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ?x WHERE { resource:Q30 property:P463 ?x . ?x rdf:type ontology:Q35749 }
United Nations Security Council
Which parliament was United States of America a member of
United Nations Security Council
action filter_type
action find
entity United States of America
relation member of
type parliament
['United States of America', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ?x WHERE { resource:United_States_of_America property:member_of ?x . ?x rdf:type ontology:parliament }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q30
Q484652
USER
And which international organization?
(Q30,P463,c(Q484652))
action filter_type
action find
entity Q30
relation P463
type Q484652
['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?y WHERE { resource:Q30 property:P463 ?y . ?y rdf:type ontology:Q484652 }
United States of America
action filter_type
action find
entity United States of America
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?y WHERE { resource:United_States_of_America property:member_of ?y . ?y rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q1065
SYSTEM
Organization for Security and Co-operation in Europe, G20, United Nations
Q81299 Q1043527 Q1065 Q37143 Q188822 Q674182 Q842490 Q19771 Q7184
(Q30,P463,c(Q484652))
action filter_type
action find
entity Q30
relation P463
type Q484652
[ANSWERS]
['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?y WHERE { resource:Q30 property:P463 ?y . ?y rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe Multilateral Investment Guarantee Agency United Nations G8 Asian Development Bank Arctic Council Organisation for the Prohibition of Chemical Weapons G20 North Atlantic Treaty Organisation
Organization for Security and Co-operation in Europe G20 United Nations
action filter_type
action find
entity United States of America
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?y WHERE { resource:United_States_of_America property:member_of ?y . ?y rdf:type ontology:international_organization }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2741956 Q38
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Italy and are Heckbous present in ?
AND((Q38,P530,c(Q15617994)), (Q2741956,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q2741956
relation P17
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q2741956', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?c . resource:Q2741956 property:P17 ?c }
Heckbous Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Heckbous
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Heckbous', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?c . resource:Heckbous property:country ?c }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
AND((Q38,P530,c(Q15617994)), (Q2741956,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q2741956
relation P17
type Q15617994
[ANSWER] holds diplomatic relationship with Italy and are Heckbous present in
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q2741956', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?c . resource:Q2741956 property:P17 ?c }
Belgium
Belgium holds diplomatic relationship with Italy and are Heckbous present in
Belgium
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Heckbous
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Heckbous', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?c . resource:Heckbous property:country ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q31
P610
Q14524493
USER
What is the highest point of that administrative territory ?
(Q31,P610,c(Q14524493))
action filter_type
action find
entity Q31
relation P610
type Q14524493
['Q31', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?s WHERE { resource:Q31 property:P610 ?s . ?s rdf:type ontology:Q14524493 }
Belgium
action filter_type
action find
entity Belgium
relation highest point
type terrain
['Belgium', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?s WHERE { resource:Belgium property:highest_point ?s . ?s rdf:type ontology:terrain }
[]
terrain
Q322824
SYSTEM
Signal de Botrange
Q322824
(Q31,P610,c(Q14524493))
action filter_type
action find
entity Q31
relation P610
type Q14524493
The highest point of that administrative territory is the [ANSWER]
['Q31', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?s WHERE { resource:Q31 property:P610 ?s . ?s rdf:type ontology:Q14524493 }
Signal de Botrange
The highest point of that administrative territory is the Signal de Botrange
Signal de Botrange
action filter_type
action find
entity Belgium
relation highest point
type terrain
['Belgium', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?s WHERE { resource:Belgium property:highest_point ?s . ?s rdf:type ontology:terrain }
[]