Simple Question (Direct)
Simple Question
Q3099619
P69
Q3914
USER
Where was Gawaine Baillie educated ?
(Q3099619,P69,c(Q3914))
action filter_type
action find
entity Q3099619
relation P69
type Q3914
['Q3099619', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q3914 . resource:Q3099619 property:P69 ?a }
Gawaine Baillie
action filter_type
action find
entity Gawaine Baillie
relation educated at
type school
['Gawaine Baillie', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:school . resource:Gawaine_Baillie property:educated_at ?a }
[]
school
Q192088
SYSTEM
Eton College
Q192088
(Q3099619,P69,c(Q3914))
action filter_type
action find
entity Q3099619
relation P69
type Q3914
Gawaine Baillie was educated at [ANSWER]
['Q3099619', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q3914 . resource:Q3099619 property:P69 ?a }
Eton College
Gawaine Baillie was educated at Eton College
Eton College
action filter_type
action find
entity Gawaine Baillie
relation educated at
type school
['Gawaine Baillie', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:school . resource:Gawaine_Baillie property:educated_at ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q192088
P112
Q502895
USER
Which person founded that school ?
(Q192088,P112,c(Q502895))
action filter_type
action find
entity Q192088
relation P112
type Q502895
['Q192088', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q192088 property:P112 ?w . ?w rdf:type ontology:Q502895 }
Eton College
action filter_type
action find
entity Eton College
relation founder
type common name
['Eton College', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Eton_College property:founder ?w . ?w rdf:type ontology:common_name }
[]
common name
Q160337
SYSTEM
Henry VI of England
Q160337
(Q192088,P112,c(Q502895))
action filter_type
action find
entity Q192088
relation P112
type Q502895
[ANSWER] founded that school
['Q192088', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q192088 property:P112 ?w . ?w rdf:type ontology:Q502895 }
Henry VI of England
Henry VI of England founded that school
Henry VI of England
action filter_type
action find
entity Eton College
relation founder
type common name
['Eton College', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Eton_College property:founder ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q160337
P19
Q41176
USER
Where was that person born ?
(Q160337,P19,c(Q41176))
action filter_type
action find
entity Q160337
relation P19
type Q41176
['Q160337', 'P19', {'concept': 'Q41176'}]
SELECT DISTINCT ?d WHERE { resource:Q160337 property:P19 ?d . ?d rdf:type ontology:Q41176 }
Henry VI of England
action filter_type
action find
entity Henry VI of England
relation place of birth
type building
['Henry VI of England', 'place of birth', {'concept': 'building'}]
SELECT DISTINCT ?d WHERE { resource:Henry_VI_of_England property:place_of_birth ?d . ?d rdf:type ontology:building }
[]
building
Q42646
SYSTEM
Windsor Castle
Q42646
(Q160337,P19,c(Q41176))
action filter_type
action find
entity Q160337
relation P19
type Q41176
That person was born in [ANSWER]
['Q160337', 'P19', {'concept': 'Q41176'}]
SELECT DISTINCT ?d WHERE { resource:Q160337 property:P19 ?d . ?d rdf:type ontology:Q41176 }
Windsor Castle
That person was born in Windsor Castle
Windsor Castle
action filter_type
action find
entity Henry VI of England
relation place of birth
type building
['Henry VI of England', 'place of birth', {'concept': 'building'}]
SELECT DISTINCT ?d WHERE { resource:Henry_VI_of_England property:place_of_birth ?d . ?d rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q160337
P40
Q502895
USER
Which people have that one as an offspring ?
(c(Q502895),P40,Q42646)
action filter_type
action find_reverse
entity Q160337
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q42646']
SELECT DISTINCT ?m WHERE { ?m property:P40 resource:Q160337 . ?m rdf:type ontology:Q502895 }
Henry VI of England
action filter_type
action find_reverse
entity Henry VI of England
relation child
type common name
[{'concept': 'common name'}, 'child', 'Windsor Castle']
SELECT DISTINCT ?m WHERE { ?m property:child resource:Henry_VI_of_England . ?m rdf:type ontology:common_name }
[]
common name
Q131581 Q229192
SYSTEM
Henry V of England, Catherine of Valois
Q131581 Q229192
(c(Q502895),P40,Q42646)
action filter_type
action find_reverse
entity Q160337
relation P40
type Q502895
[ANSWERS] have that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q42646']
SELECT DISTINCT ?m WHERE { ?m property:P40 resource:Q160337 . ?m rdf:type ontology:Q502895 }
Henry V of England Catherine of Valois
Henry V of England and Catherine of Valois have that one as an offspring
Henry V of England Catherine of Valois
action filter_type
action find_reverse
entity Henry VI of England
relation child
type common name
[{'concept': 'common name'}, 'child', 'Windsor Castle']
SELECT DISTINCT ?m WHERE { ?m property:child resource:Henry_VI_of_England . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q160337
P26
Q502895
USER
How many people are the spouses of Henry VI of England ?
(Q160337,P26,c(Q502895))
action count
action filter_type
action find
entity Q160337
relation P26
type Q502895
['Q160337', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Q160337 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Henry VI of England
action count
action filter_type
action find
entity Henry VI of England
relation spouse
type common name
['Henry VI of England', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Henry_VI_of_England property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q231145
(Q160337,P26,c(Q502895))
action count
action filter_type
action find
entity Q160337
relation P26
type Q502895
[ANSWER]
['Q160337', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Q160337 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Margaret of Anjou
1
action count
action filter_type
action find
entity Henry VI of England
relation spouse
type common name
['Henry VI of England', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Henry_VI_of_England property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6777451
Q502895
USER
And how about Marty Kaplan?
(Q6777451,P26,c(Q502895))
action count
action filter_type
action find
entity Q6777451
relation P26
type Q502895
['Q6777451', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q6777451 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Marty Kaplan
action count
action filter_type
action find
entity Marty Kaplan
relation spouse
type common name
['Marty Kaplan', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Marty_Kaplan property:spouse ?z . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q6777451,P26,c(Q502895))
action count
action filter_type
action find
entity Q6777451
relation P26
type Q502895
[ANSWER]
['Q6777451', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q6777451 property:P26 ?z . ?z rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Marty Kaplan
relation spouse
type common name
['Marty Kaplan', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Marty_Kaplan property:spouse ?z . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q866239 Q192088
P17
Q15617994
USER
Which administrative territories are Eton College or Saint-Didier-sous-Aubenas situated in ?
OR((Q192088,P17,c(Q15617994)), (Q866239,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q192088
relation P17
action find
entity Q866239
relation P17
type Q15617994
{'OR': [['Q192088', 'P17', {'concept': 'Q15617994'}], ['Q866239', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { ?r property:P17 ?e . VALUES ( ?r ) { ( resource:Q192088 ) ( resource:Q866239 ) } } . ?e rdf:type ontology:Q15617994 }
Saint-Didier-sous-Aubenas Eton College
action filter_type
action union
action find
entity Eton College
relation country
action find
entity Saint-Didier-sous-Aubenas
relation country
type designation for an administrative territorial entity
{'OR': [['Eton College', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Saint-Didier-sous-Aubenas', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { ?r property:country ?e . VALUES ( ?r ) { ( resource:Eton_College ) ( resource:Saint-Didier-sous-Aubenas ) } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q145
SYSTEM
France, United Kingdom
Q142 Q145
OR((Q192088,P17,c(Q15617994)), (Q866239,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q192088
relation P17
action find
entity Q866239
relation P17
type Q15617994
[ANSWERS] are Eton College or Saint-Didier-sous-Aubenas situated in
{'OR': [['Q192088', 'P17', {'concept': 'Q15617994'}], ['Q866239', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { ?r property:P17 ?e . VALUES ( ?r ) { ( resource:Q192088 ) ( resource:Q866239 ) } } . ?e rdf:type ontology:Q15617994 }
France United Kingdom
France and United Kingdom are Eton College or Saint-Didier-sous-Aubenas situated in
France United Kingdom
action filter_type
action union
action find
entity Eton College
relation country
action find
entity Saint-Didier-sous-Aubenas
relation country
type designation for an administrative territorial entity
{'OR': [['Eton College', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Saint-Didier-sous-Aubenas', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { ?r property:country ?e . VALUES ( ?r ) { ( resource:Eton_College ) ( resource:Saint-Didier-sous-Aubenas ) } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q866239
P47
Q20667921
USER
Which french administrative divisions share border with that one ?
(c(Q20667921),P47,Q142) (c(Q20667921),P47,Q145)
action filter_type
action find
entity Q866239
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q142'] [{'concept': 'Q20667921'}, 'P47', 'Q145']
SELECT DISTINCT ?e WHERE { resource:Q866239 property:P47 ?e . ?e rdf:type ontology:Q20667921 }
Saint-Didier-sous-Aubenas
action filter_type
action find
entity Saint-Didier-sous-Aubenas
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France'] [{'concept': 'type of french administrative division'}, 'shares border with', 'United Kingdom']
SELECT DISTINCT ?e WHERE { resource:Saint-Didier-sous-Aubenas property:shares_border_with ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q211121 Q155247 Q866586
SYSTEM
Aubenas, Saint-Privat, Lussas
Q988900 Q155247 Q211121 Q866586
(c(Q20667921),P47,Q142) (c(Q20667921),P47,Q145)
action filter_type
action find
entity Q866239
relation P47
type Q20667921
[ANSWERS] share border with that one
[{'concept': 'Q20667921'}, 'P47', 'Q142'] [{'concept': 'Q20667921'}, 'P47', 'Q145']
SELECT DISTINCT ?e WHERE { resource:Q866239 property:P47 ?e . ?e rdf:type ontology:Q20667921 }
Lavilledieu Saint-Privat Aubenas Lussas
Aubenas, Saint-Privat and Lussas share border with that one
Aubenas Saint-Privat Lussas
action filter_type
action find
entity Saint-Didier-sous-Aubenas
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France'] [{'concept': 'type of french administrative division'}, 'shares border with', 'United Kingdom']
SELECT DISTINCT ?e WHERE { resource:Saint-Didier-sous-Aubenas property:shares_border_with ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q866239
P47
Q20667921
USER
Does Saint-Didier-sous-Aubenas share border with those ones ?
(Q866239,P47,Q211121) (Q866239,P47,Q155247) (Q866239,P47,Q866586)
action is_in
entity prev_answer
action find
entity Q866239
relation P47
['Q866239', 'P47', 'Q211121'] ['Q866239', 'P47', 'Q155247'] ['Q866239', 'P47', 'Q866586']
ASK WHERE { VALUES ( ?e ) { ( resource:Q988900 ) ( resource:Q155247 ) ( resource:Q211121 ) } . resource:Q866239 property:P47 ?e }
Saint-Didier-sous-Aubenas
action is_in
entity prev_answer
action find
entity Saint-Didier-sous-Aubenas
relation shares border with
['Saint-Didier-sous-Aubenas', 'shares border with', 'Aubenas'] ['Saint-Didier-sous-Aubenas', 'shares border with', 'Saint-Privat'] ['Saint-Didier-sous-Aubenas', 'shares border with', 'Lussas']
ASK WHERE { VALUES ( ?e ) { ( resource:Lavilledieu ) ( resource:Saint-Privat ) ( resource:Aubenas ) } . resource:Saint-Didier-sous-Aubenas property:shares_border_with ?e }
[]
type of french administrative division
SYSTEM
YES
(Q866239,P47,Q211121) (Q866239,P47,Q155247) (Q866239,P47,Q866586)
action is_in
entity prev_answer
action find
entity Q866239
relation P47
[ANSWER]
['Q866239', 'P47', 'Q211121'] ['Q866239', 'P47', 'Q155247'] ['Q866239', 'P47', 'Q866586']
ASK WHERE { VALUES ( ?e ) { ( resource:Q988900 ) ( resource:Q155247 ) ( resource:Q211121 ) } . resource:Q866239 property:P47 ?e }
Yes
action is_in
entity prev_answer
action find
entity Saint-Didier-sous-Aubenas
relation shares border with
['Saint-Didier-sous-Aubenas', 'shares border with', 'Aubenas'] ['Saint-Didier-sous-Aubenas', 'shares border with', 'Saint-Privat'] ['Saint-Didier-sous-Aubenas', 'shares border with', 'Lussas']
ASK WHERE { VALUES ( ?e ) { ( resource:Lavilledieu ) ( resource:Saint-Privat ) ( resource:Aubenas ) } . resource:Saint-Didier-sous-Aubenas property:shares_border_with ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q299015
P159
Q56061
USER
Where is the headquarter of Austrian Academy of Sciences located ?
(Q299015,P159,c(Q56061))
action filter_type
action find
entity Q299015
relation P159
type Q56061
['Q299015', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q299015 property:P159 ?g }
Austrian Academy of Sciences
action filter_type
action find
entity Austrian Academy of Sciences
relation headquarters location
type administrative territorial entity
['Austrian Academy of Sciences', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Austrian_Academy_of_Sciences property:headquarters_location ?g }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q299015,P159,c(Q56061))
action filter_type
action find
entity Q299015
relation P159
type Q56061
Is the headquarter of Austrian Academy of Sciences located in [ANSWER]
['Q299015', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q299015 property:P159 ?g }
Vienna
Is the headquarter of Austrian Academy of Sciences located in Vienna
Vienna
action filter_type
action find
entity Austrian Academy of Sciences
relation headquarters location
type administrative territorial entity
['Austrian Academy of Sciences', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Austrian_Academy_of_Sciences property:headquarters_location ?g }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1741 Q2615046
P190
Q13220204
USER
Is Naujene Parish twin city of that administrative territory ?
(Q1741,P190,Q2615046)
action is_in
entity Q2615046
action find
entity Q1741
relation P190
['Q1741', 'P190', 'Q2615046']
ASK WHERE { resource:Q1741 property:P190 resource:Q2615046 }
Vienna Naujene Parish
action is_in
entity Naujene Parish
action find
entity Vienna
relation sister city
['Vienna', 'sister city', 'Naujene Parish']
ASK WHERE { resource:Vienna property:sister_city resource:Naujene_Parish }
[]
second-level administrative country subdivision
SYSTEM
NO
(Q1741,P190,Q2615046)
action is_in
entity Q2615046
action find
entity Q1741
relation P190
[ANSWER]
['Q1741', 'P190', 'Q2615046']
ASK WHERE { resource:Q1741 property:P190 resource:Q2615046 }
No
action is_in
entity Naujene Parish
action find
entity Vienna
relation sister city
['Vienna', 'sister city', 'Naujene Parish']
ASK WHERE { resource:Vienna property:sister_city resource:Naujene_Parish }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P1376
Q3024240
USER
Which former country has that administrative territory as its county seat ?
action filter_type
action find
entity Q1741
relation P1376
type Q3024240
SELECT DISTINCT ?k WHERE { resource:Q1741 property:P1376 ?k . ?k rdf:type ontology:Q3024240 }
Vienna
action filter_type
action find
entity Vienna
relation capital of
type former country
SELECT DISTINCT ?k WHERE { resource:Vienna property:capital_of ?k . ?k rdf:type ontology:former_country }
[]
former country
Q28513
SYSTEM
Austria-Hungary
Q28513
action filter_type
action find
entity Q1741
relation P1376
type Q3024240
[ANSWER] has that administrative territory as its county seat
SELECT DISTINCT ?k WHERE { resource:Q1741 property:P1376 ?k . ?k rdf:type ontology:Q3024240 }
Austria-Hungary
Austria-Hungary has that administrative territory as its county seat
Austria-Hungary
action filter_type
action find
entity Vienna
relation capital of
type former country
SELECT DISTINCT ?k WHERE { resource:Vienna property:capital_of ?k . ?k rdf:type ontology:former_country }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131581
P20
Q22698
USER
Which park is the place of death of Henry V of England ?
(Q131581,P20,c(Q22698))
action filter_type
action find
entity Q131581
relation P20
type Q22698
['Q131581', 'P20', {'concept': 'Q22698'}]
SELECT DISTINCT ?a WHERE { resource:Q131581 property:P20 ?a . ?a rdf:type ontology:Q22698 }
Henry V of England
action filter_type
action find
entity Henry V of England
relation place of death
type park
['Henry V of England', 'place of death', {'concept': 'park'}]
SELECT DISTINCT ?a WHERE { resource:Henry_V_of_England property:place_of_death ?a . ?a rdf:type ontology:park }
[]
park
Q271639
SYSTEM
bois de Vincennes
Q271639
(Q131581,P20,c(Q22698))
action filter_type
action find
entity Q131581
relation P20
type Q22698
The [ANSWER] is the place of death of Henry V of England
['Q131581', 'P20', {'concept': 'Q22698'}]
SELECT DISTINCT ?a WHERE { resource:Q131581 property:P20 ?a . ?a rdf:type ontology:Q22698 }
bois de Vincennes
The bois de Vincennes is the place of death of Henry V of England
bois de Vincennes
action filter_type
action find
entity Henry V of England
relation place of death
type park
['Henry V of England', 'place of death', {'concept': 'park'}]
SELECT DISTINCT ?a WHERE { resource:Henry_V_of_England property:place_of_death ?a . ?a rdf:type ontology:park }
[]