Simple Question (Direct)
Simple Question
Q2075193
P106
Q12737077
USER
Which occupation is the profession of Peter Erasmus Gleitsmann ?
(Q2075193,P106,c(Q12737077))
action filter_type
action find
entity Q2075193
relation P106
type Q12737077
['Q2075193', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q2075193 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Peter Erasmus Gleitsmann
action filter_type
action find
entity Peter Erasmus Gleitsmann
relation occupation
type occupation
['Peter Erasmus Gleitsmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Peter_Erasmus_Gleitsmann property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2075193,P106,c(Q12737077))
action filter_type
action find
entity Q2075193
relation P106
type Q12737077
The [ANSWER] is the profession of Peter Erasmus Gleitsmann
['Q2075193', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q2075193 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
politician
The politician is the profession of Peter Erasmus Gleitsmann
politician
action filter_type
action find
entity Peter Erasmus Gleitsmann
relation occupation
type occupation
['Peter Erasmus Gleitsmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Peter_Erasmus_Gleitsmann property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2075193
P20
Q56061
USER
Where did Peter Erasmus Gleitsmann expire ?
(Q2075193,P20,c(Q56061))
action filter_type
action find
entity Q2075193
relation P20
type Q56061
['Q2075193', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q2075193 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Peter Erasmus Gleitsmann
action filter_type
action find
entity Peter Erasmus Gleitsmann
relation place of death
type administrative territorial entity
['Peter Erasmus Gleitsmann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Peter_Erasmus_Gleitsmann property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q2075193,P20,c(Q56061))
action filter_type
action find
entity Q2075193
relation P20
type Q56061
Peter Erasmus Gleitsmann expired in [ANSWER]
['Q2075193', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q2075193 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Munich
Peter Erasmus Gleitsmann expired in Munich
Munich
action filter_type
action find
entity Peter Erasmus Gleitsmann
relation place of death
type administrative territorial entity
['Peter Erasmus Gleitsmann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Peter_Erasmus_Gleitsmann property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1726 Q23436 Q4819538
P190
Q56061
USER
Is that administrative territory sister town of Edinburgh and Auckland Park ?
(Q1726,P190,Q23436) (Q1726,P190,Q4819538)
action is_in
entity Q1726
action intersection
action find_reverse
entity Q23436
relation P190
action find_reverse
entity Q4819538
relation P190
['Q1726', 'P190', 'Q23436'] ['Q1726', 'P190', 'Q4819538']
ASK WHERE { resource:Q1726 property:P190 resource:Q23436 . resource:Q1726 property:P190 resource:Q4819538 }
Munich Edinburgh Auckland Park
action is_in
entity Munich
action intersection
action find_reverse
entity Edinburgh
relation sister city
action find_reverse
entity Auckland Park
relation sister city
['Munich', 'sister city', 'Edinburgh'] ['Munich', 'sister city', 'Auckland Park']
ASK WHERE { resource:Munich property:sister_city resource:Edinburgh . resource:Munich property:sister_city resource:Auckland_Park }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q1726,P190,Q23436) (Q1726,P190,Q4819538)
action is_in
entity Q1726
action intersection
action find_reverse
entity Q23436
relation P190
action find_reverse
entity Q4819538
relation P190
[ANSWER]
['Q1726', 'P190', 'Q23436'] ['Q1726', 'P190', 'Q4819538']
ASK WHERE { resource:Q1726 property:P190 resource:Q23436 . resource:Q1726 property:P190 resource:Q4819538 }
YES and NO respectively
action is_in
entity Munich
action intersection
action find_reverse
entity Edinburgh
relation sister city
action find_reverse
entity Auckland Park
relation sister city
['Munich', 'sister city', 'Edinburgh'] ['Munich', 'sister city', 'Auckland Park']
ASK WHERE { resource:Munich property:sister_city resource:Edinburgh . resource:Munich property:sister_city resource:Auckland_Park }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2075193 Q973072 Q64
P937
Q56061
USER
Do Peter Erasmus Gleitsmann have Manor and Berlin as their work location ?
(Q2075193,P937,Q973072) (Q2075193,P937,Q64)
action is_in
entity Q2075193
action intersection
action find_reverse
entity Q973072
relation P937
action find_reverse
entity Q64
relation P937
['Q2075193', 'P937', 'Q973072'] ['Q2075193', 'P937', 'Q64']
ASK WHERE { resource:Q2075193 property:P937 resource:Q64 . resource:Q2075193 property:P937 resource:Q973072 }
Peter Erasmus Gleitsmann Manor Berlin
action is_in
entity Peter Erasmus Gleitsmann
action intersection
action find_reverse
entity Manor
relation work location
action find_reverse
entity Berlin
relation work location
['Peter Erasmus Gleitsmann', 'work location', 'Manor'] ['Peter Erasmus Gleitsmann', 'work location', 'Berlin']
ASK WHERE { resource:Peter_Erasmus_Gleitsmann property:work_location resource:Berlin . resource:Peter_Erasmus_Gleitsmann property:work_location resource:Manor }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q2075193,P937,Q973072) (Q2075193,P937,Q64)
action is_in
entity Q2075193
action intersection
action find_reverse
entity Q973072
relation P937
action find_reverse
entity Q64
relation P937
[ANSWER]
['Q2075193', 'P937', 'Q973072'] ['Q2075193', 'P937', 'Q64']
ASK WHERE { resource:Q2075193 property:P937 resource:Q64 . resource:Q2075193 property:P937 resource:Q973072 }
NO and YES respectively
action is_in
entity Peter Erasmus Gleitsmann
action intersection
action find_reverse
entity Manor
relation work location
action find_reverse
entity Berlin
relation work location
['Peter Erasmus Gleitsmann', 'work location', 'Manor'] ['Peter Erasmus Gleitsmann', 'work location', 'Berlin']
ASK WHERE { resource:Peter_Erasmus_Gleitsmann property:work_location resource:Berlin . resource:Peter_Erasmus_Gleitsmann property:work_location resource:Manor }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1726 Q2309211 Q168651
P17
Q1048835
USER
Is Munich present in Kostychany and Landgraviate of Hesse-Kassel ?
(Q1726,P17,Q2309211) (Q1726,P17,Q168651)
action is_in
entity Q1726
action intersection
action find_reverse
entity Q2309211
relation P17
action find_reverse
entity Q168651
relation P17
['Q1726', 'P17', 'Q2309211'] ['Q1726', 'P17', 'Q168651']
ASK WHERE { resource:Q1726 property:P17 resource:Q168651 . resource:Q1726 property:P17 resource:Q2309211 }
Munich Kostychany Landgraviate of Hesse-Kassel
action is_in
entity Munich
action intersection
action find_reverse
entity Kostychany
relation country
action find_reverse
entity Landgraviate of Hesse-Kassel
relation country
['Munich', 'country', 'Kostychany'] ['Munich', 'country', 'Landgraviate of Hesse-Kassel']
ASK WHERE { resource:Munich property:country resource:Landgraviate_of_Hesse-Kassel . resource:Munich property:country resource:Kostychany }
[]
political territorial entity
SYSTEM
NO
(Q1726,P17,Q2309211) (Q1726,P17,Q168651)
action is_in
entity Q1726
action intersection
action find_reverse
entity Q2309211
relation P17
action find_reverse
entity Q168651
relation P17
[ANSWER]
['Q1726', 'P17', 'Q2309211'] ['Q1726', 'P17', 'Q168651']
ASK WHERE { resource:Q1726 property:P17 resource:Q168651 . resource:Q1726 property:P17 resource:Q2309211 }
No
action is_in
entity Munich
action intersection
action find_reverse
entity Kostychany
relation country
action find_reverse
entity Landgraviate of Hesse-Kassel
relation country
['Munich', 'country', 'Kostychany'] ['Munich', 'country', 'Landgraviate of Hesse-Kassel']
ASK WHERE { resource:Munich property:country resource:Landgraviate_of_Hesse-Kassel . resource:Munich property:country resource:Kostychany }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16264433 Q1726
P19 P190
Q515
USER
Which cities are twin cities of Munich or are the birthplace of Saki Ueno ?
OR((Q1726,P190,c(Q515)), (Q16264433,P19,c(Q515)))
action filter_type
action union
action find
entity Q1726
relation P190
action find
entity Q16264433
relation P19
type Q515
{'OR': [['Q1726', 'P190', {'concept': 'Q515'}], ['Q16264433', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1726 property:P190 ?n } UNION { resource:Q16264433 property:P19 ?n } } . ?n rdf:type ontology:Q515 }
Saki Ueno Munich
action filter_type
action union
action find
entity Munich
relation sister city
action find
entity Saki Ueno
relation place of birth
type city
{'OR': [['Munich', 'sister city', {'concept': 'city'}], ['Saki Ueno', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Munich property:sister_city ?n } UNION { resource:Saki_Ueno property:place_of_birth ?n } } . ?n rdf:type ontology:city }
[]
city
Q43196 Q320943 Q1899
SYSTEM
Cincinnati, Matsudo, Kyiv
Q43196 Q320943 Q1899
OR((Q1726,P190,c(Q515)), (Q16264433,P19,c(Q515)))
action filter_type
action union
action find
entity Q1726
relation P190
action find
entity Q16264433
relation P19
type Q515
[ANSWERS] are twin cities of Munich or are the birthplace of Saki Ueno
{'OR': [['Q1726', 'P190', {'concept': 'Q515'}], ['Q16264433', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1726 property:P190 ?n } UNION { resource:Q16264433 property:P19 ?n } } . ?n rdf:type ontology:Q515 }
Cincinnati Matsudo Kyiv
Cincinnati, Matsudo and Kyiv are twin cities of Munich or are the birthplace of Saki Ueno
Cincinnati Matsudo Kyiv
action filter_type
action union
action find
entity Munich
relation sister city
action find
entity Saki Ueno
relation place of birth
type city
{'OR': [['Munich', 'sister city', {'concept': 'city'}], ['Saki Ueno', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Munich property:sister_city ?n } UNION { resource:Saki_Ueno property:place_of_birth ?n } } . ?n rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4095983 Q2309211
P17
Q15617994
USER
Which administrative territories are Kostychany and Bratske a part of ?
AND((Q2309211,P17,c(Q15617994)), (Q4095983,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q2309211
relation P17
action find
entity Q4095983
relation P17
type Q15617994
{'AND': [['Q2309211', 'P17', {'concept': 'Q15617994'}], ['Q4095983', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { resource:Q2309211 property:P17 ?q . resource:Q4095983 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Bratske Kostychany
action filter_type
action intersection
action find
entity Kostychany
relation country
action find
entity Bratske
relation country
type designation for an administrative territorial entity
{'AND': [['Kostychany', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bratske', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Kostychany property:country ?q . resource:Bratske property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
AND((Q2309211,P17,c(Q15617994)), (Q4095983,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q2309211
relation P17
action find
entity Q4095983
relation P17
type Q15617994
[ANSWER] is Kostychany and Bratske a part of
{'AND': [['Q2309211', 'P17', {'concept': 'Q15617994'}], ['Q4095983', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { resource:Q2309211 property:P17 ?q . resource:Q4095983 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Ukraine
Ukraine is Kostychany and Bratske a part of
Ukraine
action filter_type
action intersection
action find
entity Kostychany
relation country
action find
entity Bratske
relation country
type designation for an administrative territorial entity
{'AND': [['Kostychany', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bratske', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Kostychany property:country ?q . resource:Bratske property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q212
P36
Q515
USER
What is the capital of that administrative territory ?
(Q212,P36,c(Q515))
action filter_type
action find
entity Q212
relation P36
type Q515
['Q212', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q212 property:P36 ?e . ?e rdf:type ontology:Q515 }
Ukraine
action filter_type
action find
entity Ukraine
relation capital
type city
['Ukraine', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Ukraine property:capital ?e . ?e rdf:type ontology:city }
[]
city
Q1899
SYSTEM
Kyiv
Q1899
(Q212,P36,c(Q515))
action filter_type
action find
entity Q212
relation P36
type Q515
The capital of that administrative territory is of [ANSWER]
['Q212', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q212 property:P36 ?e . ?e rdf:type ontology:Q515 }
Kyiv
The capital of that administrative territory is of Kyiv
Kyiv
action filter_type
action find
entity Ukraine
relation capital
type city
['Ukraine', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Ukraine property:capital ?e . ?e rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1899 Q1958133 Q25331
P190
Q56061
USER
Is Kyiv twin town of Brighton, New Zealand and Odense ?
(Q1899,P190,Q1958133) (Q1899,P190,Q25331)
action is_in
entity Q1899
action intersection
action find_reverse
entity Q1958133
relation P190
action find_reverse
entity Q25331
relation P190
['Q1899', 'P190', 'Q1958133'] ['Q1899', 'P190', 'Q25331']
ASK WHERE { resource:Q1899 property:P190 resource:Q1958133 . resource:Q1899 property:P190 resource:Q25331 }
Kyiv Brighton, New Zealand Odense
action is_in
entity Kyiv
action intersection
action find_reverse
entity Brighton, New Zealand
relation sister city
action find_reverse
entity Odense
relation sister city
['Kyiv', 'sister city', 'Brighton, New Zealand'] ['Kyiv', 'sister city', 'Odense']
ASK WHERE { resource:Kyiv property:sister_city resource:Brighton,_New_Zealand . resource:Kyiv property:sister_city resource:Odense }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q1899,P190,Q1958133) (Q1899,P190,Q25331)
action is_in
entity Q1899
action intersection
action find_reverse
entity Q1958133
relation P190
action find_reverse
entity Q25331
relation P190
[ANSWER]
['Q1899', 'P190', 'Q1958133'] ['Q1899', 'P190', 'Q25331']
ASK WHERE { resource:Q1899 property:P190 resource:Q1958133 . resource:Q1899 property:P190 resource:Q25331 }
NO and YES respectively
action is_in
entity Kyiv
action intersection
action find_reverse
entity Brighton, New Zealand
relation sister city
action find_reverse
entity Odense
relation sister city
['Kyiv', 'sister city', 'Brighton, New Zealand'] ['Kyiv', 'sister city', 'Odense']
ASK WHERE { resource:Kyiv property:sister_city resource:Brighton,_New_Zealand . resource:Kyiv property:sister_city resource:Odense }
[]