Simple Question (Direct)
Simple Question
Q2644722
P20
Q15617994
USER
Where did the expiration of Alfred Bockemühl occur ?
(Q2644722,P20,c(Q15617994))
action filter_type
action find
entity Q2644722
relation P20
type Q15617994
['Q2644722', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q2644722 property:P20 ?h . ?h rdf:type ontology:Q15617994 }
Alfred Bockemühl
action filter_type
action find
entity Alfred Bockemühl
relation place of death
type designation for an administrative territorial entity
['Alfred Bockemühl', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Alfred_Bockemühl property:place_of_death ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q80592
SYSTEM
Niefern-Öschelbronn
Q80592
(Q2644722,P20,c(Q15617994))
action filter_type
action find
entity Q2644722
relation P20
type Q15617994
The expiration of Alfred Bockemühl occurred in [ANSWER]
['Q2644722', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q2644722 property:P20 ?h . ?h rdf:type ontology:Q15617994 }
Niefern-Öschelbronn
The expiration of Alfred Bockemühl occurred in Niefern-Öschelbronn
Niefern-Öschelbronn
action filter_type
action find
entity Alfred Bockemühl
relation place of death
type designation for an administrative territorial entity
['Alfred Bockemühl', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Alfred_Bockemühl property:place_of_death ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2644722
P21
Q290
USER
Which sex does that person have ?
(Q80592,P21,c(Q290))
action filter_type
action find
entity Q2644722
relation P21
type Q290
['Q80592', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q2644722 property:P21 ?n . ?n rdf:type ontology:Q290 }
Alfred Bockemühl
action filter_type
action find
entity Alfred Bockemühl
relation gender
type sex
['Niefern-Öschelbronn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Alfred_Bockemühl property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q80592,P21,c(Q290))
action filter_type
action find
entity Q2644722
relation P21
type Q290
That person has a [ANSWER]
['Q80592', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q2644722 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Alfred Bockemühl
relation gender
type sex
['Niefern-Öschelbronn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Alfred_Bockemühl property:gender ?n . ?n rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q16598491
P21
Q502895
USER
Is Rosa Lotti Dainelli a that sex ?
(Q16598491,P21,Q6581097)
action is_in
entity Q16598491
action find
entity Q6581097
relation P21
['Q16598491', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q16598491 }
male Rosa Lotti Dainelli
action is_in
entity Rosa Lotti Dainelli
action find
entity male
relation gender
['Rosa Lotti Dainelli', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Rosa_Lotti_Dainelli }
[]
common name
SYSTEM
NO
(Q16598491,P21,Q6581097)
action is_in
entity Q16598491
action find
entity Q6581097
relation P21
[ANSWER]
['Q16598491', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q16598491 }
No
action is_in
entity Rosa Lotti Dainelli
action find
entity male
relation gender
['Rosa Lotti Dainelli', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Rosa_Lotti_Dainelli }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q80592 Q183
P17
Q1048835
USER
Is Niefern-Öschelbronn present in Germany ?
(Q80592,P17,Q183)
action is_in
entity Q183
action find
entity Q80592
relation P17
['Q80592', 'P17', 'Q183']
ASK WHERE { resource:Q80592 property:P17 resource:Q183 }
Niefern-Öschelbronn Germany
action is_in
entity Germany
action find
entity Niefern-Öschelbronn
relation country
['Niefern-Öschelbronn', 'country', 'Germany']
ASK WHERE { resource:Niefern-Öschelbronn property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q80592,P17,Q183)
action is_in
entity Q183
action find
entity Q80592
relation P17
[ANSWER]
['Q80592', 'P17', 'Q183']
ASK WHERE { resource:Q80592 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Niefern-Öschelbronn
relation country
['Niefern-Öschelbronn', 'country', 'Germany']
ASK WHERE { resource:Niefern-Öschelbronn property:country resource:Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2644722
P19
Q56061
USER
Which administrative territory was Alfred Bockemühl born at ?
(Q2644722,P19,c(Q56061))
action filter_type
action find
entity Q2644722
relation P19
type Q56061
['Q2644722', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q2644722 property:P19 ?u }
Alfred Bockemühl
action filter_type
action find
entity Alfred Bockemühl
relation place of birth
type administrative territorial entity
['Alfred Bockemühl', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Alfred_Bockemühl property:place_of_birth ?u }
[]
administrative territorial entity
Q2103
SYSTEM
Bochum
Q2103
(Q2644722,P19,c(Q56061))
action filter_type
action find
entity Q2644722
relation P19
type Q56061
Alfred Bockemühl was born in [ANSWER]
['Q2644722', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q2644722 property:P19 ?u }
Bochum
Alfred Bockemühl was born in Bochum
Bochum
action filter_type
action find
entity Alfred Bockemühl
relation place of birth
type administrative territorial entity
['Alfred Bockemühl', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Alfred_Bockemühl property:place_of_birth ?u }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6433495
Q56061
USER
And also tell me about Kostas Frantzeskos?
(Q6433495,P19,c(Q56061))
action filter_type
action find
entity Q6433495
relation P19
type Q56061
['Q6433495', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q6433495 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Kostas Frantzeskos
action filter_type
action find
entity Kostas Frantzeskos
relation place of birth
type administrative territorial entity
['Kostas Frantzeskos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Kostas_Frantzeskos property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1524
SYSTEM
Athens
Q1524
(Q6433495,P19,c(Q56061))
action filter_type
action find
entity Q6433495
relation P19
type Q56061
[ANSWER]
['Q6433495', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q6433495 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Athens
Athens
action filter_type
action find
entity Kostas Frantzeskos
relation place of birth
type administrative territorial entity
['Kostas Frantzeskos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Kostas_Frantzeskos property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q188 Q2103
P1412 P937
Q502895
USER
Which people works at Bochum and speaks German ?
AND((c(Q502895),P937,Q2103), (c(Q502895),P1412,Q188))
action filter_type
action intersection
action find_reverse
entity Q2103
relation P937
action find_reverse
entity Q188
relation P1412
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q2103'], [{'concept': 'Q502895'}, 'P1412', 'Q188']]}
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q2103 . ?l property:P1412 resource:Q188 . ?l rdf:type ontology:Q502895 }
German Bochum
action filter_type
action intersection
action find_reverse
entity Bochum
relation work location
action find_reverse
entity German
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Bochum'], [{'concept': 'common name'}, 'languages spoken, written or signed', 'German']]}
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:Bochum . ?l property:languages_spoken,_written_or_signed resource:German . ?l rdf:type ontology:common_name }
[]
common name
Q1509106 Q1662803 Q855436 Q1448764 Q1756283 Q1036210 Q2476805 Q69430 Q7983439 Q76178
SYSTEM
Some of them are Karl-Heinz Saretzki, Inge Meyer-Dietrich, Bianka Minte-König, Franz Ronneberger, Verena Liebers, Carina Gödecke, Ulrich Tadday, Peter Scholl-Latour, Werner Kutzelnigg, Armin Rohde
Q70335 Q2225642 Q589661 Q1745088 Q2476621 Q102913 Q1086148 Q91311 Q1445845 Q15710223 Q110938 Q1626019 Q1167398 Q2041039 Q1255396 Q1448922 Q1448764 Q1466622 Q1662803 Q1659158 Q11800440 Q1664779 Q2128446 Q1756283 Q2077908 Q76178 Q1509106 Q855436 Q1579637 Q2128406 Q1448860 Q2137860 Q2503930 Q109587 Q62185 Q15834996 Q1611678 Q107696 Q98128 Q1666261 Q2645168 Q69430 Q2077172 Q1381574 Q108439 Q1036210 Q1745853 Q1432271 Q7983439 Q110897 Q2476805 Q1996943 Q1658343 Q1929455 Q275247 Q1629246
AND((c(Q502895),P937,Q2103), (c(Q502895),P1412,Q188))
action filter_type
action intersection
action find_reverse
entity Q2103
relation P937
action find_reverse
entity Q188
relation P1412
type Q502895
[ANSWERS] work at Bochum and speaks German
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q2103'], [{'concept': 'Q502895'}, 'P1412', 'Q188']]}
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q2103 . ?l property:P1412 resource:Q188 . ?l rdf:type ontology:Q502895 }
Hans Mommsen Saskia Fischer Anton Gilsing Klaus Fittschen Ulrich Schmid Bernard Andreae Christoph Zöpel Werner Abelshauser Franz-Josef Schmale Wolfgang Breidert Jan-Christoph Hauschild Hugo Ernst Käufer Uli Auffermann Otto Wohlgemuth Gustav Wilhelm Kisker Franz Schmidt Franz Ronneberger Fritz Heinemann Inge Meyer-Dietrich Ilse Lenz Oskar Anweiler Nelly Naumann Rainer W. Campmann Verena Liebers Peter Roos Armin Rohde Karl-Heinz Saretzki Bianka Minte-König Hans Fuechtbauer Rainer Slotta Franz Schaap Regina Görner Uwe-Michael Gutzschhahn Werner Buchholz Erich Ollenhauer Michael Bernsen Hermann Josef Russe Kurt Flasch Dietmar Petzina Linda-Marie Günther Alfred Hirsch Peter Scholl-Latour Peter Märkert Eve-Marie Engels Jürgen Jost Carina Gödecke Klaus Wengst Otto Hugo Werner Kutzelnigg Siegmar Döpp Ulrich Tadday Norbert Kunisch Karl Prümer Michael Starcke Herbert Grönemeyer Horst Dieter Gölzenleuchter
Karl-Heinz Saretzki, Inge Meyer-Dietrich, Bianka Minte-König, Franz Ronneberger, Verena Liebers, Carina Gödecke, Ulrich Tadday, Peter Scholl-Latour, Werner Kutzelnigg and Armin Rohde work at Bochum and speaks German
Karl-Heinz Saretzki Inge Meyer-Dietrich Bianka Minte-König Franz Ronneberger Verena Liebers Carina Gödecke Ulrich Tadday Peter Scholl-Latour Werner Kutzelnigg Armin Rohde
action filter_type
action intersection
action find_reverse
entity Bochum
relation work location
action find_reverse
entity German
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Bochum'], [{'concept': 'common name'}, 'languages spoken, written or signed', 'German']]}
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:Bochum . ?l property:languages_spoken,_written_or_signed resource:German . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7983439
P108
Q3918
USER
Which university does that person work for ?
(Q7983439,P108,c(Q3918))
action filter_type
action find
entity Q7983439
relation P108
type Q3918
['Q7983439', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { resource:Q7983439 property:P108 ?d . ?d rdf:type ontology:Q3918 }
Werner Kutzelnigg
action filter_type
action find
entity Werner Kutzelnigg
relation employer
type university
['Werner Kutzelnigg', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { resource:Werner_Kutzelnigg property:employer ?d . ?d rdf:type ontology:university }
[]
university
Clarification for simple ques.
Q1448764
SYSTEM
Did you mean Franz Ronneberger ?
Q1509106 Q1662803 Q855436 Q1448764 Q1756283 Q1036210 Q2476805 Q69430 Q7983439 Q76178
(Q1509106,P108,c(Q3918)) (Q1662803,P108,c(Q3918)) (Q855436,P108,c(Q3918)) (Q1448764,P108,c(Q3918)) (Q1756283,P108,c(Q3918)) (Q1036210,P108,c(Q3918)) (Q2476805,P108,c(Q3918)) (Q69430,P108,c(Q3918)) (Q7983439,P108,c(Q3918)) (Q76178,P108,c(Q3918))
[ANSWER]
['Q1509106', 'P108', {'concept': 'Q3918'}] ['Q1662803', 'P108', {'concept': 'Q3918'}] ['Q855436', 'P108', {'concept': 'Q3918'}] ['Q1448764', 'P108', {'concept': 'Q3918'}] ['Q1756283', 'P108', {'concept': 'Q3918'}] ['Q1036210', 'P108', {'concept': 'Q3918'}] ['Q2476805', 'P108', {'concept': 'Q3918'}] ['Q69430', 'P108', {'concept': 'Q3918'}] ['Q7983439', 'P108', {'concept': 'Q3918'}] ['Q76178', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { resource:Q7983439 property:P108 ?d . ?d rdf:type ontology:Q3918 }
Karl-Heinz Saretzki Inge Meyer-Dietrich Bianka Minte-König Franz Ronneberger Verena Liebers Carina Gödecke Ulrich Tadday Peter Scholl-Latour Werner Kutzelnigg Armin Rohde
Did you mean Franz Ronneberger ?
Franz Ronneberger
['Karl-Heinz Saretzki', 'employer', {'concept': 'university'}] ['Inge Meyer-Dietrich', 'employer', {'concept': 'university'}] ['Bianka Minte-König', 'employer', {'concept': 'university'}] ['Franz Ronneberger', 'employer', {'concept': 'university'}] ['Verena Liebers', 'employer', {'concept': 'university'}] ['Carina Gödecke', 'employer', {'concept': 'university'}] ['Ulrich Tadday', 'employer', {'concept': 'university'}] ['Peter Scholl-Latour', 'employer', {'concept': 'university'}] ['Werner Kutzelnigg', 'employer', {'concept': 'university'}] ['Armin Rohde', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { resource:Werner_Kutzelnigg property:employer ?d . ?d rdf:type ontology:university }
[]
Simple Question (Coreferenced)
USER
No, I meant Werner Kutzelnigg. Could you tell me the answer for that?
(Q7983439,P108,c(Q3918))
Q7983439
['Q7983439', 'P108', {'concept': 'Q3918'}]
['Werner Kutzelnigg', 'employer', {'concept': 'university'}]
[]
Q309988
SYSTEM
Karlsruhe Institute of Technology
Q309988
(Q7983439,P108,c(Q3918))
action filter_type
action find
entity Q7983439
relation P108
type Q3918
That person works at [ANSWER]
['Q7983439', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { resource:Q7983439 property:P108 ?d . ?d rdf:type ontology:Q3918 }
Karlsruhe Institute of Technology
That person works at Karlsruhe Institute of Technology
Karlsruhe Institute of Technology
action filter_type
action find
entity Werner Kutzelnigg
relation employer
type university
['Werner Kutzelnigg', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { resource:Werner_Kutzelnigg property:employer ?d . ?d rdf:type ontology:university }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q668283 Q1509106
P27
Q1048835
USER
Which political territories are the countries of citizenship of Karl-Heinz Saretzki or Manfredo Fanti ?
OR((Q1509106,P27,c(Q1048835)), (Q668283,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1509106
relation P27
action find
entity Q668283
relation P27
type Q1048835
{'OR': [['Q1509106', 'P27', {'concept': 'Q1048835'}], ['Q668283', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { ?f property:P27 ?v . VALUES ( ?f ) { ( resource:Q1509106 ) ( resource:Q668283 ) } } . ?v rdf:type ontology:Q1048835 }
Manfredo Fanti Karl-Heinz Saretzki
action filter_type
action union
action find
entity Karl-Heinz Saretzki
relation country of citizenship
action find
entity Manfredo Fanti
relation country of citizenship
type political territorial entity
{'OR': [['Karl-Heinz Saretzki', 'country of citizenship', {'concept': 'political territorial entity'}], ['Manfredo Fanti', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?f property:country_of_citizenship ?v . VALUES ( ?f ) { ( resource:Karl-Heinz_Saretzki ) ( resource:Manfredo_Fanti ) } } . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q223793 Q183
SYSTEM
Kingdom of Etruria, Germany
Q223793 Q183
OR((Q1509106,P27,c(Q1048835)), (Q668283,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1509106
relation P27
action find
entity Q668283
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Karl-Heinz Saretzki or Manfredo Fanti
{'OR': [['Q1509106', 'P27', {'concept': 'Q1048835'}], ['Q668283', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { ?f property:P27 ?v . VALUES ( ?f ) { ( resource:Q1509106 ) ( resource:Q668283 ) } } . ?v rdf:type ontology:Q1048835 }
Kingdom of Etruria Germany
Kingdom of Etruria and Germany are the countries of citizenship of Karl-Heinz Saretzki or Manfredo Fanti
Kingdom of Etruria Germany
action filter_type
action union
action find
entity Karl-Heinz Saretzki
relation country of citizenship
action find
entity Manfredo Fanti
relation country of citizenship
type political territorial entity
{'OR': [['Karl-Heinz Saretzki', 'country of citizenship', {'concept': 'political territorial entity'}], ['Manfredo Fanti', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?f property:country_of_citizenship ?v . VALUES ( ?f ) { ( resource:Karl-Heinz_Saretzki ) ( resource:Manfredo_Fanti ) } } . ?v rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q180981 Q1756283
P47 P27
Q1048835
USER
Which political territories are the countries of citizenship of Verena Liebers or have a shared border with Kirovohrad Oblast ?
OR((Q1756283,P27,c(Q1048835)), (Q180981,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1756283
relation P27
action find
entity Q180981
relation P47
type Q1048835
{'OR': [['Q1756283', 'P27', {'concept': 'Q1048835'}], ['Q180981', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1756283 property:P27 ?g } UNION { resource:Q180981 property:P47 ?g } } . ?g rdf:type ontology:Q1048835 }
Kirovohrad Oblast Verena Liebers
action filter_type
action union
action find
entity Verena Liebers
relation country of citizenship
action find
entity Kirovohrad Oblast
relation shares border with
type political territorial entity
{'OR': [['Verena Liebers', 'country of citizenship', {'concept': 'political territorial entity'}], ['Kirovohrad Oblast', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Verena_Liebers property:country_of_citizenship ?g } UNION { resource:Kirovohrad_Oblast property:shares_border_with ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q166709 Q170672 Q183 Q171852 Q181633 Q169501 Q161808
SYSTEM
Vinnytsia Oblast, Dnipropetrovsk Oblast, Germany, Odessa Oblast, Mykolaiv Oblast, Poltava Oblast, Cherkasy Oblast
Q166709 Q170672 Q183 Q171852 Q181633 Q169501 Q161808
OR((Q1756283,P27,c(Q1048835)), (Q180981,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1756283
relation P27
action find
entity Q180981
relation P47
type Q1048835
[ANSWERS] are the countries of citizenship of Verena Liebers or have a shared border with Kirovohrad Oblast
{'OR': [['Q1756283', 'P27', {'concept': 'Q1048835'}], ['Q180981', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1756283 property:P27 ?g } UNION { resource:Q180981 property:P47 ?g } } . ?g rdf:type ontology:Q1048835 }
Vinnytsia Oblast Dnipropetrovsk Oblast Germany Odessa Oblast Mykolaiv Oblast Poltava Oblast Cherkasy Oblast
Vinnytsia Oblast, Dnipropetrovsk Oblast, Germany, Odessa Oblast, Mykolaiv Oblast, Poltava Oblast and Cherkasy Oblast are the countries of citizenship of Verena Liebers or have a shared border with Kirovohrad Oblast
Vinnytsia Oblast Dnipropetrovsk Oblast Germany Odessa Oblast Mykolaiv Oblast Poltava Oblast Cherkasy Oblast
action filter_type
action union
action find
entity Verena Liebers
relation country of citizenship
action find
entity Kirovohrad Oblast
relation shares border with
type political territorial entity
{'OR': [['Verena Liebers', 'country of citizenship', {'concept': 'political territorial entity'}], ['Kirovohrad Oblast', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Verena_Liebers property:country_of_citizenship ?g } UNION { resource:Kirovohrad_Oblast property:shares_border_with ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P610
Q14524493
USER
Which is the zenith of Germany ?
(Q183,P610,c(Q14524493))
action filter_type
action find
entity Q183
relation P610
type Q14524493
['Q183', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?l WHERE { resource:Q183 property:P610 ?l . ?l rdf:type ontology:Q14524493 }
Germany
action filter_type
action find
entity Germany
relation highest point
type terrain
['Germany', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?l WHERE { resource:Germany property:highest_point ?l . ?l rdf:type ontology:terrain }
[]
terrain
Q3375
SYSTEM
Zugspitze
Q3375
(Q183,P610,c(Q14524493))
action filter_type
action find
entity Q183
relation P610
type Q14524493
The zenith of Germany is the [ANSWER]
['Q183', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?l WHERE { resource:Q183 property:P610 ?l . ?l rdf:type ontology:Q14524493 }
Zugspitze
The zenith of Germany is the Zugspitze
Zugspitze
action filter_type
action find
entity Germany
relation highest point
type terrain
['Germany', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?l WHERE { resource:Germany property:highest_point ?l . ?l rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3375
P186
Q214609
USER
Which material is used to construct that terrain ?
(Q3375,P186,c(Q214609))
action filter_type
action find
entity Q3375
relation P186
type Q214609
['Q3375', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q214609 . resource:Q3375 property:P186 ?c }
Zugspitze
action filter_type
action find
entity Zugspitze
relation material used
type material
['Zugspitze', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:material . resource:Zugspitze property:material_used ?c }
[]
material
Q82480
SYSTEM
sedimentary rock
Q82480
(Q3375,P186,c(Q214609))
action filter_type
action find
entity Q3375
relation P186
type Q214609
[ANSWER] is used to construct that terrain
['Q3375', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q214609 . resource:Q3375 property:P186 ?c }
sedimentary rock
Sedimentary rock is used to construct that terrain
sedimentary rock
action filter_type
action find
entity Zugspitze
relation material used
type material
['Zugspitze', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:material . resource:Zugspitze property:material_used ?c }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P530
Q1048835 Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with max number of political territories and administrative territories ?
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?w ) { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?b ) WHERE { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?h } } . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?m ) WHERE { { ?t property:P530 ?o . ?o rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q1048835 } UNION { ?t property:P530 ?o . ?o rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 } } GROUP BY ?o } . FILTER ( ?m = ?w ) }
action argmax
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?w ) { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?b ) WHERE { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?h } } . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?m ) WHERE { { ?t property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:political_territorial_entity } UNION { ?t property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . FILTER ( ?m = ?w ) }
[]
political territorial entity political territorial entity designation for an administrative territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have diplomatic relationships with max number of political territories and administrative territories
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?w ) { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?b ) WHERE { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?h } } . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?m ) WHERE { { ?t property:P530 ?o . ?o rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q1048835 } UNION { ?t property:P530 ?o . ?o rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 } } GROUP BY ?o } . FILTER ( ?m = ?w ) }
Germany
Germany have diplomatic relationships with max number of political territories and administrative territories
Germany
action argmax
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?w ) { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?b ) WHERE { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?h } } . { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?m ) WHERE { { ?t property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:political_territorial_entity } UNION { ?t property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . FILTER ( ?m = ?w ) }
[]