Simple Question (Direct)
Simple Question
Q6911841
P20
Q515
USER
Where did the demise of Morgan Stanislaus Grace occur ?
(Q6911841,P20,c(Q515))
action filter_type
action find
entity Q6911841
relation P20
type Q515
['Q6911841', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q6911841 property:P20 ?x . ?x rdf:type ontology:Q515 }
Morgan Stanislaus Grace
action filter_type
action find
entity Morgan Stanislaus Grace
relation place of death
type city
['Morgan Stanislaus Grace', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Morgan_Stanislaus_Grace property:place_of_death ?x . ?x rdf:type ontology:city }
[]
city
Q23661
SYSTEM
Wellington
Q23661
(Q6911841,P20,c(Q515))
action filter_type
action find
entity Q6911841
relation P20
type Q515
The demise of Morgan Stanislaus Grace occurred at [ANSWER]
['Q6911841', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q6911841 property:P20 ?x . ?x rdf:type ontology:Q515 }
Wellington
The demise of Morgan Stanislaus Grace occurred at Wellington
Wellington
action filter_type
action find
entity Morgan Stanislaus Grace
relation place of death
type city
['Morgan Stanislaus Grace', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Morgan_Stanislaus_Grace property:place_of_death ?x . ?x rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23661
P6
Q502895
USER
Which person is the head of government of that city ?
(Q23661,P6,c(Q502895))
action filter_type
action find
entity Q23661
relation P6
type Q502895
['Q23661', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q23661 property:P6 ?v }
Wellington
action filter_type
action find
entity Wellington
relation head of government
type common name
['Wellington', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Wellington property:head_of_government ?v }
[]
common name
Q5058025
SYSTEM
Celia Wade-Brown
Q5058025
(Q23661,P6,c(Q502895))
action filter_type
action find
entity Q23661
relation P6
type Q502895
[ANSWER] is the head of government of that city
['Q23661', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q23661 property:P6 ?v }
Celia Wade-Brown
Celia Wade-Brown is the head of government of that city
Celia Wade-Brown
action filter_type
action find
entity Wellington
relation head of government
type common name
['Wellington', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Wellington property:head_of_government ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q515 Q486972 Q20667921
USER
How many cities are the capitals of exactly 1 human settlements and french administrative divisions ?
(c(Q486972)|c(Q20667921),P36,c(Q515))
action count
action equal
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action find_reverse_tuple_counts
relation P36
type Q515
type Q20667921
value 1
[[{'concept': 'Q486972'}, {'concept': 'Q20667921'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?c ) WHERE { VALUES ( ?u ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?d rdf:type ?u } GROUP BY ?j } }
action count
action equal
action union
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action find_reverse_tuple_counts
relation capital
type city
type type of french administrative division
value 1
[[{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?c ) WHERE { VALUES ( ?u ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?d rdf:type ?u } GROUP BY ?j } }
[]
city human settlement type of french administrative division
SYSTEM
3
Q52564 Q42750 Q25475
(c(Q486972)|c(Q20667921),P36,c(Q515))
action count
action equal
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q486972
action find_reverse_tuple_counts
relation P36
type Q515
type Q20667921
value 1
[ANSWER]
[[{'concept': 'Q486972'}, {'concept': 'Q20667921'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?c ) WHERE { VALUES ( ?u ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?d rdf:type ?u } GROUP BY ?j } }
Maloe Verevo Vojskovitsy Batumi
3
action count
action equal
action union
action find_reverse_tuple_counts
relation capital
type city
type human settlement
action find_reverse_tuple_counts
relation capital
type city
type type of french administrative division
value 1
[[{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?c ) WHERE { VALUES ( ?u ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?d rdf:type ?u } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23661
P1376
Q1048835
USER
Which political territories have Wellington as their county seat ?
(Q23661,P1376,c(Q1048835))
action filter_type
action find
entity Q23661
relation P1376
type Q1048835
['Q23661', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q23661 property:P1376 ?a . ?a rdf:type ontology:Q1048835 }
Wellington
action filter_type
action find
entity Wellington
relation capital of
type political territorial entity
['Wellington', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Wellington property:capital_of ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q2594990 Q664
SYSTEM
Dominion of New Zealand, New Zealand
Q2594990 Q664
(Q23661,P1376,c(Q1048835))
action filter_type
action find
entity Q23661
relation P1376
type Q1048835
Australia [ANSWERS] have Wellington as their county seat
['Q23661', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q23661 property:P1376 ?a . ?a rdf:type ontology:Q1048835 }
Dominion of New Zealand New Zealand
Australia Dominion of New Zealand and New Zealand have Wellington as their county seat
Dominion of New Zealand New Zealand
action filter_type
action find
entity Wellington
relation capital of
type political territorial entity
['Wellington', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Wellington property:capital_of ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2594990 Q664
P710
Q1190554
USER
Which events did those political territories participate in ?
(c(Q1190554),P710,Q2594990) (c(Q1190554),P710,Q664)
action filter_type
action find_reverse
entity prev_answer
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q2594990'] [{'concept': 'Q1190554'}, 'P710', 'Q664']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1190554 . ?g property:P710 ?j . VALUES ( ?j ) { ( resource:Q2594990 ) ( resource:Q664 ) } }
Dominion of New Zealand New Zealand
action filter_type
action find_reverse
entity prev_answer
relation participant
type event
[{'concept': 'event'}, 'participant', 'Dominion of New Zealand'] [{'concept': 'event'}, 'participant', 'New Zealand']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:event . ?g property:participant ?j . VALUES ( ?j ) { ( resource:Dominion_of_New_Zealand ) ( resource:New_Zealand ) } }
[]
event
Q1320675 Q3636355 Q16470
SYSTEM
Battle of Havrincourt, Battle of Broodseinde, Normandy landings
Q1320675 Q3636355 Q16470
(c(Q1190554),P710,Q2594990) (c(Q1190554),P710,Q664)
action filter_type
action find_reverse
entity prev_answer
relation P710
type Q1190554
Those political territories participated in [ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q2594990'] [{'concept': 'Q1190554'}, 'P710', 'Q664']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1190554 . ?g property:P710 ?j . VALUES ( ?j ) { ( resource:Q2594990 ) ( resource:Q664 ) } }
Battle of Havrincourt Battle of Broodseinde Normandy landings
Those political territories participated in Battle of Havrincourt, Battle of Broodseinde and Normandy landings
Battle of Havrincourt Battle of Broodseinde Normandy landings
action filter_type
action find_reverse
entity prev_answer
relation participant
type event
[{'concept': 'event'}, 'participant', 'Dominion of New Zealand'] [{'concept': 'event'}, 'participant', 'New Zealand']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:event . ?g property:participant ?j . VALUES ( ?j ) { ( resource:Dominion_of_New_Zealand ) ( resource:New_Zealand ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1320675 Q3636355 Q16470
P361
Q1190554
USER
Which events are those ones a component of ?
(Q1320675,P361,c(Q1190554)) (Q3636355,P361,c(Q1190554)) (Q16470,P361,c(Q1190554))
action filter_type
action find
entity prev_answer
relation P361
type Q1190554
['Q1320675', 'P361', {'concept': 'Q1190554'}] ['Q3636355', 'P361', {'concept': 'Q1190554'}] ['Q16470', 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?y WHERE { ?x property:P361 ?y . ?y rdf:type ontology:Q1190554 . VALUES ( ?x ) { ( resource:Q1320675 ) ( resource:Q3636355 ) ( resource:Q16470 ) } }
Battle of Havrincourt Battle of Broodseinde Normandy landings
action filter_type
action find
entity prev_answer
relation part of
type event
['Battle of Havrincourt', 'part of', {'concept': 'event'}] ['Battle of Broodseinde', 'part of', {'concept': 'event'}] ['Normandy landings', 'part of', {'concept': 'event'}]
SELECT DISTINCT ?y WHERE { ?x property:part_of ?y . ?y rdf:type ontology:event . VALUES ( ?x ) { ( resource:Battle_of_Havrincourt ) ( resource:Battle_of_Broodseinde ) ( resource:Normandy_landings ) } }
[]
event
Q1130507 Q426227 Q16471
SYSTEM
Hundred Days Offensive, Battle of Passchendaele, Invasion of Normandy
Q1130507 Q426227 Q16471
(Q1320675,P361,c(Q1190554)) (Q3636355,P361,c(Q1190554)) (Q16470,P361,c(Q1190554))
action filter_type
action find
entity prev_answer
relation P361
type Q1190554
[ANSWERS] are those ones a component of
['Q1320675', 'P361', {'concept': 'Q1190554'}] ['Q3636355', 'P361', {'concept': 'Q1190554'}] ['Q16470', 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?y WHERE { ?x property:P361 ?y . ?y rdf:type ontology:Q1190554 . VALUES ( ?x ) { ( resource:Q1320675 ) ( resource:Q3636355 ) ( resource:Q16470 ) } }
Hundred Days Offensive Battle of Passchendaele Invasion of Normandy
Hundred Days Offensive, Battle of Passchendaele and Invasion of Normandy are those ones a component of
Hundred Days Offensive Battle of Passchendaele Invasion of Normandy
action filter_type
action find
entity prev_answer
relation part of
type event
['Battle of Havrincourt', 'part of', {'concept': 'event'}] ['Battle of Broodseinde', 'part of', {'concept': 'event'}] ['Normandy landings', 'part of', {'concept': 'event'}]
SELECT DISTINCT ?y WHERE { ?x property:part_of ?y . ?y rdf:type ontology:event . VALUES ( ?x ) { ( resource:Battle_of_Havrincourt ) ( resource:Battle_of_Broodseinde ) ( resource:Normandy_landings ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1130507 Q426227 Q16471
P361
Q1190554
USER
Which events are a component of those ones ?
(c(Q1190554),P361,Q1130507) (c(Q1190554),P361,Q426227) (c(Q1190554),P361,Q16471)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q1190554
[{'concept': 'Q1190554'}, 'P361', 'Q1130507'] [{'concept': 'Q1190554'}, 'P361', 'Q426227'] [{'concept': 'Q1190554'}, 'P361', 'Q16471']
SELECT DISTINCT ?m WHERE { ?m property:P361 ?v . VALUES ( ?v ) { ( resource:Q1130507 ) ( resource:Q426227 ) ( resource:Q16471 ) } . ?m rdf:type ontology:Q1190554 }
Hundred Days Offensive Battle of Passchendaele Invasion of Normandy
action filter_type
action find_reverse
entity prev_answer
relation part of
type event
[{'concept': 'event'}, 'part of', 'Hundred Days Offensive'] [{'concept': 'event'}, 'part of', 'Battle of Passchendaele'] [{'concept': 'event'}, 'part of', 'Invasion of Normandy']
SELECT DISTINCT ?m WHERE { ?m property:part_of ?v . VALUES ( ?v ) { ( resource:Hundred_Days_Offensive ) ( resource:Battle_of_Passchendaele ) ( resource:Invasion_of_Normandy ) } . ?m rdf:type ontology:event }
[]
event
Q16470 Q3636355 Q1320675
SYSTEM
Normandy landings, Battle of Broodseinde, Battle of Havrincourt
Q620215 Q203234 Q1320675 Q1095120 Q4872951 Q3636355 Q4872039 Q4872067 Q4872076 Q3921580 Q7443105 Q696835 Q16470
(c(Q1190554),P361,Q1130507) (c(Q1190554),P361,Q426227) (c(Q1190554),P361,Q16471)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q1190554
[ANSWERS] are a component of those ones
[{'concept': 'Q1190554'}, 'P361', 'Q1130507'] [{'concept': 'Q1190554'}, 'P361', 'Q426227'] [{'concept': 'Q1190554'}, 'P361', 'Q16471']
SELECT DISTINCT ?m WHERE { ?m property:P361 ?v . VALUES ( ?v ) { ( resource:Q1130507 ) ( resource:Q426227 ) ( resource:Q16471 ) } . ?m rdf:type ontology:Q1190554 }
Battle of Mont Saint-Quentin Battle of Épehy Battle of Havrincourt Battle of Courtrai Battle of the Menin Road Ridge Battle of Broodseinde Battle of Pilckem Ridge Battle of Poelcappelle Battle of Polygon Wood First Battle of Passchendaele Second Battle of Passchendaele Liberation of Paris Normandy landings
Normandy landings, Battle of Broodseinde and Battle of Havrincourt are a component of those ones
Normandy landings Battle of Broodseinde Battle of Havrincourt
action filter_type
action find_reverse
entity prev_answer
relation part of
type event
[{'concept': 'event'}, 'part of', 'Hundred Days Offensive'] [{'concept': 'event'}, 'part of', 'Battle of Passchendaele'] [{'concept': 'event'}, 'part of', 'Invasion of Normandy']
SELECT DISTINCT ?m WHERE { ?m property:part_of ?v . VALUES ( ?v ) { ( resource:Hundred_Days_Offensive ) ( resource:Battle_of_Passchendaele ) ( resource:Invasion_of_Normandy ) } . ?m rdf:type ontology:event }
[]