Simple Question (Direct)
Simple Question
Q1696406
P512
Q3412758
USER
Which qualification does Johannes Trautenbul hold ?
(Q1696406,P512,c(Q3412758))
action filter_type
action find
entity Q1696406
relation P512
type Q3412758
['Q1696406', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q3412758 . resource:Q1696406 property:P512 ?m }
Johannes Trautenbul
action filter_type
action find
entity Johannes Trautenbul
relation academic degree
type qualification
['Johannes Trautenbul', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:qualification . resource:Johannes_Trautenbul property:academic_degree ?m }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1696406,P512,c(Q3412758))
action filter_type
action find
entity Q1696406
relation P512
type Q3412758
Johannes Trautenbul holds a [ANSWER]
['Q1696406', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q3412758 . resource:Q1696406 property:P512 ?m }
doctoral degree
Johannes Trautenbul holds a doctoral degree
doctoral degree
action filter_type
action find
entity Johannes Trautenbul
relation academic degree
type qualification
['Johannes Trautenbul', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:qualification . resource:Johannes_Trautenbul property:academic_degree ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1696406
P937
Q56061
USER
Where did that person work ?
(Q849697,P937,c(Q56061))
action filter_type
action find
entity Q1696406
relation P937
type Q56061
['Q849697', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q1696406 property:P937 ?a . ?a rdf:type ontology:Q56061 }
Johannes Trautenbul
action filter_type
action find
entity Johannes Trautenbul
relation work location
type administrative territorial entity
['doctoral degree', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Johannes_Trautenbul property:work_location ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q6837 Q2814
SYSTEM
Lutherstadt Wittenberg, Halle (Saale)
Q6837 Q2814
(Q849697,P937,c(Q56061))
action filter_type
action find
entity Q1696406
relation P937
type Q56061
That person worked at [ANSWERS]
['Q849697', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q1696406 property:P937 ?a . ?a rdf:type ontology:Q56061 }
Lutherstadt Wittenberg Halle (Saale)
That person worked at Lutherstadt Wittenberg and Halle (Saale)
Lutherstadt Wittenberg Halle (Saale)
action filter_type
action find
entity Johannes Trautenbul
relation work location
type administrative territorial entity
['doctoral degree', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Johannes_Trautenbul property:work_location ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q6837 Q2814
P190
Q515
USER
Which cities are twin towns of those administrative territories ?
(Q6837,P190,c(Q515)) (Q2814,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
['Q6837', 'P190', {'concept': 'Q515'}] ['Q2814', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . VALUES ( ?s ) { ( resource:Q6837 ) ( resource:Q2814 ) } . ?s property:P190 ?m }
Lutherstadt Wittenberg Halle (Saale)
action filter_type
action find
entity prev_answer
relation sister city
type city
['Lutherstadt Wittenberg', 'sister city', {'concept': 'city'}] ['Halle (Saale)', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . VALUES ( ?s ) { ( resource:Lutherstadt_Wittenberg ) ( resource:Halle_(Saale) ) } . ?s property:sister_city ?m }
[]
city
Q178878 Q58178 Q3185
SYSTEM
Békéscsaba, Jiaxing, Hildesheim
Q178878 Q58178 Q3185
(Q6837,P190,c(Q515)) (Q2814,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
[ANSWERS] are twin towns of those administrative territories
['Q6837', 'P190', {'concept': 'Q515'}] ['Q2814', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . VALUES ( ?s ) { ( resource:Q6837 ) ( resource:Q2814 ) } . ?s property:P190 ?m }
Békéscsaba Jiaxing Hildesheim
Békéscsaba, Jiaxing and Hildesheim are twin towns of those administrative territories
Békéscsaba Jiaxing Hildesheim
action filter_type
action find
entity prev_answer
relation sister city
type city
['Lutherstadt Wittenberg', 'sister city', {'concept': 'city'}] ['Halle (Saale)', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . VALUES ( ?s ) { ( resource:Lutherstadt_Wittenberg ) ( resource:Halle_(Saale) ) } . ?s property:sister_city ?m }
[]
Clarification
Simple Question|Single Entity|Indirect
Q58178
P47
Q515
USER
Which city is next to the border of that one ?
(c(Q515),P47,Q58178)
action filter_type
action find
entity Q58178
relation P47
type Q515
[{'concept': 'Q515'}, 'P47', 'Q58178']
SELECT DISTINCT ?c WHERE { resource:Q58178 property:P47 ?c . ?c rdf:type ontology:Q515 }
Jiaxing
action filter_type
action find
entity Jiaxing
relation shares border with
type city
[{'concept': 'city'}, 'shares border with', 'Jiaxing']
SELECT DISTINCT ?c WHERE { resource:Jiaxing property:shares_border_with ?c . ?c rdf:type ontology:city }
[]
city
Clarification for simple ques.
Q178878
SYSTEM
Did you mean Békéscsaba ?
Q178878 Q58178 Q3185
(c(Q515),P47,Q178878) (c(Q515),P47,Q58178) (c(Q515),P47,Q3185)
[ANSWER]
[{'concept': 'Q515'}, 'P47', 'Q178878'] [{'concept': 'Q515'}, 'P47', 'Q58178'] [{'concept': 'Q515'}, 'P47', 'Q3185']
SELECT DISTINCT ?c WHERE { resource:Q58178 property:P47 ?c . ?c rdf:type ontology:Q515 }
Békéscsaba Jiaxing Hildesheim
Did you mean Békéscsaba ?
Békéscsaba
[{'concept': 'city'}, 'shares border with', 'Békéscsaba'] [{'concept': 'city'}, 'shares border with', 'Jiaxing'] [{'concept': 'city'}, 'shares border with', 'Hildesheim']
SELECT DISTINCT ?c WHERE { resource:Jiaxing property:shares_border_with ?c . ?c rdf:type ontology:city }
[]
Simple Question (Coreferenced)
USER
No, I meant Jiaxing. Could you tell me the answer for that?
(c(Q515),P47,Q58178)
Q58178
[{'concept': 'Q515'}, 'P47', 'Q58178']
[{'concept': 'city'}, 'shares border with', 'Jiaxing']
[]
Q42622
SYSTEM
Suzhou
Q42622
(c(Q515),P47,Q58178)
action filter_type
action find
entity Q58178
relation P47
type Q515
[ANSWER] is next to the border of that one
[{'concept': 'Q515'}, 'P47', 'Q58178']
SELECT DISTINCT ?c WHERE { resource:Q58178 property:P47 ?c . ?c rdf:type ontology:Q515 }
Suzhou
Suzhou is next to the border of that one
Suzhou
action filter_type
action find
entity Jiaxing
relation shares border with
type city
[{'concept': 'city'}, 'shares border with', 'Jiaxing']
SELECT DISTINCT ?c WHERE { resource:Jiaxing property:shares_border_with ?c . ?c rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2418347 Q178878
P190 P20
Q515
USER
Which cities are twin cities of Békéscsaba or did the demise of Theodor Sternberg occur ?
OR((Q178878,P190,c(Q515)), (Q2418347,P20,c(Q515)))
action filter_type
action union
action find
entity Q178878
relation P190
action find
entity Q2418347
relation P20
type Q515
{'OR': [['Q178878', 'P190', {'concept': 'Q515'}], ['Q2418347', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q2418347 property:P20 ?n } UNION { resource:Q178878 property:P190 ?n } } . ?n rdf:type ontology:Q515 }
Theodor Sternberg Békéscsaba
action filter_type
action union
action find
entity Békéscsaba
relation sister city
action find
entity Theodor Sternberg
relation place of death
type city
{'OR': [['Békéscsaba', 'sister city', {'concept': 'city'}], ['Theodor Sternberg', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Theodor_Sternberg property:place_of_death ?n } UNION { resource:Békéscsaba property:sister_city ?n } } . ?n rdf:type ontology:city }
[]
city
Q5540 Q2100
SYSTEM
Penza, Duisburg
Q5540 Q2100
OR((Q178878,P190,c(Q515)), (Q2418347,P20,c(Q515)))
action filter_type
action union
action find
entity Q178878
relation P190
action find
entity Q2418347
relation P20
type Q515
[ANSWERS] are twin cities of Békéscsaba or did the demise of Theodor Sternberg occur
{'OR': [['Q178878', 'P190', {'concept': 'Q515'}], ['Q2418347', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q2418347 property:P20 ?n } UNION { resource:Q178878 property:P190 ?n } } . ?n rdf:type ontology:Q515 }
Penza Duisburg
Penza and Duisburg are twin cities of Békéscsaba or did the demise of Theodor Sternberg occur
Penza Duisburg
action filter_type
action union
action find
entity Békéscsaba
relation sister city
action find
entity Theodor Sternberg
relation place of death
type city
{'OR': [['Békéscsaba', 'sister city', {'concept': 'city'}], ['Theodor Sternberg', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Theodor_Sternberg property:place_of_death ?n } UNION { resource:Békéscsaba property:sister_city ?n } } . ?n rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5540 Q2100
P20
Q502895
USER
Which people have those cities as the area of death ?
(c(Q502895),P20,Q5540) (c(Q502895),P20,Q2100)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q5540'] [{'concept': 'Q502895'}, 'P20', 'Q2100']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P20 ?z . VALUES ( ?z ) { ( resource:Q5540 ) ( resource:Q2100 ) } }
Penza Duisburg
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Penza'] [{'concept': 'common name'}, 'place of death', 'Duisburg']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:place_of_death ?z . VALUES ( ?z ) { ( resource:Penza ) ( resource:Duisburg ) } }
[]
common name
Q3955925 Q1560566 Q6353
SYSTEM
Sergei Filippenkov, Günter Henle, Gerardus Mercator
Q4538079 Q5609052 Q4405031 Q4207535 Q4056628 Q958052 Q21094517 Q4528797 Q4438239 Q5763621 Q20029010 Q4095390 Q4240004 Q4265458 Q13580442 Q15015281 Q4246227 Q21131194 Q3572246 Q3955925 Q7701048 Q4450899 Q4259019 Q26243814 Q4403918 Q1669925 Q763958 Q1458142 Q2039486 Q2573899 Q67512 Q1910113 Q325533 Q6353 Q84834 Q2039768 Q695150 Q90467 Q1579361 Q2418347 Q1176377 Q26913025 Q1599199 Q1647798 Q993261 Q1598739 Q19197380 Q1584239 Q18815147 Q20753993 Q453108 Q1403490 Q1712682 Q1596885 Q768876 Q4170392 Q72072 Q4205899 Q1561261 Q2562777 Q6371643 Q658091 Q1818755 Q554378 Q1366751 Q1596613 Q1579877 Q1462929 Q1581930 Q589552 Q695779 Q1269090 Q1278893 Q2059983 Q1029856 Q4019833 Q2417841 Q1337044 Q5388021 Q4800243 Q1818787 Q99457 Q66257 Q1433262 Q1283822 Q65482 Q1913351 Q1694039 Q1539220 Q8002272 Q1145108 Q1560566 Q19630051 Q1519658 Q2076333 Q1511467 Q91205 Q1329001 Q329048 Q1696990 Q1558595 Q120440 Q1708026 Q1574775 Q2077578 Q1359110 Q2574203 Q895945 Q1600485 Q1732870 Q120171 Q20750950 Q2040004 Q6280053 Q125453 Q92124 Q760863 Q78061 Q214896 Q1405666 Q1696511 Q1609242 Q1249337 Q1908611 Q1435458 Q1929045 Q1556610 Q2286744 Q65935 Q1466762
(c(Q502895),P20,Q5540) (c(Q502895),P20,Q2100)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[ANSWERS] have those cities as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q5540'] [{'concept': 'Q502895'}, 'P20', 'Q2100']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P20 ?z . VALUES ( ?z ) { ( resource:Q5540 ) ( resource:Q2100 ) } }
Yury Yanichkin Grigore Turcuman Valery Sazonov Aleksandr Kazakov Viktor Agapov Konstantin Savitsky Aleksandr Ivanovich Grishnyayev Alexander Evgenyevich Shcherbakov Ivan Sprygin Jēkabs Kazaks Władimir Gubin Vasily Bochkaryov Gustav Kreidtner Lyudmila Lozitskaya Nicolae Secară Nikolai Karlovich Grandkovsky Fiodor Kulikow Vasilij Samsonovich Yurkin Yevgueni Bassouline Sergei Filippenkov Teodor Neaga Mariya Tambulatova Ivan Sergejevič Leontjev Gennady Svyatov Oleg Savin Wolfgang Fischer August Seeling Friedrich Arnold Hasenkamp Otto Keller Wilhelm Lantermann Karl Jarres Matthias Lixenfeld Hans Schneider Gerardus Mercator Ferdinand aus der Fünten Carl Otto Leverkus Arnold Fischer Helmut Witte Hans Erdmann Theodor Sternberg David Rokeah Vladimír Vacátko Heinrich Weitz Paul Märzheuser Bruno Fugmann Heinrich Schlagewerth Friedrich Mohn Wilhelm Brockhaus Richard Schneider Heinrich Theodor Pagenstecher Amalie Weidner-Steinhaus Felix Günther Julius Heinrich Buggenhagen Heinrich Busch Augustinus Heinrich Henckel von Donnersmarck Svetomir Đukić Johannes Clauberg Walther Josephson Günter Roden Werner Trenkner Karl Bohnenkamp Werner Krämer Leo Storm Paul Günther Johann Wilhelm Welker Heinrich Averdunk Hans Joachim Griem Friedrich Wilhelm Curtius Hans Rehberg Anton Gebler Arnold Mercator Gustav Stapp Eberhard Brünen Paul Harpe Richard Lenzmann Wilhelm Ritzenhoff Theodor Keetman Emil Ziegenmeyer Erich Eisenblätter Arthur Saxon Leo Winkel Johann Hildebrand Withof Johann Gottlob Leidenfrost Fritz Johlitz Franz Friedrich Graeber Jörg Berger Max Scheunemann Johann Gerhard Hasenkamp Gottfried Hinze Wilhelm Philipp Curt Gröper Günter Henle Julius Nolden Joseph Illerhaus Peter Klöckner Gerhard Degenkolb Johann von Ravenstein Elias Christoph Krafft Hans Biallas Johanna Niederhellmann Peter Friedrich Engstfeld Stefan Fröhlich Josef Spohr Hermann Gehl Peter Poelzig Ernst Kuss Wilhelm Meyer-Markau Hans Helfritz Heinz Knappe Karl Schmitz Karl Lehr Josef Follmann Otto Most Josef Niemietz Gotthard Jedlicka Max Walter August Bechem Friedrich Raschig Peter Joseph Osterhaus Ferdinand Oppenberg Johann Wassenberch Herbert W. Köhler Johann Risztics Mathieu Elie Matthes Folkert Rickers Michael Rodenstock Gustav Cube Silvia Müller Walter Blume Fritz Holthoff
Sergei Filippenkov, Günter Henle and Gerardus Mercator have those cities as the area of death
Sergei Filippenkov Günter Henle Gerardus Mercator
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Penza'] [{'concept': 'common name'}, 'place of death', 'Duisburg']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:place_of_death ?z . VALUES ( ?z ) { ( resource:Penza ) ( resource:Duisburg ) } }
[]