Simple Question (Direct)
Simple Question
Q1086119
P19
Q515
USER
Which city is the place of birth of Christoph Wirsung ?
(Q1086119,P19,c(Q515))
action filter_type
action find
entity Q1086119
relation P19
type Q515
['Q1086119', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . resource:Q1086119 property:P19 ?j }
Christoph Wirsung
action filter_type
action find
entity Christoph Wirsung
relation place of birth
type city
['Christoph Wirsung', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . resource:Christoph_Wirsung property:place_of_birth ?j }
[]
city
Q2749
SYSTEM
Augsburg
Q2749
(Q1086119,P19,c(Q515))
action filter_type
action find
entity Q1086119
relation P19
type Q515
[ANSWER] is the place of birth of Christoph Wirsung
['Q1086119', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . resource:Q1086119 property:P19 ?j }
Augsburg
Augsburg is the place of birth of Christoph Wirsung
Augsburg
action filter_type
action find
entity Christoph Wirsung
relation place of birth
type city
['Christoph Wirsung', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . resource:Christoph_Wirsung property:place_of_birth ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1086119
P20
Q515
USER
Where did the demise of that person occur ?
(Q2749,P20,c(Q515))
action filter_type
action find
entity Q1086119
relation P20
type Q515
['Q2749', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q1086119 property:P20 ?u . ?u rdf:type ontology:Q515 }
Christoph Wirsung
action filter_type
action find
entity Christoph Wirsung
relation place of death
type city
['Augsburg', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Christoph_Wirsung property:place_of_death ?u . ?u rdf:type ontology:city }
[]
city
Q2966
SYSTEM
Heidelberg
Q2966
(Q2749,P20,c(Q515))
action filter_type
action find
entity Q1086119
relation P20
type Q515
The demise of that person occurred in [ANSWER]
['Q2749', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q1086119 property:P20 ?u . ?u rdf:type ontology:Q515 }
Heidelberg
The demise of that person occurred in Heidelberg
Heidelberg
action filter_type
action find
entity Christoph Wirsung
relation place of death
type city
['Augsburg', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Christoph_Wirsung property:place_of_death ?u . ?u rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12037344 Q1086119
P19 P20
Q515
USER
Which cities did Christoph Wirsung die or were Milan Řehoř born in ?
OR((Q1086119,P20,c(Q515)), (Q12037344,P19,c(Q515)))
action filter_type
action union
action find
entity Q1086119
relation P20
action find
entity Q12037344
relation P19
type Q515
{'OR': [['Q1086119', 'P20', {'concept': 'Q515'}], ['Q12037344', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q12037344 property:P19 ?e } UNION { resource:Q1086119 property:P20 ?e } } . ?e rdf:type ontology:Q515 }
Milan Řehoř Christoph Wirsung
action filter_type
action union
action find
entity Christoph Wirsung
relation place of death
action find
entity Milan Řehoř
relation place of birth
type city
{'OR': [['Christoph Wirsung', 'place of death', {'concept': 'city'}], ['Milan Řehoř', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Milan_Řehoř property:place_of_birth ?e } UNION { resource:Christoph_Wirsung property:place_of_death ?e } } . ?e rdf:type ontology:city }
[]
city
Q2966 Q394453
SYSTEM
Heidelberg, Žďár nad Sázavou
Q2966 Q394453
OR((Q1086119,P20,c(Q515)), (Q12037344,P19,c(Q515)))
action filter_type
action union
action find
entity Q1086119
relation P20
action find
entity Q12037344
relation P19
type Q515
Christoph Wirsung died in [ANSWERS]
{'OR': [['Q1086119', 'P20', {'concept': 'Q515'}], ['Q12037344', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q12037344 property:P19 ?e } UNION { resource:Q1086119 property:P20 ?e } } . ?e rdf:type ontology:Q515 }
Heidelberg Žďár nad Sázavou
Christoph Wirsung died in Heidelberg and Žďár nad Sázavou
Heidelberg Žďár nad Sázavou
action filter_type
action union
action find
entity Christoph Wirsung
relation place of death
action find
entity Milan Řehoř
relation place of birth
type city
{'OR': [['Christoph Wirsung', 'place of death', {'concept': 'city'}], ['Milan Řehoř', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Milan_Řehoř property:place_of_birth ?e } UNION { resource:Christoph_Wirsung property:place_of_death ?e } } . ?e rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2966 Q394453
P6
Q502895
USER
Which people have Heidelberg and Žďár nad Sázavou as their heads of government ?
(Q2966,P6,c(Q502895)) (Q394453,P6,c(Q502895))
action union
action filter_type
action find
entity Q2966
relation P6
type Q502895
action filter_type
action find
entity Q394453
relation P6
type Q502895
['Q2966', 'P6', {'concept': 'Q502895'}] ['Q394453', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:Q502895 . resource:Q2966 property:P6 ?g } UNION { resource:Q394453 property:P6 ?g . ?g rdf:type ontology:Q502895 } }
Heidelberg Žďár nad Sázavou
action union
action filter_type
action find
entity Heidelberg
relation head of government
type common name
action filter_type
action find
entity Žďár nad Sázavou
relation head of government
type common name
['Heidelberg', 'head of government', {'concept': 'common name'}] ['Žďár nad Sázavou', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:common_name . resource:Heidelberg property:head_of_government ?g } UNION { resource:Žďár_nad_Sázavou property:head_of_government ?g . ?g rdf:type ontology:common_name } }
[]
common name
Q1281405 Q11774071
SYSTEM
Eckart Würzner, Dagmar Zvěřinová
Q1281405 Q11774071
(Q2966,P6,c(Q502895)) (Q394453,P6,c(Q502895))
action union
action filter_type
action find
entity Q2966
relation P6
type Q502895
action filter_type
action find
entity Q394453
relation P6
type Q502895
[ANSWERS] have Heidelberg and Žďár nad Sázavou as their heads of government
['Q2966', 'P6', {'concept': 'Q502895'}] ['Q394453', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:Q502895 . resource:Q2966 property:P6 ?g } UNION { resource:Q394453 property:P6 ?g . ?g rdf:type ontology:Q502895 } }
Eckart Würzner Dagmar Zvěřinová
Eckart Würzner and Dagmar Zvěřinová have Heidelberg and Žďár nad Sázavou as their heads of government
Eckart Würzner Dagmar Zvěřinová
action union
action filter_type
action find
entity Heidelberg
relation head of government
type common name
action filter_type
action find
entity Žďár nad Sázavou
relation head of government
type common name
['Heidelberg', 'head of government', {'concept': 'common name'}] ['Žďár nad Sázavou', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:common_name . resource:Heidelberg property:head_of_government ?g } UNION { resource:Žďár_nad_Sázavou property:head_of_government ?g . ?g rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2966
P166
Q618779
USER
What was received by Heidelberg ?
(Q2966,P166,c(Q618779))
action filter_type
action find
entity Q2966
relation P166
type Q618779
['Q2966', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q2966 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Heidelberg
action filter_type
action find
entity Heidelberg
relation award received
type award
['Heidelberg', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Heidelberg property:award_received ?e . ?e rdf:type ontology:award }
[]
award
Q20828891
SYSTEM
European City of the Reformation
Q20828891
(Q2966,P166,c(Q618779))
action filter_type
action find
entity Q2966
relation P166
type Q618779
[ANSWER] was received by Heidelberg
['Q2966', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q2966 property:P166 ?e . ?e rdf:type ontology:Q618779 }
European City of the Reformation
European City of the Reformation was received by Heidelberg
European City of the Reformation
action filter_type
action find
entity Heidelberg
relation award received
type award
['Heidelberg', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Heidelberg property:award_received ?e . ?e rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q20828891 Q5213431 Q46
P30
Q2221906
USER
Is European City of the Reformation included in Dan Duquette Sports Academy and Europe ?
(Q20828891,P30,Q5213431) (Q20828891,P30,Q46)
action is_in
entity Q20828891
action intersection
action find_reverse
entity Q5213431
relation P30
action find_reverse
entity Q46
relation P30
['Q20828891', 'P30', 'Q5213431'] ['Q20828891', 'P30', 'Q46']
ASK WHERE { resource:Q20828891 property:P30 resource:Q5213431 . resource:Q20828891 property:P30 resource:Q46 }
European City of the Reformation Dan Duquette Sports Academy Europe
action is_in
entity European City of the Reformation
action intersection
action find_reverse
entity Dan Duquette Sports Academy
relation continent
action find_reverse
entity Europe
relation continent
['European City of the Reformation', 'continent', 'Dan Duquette Sports Academy'] ['European City of the Reformation', 'continent', 'Europe']
ASK WHERE { resource:European_City_of_the_Reformation property:continent resource:Dan_Duquette_Sports_Academy . resource:European_City_of_the_Reformation property:continent resource:Europe }
[]
geographic location
SYSTEM
NO and YES respectively
(Q20828891,P30,Q5213431) (Q20828891,P30,Q46)
action is_in
entity Q20828891
action intersection
action find_reverse
entity Q5213431
relation P30
action find_reverse
entity Q46
relation P30
[ANSWER]
['Q20828891', 'P30', 'Q5213431'] ['Q20828891', 'P30', 'Q46']
ASK WHERE { resource:Q20828891 property:P30 resource:Q5213431 . resource:Q20828891 property:P30 resource:Q46 }
NO and YES respectively
action is_in
entity European City of the Reformation
action intersection
action find_reverse
entity Dan Duquette Sports Academy
relation continent
action find_reverse
entity Europe
relation continent
['European City of the Reformation', 'continent', 'Dan Duquette Sports Academy'] ['European City of the Reformation', 'continent', 'Europe']
ASK WHERE { resource:European_City_of_the_Reformation property:continent resource:Dan_Duquette_Sports_Academy . resource:European_City_of_the_Reformation property:continent resource:Europe }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2966
P138
Q17444909
USER
Which astronomical object type has Heidelberg as its namesake ?
(c(Q17444909),P138,Q2966)
action filter_type
action find_reverse
entity Q2966
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q2966']
SELECT DISTINCT ?d WHERE { ?d property:P138 resource:Q2966 . ?d rdf:type ontology:Q17444909 }
Heidelberg
action filter_type
action find_reverse
entity Heidelberg
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Heidelberg']
SELECT DISTINCT ?d WHERE { ?d property:named_after resource:Heidelberg . ?d rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q112428
SYSTEM
325 Heidelberga
Q112428
(c(Q17444909),P138,Q2966)
action filter_type
action find_reverse
entity Q2966
relation P138
type Q17444909
[ANSWER] has Heidelberg as its namesake
[{'concept': 'Q17444909'}, 'P138', 'Q2966']
SELECT DISTINCT ?d WHERE { ?d property:P138 resource:Q2966 . ?d rdf:type ontology:Q17444909 }
325 Heidelberga
325 Heidelberga has Heidelberg as its namesake
325 Heidelberga
action filter_type
action find_reverse
entity Heidelberg
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Heidelberg']
SELECT DISTINCT ?d WHERE { ?d property:named_after resource:Heidelberg . ?d rdf:type ontology:astronomical_object_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2966
P1376
Q1048835
USER
What has that city as its capital ?
(Q112428,P1376,c(Q1048835))
action filter_type
action find
entity Q2966
relation P1376
type Q1048835
['Q112428', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q2966 property:P1376 ?m . ?m rdf:type ontology:Q1048835 }
Heidelberg
action filter_type
action find
entity Heidelberg
relation capital of
type political territorial entity
['325 Heidelberga', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Heidelberg property:capital_of ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q22880
SYSTEM
Electoral Palatinate
Q22880
(Q112428,P1376,c(Q1048835))
action filter_type
action find
entity Q2966
relation P1376
type Q1048835
[ANSWER] has that city as its capital
['Q112428', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q2966 property:P1376 ?m . ?m rdf:type ontology:Q1048835 }
Electoral Palatinate
Electoral Palatinate has that city as its capital
Electoral Palatinate
action filter_type
action find
entity Heidelberg
relation capital of
type political territorial entity
['325 Heidelberga', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Heidelberg property:capital_of ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22880
P27
Q502895
USER
Which people are a citizen of that political territory ?
(c(Q502895),P27,Q22880)
action filter_type
action find_reverse
entity Q22880
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q22880']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P27 resource:Q22880 }
Electoral Palatinate
action filter_type
action find_reverse
entity Electoral Palatinate
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Electoral Palatinate']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:country_of_citizenship resource:Electoral_Palatinate }
[]
common name
Q18526909 Q469896
SYSTEM
John Daniel Getsius, Louise Hollandine of the Palatinate
Q18526909 Q469896
(c(Q502895),P27,Q22880)
action filter_type
action find_reverse
entity Q22880
relation P27
type Q502895
[ANSWERS] are a citizen of that political territory
[{'concept': 'Q502895'}, 'P27', 'Q22880']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P27 resource:Q22880 }
John Daniel Getsius Louise Hollandine of the Palatinate
John Daniel Getsius and Louise Hollandine of the Palatinate are a citizen of that political territory
John Daniel Getsius Louise Hollandine of the Palatinate
action filter_type
action find_reverse
entity Electoral Palatinate
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Electoral Palatinate']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:country_of_citizenship resource:Electoral_Palatinate }
[]