Simple Question (Direct)
Simple Question
Q1512318
P937
Q56061
USER
Which is the work location of Gerhard Reddemann ?
(Q1512318,P937,c(Q56061))
action filter_type
action find
entity Q1512318
relation P937
type Q56061
['Q1512318', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1512318 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Gerhard Reddemann
action filter_type
action find
entity Gerhard Reddemann
relation work location
type administrative territorial entity
['Gerhard Reddemann', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Gerhard_Reddemann property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q586
SYSTEM
Bonn
Q586
(Q1512318,P937,c(Q56061))
action filter_type
action find
entity Q1512318
relation P937
type Q56061
[ANSWER] is the work location of Gerhard Reddemann
['Q1512318', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1512318 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Bonn
Bonn is the work location of Gerhard Reddemann
Bonn
action filter_type
action find
entity Gerhard Reddemann
relation work location
type administrative territorial entity
['Gerhard Reddemann', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Gerhard_Reddemann property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q586
P119
Q502895
USER
Which person has that administrative territory as place of burial ?
(c(Q502895),P119,Q586)
action filter_type
action find_reverse
entity Q586
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q586']
SELECT DISTINCT ?w WHERE { ?w property:P119 resource:Q586 . ?w rdf:type ontology:Q502895 }
Bonn
action filter_type
action find_reverse
entity Bonn
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Bonn']
SELECT DISTINCT ?w WHERE { ?w property:place_of_burial resource:Bonn . ?w rdf:type ontology:common_name }
[]
common name
Q24306550
SYSTEM
Marie-Edith Strasburger
Q24306550
(c(Q502895),P119,Q586)
action filter_type
action find_reverse
entity Q586
relation P119
type Q502895
[ANSWER] has that administrative territory as place of burial
[{'concept': 'Q502895'}, 'P119', 'Q586']
SELECT DISTINCT ?w WHERE { ?w property:P119 resource:Q586 . ?w rdf:type ontology:Q502895 }
Marie-Edith Strasburger
Marie-Edith Strasburger has that administrative territory as place of burial
Marie-Edith Strasburger
action filter_type
action find_reverse
entity Bonn
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Bonn']
SELECT DISTINCT ?w WHERE { ?w property:place_of_burial resource:Bonn . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24306550
P26
Q502895
USER
Which person is the spouse of that one ?
(Q24306550,P26,c(Q502895))
action filter_type
action find
entity Q24306550
relation P26
type Q502895
['Q24306550', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q24306550 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Marie-Edith Strasburger
action filter_type
action find
entity Marie-Edith Strasburger
relation spouse
type common name
['Marie-Edith Strasburger', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Marie-Edith_Strasburger property:spouse ?z . ?z rdf:type ontology:common_name }
[]
common name
Q1713009
SYSTEM
Julius Strasburger
Q1713009
(Q24306550,P26,c(Q502895))
action filter_type
action find
entity Q24306550
relation P26
type Q502895
[ANSWER] is the spouse of that one
['Q24306550', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q24306550 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Julius Strasburger
Julius Strasburger is the spouse of that one
Julius Strasburger
action filter_type
action find
entity Marie-Edith Strasburger
relation spouse
type common name
['Marie-Edith Strasburger', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Marie-Edith_Strasburger property:spouse ?z . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q61646 Q24306550
P19 P20
Q515
USER
Which cities did the expiration of Marie-Edith Strasburger occur or were Mirko Slomka born ?
OR((Q24306550,P20,c(Q515)), (Q61646,P19,c(Q515)))
action filter_type
action union
action find
entity Q24306550
relation P20
action find
entity Q61646
relation P19
type Q515
{'OR': [['Q24306550', 'P20', {'concept': 'Q515'}], ['Q61646', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q24306550 property:P20 ?x } UNION { resource:Q61646 property:P19 ?x } } . ?x rdf:type ontology:Q515 }
Mirko Slomka Marie-Edith Strasburger
action filter_type
action union
action find
entity Marie-Edith Strasburger
relation place of death
action find
entity Mirko Slomka
relation place of birth
type city
{'OR': [['Marie-Edith Strasburger', 'place of death', {'concept': 'city'}], ['Mirko Slomka', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Marie-Edith_Strasburger property:place_of_death ?x } UNION { resource:Mirko_Slomka property:place_of_birth ?x } } . ?x rdf:type ontology:city }
[]
city
Q3185 Q1794
SYSTEM
Hildesheim, Frankfurt
Q3185 Q1794
OR((Q24306550,P20,c(Q515)), (Q61646,P19,c(Q515)))
action filter_type
action union
action find
entity Q24306550
relation P20
action find
entity Q61646
relation P19
type Q515
The expiration of Marie-Edith Strasburger occurred in [ANSWERS]
{'OR': [['Q24306550', 'P20', {'concept': 'Q515'}], ['Q61646', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q24306550 property:P20 ?x } UNION { resource:Q61646 property:P19 ?x } } . ?x rdf:type ontology:Q515 }
Hildesheim Frankfurt
The expiration of Marie-Edith Strasburger occurred in Hildesheim and Frankfurt
Hildesheim Frankfurt
action filter_type
action union
action find
entity Marie-Edith Strasburger
relation place of death
action find
entity Mirko Slomka
relation place of birth
type city
{'OR': [['Marie-Edith Strasburger', 'place of death', {'concept': 'city'}], ['Mirko Slomka', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Marie-Edith_Strasburger property:place_of_death ?x } UNION { resource:Mirko_Slomka property:place_of_birth ?x } } . ?x rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1512318
P463
Q484652
USER
What was Gerhard Reddemann a member of ?
(Q1512318,P463,c(Q484652))
action filter_type
action find
entity Q1512318
relation P463
type Q484652
['Q1512318', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?w WHERE { resource:Q1512318 property:P463 ?w . ?w rdf:type ontology:Q484652 }
Gerhard Reddemann
action filter_type
action find
entity Gerhard Reddemann
relation member of
type international organization
['Gerhard Reddemann', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?w WHERE { resource:Gerhard_Reddemann property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
international organization
Q939743
SYSTEM
Parliamentary Assembly of the Council of Europe
Q939743
(Q1512318,P463,c(Q484652))
action filter_type
action find
entity Q1512318
relation P463
type Q484652
Gerhard Reddemann a member of was the [ANSWER]
['Q1512318', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?w WHERE { resource:Q1512318 property:P463 ?w . ?w rdf:type ontology:Q484652 }
Parliamentary Assembly of the Council of Europe
Gerhard Reddemann a member of was the Parliamentary Assembly of the Council of Europe
Parliamentary Assembly of the Council of Europe
action filter_type
action find
entity Gerhard Reddemann
relation member of
type international organization
['Gerhard Reddemann', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?w WHERE { resource:Gerhard_Reddemann property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1794
P551
Q502895
USER
Which people have residence at Frankfurt ?
(c(Q502895),P551,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1794']
SELECT DISTINCT ?l WHERE { ?l property:P551 resource:Q1794 . ?l rdf:type ontology:Q502895 }
Frankfurt
action filter_type
action find_reverse
entity Frankfurt
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Frankfurt']
SELECT DISTINCT ?l WHERE { ?l property:residence resource:Frankfurt . ?l rdf:type ontology:common_name }
[]
common name
Q17496561 Q4583 Q38193
SYSTEM
Armin Kutzsche, Anne Frank, Arthur Schopenhauer
Q16522121 Q16004136 Q38193 Q15986688 Q26902539 Q18347222 Q61790 Q23498023 Q3313228 Q20829318 Q18392988 Q20810789 Q19824324 Q5437789 Q112007 Q4583 Q17496561
(c(Q502895),P551,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P551
type Q502895
[ANSWERS] have residence at Frankfurt
[{'concept': 'Q502895'}, 'P551', 'Q1794']
SELECT DISTINCT ?l WHERE { ?l property:P551 resource:Q1794 . ?l rdf:type ontology:Q502895 }
Heinrich Baab Mary Ellen Best Arthur Schopenhauer Mayra Conde Almuth Heuner Wenzel Goldbaum Alexander Waske Ole Weissenberger Mike Bouchet Detmar Wilhelm Soemmerring Stefan Kutzsche Johann Karl Passavant Karl Binding Fatih Kocamis Lucy Hillebrand Anne Frank Armin Kutzsche
Armin Kutzsche, Anne Frank and Arthur Schopenhauer have residence at Frankfurt
Armin Kutzsche Anne Frank Arthur Schopenhauer
action filter_type
action find_reverse
entity Frankfurt
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Frankfurt']
SELECT DISTINCT ?l WHERE { ?l property:residence resource:Frankfurt . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4583
P50
Q571
USER
Which book was written by that person ?
(c(Q571),P50,Q4583)
action filter_type
action find_reverse
entity Q4583
relation P50
type Q571
[{'concept': 'Q571'}, 'P50', 'Q4583']
SELECT DISTINCT ?l WHERE { ?l property:P50 resource:Q4583 . ?l rdf:type ontology:Q571 }
Anne Frank
action filter_type
action find_reverse
entity Anne Frank
relation author
type book
[{'concept': 'book'}, 'author', 'Anne Frank']
SELECT DISTINCT ?l WHERE { ?l property:author resource:Anne_Frank . ?l rdf:type ontology:book }
[]
book
Clarification for simple ques.
Q4583
SYSTEM
Did you mean Anne Frank ?
Q17496561 Q4583 Q38193
(c(Q571),P50,Q17496561) (c(Q571),P50,Q4583) (c(Q571),P50,Q38193)
[ANSWER]
[{'concept': 'Q571'}, 'P50', 'Q17496561'] [{'concept': 'Q571'}, 'P50', 'Q4583'] [{'concept': 'Q571'}, 'P50', 'Q38193']
SELECT DISTINCT ?l WHERE { ?l property:P50 resource:Q4583 . ?l rdf:type ontology:Q571 }
Armin Kutzsche Anne Frank Arthur Schopenhauer
Did you mean Anne Frank ?
Anne Frank
[{'concept': 'book'}, 'author', 'Armin Kutzsche'] [{'concept': 'book'}, 'author', 'Anne Frank'] [{'concept': 'book'}, 'author', 'Arthur Schopenhauer']
SELECT DISTINCT ?l WHERE { ?l property:author resource:Anne_Frank . ?l rdf:type ontology:book }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q571),P50,Q4583)
[{'concept': 'Q571'}, 'P50', 'Q4583']
[{'concept': 'book'}, 'author', 'Anne Frank']
[]
Q20901632
SYSTEM
Убежище. Дневник в письмах
Q20901632
(c(Q571),P50,Q4583)
action filter_type
action find_reverse
entity Q4583
relation P50
type Q571
[ANSWER] was written by that person
[{'concept': 'Q571'}, 'P50', 'Q4583']
SELECT DISTINCT ?l WHERE { ?l property:P50 resource:Q4583 . ?l rdf:type ontology:Q571 }
Убежище. Дневник в письмах
Убежище. Дневник в письмах was written by that person
Убежище. Дневник в письмах
action filter_type
action find_reverse
entity Anne Frank
relation author
type book
[{'concept': 'book'}, 'author', 'Anne Frank']
SELECT DISTINCT ?l WHERE { ?l property:author resource:Anne_Frank . ?l rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4583
P22
Q502895
USER
Who was the dad of Anne Frank ?
(Q4583,P22,c(Q502895))
action filter_type
action find
entity Q4583
relation P22
type Q502895
['Q4583', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q4583 property:P22 ?e . ?e rdf:type ontology:Q502895 }
Anne Frank
action filter_type
action find
entity Anne Frank
relation father
type common name
['Anne Frank', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Anne_Frank property:father ?e . ?e rdf:type ontology:common_name }
[]
common name
Q7336
SYSTEM
Otto Frank
Q7336
(Q4583,P22,c(Q502895))
action filter_type
action find
entity Q4583
relation P22
type Q502895
The dad of Anne Frank was named [ANSWER]
['Q4583', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q4583 property:P22 ?e . ?e rdf:type ontology:Q502895 }
Otto Frank
The dad of Anne Frank was named Otto Frank
Otto Frank
action filter_type
action find
entity Anne Frank
relation father
type common name
['Anne Frank', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Anne_Frank property:father ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4394256
Q502895
USER
And what about Tomáš Řezáč?
(Q4394256,P22,c(Q502895))
action filter_type
action find
entity Q4394256
relation P22
type Q502895
['Q4394256', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q4394256 property:P22 ?n . ?n rdf:type ontology:Q502895 }
Tomáš Řezáč
action filter_type
action find
entity Tomáš Řezáč
relation father
type common name
['Tomáš Řezáč', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Tomáš_Řezáč property:father ?n . ?n rdf:type ontology:common_name }
[]
common name
Q11985989
SYSTEM
Václav Řezáč
Q11985989
(Q4394256,P22,c(Q502895))
action filter_type
action find
entity Q4394256
relation P22
type Q502895
[ANSWER]
['Q4394256', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q4394256 property:P22 ?n . ?n rdf:type ontology:Q502895 }
Václav Řezáč
Václav Řezáč
action filter_type
action find
entity Tomáš Řezáč
relation father
type common name
['Tomáš Řezáč', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Tomáš_Řezáč property:father ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q11985989
P22
Q502895
USER
How many people have Václav Řezáč as a parent ?
(c(Q502895),P22,Q11985989)
action count
action filter_type
action find_reverse
entity Q11985989
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q11985989']
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P22 resource:Q11985989 . ?h rdf:type ontology:Q502895 }
Václav Řezáč
action count
action filter_type
action find_reverse
entity Václav Řezáč
relation father
type common name
[{'concept': 'common name'}, 'father', 'Václav Řezáč']
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:father resource:Václav_Řezáč . ?h rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q4394256 Q1147280
(c(Q502895),P22,Q11985989)
action count
action filter_type
action find_reverse
entity Q11985989
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q11985989']
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P22 resource:Q11985989 . ?h rdf:type ontology:Q502895 }
Tomáš Řezáč Ivan Řezáč
2
action count
action filter_type
action find_reverse
entity Václav Řezáč
relation father
type common name
[{'concept': 'common name'}, 'father', 'Václav Řezáč']
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:father resource:Václav_Řezáč . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11985989
P106
Q12737077
USER
Which occupation has Václav Řezáč as his/her 's career ?
(Q11985989,P106,c(Q12737077))
action filter_type
action find
entity Q11985989
relation P106
type Q12737077
['Q11985989', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q11985989 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Václav Řezáč
action filter_type
action find
entity Václav Řezáč
relation occupation
type occupation
['Václav Řezáč', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Václav_Řezáč property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q11985989,P106,c(Q12737077))
action filter_type
action find
entity Q11985989
relation P106
type Q12737077
[ANSWER] has Václav Řezáč as his/her 's career
['Q11985989', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q11985989 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
writer
Writer has Václav Řezáč as his/her 's career
writer
action filter_type
action find
entity Václav Řezáč
relation occupation
type occupation
['Václav Řezáč', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Václav_Řezáč property:occupation ?t . ?t rdf:type ontology:occupation }
[]