Simple Question (Direct)
Simple Question
Q4152682
P20
Q56061
USER
Where did Dmitry Sergeyevich Gusev expire ?
(Q4152682,P20,c(Q56061))
action filter_type
action find
entity Q4152682
relation P20
type Q56061
['Q4152682', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q4152682 property:P20 ?r }
Dmitry Sergeyevich Gusev
action filter_type
action find
entity Dmitry Sergeyevich Gusev
relation place of death
type administrative territorial entity
['Dmitry Sergeyevich Gusev', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Dmitry_Sergeyevich_Gusev property:place_of_death ?r }
[]
administrative territorial entity
Q914
SYSTEM
Volgograd
Q914
(Q4152682,P20,c(Q56061))
action filter_type
action find
entity Q4152682
relation P20
type Q56061
[ANSWER]
['Q4152682', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q4152682 property:P20 ?r }
Volgograd
Volgograd
action filter_type
action find
entity Dmitry Sergeyevich Gusev
relation place of death
type administrative territorial entity
['Dmitry Sergeyevich Gusev', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Dmitry_Sergeyevich_Gusev property:place_of_death ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q914
P931
Q62447
USER
What city is served by that administrative territory ?
(c(Q62447),P931,Q914)
action filter_type
action find_reverse
entity Q914
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q914']
SELECT DISTINCT ?g WHERE { ?g property:P931 resource:Q914 . ?g rdf:type ontology:Q62447 }
Volgograd
action filter_type
action find_reverse
entity Volgograd
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Volgograd']
SELECT DISTINCT ?g WHERE { ?g property:place_served_by_airport resource:Volgograd . ?g rdf:type ontology:aerodrome }
[]
aerodrome
Q1433263
SYSTEM
Volgograd International Airport
Q1433263
(c(Q62447),P931,Q914)
action filter_type
action find_reverse
entity Q914
relation P931
type Q62447
[ANSWER]
[{'concept': 'Q62447'}, 'P931', 'Q914']
SELECT DISTINCT ?g WHERE { ?g property:P931 resource:Q914 . ?g rdf:type ontology:Q62447 }
Volgograd International Airport
Volgograd International Airport
action filter_type
action find_reverse
entity Volgograd
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Volgograd']
SELECT DISTINCT ?g WHERE { ?g property:place_served_by_airport resource:Volgograd . ?g rdf:type ontology:aerodrome }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1999172 Q914
P931
Q62447
USER
Or Williston?
OR((c(Q62447),P931,Q914), (c(Q62447),P931,Q1999172))
action filter_type
action union
action find_reverse
entity Q914
relation P931
action find_reverse
entity Q1999172
relation P931
type Q62447
{'OR': [[{'concept': 'Q62447'}, 'P931', 'Q914'], [{'concept': 'Q62447'}, 'P931', 'Q1999172']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P931 resource:Q914 } UNION { ?e property:P931 resource:Q1999172 } } . ?e rdf:type ontology:Q62447 }
Williston Volgograd
action filter_type
action union
action find_reverse
entity Volgograd
relation place served by airport
action find_reverse
entity Williston
relation place served by airport
type aerodrome
{'OR': [[{'concept': 'aerodrome'}, 'place served by airport', 'Volgograd'], [{'concept': 'aerodrome'}, 'place served by airport', 'Williston']]}
SELECT DISTINCT ?e WHERE { { { ?e property:place_served_by_airport resource:Volgograd } UNION { ?e property:place_served_by_airport resource:Williston } } . ?e rdf:type ontology:aerodrome }
[]
aerodrome
Q2063380 Q27349419 Q1433263
SYSTEM
Sloulin Field International Airport, Williston Basin International Airport, Volgograd International Airport
Q2063380 Q27349419 Q1433263
OR((c(Q62447),P931,Q914), (c(Q62447),P931,Q1999172))
action filter_type
action union
action find_reverse
entity Q914
relation P931
action find_reverse
entity Q1999172
relation P931
type Q62447
[ANSWERS]
{'OR': [[{'concept': 'Q62447'}, 'P931', 'Q914'], [{'concept': 'Q62447'}, 'P931', 'Q1999172']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P931 resource:Q914 } UNION { ?e property:P931 resource:Q1999172 } } . ?e rdf:type ontology:Q62447 }
Sloulin Field International Airport Williston Basin International Airport Volgograd International Airport
Sloulin Field International Airport Williston Basin International Airport Volgograd International Airport
action filter_type
action union
action find_reverse
entity Volgograd
relation place served by airport
action find_reverse
entity Williston
relation place served by airport
type aerodrome
{'OR': [[{'concept': 'aerodrome'}, 'place served by airport', 'Volgograd'], [{'concept': 'aerodrome'}, 'place served by airport', 'Williston']]}
SELECT DISTINCT ?e WHERE { { { ?e property:place_served_by_airport resource:Volgograd } UNION { ?e property:place_served_by_airport resource:Williston } } . ?e rdf:type ontology:aerodrome }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q254076 Q1999172
P47 P17
Q15617994
USER
Which administrative territories do Williston belong to or are bordered by Pfaffing ?
OR((Q1999172,P17,c(Q15617994)), (Q254076,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q1999172
relation P17
action find
entity Q254076
relation P47
type Q15617994
{'OR': [['Q1999172', 'P17', {'concept': 'Q15617994'}], ['Q254076', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1999172 property:P17 ?v } UNION { resource:Q254076 property:P47 ?v } } . ?v rdf:type ontology:Q15617994 }
Pfaffing Williston
action filter_type
action union
action find
entity Williston
relation country
action find
entity Pfaffing
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Williston', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pfaffing', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Williston property:country ?v } UNION { resource:Pfaffing property:shares_border_with ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q511780 Q30
SYSTEM
Steinhöring, United States of America
Q511780 Q30
OR((Q1999172,P17,c(Q15617994)), (Q254076,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q1999172
relation P17
action find
entity Q254076
relation P47
type Q15617994
[ANSWERS]
{'OR': [['Q1999172', 'P17', {'concept': 'Q15617994'}], ['Q254076', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1999172 property:P17 ?v } UNION { resource:Q254076 property:P47 ?v } } . ?v rdf:type ontology:Q15617994 }
Steinhöring United States of America
Steinhöring United States of America
action filter_type
action union
action find
entity Williston
relation country
action find
entity Pfaffing
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Williston', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pfaffing', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Williston property:country ?v } UNION { resource:Pfaffing property:shares_border_with ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q511780 Q30
P47
Q15617994
USER
Which administrative territories are adjacent to those ones ?
(Q511780,P47,c(Q15617994)) (Q30,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q511780', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . ?w property:P47 ?y . VALUES ( ?w ) { ( resource:Q511780 ) ( resource:Q30 ) } }
Steinhöring United States of America
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Steinhöring', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:shares_border_with ?y . VALUES ( ?w ) { ( resource:Steinhöring ) ( resource:United_States_of_America ) } }
[]
designation for an administrative territorial entity
Q159 Q17 Q96
SYSTEM
Russia, Japan, Mexico
Q256920 Q162003 Q526566 Q524334 Q254076 Q253003 Q702 Q804 Q159 Q683 Q96 Q786 Q241 Q17 Q710 Q717 Q678 Q790
(Q511780,P47,c(Q15617994)) (Q30,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS]
['Q511780', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . ?w property:P47 ?y . VALUES ( ?w ) { ( resource:Q511780 ) ( resource:Q30 ) } }
Albaching Maitenbeth Frauenneuharting Hohenlinden Pfaffing Ebersberg Federated States of Micronesia Panama Russia Samoa Mexico Dominican Republic Cuba Japan Kiribati Venezuela Tonga Haiti
Russia Japan Mexico
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Steinhöring', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:shares_border_with ?y . VALUES ( ?w ) { ( resource:Steinhöring ) ( resource:United_States_of_America ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q159 Q17 Q96
P6
Q502895
USER
Which people have Russia, Japan and Mexico as their heads of government ?
(Q159,P6,c(Q502895)) (Q17,P6,c(Q502895)) (Q96,P6,c(Q502895))
action union
action filter_type
action find
entity Q159
relation P6
type Q502895
action filter_type
action find
entity Q17
relation P6
type Q502895
action filter_type
action find
entity Q96
relation P6
type Q502895
['Q159', 'P6', {'concept': 'Q502895'}] ['Q17', 'P6', {'concept': 'Q502895'}] ['Q96', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?z property:P6 ?x . VALUES ( ?z ) { ( resource:Q159 ) ( resource:Q17 ) } }
Russia Japan Mexico
action union
action filter_type
action find
entity Russia
relation head of government
type common name
action filter_type
action find
entity Japan
relation head of government
type common name
action filter_type
action find
entity Mexico
relation head of government
type common name
['Russia', 'head of government', {'concept': 'common name'}] ['Japan', 'head of government', {'concept': 'common name'}] ['Mexico', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?z property:head_of_government ?x . VALUES ( ?z ) { ( resource:Russia ) ( resource:Japan ) } }
[]
common name
Q7747 Q34453 Q270529
SYSTEM
Vladimir Putin, Boris Yeltsin, Yevgeny Primakov
Q7747 Q23530 Q313989 Q190884 Q62551 Q82695 Q34453 Q147425 Q317667 Q313915 Q270529 Q150080 Q132345 Q296741
(Q159,P6,c(Q502895)) (Q17,P6,c(Q502895)) (Q96,P6,c(Q502895))
action union
action filter_type
action find
entity Q159
relation P6
type Q502895
action filter_type
action find
entity Q17
relation P6
type Q502895
action filter_type
action find
entity Q96
relation P6
type Q502895
[ANSWERS]
['Q159', 'P6', {'concept': 'Q502895'}] ['Q17', 'P6', {'concept': 'Q502895'}] ['Q96', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?z property:P6 ?x . VALUES ( ?z ) { ( resource:Q159 ) ( resource:Q17 ) } }
Vladimir Putin Dmitry Medvedev Sergei Stepashin Viktor Chernomyrdin Mikhail Kasyanov Yegor Gaidar Boris Yeltsin Viktor Zubkov Viktor Khristenko Sergey Kiriyenko Yevgeny Primakov Mikhail Fradkov Shinzō Abe Enrique Peña Nieto
Vladimir Putin Boris Yeltsin Yevgeny Primakov
action union
action filter_type
action find
entity Russia
relation head of government
type common name
action filter_type
action find
entity Japan
relation head of government
type common name
action filter_type
action find
entity Mexico
relation head of government
type common name
['Russia', 'head of government', {'concept': 'common name'}] ['Japan', 'head of government', {'concept': 'common name'}] ['Mexico', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?z property:head_of_government ?x . VALUES ( ?z ) { ( resource:Russia ) ( resource:Japan ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7747 Q34453 Q270529
P140
Q879146
USER
Which Christian denominations do those people relate to ?
(Q7747,P140,c(Q879146)) (Q34453,P140,c(Q879146)) (Q270529,P140,c(Q879146))
action filter_type
action find
entity prev_answer
relation P140
type Q879146
['Q7747', 'P140', {'concept': 'Q879146'}] ['Q34453', 'P140', {'concept': 'Q879146'}] ['Q270529', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q879146 . VALUES ( ?z ) { ( resource:Q7747 ) ( resource:Q23530 ) ( resource:Q313989 ) } . ?z property:P140 ?o }
Vladimir Putin Boris Yeltsin Yevgeny Primakov
action filter_type
action find
entity prev_answer
relation religion
type Christian denomination
['Vladimir Putin', 'religion', {'concept': 'Christian denomination'}] ['Boris Yeltsin', 'religion', {'concept': 'Christian denomination'}] ['Yevgeny Primakov', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Christian_denomination . VALUES ( ?z ) { ( resource:Vladimir_Putin ) ( resource:Dmitry_Medvedev ) ( resource:Sergei_Stepashin ) } . ?z property:religion ?o }
[]
Christian denomination
Q60995 Q60995 Q60995
SYSTEM
Russian Orthodox Church
Q60995 Q60995 Q60995
(Q7747,P140,c(Q879146)) (Q34453,P140,c(Q879146)) (Q270529,P140,c(Q879146))
action filter_type
action find
entity prev_answer
relation P140
type Q879146
[ANSWER]
['Q7747', 'P140', {'concept': 'Q879146'}] ['Q34453', 'P140', {'concept': 'Q879146'}] ['Q270529', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q879146 . VALUES ( ?z ) { ( resource:Q7747 ) ( resource:Q23530 ) ( resource:Q313989 ) } . ?z property:P140 ?o }
Russian Orthodox Church Russian Orthodox Church Russian Orthodox Church
Russian Orthodox Church Russian Orthodox Church Russian Orthodox Church
action filter_type
action find
entity prev_answer
relation religion
type Christian denomination
['Vladimir Putin', 'religion', {'concept': 'Christian denomination'}] ['Boris Yeltsin', 'religion', {'concept': 'Christian denomination'}] ['Yevgeny Primakov', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Christian_denomination . VALUES ( ?z ) { ( resource:Vladimir_Putin ) ( resource:Dmitry_Medvedev ) ( resource:Sergei_Stepashin ) } . ?z property:religion ?o }
[]