Simple Question (Direct)
Simple Question
Q1048791
P17
Q15617994
USER
Which administrative territory does Échandelys belong to ?
(Q1048791,P17,c(Q15617994))
action filter_type
action find
entity Q1048791
relation P17
type Q15617994
['Q1048791', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1048791 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Échandelys
action filter_type
action find
entity Échandelys
relation country
type designation for an administrative territorial entity
['Échandelys', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Échandelys property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1048791,P17,c(Q15617994))
action filter_type
action find
entity Q1048791
relation P17
type Q15617994
Échandelys belongs to [ANSWER]
['Q1048791', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1048791 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
France
Échandelys belongs to France
France
action filter_type
action find
entity Échandelys
relation country
type designation for an administrative territorial entity
['Échandelys', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Échandelys property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1048791
P47
Q20667921
USER
Which french administrative divisions share border with that one ?
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q1048791
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?m WHERE { resource:Q1048791 property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Échandelys
action filter_type
action find
entity Échandelys
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?m WHERE { resource:Échandelys property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q266946 Q269245 Q269290
SYSTEM
Auzelles, Fournols, Saint-Genès-la-Tourette
Q266946 Q274734 Q524292 Q269245 Q685207 Q269290 Q621982
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q1048791
relation P47
type Q20667921
[ANSWERS] share border with that one
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?m WHERE { resource:Q1048791 property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Auzelles Saint-Éloy-la-Glacière Condat-lès-Montboissier Fournols Brousse Saint-Genès-la-Tourette Aix-la-Fayette
Auzelles, Fournols and Saint-Genès-la-Tourette share border with that one
Auzelles Fournols Saint-Genès-la-Tourette
action filter_type
action find
entity Échandelys
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?m WHERE { resource:Échandelys property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1148203
P47
Q20667921
USER
Are Montesquieu bordered by those ones ?
(Q1148203,P47,Q266946) (Q1148203,P47,Q269245) (Q1148203,P47,Q269290)
action is_in
entity prev_answer
action find
entity Q1148203
relation P47
['Q1148203', 'P47', 'Q266946'] ['Q1148203', 'P47', 'Q269245'] ['Q1148203', 'P47', 'Q269290']
ASK WHERE { resource:Q1148203 property:P47 ?q . VALUES ( ?q ) { ( resource:Q266946 ) ( resource:Q274734 ) ( resource:Q524292 ) } }
Montesquieu
action is_in
entity prev_answer
action find
entity Montesquieu
relation shares border with
['Montesquieu', 'shares border with', 'Auzelles'] ['Montesquieu', 'shares border with', 'Fournols'] ['Montesquieu', 'shares border with', 'Saint-Genès-la-Tourette']
ASK WHERE { resource:Montesquieu property:shares_border_with ?q . VALUES ( ?q ) { ( resource:Auzelles ) ( resource:Saint-Éloy-la-Glacière ) ( resource:Condat-lès-Montboissier ) } }
[]
type of french administrative division
SYSTEM
NO
(Q1148203,P47,Q266946) (Q1148203,P47,Q269245) (Q1148203,P47,Q269290)
action is_in
entity prev_answer
action find
entity Q1148203
relation P47
[ANSWER]
['Q1148203', 'P47', 'Q266946'] ['Q1148203', 'P47', 'Q269245'] ['Q1148203', 'P47', 'Q269290']
ASK WHERE { resource:Q1148203 property:P47 ?q . VALUES ( ?q ) { ( resource:Q266946 ) ( resource:Q274734 ) ( resource:Q524292 ) } }
No
action is_in
entity prev_answer
action find
entity Montesquieu
relation shares border with
['Montesquieu', 'shares border with', 'Auzelles'] ['Montesquieu', 'shares border with', 'Fournols'] ['Montesquieu', 'shares border with', 'Saint-Genès-la-Tourette']
ASK WHERE { resource:Montesquieu property:shares_border_with ?q . VALUES ( ?q ) { ( resource:Auzelles ) ( resource:Saint-Éloy-la-Glacière ) ( resource:Condat-lès-Montboissier ) } }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2175023
Q56061
USER
And what about Ruhr-Gymnasium Witten?
(Q2175023,P112,c(Q56061))
action filter_type
action find
entity Q2175023
relation P112
type Q56061
['Q2175023', 'P112', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q2175023 property:P112 ?t }
Ruhr-Gymnasium Witten
action filter_type
action find
entity Ruhr-Gymnasium Witten
relation founder
type administrative territorial entity
['Ruhr-Gymnasium Witten', 'founder', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Ruhr-Gymnasium_Witten property:founder ?t }
[]
administrative territorial entity
Q3764
SYSTEM
Witten
Q3764
(Q2175023,P112,c(Q56061))
action filter_type
action find
entity Q2175023
relation P112
type Q56061
[ANSWER]
['Q2175023', 'P112', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q2175023 property:P112 ?t }
Witten
Witten
action filter_type
action find
entity Ruhr-Gymnasium Witten
relation founder
type administrative territorial entity
['Ruhr-Gymnasium Witten', 'founder', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Ruhr-Gymnasium_Witten property:founder ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3764
P159
Q874405
USER
Which social groups have headquarters located at that administrative territory ?
(c(Q874405),P159,Q3764)
action filter_type
action find_reverse
entity Q3764
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q3764']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q3764 . ?j rdf:type ontology:Q874405 }
Witten
action filter_type
action find_reverse
entity Witten
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Witten']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Witten . ?j rdf:type ontology:social_group }
[]
social group
Q2554868 Q1555392 Q1868196
SYSTEM
DB Werk Oberbaustoffe Witten, Gussstahl-Werk Witten, ZF Industrieantriebe Witten
Q2175119 Q1431315 Q1868196 Q2554868 Q1555392
(c(Q874405),P159,Q3764)
action filter_type
action find_reverse
entity Q3764
relation P159
type Q874405
[ANSWERS] have headquarters located at that administrative territory
[{'concept': 'Q874405'}, 'P159', 'Q3764']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q3764 . ?j rdf:type ontology:Q874405 }
Ruhrstahl Ostermann ZF Industrieantriebe Witten DB Werk Oberbaustoffe Witten Gussstahl-Werk Witten
DB Werk Oberbaustoffe Witten, Gussstahl-Werk Witten and ZF Industrieantriebe Witten have headquarters located at that administrative territory
DB Werk Oberbaustoffe Witten Gussstahl-Werk Witten ZF Industrieantriebe Witten
action filter_type
action find_reverse
entity Witten
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Witten']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Witten . ?j rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2554868 Q1555392 Q1868196
P17
Q1048835
USER
Which political territories are DB Werk Oberbaustoffe Witten, Gussstahl-Werk Witten and ZF Industrieantriebe Witten present in ?
(Q2554868,P17,c(Q1048835)) (Q1555392,P17,c(Q1048835)) (Q1868196,P17,c(Q1048835))
action union
action filter_type
action find
entity Q2554868
relation P17
type Q1048835
action filter_type
action find
entity Q1555392
relation P17
type Q1048835
action filter_type
action find
entity Q1868196
relation P17
type Q1048835
['Q2554868', 'P17', {'concept': 'Q1048835'}] ['Q1555392', 'P17', {'concept': 'Q1048835'}] ['Q1868196', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { ?q property:P17 ?d . VALUES ( ?q ) { ( resource:Q2554868 ) ( resource:Q1555392 ) } }
DB Werk Oberbaustoffe Witten Gussstahl-Werk Witten ZF Industrieantriebe Witten
action union
action filter_type
action find
entity DB Werk Oberbaustoffe Witten
relation country
type political territorial entity
action filter_type
action find
entity Gussstahl-Werk Witten
relation country
type political territorial entity
action filter_type
action find
entity ZF Industrieantriebe Witten
relation country
type political territorial entity
['DB Werk Oberbaustoffe Witten', 'country', {'concept': 'political territorial entity'}] ['Gussstahl-Werk Witten', 'country', {'concept': 'political territorial entity'}] ['ZF Industrieantriebe Witten', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { ?q property:country ?d . VALUES ( ?q ) { ( resource:DB_Werk_Oberbaustoffe_Witten ) ( resource:Gussstahl-Werk_Witten ) } }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q183 Q183 Q183
(Q2554868,P17,c(Q1048835)) (Q1555392,P17,c(Q1048835)) (Q1868196,P17,c(Q1048835))
action union
action filter_type
action find
entity Q2554868
relation P17
type Q1048835
action filter_type
action find
entity Q1555392
relation P17
type Q1048835
action filter_type
action find
entity Q1868196
relation P17
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] are DB Werk Oberbaustoffe Witten, Gussstahl-Werk Witten and ZF Industrieantriebe Witten present in
['Q2554868', 'P17', {'concept': 'Q1048835'}] ['Q1555392', 'P17', {'concept': 'Q1048835'}] ['Q1868196', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { ?q property:P17 ?d . VALUES ( ?q ) { ( resource:Q2554868 ) ( resource:Q1555392 ) } }
Germany Germany Germany
Germany, Germany and Germany are DB Werk Oberbaustoffe Witten, Gussstahl-Werk Witten and ZF Industrieantriebe Witten present in
Germany Germany Germany
action union
action filter_type
action find
entity DB Werk Oberbaustoffe Witten
relation country
type political territorial entity
action filter_type
action find
entity Gussstahl-Werk Witten
relation country
type political territorial entity
action filter_type
action find
entity ZF Industrieantriebe Witten
relation country
type political territorial entity
['DB Werk Oberbaustoffe Witten', 'country', {'concept': 'political territorial entity'}] ['Gussstahl-Werk Witten', 'country', {'concept': 'political territorial entity'}] ['ZF Industrieantriebe Witten', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { ?q property:country ?d . VALUES ( ?q ) { ( resource:DB_Werk_Oberbaustoffe_Witten ) ( resource:Gussstahl-Werk_Witten ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3764
P6
Q502895
USER
Which person has Witten as its head of government ?
(Q3764,P6,c(Q502895))
action filter_type
action find
entity Q3764
relation P6
type Q502895
['Q3764', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3764 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Witten
action filter_type
action find
entity Witten
relation head of government
type common name
['Witten', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Witten property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
common name
Q2301684
SYSTEM
Sonja Leidemann
Q2301684
(Q3764,P6,c(Q502895))
action filter_type
action find
entity Q3764
relation P6
type Q502895
[ANSWER] has Witten as its head of government
['Q3764', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3764 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Sonja Leidemann
Sonja Leidemann has Witten as its head of government
Sonja Leidemann
action filter_type
action find
entity Witten
relation head of government
type common name
['Witten', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Witten property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2301684 Q1795581 Q183
P27
Q1048835
USER
Is that person a citizen of Colônia Leopoldina and Germany ?
(Q2301684,P27,Q1795581) (Q2301684,P27,Q183)
action is_in
entity Q2301684
action intersection
action find_reverse
entity Q1795581
relation P27
action find_reverse
entity Q183
relation P27
['Q2301684', 'P27', 'Q1795581'] ['Q2301684', 'P27', 'Q183']
ASK WHERE { resource:Q2301684 property:P27 resource:Q1795581 . resource:Q2301684 property:P27 resource:Q183 }
Sonja Leidemann Colônia Leopoldina Germany
action is_in
entity Sonja Leidemann
action intersection
action find_reverse
entity Colônia Leopoldina
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Sonja Leidemann', 'country of citizenship', 'Colônia Leopoldina'] ['Sonja Leidemann', 'country of citizenship', 'Germany']
ASK WHERE { resource:Sonja_Leidemann property:country_of_citizenship resource:Colônia_Leopoldina . resource:Sonja_Leidemann property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q2301684,P27,Q1795581) (Q2301684,P27,Q183)
action is_in
entity Q2301684
action intersection
action find_reverse
entity Q1795581
relation P27
action find_reverse
entity Q183
relation P27
[ANSWER]
['Q2301684', 'P27', 'Q1795581'] ['Q2301684', 'P27', 'Q183']
ASK WHERE { resource:Q2301684 property:P27 resource:Q1795581 . resource:Q2301684 property:P27 resource:Q183 }
NO and YES respectively
action is_in
entity Sonja Leidemann
action intersection
action find_reverse
entity Colônia Leopoldina
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Sonja Leidemann', 'country of citizenship', 'Colônia Leopoldina'] ['Sonja Leidemann', 'country of citizenship', 'Germany']
ASK WHERE { resource:Sonja_Leidemann property:country_of_citizenship resource:Colônia_Leopoldina . resource:Sonja_Leidemann property:country_of_citizenship resource:Germany }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3764
P19 P21
Q502895
USER
Which people have place of birth as Witten and have the gender as male ?
AND((c(Q502895),P19,Q3764), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3764
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q3764'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b property:P19 resource:Q3764 . ?b property:P21 resource:Q6581097 . ?b rdf:type ontology:Q502895 }
male Witten
action filter_type
action intersection
action find_reverse
entity Witten
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Witten'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b property:place_of_birth resource:Witten . ?b property:gender resource:male . ?b rdf:type ontology:common_name }
[]
common name
Q6734450 Q11812083 Q4793512 Q1708782 Q1288946 Q1080954 Q1681821 Q97604 Q1412202 Q1555892
SYSTEM
Some of them are Mahmout Najdi, Wilhelm Stör, Armin Erdmann, Thomas Stotko, Fritz Buchthal, Christian Lukas, Jan Hegenbam, Jochen Nickel, Otto Flehinghaus, Gustav Haarmann
Q1382733 Q4273147 Q17326986 Q1303746 Q2076366 Q1612405 Q1747918 Q21043415 Q108233 Q1730047 Q1330815 Q119923 Q16657294 Q563487 Q500160 Q106376 Q1687250 Q11812083 Q2476632 Q2140658 Q1288946 Q4945301 Q1267458 Q1599102 Q1504484 Q1619001 Q100454 Q1559758 Q1230904 Q107471 Q1610062 Q1800751 Q100880 Q1904124 Q2129314 Q2128388 Q1803489 Q6734450 Q1015015 Q1408230 Q1626019 Q1045584 Q1499915 Q1681821 Q67186 Q2163814 Q2150171 Q77351 Q18222652 Q1599049 Q20753037 Q1348088 Q1286694 Q1468719 Q1598761 Q1797379 Q2475915 Q879203 Q8002130 Q2343816 Q1681166 Q13502748 Q27031081 Q15445728 Q573312 Q19969624 Q2033679 Q1599852 Q2173648 Q1598047 Q797563 Q1080954 Q363073 Q1905320 Q1623975 Q103692 Q824319 Q1457269 Q2149641 Q1365815 Q1037627 Q825629 Q1412202 Q1228037 Q1238155 Q15449864 Q84540 Q65108 Q1595933 Q71544 Q4793512 Q1608200 Q466414 Q97604 Q72357 Q1287893 Q17326829 Q98127 Q22669776 Q102408 Q1705639 Q1560411 Q2343753 Q1708782 Q1577911 Q1716127 Q1717734 Q1036835 Q111043 Q1718682 Q1555892 Q1555894 Q99751 Q1793480 Q18816355 Q1556157
AND((c(Q502895),P19,Q3764), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3764
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have place of birth as Witten and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q3764'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b property:P19 resource:Q3764 . ?b property:P21 resource:Q6581097 . ?b rdf:type ontology:Q502895 }
Ewald Beilmann Jürgen Löchter Wilhelm Ernst Otto van de Loo Peter Knäbel Hermann Rahe Wilhelm Reerink Serkan Durmus Josef Sieber Karl-Joachim Hölkeskamp Max Crone Robert Graf Gerrit Horstmeier Michael Schulz Andreas Reckwitz Otto Schlüter Jens Kloppmann Wilhelm Stör Ulrich Schmidt Reinhard Düchting Fritz Buchthal Boris Kraas Friedhelm Ottlinger Heinrich Unger Georg Goyert Theo West Rainer von Schilling Karl Koch Klaus Rost Heiner Backhaus Erich Schöppner Lais Franzen Martin Geck Martin Irle Ralf Lyding Rainer Schnell Wolfgang Schmidt Mahmout Najdi Burghard Schloemann Heinrich Albert Hömberg Hugo Ernst Käufer Carsten Keuler Ralf Kapschack Jan Hegenbam Hugo Kraas Rolf Sethe Richard Martin Mirko Englich Lakmann One Heinrich Tiaden Emil Lohkamp Erasmus Stein Edmund Noortwyck Fritz Uphoff Heinrich Schmidt-Matthiesen Louis Constanz Berger Ulrich Harbecke Timo Achenbach Wilhelm Cappel Stephan Schmidt-Wulffen Wolfram Siemann Heinrich Schoppmeyer Wolfgang Rosenbaum Uwe Sielert Kevin Vogt Julius Gressler Oskar Gabel Heinz-Dieter Klink Rudolf Robbert Heinrich Kositzki Babak Khalatbari Christian Lukas Adolf König Martin Zuhr Horst Stuckmann Willi Veller Bernd Trocholepczy Friedhelm Werremeier Richard Grünschläger Hanns Möller-Witten Carl Emil Uphoff Bernhard Meuser Otto Flehinghaus Dirk Rohmann Karsten Rudolph Niklas Goldbach Charles Paul Wilp Ernst Nolte Hein Gorny Theodor Detmers Armin Erdmann Herbert Dörner Dennis Eilhoff Jochen Nickel Otto Schott Hermann Voss Volker Gruhn Albert K. Hömberg Karl-Ernst Wohlfarth-Bottermann Herbert Baack Josef Schirpenbach Günther Drebusch Stephan Remmler Thomas Stotko Hans-Martin Linnemann Walter Machtemes Jürgen Staupe Carl August Fischer Karl-Wilhelm Welwei Klaus Lohmann Gustav Haarmann Gustav Haarmann Guido Grabow Kurt Dörnemann Heinrich Jungebloedt Gustav Lohmann
Mahmout Najdi, Wilhelm Stör, Armin Erdmann, Thomas Stotko, Fritz Buchthal, Christian Lukas, Jan Hegenbam, Jochen Nickel, Otto Flehinghaus and Gustav Haarmann have place of birth as Witten and have the gender as male
Mahmout Najdi Wilhelm Stör Armin Erdmann Thomas Stotko Fritz Buchthal Christian Lukas Jan Hegenbam Jochen Nickel Otto Flehinghaus Gustav Haarmann
action filter_type
action intersection
action find_reverse
entity Witten
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Witten'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b property:place_of_birth resource:Witten . ?b property:gender resource:male . ?b rdf:type ontology:common_name }
[]