Simple Question (Direct)
Simple Question
Q6194742
P19
Q56061
USER
Which administrative territory is the place of birth of Jim Duffy ?
(Q6194742,P19,c(Q56061))
action filter_type
action find
entity Q6194742
relation P19
type Q56061
['Q6194742', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q6194742 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Jim Duffy
action filter_type
action find
entity Jim Duffy
relation place of birth
type administrative territorial entity
['Jim Duffy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Jim_Duffy property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q49200
SYSTEM
Pawtucket
Q49200
(Q6194742,P19,c(Q56061))
action filter_type
action find
entity Q6194742
relation P19
type Q56061
[ANSWER] is the place of birth of Jim Duffy
['Q6194742', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q6194742 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Pawtucket
Pawtucket is the place of birth of Jim Duffy
Pawtucket
action filter_type
action find
entity Jim Duffy
relation place of birth
type administrative territorial entity
['Jim Duffy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Jim_Duffy property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6194742
P20
Q56061
USER
Where did the expiration of Jim Duffy occur ?
(Q6194742,P20,c(Q56061))
action filter_type
action find
entity Q6194742
relation P20
type Q56061
['Q6194742', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q6194742 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Jim Duffy
action filter_type
action find
entity Jim Duffy
relation place of death
type administrative territorial entity
['Jim Duffy', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Jim_Duffy property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q54264
SYSTEM
Newport
Q54264
(Q6194742,P20,c(Q56061))
action filter_type
action find
entity Q6194742
relation P20
type Q56061
The expiration of Jim Duffy occurred in [ANSWER]
['Q6194742', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q6194742 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Newport
The expiration of Jim Duffy occurred in Newport
Newport
action filter_type
action find
entity Jim Duffy
relation place of death
type administrative territorial entity
['Jim Duffy', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Jim_Duffy property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7369652
Q56061
USER
And how about Ross T. Dwyer?
(Q7369652,P20,c(Q56061))
action filter_type
action find
entity Q7369652
relation P20
type Q56061
['Q7369652', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q7369652 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Ross T. Dwyer
action filter_type
action find
entity Ross T. Dwyer
relation place of death
type administrative territorial entity
['Ross T. Dwyer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Ross_T._Dwyer property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q49243
SYSTEM
Riverside
Q49243
(Q7369652,P20,c(Q56061))
action filter_type
action find
entity Q7369652
relation P20
type Q56061
[ANSWER]
['Q7369652', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q7369652 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Riverside
Riverside
action filter_type
action find
entity Ross T. Dwyer
relation place of death
type administrative territorial entity
['Ross T. Dwyer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Ross_T._Dwyer property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q49243 Q59132 Q3126
P190
Q515
USER
Is Riverside partner town of Jiangmen and Erlangen ?
(Q49243,P190,Q59132) (Q49243,P190,Q3126)
action is_in
entity Q49243
action intersection
action find_reverse
entity Q59132
relation P190
action find_reverse
entity Q3126
relation P190
['Q49243', 'P190', 'Q59132'] ['Q49243', 'P190', 'Q3126']
ASK WHERE { resource:Q49243 property:P190 resource:Q3126 . resource:Q49243 property:P190 resource:Q59132 }
Riverside Jiangmen Erlangen
action is_in
entity Riverside
action intersection
action find_reverse
entity Jiangmen
relation sister city
action find_reverse
entity Erlangen
relation sister city
['Riverside', 'sister city', 'Jiangmen'] ['Riverside', 'sister city', 'Erlangen']
ASK WHERE { resource:Riverside property:sister_city resource:Erlangen . resource:Riverside property:sister_city resource:Jiangmen }
[]
city
SYSTEM
YES
(Q49243,P190,Q59132) (Q49243,P190,Q3126)
action is_in
entity Q49243
action intersection
action find_reverse
entity Q59132
relation P190
action find_reverse
entity Q3126
relation P190
[ANSWER]
['Q49243', 'P190', 'Q59132'] ['Q49243', 'P190', 'Q3126']
ASK WHERE { resource:Q49243 property:P190 resource:Q3126 . resource:Q49243 property:P190 resource:Q59132 }
Yes
action is_in
entity Riverside
action intersection
action find_reverse
entity Jiangmen
relation sister city
action find_reverse
entity Erlangen
relation sister city
['Riverside', 'sister city', 'Jiangmen'] ['Riverside', 'sister city', 'Erlangen']
ASK WHERE { resource:Riverside property:sister_city resource:Erlangen . resource:Riverside property:sister_city resource:Jiangmen }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q337567 Q15324 Q56061
USER
Which administrative territories are situated in the neighbourhood of around 3 still waterss or bodies of water ?
(c(Q56061),P206,c(Q337567)|c(Q15324))
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q15324
value 3
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?s WHERE { { ?s property:P206 ?m . ?s rdf:type ontology:Q56061 . ?m rdf:type ontology:Q337567 } UNION { ?s property:P206 ?m . ?s rdf:type ontology:Q56061 . ?m rdf:type ontology:Q15324 } } GROUP BY ?s } . FILTER ( ?i = 3 ) }
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
value 3
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?s WHERE { { ?s property:located_next_to_body_of_water ?m . ?s rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:still_waters } UNION { ?s property:located_next_to_body_of_water ?m . ?s rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:body_of_water } } GROUP BY ?s } . FILTER ( ?i = 3 ) }
[]
still waters body of water administrative territorial entity
Q60 Q18419
SYSTEM
New York City, Brooklyn
Q60 Q18419
(c(Q56061),P206,c(Q337567)|c(Q15324))
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q15324
value 3
[ANSWERS] are situated in the neighbourhood of around 3 still waterss or bodies of water
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?s WHERE { { ?s property:P206 ?m . ?s rdf:type ontology:Q56061 . ?m rdf:type ontology:Q337567 } UNION { ?s property:P206 ?m . ?s rdf:type ontology:Q56061 . ?m rdf:type ontology:Q15324 } } GROUP BY ?s } . FILTER ( ?i = 3 ) }
New York City Brooklyn
New York City and Brooklyn are situated in the neighbourhood of around 3 still waterss or bodies of water
New York City Brooklyn
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
value 3
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?s WHERE { { ?s property:located_next_to_body_of_water ?m . ?s rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:still_waters } UNION { ?s property:located_next_to_body_of_water ?m . ?s rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:body_of_water } } GROUP BY ?s } . FILTER ( ?i = 3 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4390240
P840
Q838948
USER
Do Payback have their setting located at those administrative territories ?
(Q4390240,P840,Q60) (Q4390240,P840,Q18419)
action is_in
entity prev_answer
action find
entity Q4390240
relation P840
['Q4390240', 'P840', 'Q60'] ['Q4390240', 'P840', 'Q18419']
ASK WHERE { resource:Q4390240 property:P840 ?o . VALUES ( ?o ) { ( resource:Q60 ) ( resource:Q18419 ) } }
Payback
action is_in
entity prev_answer
action find
entity Payback
relation narrative location
['Payback', 'narrative location', 'New York City'] ['Payback', 'narrative location', 'Brooklyn']
ASK WHERE { resource:Payback property:narrative_location ?o . VALUES ( ?o ) { ( resource:New_York_City ) ( resource:Brooklyn ) } }
[]
work of art
SYSTEM
NO
(Q4390240,P840,Q60) (Q4390240,P840,Q18419)
action is_in
entity prev_answer
action find
entity Q4390240
relation P840
[ANSWER]
['Q4390240', 'P840', 'Q60'] ['Q4390240', 'P840', 'Q18419']
ASK WHERE { resource:Q4390240 property:P840 ?o . VALUES ( ?o ) { ( resource:Q60 ) ( resource:Q18419 ) } }
No
action is_in
entity prev_answer
action find
entity Payback
relation narrative location
['Payback', 'narrative location', 'New York City'] ['Payback', 'narrative location', 'Brooklyn']
ASK WHERE { resource:Payback property:narrative_location ?o . VALUES ( ?o ) { ( resource:New_York_City ) ( resource:Brooklyn ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3126
P19 P21
Q502895
USER
Which people were born at Erlangen and are a male ?
AND((c(Q502895),P19,Q3126), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3126
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q3126'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P19 resource:Q3126 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
male Erlangen
action filter_type
action intersection
action find_reverse
entity Erlangen
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Erlangen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth resource:Erlangen . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
common name
Q340368 Q2038946 Q1176830 Q77131 Q91757 Q1792347 Q1728615 Q64117 Q1603294 Q98863
SYSTEM
Some of them are Achim Bröger, Otto Grau, David Theodor Schmidt, Carl Friedrich Philipp von Martius, Wilhelm Fraenger, Theodor Kipp, Walter Bachmann, Albrecht Mayer, Michael Poeschke, Friedrich Wilhelm Philipp von Ammon
Q340368 Q19287734 Q15820963 Q2439447 Q1407069 Q1613305 Q1511733 Q109227 Q1309725 Q89252 Q1339480 Q15446804 Q72141 Q68527 Q1715336 Q2416953 Q878706 Q1085396 Q66105 Q1731622 Q1745338 Q15450534 Q1611028 Q1121347 Q1582676 Q1452803 Q2417507 Q2645800 Q65838 Q70575 Q5163778 Q1696386 Q63917 Q97529 Q89533 Q15792637 Q761316 Q15839953 Q15548016 Q1899483 Q13424279 Q2087148 Q1732324 Q15646748 Q13385254 Q16525994 Q1914079 Q1016515 Q92097 Q879728 Q92323 Q247858 Q1468179 Q17123879 Q1079156 Q1603294 Q18630238 Q15456745 Q438878 Q15853402 Q1336415 Q1610289 Q88323 Q22692212 Q1905180 Q1522485 Q692543 Q7344487 Q1578636 Q499378 Q1894165 Q14916840 Q1082345 Q1580940 Q1597995 Q102983 Q2038946 Q1611434 Q1580870 Q1080795 Q1501954 Q2033776 Q85507 Q77680 Q23418625 Q109479 Q1596604 Q1912488 Q1162809 Q58845 Q1904257 Q1307657 Q100329 Q106822 Q1875253 Q36386 Q1458757 Q1222327 Q1360837 Q71000 Q2571107 Q24815665 Q19668395 Q363173 Q17322100 Q77131 Q73470 Q2172020 Q130920 Q1982887 Q1731067 Q106299 Q71326 Q2547387 Q98863 Q1624503 Q1585 Q1461378 Q108285 Q17591460 Q91757 Q64117 Q18020833 Q1176830 Q1160026 Q1442273 Q319384 Q2079204 Q216111 Q1728615 Q17627173 Q817243 Q96770 Q1302547 Q1732209 Q22320029 Q15456780 Q27702585 Q2077213 Q215479 Q91233 Q707143 Q2128218 Q1794321 Q72534 Q100707 Q2128351 Q1928047 Q19257969 Q1744978 Q1704654 Q1539088 Q5650412 Q321919 Q1081745 Q166725 Q2163420 Q3048285 Q1336385 Q17574882 Q1175746 Q15427184 Q1525270 Q458831 Q1223982 Q7965380 Q1126797 Q1458003 Q1233310 Q1792347 Q2425477 Q1462961 Q96396 Q1793484 Q119170
AND((c(Q502895),P19,Q3126), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3126
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Erlangen and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q3126'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P19 resource:Q3126 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
Achim Bröger Karl von Schelling Jens Leske Tolya Glaukos Hans-Martin Barth Hermann Schelling Gerhard Heiland Hans-Walter Rix Ernst Penzoldt Klaus Scholder Joachim Jüriens Matthias Gottfried Eichler Friedrich Delitzsch Fritz Noether Jörg Gundel Theo M. Loch Günter Güttler Christoph Lanzendörfer Gerhard Frey Karl Hetz Klaus Knoesel Johann Heinrich Meynier Hermann Sailer Peter März Hans Stretz Frederick Brendel Theodor Dombart Alfred Schmeller Charlie Bauerfeind Stefan Schwarzmann Constantin Werner Johann Thomas Lamminger August Friedrich Schweigger Hans Pfaff Karl Meiler Bernhard Stöckhert August Friedrich Pfeiffer Per Leo Daniel Tyrkas Marius Strangl Steffen Kuchenreuther Philipp Samhammer Karl May Johann Lorenz Schiedmayer Nils Lehmann Alexander Megos Maximilian Schwetz Burkhard Wilhelm Seiler Wilhelm Fleischmann Björn Schlicke Peter Wackel Ernst Kraus Fritz Scheller Josef Schmidt Christian Carl Glück Michael Poeschke Robert Voit Albrecht Rothacher Moritz Nebel Waldemar Bacik Emil Kränzlein Herman Lommel Johann Rautenstrauch Hermann Harleß Martin Voßwinkel Robert Falckenberg Arne Kopfermann Robert Frank Hans Berger Andreas Lösel Marcus Grube Walter Nussel Christian Wilhelm von Glück Hans König Heinrich Kirchner Rudolf Fleischmann Otto Grau Hermann Heineke Hans Kreßel Christian Leimberger Hans Tauber Oskar Koller Helmut Zahn Rudolf Geiger Marcel Vaid Johann Christian Friedrich Harless Heinrich August Papellier Max Faulhaber Daniel Stumpf Adolph Wagner Martin Kleen Thomas Würtenberger Michael Welker Karl Siegmund von Seckendorff Ludwig Auer Lothar Matthäus Friedrich Clemens Ebrard Dieter Krause Ernst von Haselberg Karlheinz Brandenburg Wilfried Beck-Erlang Joachim Foerster Flula Borg Adolf Lippold Hanns Prütting Carl Friedrich Philipp von Martius Horst Dassler Rudi Büttner Alexander Stephan Adolf Abicht Karl Friedrich German von Hänlein Götz Schregle Hermann Wagner Walther Rehm Friedrich Wilhelm Philipp von Ammon Holger Fleischer Georg Simon Ohm Friedrich Ortloff Johannes Heinrich August Ebrard Richard Balder Wilhelm Fraenger Albrecht Mayer Helmut Dotzler David Theodor Schmidt Daniel Batz Thomas Carl von Müller Klaus Täuber Peter Zink Karl Heinrich Rau Walter Bachmann Viktor Wesselak Bengt Zikarsky Heinrich von Pierer Wilfried Guth Karl Ludwig Häberlin Stefan Maderer Philipp Kröner Hans Barthelmess Peter Müller Johann Schweigger Michael Kohlhase Martin Ohm Rainer Kurka Kurt von Raumer Julius Friedrich Heinrich Abegg Franz Ludwig Fick Rainer Rubbert Michael Jordan Achim Beierlorzer Klaus Dehler Josef Gengler Gottfried Herrmann Hans Lotter Carl Haag Christian Schloyer Björn Zikarsky Rolf Gutbier Eduard Hauser Michael Burk Georg Friedrich Wilhelm Schaeffler David Morgenstern Ronen Steinke Herbert Martius Juergen Teller Dietrich Pirson Walter Krauß Conrad Geiger Friedrich Adolph von Klüber Wolfgang H. Berger Theodor Kipp Thomas Klupp Friedrich Wilhelm Ghillany Friedrich Pfaff Kurt E. Ludwig Otto Harnack
Achim Bröger, Otto Grau, David Theodor Schmidt, Carl Friedrich Philipp von Martius, Wilhelm Fraenger, Theodor Kipp, Walter Bachmann, Albrecht Mayer, Michael Poeschke and Friedrich Wilhelm Philipp von Ammon were born at Erlangen and are a male
Achim Bröger Otto Grau David Theodor Schmidt Carl Friedrich Philipp von Martius Wilhelm Fraenger Theodor Kipp Walter Bachmann Albrecht Mayer Michael Poeschke Friedrich Wilhelm Philipp von Ammon
action filter_type
action intersection
action find_reverse
entity Erlangen
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Erlangen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth resource:Erlangen . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q77131
P184
Q502895
USER
Which person has that one as doctoral advisor ?
(c(Q502895),P184,Q77131)
action filter_type
action find_reverse
entity Q77131
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q77131']
SELECT DISTINCT ?c WHERE { ?c property:P184 resource:Q77131 . ?c rdf:type ontology:Q502895 }
Carl Friedrich Philipp von Martius
action filter_type
action find_reverse
entity Carl Friedrich Philipp von Martius
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Carl Friedrich Philipp von Martius']
SELECT DISTINCT ?c WHERE { ?c property:doctoral_advisor resource:Carl_Friedrich_Philipp_von_Martius . ?c rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1792347
SYSTEM
Did you mean Theodor Kipp ?
Q340368 Q2038946 Q1176830 Q77131 Q91757 Q1792347 Q1728615 Q64117 Q1603294 Q98863
(c(Q502895),P184,Q340368) (c(Q502895),P184,Q2038946) (c(Q502895),P184,Q1176830) (c(Q502895),P184,Q77131) (c(Q502895),P184,Q91757) (c(Q502895),P184,Q1792347) (c(Q502895),P184,Q1728615) (c(Q502895),P184,Q64117) (c(Q502895),P184,Q1603294) (c(Q502895),P184,Q98863)
[ANSWER]
[{'concept': 'Q502895'}, 'P184', 'Q340368'] [{'concept': 'Q502895'}, 'P184', 'Q2038946'] [{'concept': 'Q502895'}, 'P184', 'Q1176830'] [{'concept': 'Q502895'}, 'P184', 'Q77131'] [{'concept': 'Q502895'}, 'P184', 'Q91757'] [{'concept': 'Q502895'}, 'P184', 'Q1792347'] [{'concept': 'Q502895'}, 'P184', 'Q1728615'] [{'concept': 'Q502895'}, 'P184', 'Q64117'] [{'concept': 'Q502895'}, 'P184', 'Q1603294'] [{'concept': 'Q502895'}, 'P184', 'Q98863']
SELECT DISTINCT ?c WHERE { ?c property:P184 resource:Q77131 . ?c rdf:type ontology:Q502895 }
Achim Bröger Otto Grau David Theodor Schmidt Carl Friedrich Philipp von Martius Wilhelm Fraenger Theodor Kipp Walter Bachmann Albrecht Mayer Michael Poeschke Friedrich Wilhelm Philipp von Ammon
Did you mean Theodor Kipp ?
Theodor Kipp
[{'concept': 'common name'}, 'doctoral advisor', 'Achim Bröger'] [{'concept': 'common name'}, 'doctoral advisor', 'Otto Grau'] [{'concept': 'common name'}, 'doctoral advisor', 'David Theodor Schmidt'] [{'concept': 'common name'}, 'doctoral advisor', 'Carl Friedrich Philipp von Martius'] [{'concept': 'common name'}, 'doctoral advisor', 'Wilhelm Fraenger'] [{'concept': 'common name'}, 'doctoral advisor', 'Theodor Kipp'] [{'concept': 'common name'}, 'doctoral advisor', 'Walter Bachmann'] [{'concept': 'common name'}, 'doctoral advisor', 'Albrecht Mayer'] [{'concept': 'common name'}, 'doctoral advisor', 'Michael Poeschke'] [{'concept': 'common name'}, 'doctoral advisor', 'Friedrich Wilhelm Philipp von Ammon']
SELECT DISTINCT ?c WHERE { ?c property:doctoral_advisor resource:Carl_Friedrich_Philipp_von_Martius . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Carl Friedrich Philipp von Martius. Could you tell me the answer for that?
(c(Q502895),P184,Q77131)
Q77131
[{'concept': 'Q502895'}, 'P184', 'Q77131']
[{'concept': 'common name'}, 'doctoral advisor', 'Carl Friedrich Philipp von Martius']
[]
Q122972
SYSTEM
Louis Agassiz
Q122972
(c(Q502895),P184,Q77131)
action filter_type
action find_reverse
entity Q77131
relation P184
type Q502895
[ANSWER] has that one as doctoral advisor
[{'concept': 'Q502895'}, 'P184', 'Q77131']
SELECT DISTINCT ?c WHERE { ?c property:P184 resource:Q77131 . ?c rdf:type ontology:Q502895 }
Louis Agassiz
Louis Agassiz has that one as doctoral advisor
Louis Agassiz
action filter_type
action find_reverse
entity Carl Friedrich Philipp von Martius
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Carl Friedrich Philipp von Martius']
SELECT DISTINCT ?c WHERE { ?c property:doctoral_advisor resource:Carl_Friedrich_Philipp_von_Martius . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1430793 Q340368
P27
Q1048835
USER
Which political territories are Achim Bröger and Hugo Maihak a civilian of ?
AND((Q340368,P27,c(Q1048835)), (Q1430793,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q340368
relation P27
action find
entity Q1430793
relation P27
type Q1048835
{'AND': [['Q340368', 'P27', {'concept': 'Q1048835'}], ['Q1430793', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { resource:Q1430793 property:P27 ?o . resource:Q340368 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Hugo Maihak Achim Bröger
action filter_type
action intersection
action find
entity Achim Bröger
relation country of citizenship
action find
entity Hugo Maihak
relation country of citizenship
type political territorial entity
{'AND': [['Achim Bröger', 'country of citizenship', {'concept': 'political territorial entity'}], ['Hugo Maihak', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Hugo_Maihak property:country_of_citizenship ?o . resource:Achim_Bröger property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q340368,P27,c(Q1048835)), (Q1430793,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q340368
relation P27
action find
entity Q1430793
relation P27
type Q1048835
[ANSWER] is Achim Bröger and Hugo Maihak a civilian of
{'AND': [['Q340368', 'P27', {'concept': 'Q1048835'}], ['Q1430793', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { resource:Q1430793 property:P27 ?o . resource:Q340368 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Germany
Germany is Achim Bröger and Hugo Maihak a civilian of
Germany
action filter_type
action intersection
action find
entity Achim Bröger
relation country of citizenship
action find
entity Hugo Maihak
relation country of citizenship
type political territorial entity
{'AND': [['Achim Bröger', 'country of citizenship', {'concept': 'political territorial entity'}], ['Hugo Maihak', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Hugo_Maihak property:country_of_citizenship ?o . resource:Achim_Bröger property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q570294
P530
Q15617994
USER
Does Weiskirchen have diplomatic relations with Germany ?
(Q183,P530,Q570294)
action is_in
entity Q570294
action find
entity Q183
relation P530
['Q183', 'P530', 'Q570294']
ASK WHERE { resource:Q183 property:P530 resource:Q570294 }
Germany Weiskirchen
action is_in
entity Weiskirchen
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Weiskirchen']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Weiskirchen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q183,P530,Q570294)
action is_in
entity Q570294
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q570294']
ASK WHERE { resource:Q183 property:P530 resource:Q570294 }
No
action is_in
entity Weiskirchen
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Weiskirchen']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Weiskirchen }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6194742 Q10871364 Q841007
P106
Q151885
USER
Does Jim Duffy have career as baseball player and cage ?
(Q6194742,P106,Q10871364) (Q6194742,P106,Q841007)
action is_in
entity Q6194742
action intersection
action find_reverse
entity Q10871364
relation P106
action find_reverse
entity Q841007
relation P106
['Q6194742', 'P106', 'Q10871364'] ['Q6194742', 'P106', 'Q841007']
ASK WHERE { resource:Q6194742 property:P106 resource:Q841007 . resource:Q6194742 property:P106 resource:Q10871364 }
Jim Duffy baseball player cage
action is_in
entity Jim Duffy
action intersection
action find_reverse
entity baseball player
relation occupation
action find_reverse
entity cage
relation occupation
['Jim Duffy', 'occupation', 'baseball player'] ['Jim Duffy', 'occupation', 'cage']
ASK WHERE { resource:Jim_Duffy property:occupation resource:cage . resource:Jim_Duffy property:occupation resource:baseball_player }
[]
concept
SYSTEM
YES and NO respectively
(Q6194742,P106,Q10871364) (Q6194742,P106,Q841007)
action is_in
entity Q6194742
action intersection
action find_reverse
entity Q10871364
relation P106
action find_reverse
entity Q841007
relation P106
[ANSWER]
['Q6194742', 'P106', 'Q10871364'] ['Q6194742', 'P106', 'Q841007']
ASK WHERE { resource:Q6194742 property:P106 resource:Q841007 . resource:Q6194742 property:P106 resource:Q10871364 }
YES and NO respectively
action is_in
entity Jim Duffy
action intersection
action find_reverse
entity baseball player
relation occupation
action find_reverse
entity cage
relation occupation
['Jim Duffy', 'occupation', 'baseball player'] ['Jim Duffy', 'occupation', 'cage']
ASK WHERE { resource:Jim_Duffy property:occupation resource:cage . resource:Jim_Duffy property:occupation resource:baseball_player }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6194742
P106
Q151885
USER
How many concepts are the professions of Jim Duffy ?
(Q6194742,P106,c(Q151885))
action count
action filter_type
action find
entity Q6194742
relation P106
type Q151885
['Q6194742', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Q6194742 property:P106 ?u . ?u rdf:type ontology:Q151885 }
Jim Duffy
action count
action filter_type
action find
entity Jim Duffy
relation occupation
type concept
['Jim Duffy', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Jim_Duffy property:occupation ?u . ?u rdf:type ontology:concept }
[]
concept
SYSTEM
1
Q10871364
(Q6194742,P106,c(Q151885))
action count
action filter_type
action find
entity Q6194742
relation P106
type Q151885
[ANSWER]
['Q6194742', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Q6194742 property:P106 ?u . ?u rdf:type ontology:Q151885 }
baseball player
1
action count
action filter_type
action find
entity Jim Duffy
relation occupation
type concept
['Jim Duffy', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Jim_Duffy property:occupation ?u . ?u rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q6194742
Q12737077
USER
And which occupation?
(Q6194742,P106,c(Q12737077))
action filter_type
action find
entity Q6194742
relation P106
type Q12737077
['Q6194742', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q6194742 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Jim Duffy
action filter_type
action find
entity Jim Duffy
relation occupation
type occupation
['Jim Duffy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Jim_Duffy property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q1856798
SYSTEM
baseball umpire
Q1856798
(Q6194742,P106,c(Q12737077))
action filter_type
action find
entity Q6194742
relation P106
type Q12737077
[ANSWER]
['Q6194742', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q6194742 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
baseball umpire
baseball umpire
action filter_type
action find
entity Jim Duffy
relation occupation
type occupation
['Jim Duffy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Jim_Duffy property:occupation ?a . ?a rdf:type ontology:occupation }
[]