Simple Question (Direct)
Simple Question
Q2337843
P106
Q12737077
USER
Which occupation has Stefan Utsch as his/her 's career ?
(Q2337843,P106,c(Q12737077))
action filter_type
action find
entity Q2337843
relation P106
type Q12737077
['Q2337843', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q2337843 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Stefan Utsch
action filter_type
action find
entity Stefan Utsch
relation occupation
type occupation
['Stefan Utsch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Stefan_Utsch property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q2337843,P106,c(Q12737077))
action filter_type
action find
entity Q2337843
relation P106
type Q12737077
[ANSWER] has Stefan Utsch as his/her 's career
['Q2337843', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q2337843 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
writer
Writer has Stefan Utsch as his/her 's career
writer
action filter_type
action find
entity Stefan Utsch
relation occupation
type occupation
['Stefan Utsch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Stefan_Utsch property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36180
P921
Q571
USER
Which book has that occupation as its main topic ?
(c(Q571),P921,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P921
type Q571
[{'concept': 'Q571'}, 'P921', 'Q36180']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q36180 . ?c rdf:type ontology:Q571 }
writer
action filter_type
action find_reverse
entity writer
relation main subject
type book
[{'concept': 'book'}, 'main subject', 'writer']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:writer . ?c rdf:type ontology:book }
[]
book
Q15291012
SYSTEM
Writers and Radio
Q15291012
(c(Q571),P921,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P921
type Q571
[ANSWER] has that occupation as its main topic
[{'concept': 'Q571'}, 'P921', 'Q36180']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q36180 . ?c rdf:type ontology:Q571 }
Writers and Radio
Writers and Radio has that occupation as its main topic
Writers and Radio
action filter_type
action find_reverse
entity writer
relation main subject
type book
[{'concept': 'book'}, 'main subject', 'writer']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:writer . ?c rdf:type ontology:book }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15291012
P291
Q56061
USER
Which administrative territory is the place of publication of that book ?
(Q15291012,P291,c(Q56061))
action filter_type
action find
entity Q15291012
relation P291
type Q56061
['Q15291012', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q15291012 property:P291 ?o . ?o rdf:type ontology:Q56061 }
Writers and Radio
action filter_type
action find
entity Writers and Radio
relation place of publication
type administrative territorial entity
['Writers and Radio', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Writers_and_Radio property:place_of_publication ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3834
SYSTEM
Konstanz
Q3834
(Q15291012,P291,c(Q56061))
action filter_type
action find
entity Q15291012
relation P291
type Q56061
[ANSWER] is the place of publication of that book
['Q15291012', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q15291012 property:P291 ?o . ?o rdf:type ontology:Q56061 }
Konstanz
Konstanz is the place of publication of that book
Konstanz
action filter_type
action find
entity Writers and Radio
relation place of publication
type administrative territorial entity
['Writers and Radio', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Writers_and_Radio property:place_of_publication ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15291012
P98
Q502895
USER
Which people are the editors of that book ?
(Q3834,P98,c(Q502895))
action filter_type
action find
entity Q15291012
relation P98
type Q502895
['Q3834', 'P98', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q15291012 property:P98 ?e }
Writers and Radio
action filter_type
action find
entity Writers and Radio
relation editor
type common name
['Konstanz', 'editor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Writers_and_Radio property:editor ?e }
[]
common name
Q2141576 Q15291042
SYSTEM
Reinhold Viehoff, Jörg Hucklenbroich
Q2141576 Q15291042
(Q3834,P98,c(Q502895))
action filter_type
action find
entity Q15291012
relation P98
type Q502895
[ANSWERS] are the editors of that book
['Q3834', 'P98', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q15291012 property:P98 ?e }
Reinhold Viehoff Jörg Hucklenbroich
Reinhold Viehoff and Jörg Hucklenbroich are the editors of that book
Reinhold Viehoff Jörg Hucklenbroich
action filter_type
action find
entity Writers and Radio
relation editor
type common name
['Konstanz', 'editor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Writers_and_Radio property:editor ?e }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4801892 Q2337843
P19 P20
Q56061
USER
Which administrative territories did Stefan Utsch die or were Artyom Lavrov born ?
OR((Q2337843,P20,c(Q56061)), (Q4801892,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2337843
relation P20
action find
entity Q4801892
relation P19
type Q56061
{'OR': [['Q2337843', 'P20', {'concept': 'Q56061'}], ['Q4801892', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q4801892 property:P19 ?p } UNION { resource:Q2337843 property:P20 ?p } } . ?p rdf:type ontology:Q56061 }
Artyom Lavrov Stefan Utsch
action filter_type
action union
action find
entity Stefan Utsch
relation place of death
action find
entity Artyom Lavrov
relation place of birth
type administrative territorial entity
{'OR': [['Stefan Utsch', 'place of death', {'concept': 'administrative territorial entity'}], ['Artyom Lavrov', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Artyom_Lavrov property:place_of_birth ?p } UNION { resource:Stefan_Utsch property:place_of_death ?p } } . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q521148 Q900
SYSTEM
Boppard, Kazan
Q521148 Q900
OR((Q2337843,P20,c(Q56061)), (Q4801892,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2337843
relation P20
action find
entity Q4801892
relation P19
type Q56061
Stefan Utsch died in [ANSWERS]
{'OR': [['Q2337843', 'P20', {'concept': 'Q56061'}], ['Q4801892', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q4801892 property:P19 ?p } UNION { resource:Q2337843 property:P20 ?p } } . ?p rdf:type ontology:Q56061 }
Boppard Kazan
Stefan Utsch died in Boppard and Kazan
Boppard Kazan
action filter_type
action union
action find
entity Stefan Utsch
relation place of death
action find
entity Artyom Lavrov
relation place of birth
type administrative territorial entity
{'OR': [['Stefan Utsch', 'place of death', {'concept': 'administrative territorial entity'}], ['Artyom Lavrov', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Artyom_Lavrov property:place_of_birth ?p } UNION { resource:Stefan_Utsch property:place_of_death ?p } } . ?p rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q521148
P19
Q502895
USER
How many people were born at Boppard ?
(c(Q502895),P19,Q521148)
action count
action filter_type
action find_reverse
entity Q521148
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q521148']
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:P19 resource:Q521148 . ?r rdf:type ontology:Q502895 }
Boppard
action count
action filter_type
action find_reverse
entity Boppard
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Boppard']
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:place_of_birth resource:Boppard . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
32
Q102170 Q2830328 Q1556055 Q15435210 Q514066 Q60859 Q1504463 Q104492 Q1358586 Q1690014 Q550272 Q2543629 Q1693909 Q501073 Q1116766 Q2173881 Q102325 Q23616153 Q1697344 Q109059 Q84416 Q6828338 Q1927393 Q1904355 Q1373542 Q60229 Q85663 Q57196 Q88498 Q1041697 Q20968918 Q19286935
(c(Q502895),P19,Q521148)
action count
action filter_type
action find_reverse
entity Q521148
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q521148']
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:P19 resource:Q521148 . ?r rdf:type ontology:Q502895 }
André Weis Alain Tourret Gustav Kampmann Rudolf Nickenig Daniel Tosh Fritz Strassmann Georg Goebel Norbert Neuser Heinrich Ernst Fier Joachim Caesar Franz Büchner Walter Bersch Nikolaus Lauxen Andreas Vogel Aloys Rump Rudolf Steinwand Hermann-Josef Lamberti Joseph Mallmann Johannes Büchner Franz Peter Knoodt Maria Terwiel Michael Bach Michael Falkenmayer Martin Kämpchen Robert Claussen Michael Thonet Heinrich von Siebold Franz Brentano Severin Roesen Carlheinz Moesta Hermann Otto Ippen Johannes Spiecker
32
action count
action filter_type
action find_reverse
entity Boppard
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Boppard']
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:place_of_birth resource:Boppard . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q521148
P937
Q502895
USER
Which people have that administrative territory as work location ?
action filter_type
action find_reverse
entity Q521148
relation P937
type Q502895
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q521148 . ?t rdf:type ontology:Q502895 }
Boppard
action filter_type
action find_reverse
entity Boppard
relation work location
type common name
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Boppard . ?t rdf:type ontology:common_name }
[]
common name
Q67808 Q16215692 Q1221942
SYSTEM
Martin Ebbertz, Johann Baptist Berger, Dieter Freese
Q16215692 Q1221942 Q6828338 Q67808
action filter_type
action find_reverse
entity Q521148
relation P937
type Q502895
[ANSWERS] have that administrative territory as work location
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q521148 . ?t rdf:type ontology:Q502895 }
Johann Baptist Berger Dieter Freese Michael Bach Martin Ebbertz
Martin Ebbertz, Johann Baptist Berger and Dieter Freese have that administrative territory as work location
Martin Ebbertz Johann Baptist Berger Dieter Freese
action filter_type
action find_reverse
entity Boppard
relation work location
type common name
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Boppard . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q900 Q613
P190
Q56061
USER
How many administrative territories are twin city of Kazan and Emirate of Dubai ?
(c(Q56061),P190,Q900) (c(Q56061),P190,Q613)
action count
action intersection
action filter_type
action find_reverse
entity Q900
relation P190
type Q56061
action filter_type
action find_reverse
entity Q613
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q900'] [{'concept': 'Q56061'}, 'P190', 'Q613']
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:P190 resource:Q613 . ?k rdf:type ontology:Q56061 . ?k property:P190 resource:Q900 . ?k rdf:type ontology:Q56061 }
Kazan Emirate of Dubai
action count
action intersection
action filter_type
action find_reverse
entity Kazan
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Emirate of Dubai
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Kazan'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Emirate of Dubai']
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:sister_city resource:Emirate_of_Dubai . ?k rdf:type ontology:administrative_territorial_entity . ?k property:sister_city resource:Kazan . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
Q1520 Q406
(c(Q56061),P190,Q900) (c(Q56061),P190,Q613)
action count
action intersection
action filter_type
action find_reverse
entity Q900
relation P190
type Q56061
action filter_type
action find_reverse
entity Q613
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q900'] [{'concept': 'Q56061'}, 'P190', 'Q613']
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:P190 resource:Q613 . ?k rdf:type ontology:Q56061 . ?k property:P190 resource:Q900 . ?k rdf:type ontology:Q56061 }
Astana Istanbul
2
action count
action intersection
action filter_type
action find_reverse
entity Kazan
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Emirate of Dubai
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Kazan'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Emirate of Dubai']
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:sister_city resource:Emirate_of_Dubai . ?k rdf:type ontology:administrative_territorial_entity . ?k property:sister_city resource:Kazan . ?k rdf:type ontology:administrative_territorial_entity }
[]