Simple Question (Direct)
Simple Question
Q2339246
P22
Q502895
USER
Who was the dad of John Suckling ?
(Q2339246,P22,c(Q502895))
action filter_type
action find
entity Q2339246
relation P22
type Q502895
['Q2339246', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q2339246 property:P22 ?b . ?b rdf:type ontology:Q502895 }
John Suckling
action filter_type
action find
entity John Suckling
relation father
type common name
['John Suckling', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:John_Suckling property:father ?b . ?b rdf:type ontology:common_name }
[]
common name
Q6259590
SYSTEM
John Suckling
Q6259590
(Q2339246,P22,c(Q502895))
action filter_type
action find
entity Q2339246
relation P22
type Q502895
The dad of [ANSWER] was Sir [ANSWER]
['Q2339246', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q2339246 property:P22 ?b . ?b rdf:type ontology:Q502895 }
John Suckling
The dad of John Suckling was Sir John Suckling
John Suckling
action filter_type
action find
entity John Suckling
relation father
type common name
['John Suckling', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:John_Suckling property:father ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2339246
P69
Q41176
USER
Where was John Suckling educated ?
(Q2339246,P69,c(Q41176))
action filter_type
action find
entity Q2339246
relation P69
type Q41176
['Q2339246', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?l WHERE { resource:Q2339246 property:P69 ?l . ?l rdf:type ontology:Q41176 }
John Suckling
action filter_type
action find
entity John Suckling
relation educated at
type building
['John Suckling', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?l WHERE { resource:John_Suckling property:educated_at ?l . ?l rdf:type ontology:building }
[]
building
Q332342
SYSTEM
Trinity College, Cambridge
Q332342
(Q2339246,P69,c(Q41176))
action filter_type
action find
entity Q2339246
relation P69
type Q41176
John Suckling was educated at [ANSWER]
['Q2339246', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?l WHERE { resource:Q2339246 property:P69 ?l . ?l rdf:type ontology:Q41176 }
Trinity College, Cambridge
John Suckling was educated at Trinity College, Cambridge
Trinity College, Cambridge
action filter_type
action find
entity John Suckling
relation educated at
type building
['John Suckling', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?l WHERE { resource:John_Suckling property:educated_at ?l . ?l rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q332342
P17
Q15617994
USER
Which administrative territory is that building located in ?
(Q332342,P17,c(Q15617994))
action filter_type
action find
entity Q332342
relation P17
type Q15617994
['Q332342', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q332342 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Trinity College, Cambridge
action filter_type
action find
entity Trinity College, Cambridge
relation country
type designation for an administrative territorial entity
['Trinity College, Cambridge', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Trinity_College,_Cambridge property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q332342,P17,c(Q15617994))
action filter_type
action find
entity Q332342
relation P17
type Q15617994
That building is located in [ANSWER]
['Q332342', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q332342 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
United Kingdom
That building is located in United Kingdom
United Kingdom
action filter_type
action find
entity Trinity College, Cambridge
relation country
type designation for an administrative territorial entity
['Trinity College, Cambridge', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Trinity_College,_Cambridge property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q332342
P1435
Q41176
USER
Which building gives the heritage status of that one ?
(Q145,P1435,c(Q41176))
action filter_type
action find
entity Q332342
relation P1435
type Q41176
['Q145', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q41176 . resource:Q332342 property:P1435 ?v }
Trinity College, Cambridge
action filter_type
action find
entity Trinity College, Cambridge
relation heritage status
type building
['United Kingdom', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:building . resource:Trinity_College,_Cambridge property:heritage_status ?v }
[]
building
Q15700818
SYSTEM
Grade I listed building
Q15700818
(Q145,P1435,c(Q41176))
action filter_type
action find
entity Q332342
relation P1435
type Q41176
[ANSWER] gives the heritage status of that one
['Q145', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q41176 . resource:Q332342 property:P1435 ?v }
Grade I listed building
Grade I listed building gives the heritage status of that one
Grade I listed building
action filter_type
action find
entity Trinity College, Cambridge
relation heritage status
type building
['United Kingdom', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:building . resource:Trinity_College,_Cambridge property:heritage_status ?v }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9972 Q2339246
P20
Q56061
USER
Which administrative territories did the expiration of John Suckling or Hongxi Emperor occur ?
OR((Q2339246,P20,c(Q56061)), (Q9972,P20,c(Q56061)))
action filter_type
action union
action find
entity Q2339246
relation P20
action find
entity Q9972
relation P20
type Q56061
{'OR': [['Q2339246', 'P20', {'concept': 'Q56061'}], ['Q9972', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q9972 property:P20 ?s } UNION { resource:Q2339246 property:P20 ?s } } . ?s rdf:type ontology:Q56061 }
Hongxi Emperor John Suckling
action filter_type
action union
action find
entity John Suckling
relation place of death
action find
entity Hongxi Emperor
relation place of death
type administrative territorial entity
{'OR': [['John Suckling', 'place of death', {'concept': 'administrative territorial entity'}], ['Hongxi Emperor', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Hongxi_Emperor property:place_of_death ?s } UNION { resource:John_Suckling property:place_of_death ?s } } . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q956 Q90
SYSTEM
Beijing, Paris
Q956 Q90
OR((Q2339246,P20,c(Q56061)), (Q9972,P20,c(Q56061)))
action filter_type
action union
action find
entity Q2339246
relation P20
action find
entity Q9972
relation P20
type Q56061
The expiration of John Suckling or Hongxi Emperor occurred in [ANSWERS]
{'OR': [['Q2339246', 'P20', {'concept': 'Q56061'}], ['Q9972', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q9972 property:P20 ?s } UNION { resource:Q2339246 property:P20 ?s } } . ?s rdf:type ontology:Q56061 }
Beijing Paris
The expiration of John Suckling or Hongxi Emperor occurred in Beijing and Paris
Beijing Paris
action filter_type
action union
action find
entity John Suckling
relation place of death
action find
entity Hongxi Emperor
relation place of death
type administrative territorial entity
{'OR': [['John Suckling', 'place of death', {'concept': 'administrative territorial entity'}], ['Hongxi Emperor', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Hongxi_Emperor property:place_of_death ?s } UNION { resource:John_Suckling property:place_of_death ?s } } . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9972
P26
Q502895
USER
Which person has Hongxi Emperor as spouse ?
(c(Q502895),P26,Q956) (c(Q502895),P26,Q90)
action filter_type
action find
entity Q9972
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q956'] [{'concept': 'Q502895'}, 'P26', 'Q90']
SELECT DISTINCT ?n WHERE { resource:Q9972 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Hongxi Emperor
action filter_type
action find
entity Hongxi Emperor
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Beijing'] [{'concept': 'common name'}, 'spouse', 'Paris']
SELECT DISTINCT ?n WHERE { resource:Hongxi_Emperor property:spouse ?n . ?n rdf:type ontology:common_name }
[]
common name
Q719667
SYSTEM
Empress Chengxiaozhao
Q719667
(c(Q502895),P26,Q956) (c(Q502895),P26,Q90)
action filter_type
action find
entity Q9972
relation P26
type Q502895
[ANSWER] has Hongxi Emperor as spouse
[{'concept': 'Q502895'}, 'P26', 'Q956'] [{'concept': 'Q502895'}, 'P26', 'Q90']
SELECT DISTINCT ?n WHERE { resource:Q9972 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Empress Chengxiaozhao
Empress Chengxiaozhao has Hongxi Emperor as spouse
Empress Chengxiaozhao
action filter_type
action find
entity Hongxi Emperor
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Beijing'] [{'concept': 'common name'}, 'spouse', 'Paris']
SELECT DISTINCT ?n WHERE { resource:Hongxi_Emperor property:spouse ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q719667
P25
Q502895
USER
Who are the offspring of that one ?
(c(Q502895),P25,Q719667)
action filter_type
action find_reverse
entity Q719667
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q719667']
SELECT DISTINCT ?z WHERE { ?z property:P25 resource:Q719667 . ?z rdf:type ontology:Q502895 }
Empress Chengxiaozhao
action filter_type
action find_reverse
entity Empress Chengxiaozhao
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Empress Chengxiaozhao']
SELECT DISTINCT ?z WHERE { ?z property:mother resource:Empress_Chengxiaozhao . ?z rdf:type ontology:common_name }
[]
common name
Q9977 Q11094497
SYSTEM
Xuande Emperor, Zhu Zhanshan
Q9977 Q11094497
(c(Q502895),P25,Q719667)
action filter_type
action find_reverse
entity Q719667
relation P25
type Q502895
The offspring of that one are the [ANSWERS]
[{'concept': 'Q502895'}, 'P25', 'Q719667']
SELECT DISTINCT ?z WHERE { ?z property:P25 resource:Q719667 . ?z rdf:type ontology:Q502895 }
Xuande Emperor Zhu Zhanshan
The offspring of that one are the Xuande Emperor and Zhu Zhanshan
Xuande Emperor Zhu Zhanshan
action filter_type
action find_reverse
entity Empress Chengxiaozhao
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Empress Chengxiaozhao']
SELECT DISTINCT ?z WHERE { ?z property:mother resource:Empress_Chengxiaozhao . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q3625024
P17
Q15617994
USER
How many administrative territories do United Kingdom or ashoverite belong to ?
(Q145,P17,c(Q15617994)) (Q3625024,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q145
relation P17
type Q15617994
action filter_type
action find
entity Q3625024
relation P17
type Q15617994
['Q145', 'P17', {'concept': 'Q15617994'}] ['Q3625024', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?u property:P17 ?w . VALUES ( ?u ) { ( resource:Q145 ) ( resource:Q3625024 ) } }
United Kingdom ashoverite
action count
action union
action filter_type
action find
entity United Kingdom
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity ashoverite
relation country
type designation for an administrative territorial entity
['United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['ashoverite', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?u property:country ?w . VALUES ( ?u ) { ( resource:United_Kingdom ) ( resource:ashoverite ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q30 Q145
(Q145,P17,c(Q15617994)) (Q3625024,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q145
relation P17
type Q15617994
action filter_type
action find
entity Q3625024
relation P17
type Q15617994
[ANSWER]
['Q145', 'P17', {'concept': 'Q15617994'}] ['Q3625024', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?u property:P17 ?w . VALUES ( ?u ) { ( resource:Q145 ) ( resource:Q3625024 ) } }
United States of America United Kingdom
2
action count
action union
action filter_type
action find
entity United Kingdom
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity ashoverite
relation country
type designation for an administrative territorial entity
['United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['ashoverite', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?u property:country ?w . VALUES ( ?u ) { ( resource:United_Kingdom ) ( resource:ashoverite ) } }
[]