Simple Question (Direct)
Simple Question
Q435169
P19
Q56061
USER
Which administrative territory is the place of birth of John Abineri ?
(Q435169,P19,c(Q56061))
action filter_type
action find
entity Q435169
relation P19
type Q56061
['Q435169', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q435169 property:P19 ?w . ?w rdf:type ontology:Q56061 }
John Abineri
action filter_type
action find
entity John Abineri
relation place of birth
type administrative territorial entity
['John Abineri', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:John_Abineri property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q435169,P19,c(Q56061))
action filter_type
action find
entity Q435169
relation P19
type Q56061
[ANSWER] is the place of birth of John Abineri
['Q435169', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q435169 property:P19 ?w . ?w rdf:type ontology:Q56061 }
London
London is the place of birth of John Abineri
London
action filter_type
action find
entity John Abineri
relation place of birth
type administrative territorial entity
['John Abineri', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:John_Abineri property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P190
Q56061
USER
Which administrative territories are the sister cities of that one ?
(Q84,P190,c(Q56061))
action filter_type
action find
entity Q84
relation P190
type Q56061
['Q84', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q84 property:P190 ?o . ?o rdf:type ontology:Q56061 }
London
action filter_type
action find
entity London
relation sister city
type administrative territorial entity
['London', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:London property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q8686 Q64
SYSTEM
Moscow, Shanghai, Berlin
Q8686 Q1353 Q649 Q472 Q34820 Q9248 Q987 Q1156 Q3630 Q466221 Q3561 Q1490 Q23564 Q1850 Q585 Q406 Q34647 Q956 Q159273 Q64 Q65 Q60
(Q84,P190,c(Q56061))
action filter_type
action find
entity Q84
relation P190
type Q56061
[ANSWERS] are the sister cities of that one
['Q84', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q84 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Shanghai Delhi Moscow Sofia Santo Domingo Baku New Delhi Mumbai Jakarta Sylhet Algiers Tokyo Podgorica Phnom Penh Oslo Istanbul Johannesburg Beijing Arequipa Berlin Los Angeles New York City
Moscow, Shanghai and Berlin are the sister cities of that one
Moscow Shanghai Berlin
action filter_type
action find
entity London
relation sister city
type administrative territorial entity
['London', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:London property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q649 Q8686 Q64
P276
Q1190554
USER
What are located at those administrative territories ?
(c(Q1190554),P276,Q649) (c(Q1190554),P276,Q8686) (c(Q1190554),P276,Q64)
action filter_type
action find_reverse
entity prev_answer
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q649'] [{'concept': 'Q1190554'}, 'P276', 'Q8686'] [{'concept': 'Q1190554'}, 'P276', 'Q64']
SELECT DISTINCT ?t WHERE { ?t property:P276 ?a . VALUES ( ?a ) { ( resource:Q8686 ) ( resource:Q1353 ) ( resource:Q649 ) } . ?t rdf:type ontology:Q1190554 }
Moscow Shanghai Berlin
action filter_type
action find_reverse
entity prev_answer
relation location
type event
[{'concept': 'event'}, 'location', 'Moscow'] [{'concept': 'event'}, 'location', 'Shanghai'] [{'concept': 'event'}, 'location', 'Berlin']
SELECT DISTINCT ?t WHERE { ?t property:location ?a . VALUES ( ?a ) { ( resource:Shanghai ) ( resource:Delhi ) ( resource:Moscow ) } . ?t rdf:type ontology:event }
[]
event
Q23725830 Q154182 Q1083718
SYSTEM
Nuit debout, Battle of Berlin, Battle of Tarutino
Q1083718 Q598090 Q254599 Q167143 Q23725830 Q154182 Q647827 Q21968176 Q713400
(c(Q1190554),P276,Q649) (c(Q1190554),P276,Q8686) (c(Q1190554),P276,Q64)
action filter_type
action find_reverse
entity prev_answer
relation P276
type Q1190554
[ANSWERS] are located at those administrative territories
[{'concept': 'Q1190554'}, 'P276', 'Q649'] [{'concept': 'Q1190554'}, 'P276', 'Q8686'] [{'concept': 'Q1190554'}, 'P276', 'Q64']
SELECT DISTINCT ?t WHERE { ?t property:P276 ?a . VALUES ( ?a ) { ( resource:Q8686 ) ( resource:Q1353 ) ( resource:Q649 ) } . ?t rdf:type ontology:Q1190554 }
Battle of Tarutino Battle of Maloyaroslavets Battle of Shanghai Raid on Berlin Nuit debout Battle of Berlin Battle of Dennewitz ADAC-Ball Berlin Battle in Berlin
Nuit debout, Battle of Berlin and Battle of Tarutino are located at those administrative territories
Nuit debout Battle of Berlin Battle of Tarutino
action filter_type
action find_reverse
entity prev_answer
relation location
type event
[{'concept': 'event'}, 'location', 'Moscow'] [{'concept': 'event'}, 'location', 'Shanghai'] [{'concept': 'event'}, 'location', 'Berlin']
SELECT DISTINCT ?t WHERE { ?t property:location ?a . VALUES ( ?a ) { ( resource:Shanghai ) ( resource:Delhi ) ( resource:Moscow ) } . ?t rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q154182
P361
Q350604
USER
What is Battle of Berlin a component of ?
(Q154182,P361,c(Q350604))
action filter_type
action find
entity Q154182
relation P361
type Q350604
['Q154182', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?d WHERE { resource:Q154182 property:P361 ?d . ?d rdf:type ontology:Q350604 }
Battle of Berlin
action filter_type
action find
entity Battle of Berlin
relation part of
type armed conflict
['Battle of Berlin', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?d WHERE { resource:Battle_of_Berlin property:part_of ?d . ?d rdf:type ontology:armed_conflict }
[]
armed conflict
Q189266
SYSTEM
Eastern Front
Q189266
(Q154182,P361,c(Q350604))
action filter_type
action find
entity Q154182
relation P361
type Q350604
Battle of Berlin a component of is the [ANSWER]
['Q154182', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?d WHERE { resource:Q154182 property:P361 ?d . ?d rdf:type ontology:Q350604 }
Eastern Front
Battle of Berlin a component of is the Eastern Front
Eastern Front
action filter_type
action find
entity Battle of Berlin
relation part of
type armed conflict
['Battle of Berlin', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?d WHERE { resource:Battle_of_Berlin property:part_of ?d . ?d rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q154182
P17
Q1048835
USER
Which political territory is that event present in ?
(Q189266,P17,c(Q1048835))
action filter_type
action find
entity Q154182
relation P17
type Q1048835
['Q189266', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q154182 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Battle of Berlin
action filter_type
action find
entity Battle of Berlin
relation country
type political territorial entity
['Eastern Front', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Battle_of_Berlin property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q189266,P17,c(Q1048835))
action filter_type
action find
entity Q154182
relation P17
type Q1048835
That event is in [ANSWER]
['Q189266', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q154182 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Germany
That event is in Germany
Germany
action filter_type
action find
entity Battle of Berlin
relation country
type political territorial entity
['Eastern Front', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Battle_of_Berlin property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26592 Q154182
P47 P17
Q1048835
USER
Which political territories are Battle of Berlin a part of or share border with Boca de Huérgano ?
OR((Q154182,P17,c(Q1048835)), (Q26592,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q154182
relation P17
action find
entity Q26592
relation P47
type Q1048835
{'OR': [['Q154182', 'P17', {'concept': 'Q1048835'}], ['Q26592', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q154182 property:P17 ?n } UNION { resource:Q26592 property:P47 ?n } } . ?n rdf:type ontology:Q1048835 }
Boca de Huérgano Battle of Berlin
action filter_type
action union
action find
entity Battle of Berlin
relation country
action find
entity Boca de Huérgano
relation shares border with
type political territorial entity
{'OR': [['Battle of Berlin', 'country', {'concept': 'political territorial entity'}], ['Boca de Huérgano', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Battle_of_Berlin property:country ?n } UNION { resource:Boca_de_Huérgano property:shares_border_with ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q986559 Q1615406 Q183 Q1635265 Q1614822 Q1753102 Q1635220 Q1771120 Q26640 Q1443934
SYSTEM
Velilla del Río Carrión, Valderrueda, Germany, Prioro, Vega de Liébana, Riaño, Posada de Valdeón, Cervera de Pisuerga, Burón, Camaleño
Q986559 Q1615406 Q183 Q1635265 Q1614822 Q1753102 Q1635220 Q1771120 Q26640 Q1443934
OR((Q154182,P17,c(Q1048835)), (Q26592,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q154182
relation P17
action find
entity Q26592
relation P47
type Q1048835
[ANSWERS] are Battle of Berlin a part of or share border with Boca de Huérgano
{'OR': [['Q154182', 'P17', {'concept': 'Q1048835'}], ['Q26592', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q154182 property:P17 ?n } UNION { resource:Q26592 property:P47 ?n } } . ?n rdf:type ontology:Q1048835 }
Velilla del Río Carrión Valderrueda Germany Prioro Vega de Liébana Riaño Posada de Valdeón Cervera de Pisuerga Burón Camaleño
Velilla del Río Carrión, Valderrueda, Germany, Prioro, Vega de Liébana, Riaño, Posada de Valdeón, Cervera de Pisuerga, Burón and Camaleño are Battle of Berlin a part of or share border with Boca de Huérgano
Velilla del Río Carrión Valderrueda Germany Prioro Vega de Liébana Riaño Posada de Valdeón Cervera de Pisuerga Burón Camaleño
action filter_type
action union
action find
entity Battle of Berlin
relation country
action find
entity Boca de Huérgano
relation shares border with
type political territorial entity
{'OR': [['Battle of Berlin', 'country', {'concept': 'political territorial entity'}], ['Boca de Huérgano', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Battle_of_Berlin property:country ?n } UNION { resource:Boca_de_Huérgano property:shares_border_with ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P1532
Q502895
USER
Which people play for Germany ?
(c(Q502895),P1532,Q183)
action filter_type
action find_reverse
entity Q183
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q183']
SELECT DISTINCT ?k WHERE { ?k property:P1532 resource:Q183 . ?k rdf:type ontology:Q502895 }
Germany
action filter_type
action find_reverse
entity Germany
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Germany']
SELECT DISTINCT ?k WHERE { ?k property:country_for_sport resource:Germany . ?k rdf:type ontology:common_name }
[]
common name
Q1331837 Q3530137 Q11771919
SYSTEM
Ellen Kiessling, Tobias Giehl, Maya Rehberg
Q23933662 Q17517599 Q1331837 Q23480023 Q24442448 Q3530137 Q23323661 Q14918196 Q23714989 Q24846847 Q22807080 Q23090951 Q11771919 Q25768269 Q22417389 Q23041689 Q24283241 Q17544413 Q1499347 Q16040122 Q21705952 Q25841177 Q23418556 Q1078224 Q1573540 Q24448038 Q22969617 Q25931172 Q9368268
(c(Q502895),P1532,Q183)
action filter_type
action find_reverse
entity Q183
relation P1532
type Q502895
Germany [ANSWERS] play for Germany
[{'concept': 'Q502895'}, 'P1532', 'Q183']
SELECT DISTINCT ?k WHERE { ?k property:P1532 resource:Q183 . ?k rdf:type ontology:Q502895 }
Clemens Bleistein Timo Benitz Ellen Kiessling Martin Vogel  Lisa Mayer Tobias Giehl Tobias Dahm Anjuli Knäsche Xenia Stolz Rene Stauss Annika Drazek Alexandra Wester Maya Rehberg Laura Muller Julian Flügel Joachim Dehmel Friedelinde Petershofen Max Hess Max Hopp Harald Demuth Kai Karsten Nadine Gonska Chantal Butzek Christa Wiese Ralf Jaros Anna Felzmann Konstanze Klosterhalfen Janina Kölsch Varg Königsmark
Germany Ellen Kiessling, Tobias Giehl and Maya Rehberg play for Germany
Ellen Kiessling Tobias Giehl Maya Rehberg
action filter_type
action find_reverse
entity Germany
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Germany']
SELECT DISTINCT ?k WHERE { ?k property:country_for_sport resource:Germany . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1331837 Q3530137 Q11771919
P21
Q290
USER
Which sexes do those people possess ?
(Q1331837,P21,c(Q290)) (Q3530137,P21,c(Q290)) (Q11771919,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q1331837', 'P21', {'concept': 'Q290'}] ['Q3530137', 'P21', {'concept': 'Q290'}] ['Q11771919', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . ?t property:P21 ?w . VALUES ( ?t ) { ( resource:Q23933662 ) ( resource:Q17517599 ) ( resource:Q1331837 ) } }
Ellen Kiessling Tobias Giehl Maya Rehberg
action filter_type
action find
entity prev_answer
relation gender
type sex
['Ellen Kiessling', 'gender', {'concept': 'sex'}] ['Tobias Giehl', 'gender', {'concept': 'sex'}] ['Maya Rehberg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . ?t property:gender ?w . VALUES ( ?t ) { ( resource:Clemens_Bleistein ) ( resource:Timo_Benitz ) ( resource:Ellen_Kiessling ) } }
[]
sex
Q6581072 Q6581097 Q6581072
SYSTEM
male for 2nd, female for 1st, 3rd
Q6581072 Q6581097 Q6581072
(Q1331837,P21,c(Q290)) (Q3530137,P21,c(Q290)) (Q11771919,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q1331837', 'P21', {'concept': 'Q290'}] ['Q3530137', 'P21', {'concept': 'Q290'}] ['Q11771919', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . ?t property:P21 ?w . VALUES ( ?t ) { ( resource:Q23933662 ) ( resource:Q17517599 ) ( resource:Q1331837 ) } }
female male female
Those people possess a female, male and female
female male female
action filter_type
action find
entity prev_answer
relation gender
type sex
['Ellen Kiessling', 'gender', {'concept': 'sex'}] ['Tobias Giehl', 'gender', {'concept': 'sex'}] ['Maya Rehberg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . ?t property:gender ?w . VALUES ( ?t ) { ( resource:Clemens_Bleistein ) ( resource:Timo_Benitz ) ( resource:Ellen_Kiessling ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P112
Q56061
USER
Which administrative territory was founded by Germany ?
(c(Q56061),P112,Q183)
action filter_type
action find_reverse
entity Q183
relation P112
type Q56061
[{'concept': 'Q56061'}, 'P112', 'Q183']
SELECT DISTINCT ?g WHERE { ?g property:P112 resource:Q183 . ?g rdf:type ontology:Q56061 }
Germany
action filter_type
action find_reverse
entity Germany
relation founder
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'founder', 'Germany']
SELECT DISTINCT ?g WHERE { ?g property:founder resource:Germany . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(c(Q56061),P112,Q183)
action filter_type
action find_reverse
entity Q183
relation P112
type Q56061
[ANSWER] was founded by Germany
[{'concept': 'Q56061'}, 'P112', 'Q183']
SELECT DISTINCT ?g WHERE { ?g property:P112 resource:Q183 . ?g rdf:type ontology:Q56061 }
European Union
European Union was founded by Germany
European Union
action filter_type
action find_reverse
entity Germany
relation founder
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'founder', 'Germany']
SELECT DISTINCT ?g WHERE { ?g property:founder resource:Germany . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q458
P163
Q17335294
USER
Which coat of arms has that administrative territory as its flag ?
(Q458,P163,c(Q17335294))
action filter_type
action find
entity Q458
relation P163
type Q17335294
['Q458', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q17335294 . resource:Q458 property:P163 ?w }
European Union
action filter_type
action find
entity European Union
relation flag
type flag or coat of arms
['European Union', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:flag_or_coat_of_arms . resource:European_Union property:flag ?w }
[]
flag or coat of arms
Q122482
SYSTEM
flag of Europe
Q122482
(Q458,P163,c(Q17335294))
action filter_type
action find
entity Q458
relation P163
type Q17335294
The [ANSWER] has that administrative territory as its flag
['Q458', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q17335294 . resource:Q458 property:P163 ?w }
flag of Europe
The flag of Europe has that administrative territory as its flag
flag of Europe
action filter_type
action find
entity European Union
relation flag
type flag or coat of arms
['European Union', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:flag_or_coat_of_arms . resource:European_Union property:flag ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q458
P85
Q484692
USER
What is the anthem for European Union ?
(Q458,P85,c(Q484692))
action filter_type
action find
entity Q458
relation P85
type Q484692
['Q458', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?j WHERE { resource:Q458 property:P85 ?j . ?j rdf:type ontology:Q484692 }
European Union
action filter_type
action find
entity European Union
relation anthem
type hymn
['European Union', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?j WHERE { resource:European_Union property:anthem ?j . ?j rdf:type ontology:hymn }
[]
hymn
Q11993
SYSTEM
Anthem of Europe
Q11993
(Q458,P85,c(Q484692))
action filter_type
action find
entity Q458
relation P85
type Q484692
The anthem for European Union is the [ANSWER]
['Q458', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?j WHERE { resource:Q458 property:P85 ?j . ?j rdf:type ontology:Q484692 }
Anthem of Europe
The anthem for European Union is the Anthem of Europe
Anthem of Europe
action filter_type
action find
entity European Union
relation anthem
type hymn
['European Union', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?j WHERE { resource:European_Union property:anthem ?j . ?j rdf:type ontology:hymn }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P6
Q502895
USER
Which people are the head of government of Germany ?
(Q183,P6,c(Q502895))
action filter_type
action find
entity Q183
relation P6
type Q502895
['Q183', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q183 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Germany
action filter_type
action find
entity Germany
relation head of government
type common name
['Germany', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Germany property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
common name
Q2492 Q2514 Q567
SYSTEM
Konrad Adenauer, Willy Brandt, Angela Merkel
Q2492 Q2518 Q2530 Q2496 Q2514 Q2516 Q2571 Q2512 Q567
(Q183,P6,c(Q502895))
action filter_type
action find
entity Q183
relation P6
type Q502895
Germany [ANSWERS] are the head of government of Germany
['Q183', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q183 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Konrad Adenauer Helmut Kohl Gerhard Schröder Ludwig Erhard Willy Brandt Helmut Schmidt Walter Scheel Kurt Georg Kiesinger Angela Merkel
Germany Konrad Adenauer, Willy Brandt and Angela Merkel are the head of government of Germany
Konrad Adenauer Willy Brandt Angela Merkel
action filter_type
action find
entity Germany
relation head of government
type common name
['Germany', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Germany property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P35
Q502895
USER
Who are the heads of state of Germany ?
(Q183,P35,c(Q502895))
action filter_type
action find
entity Q183
relation P35
type Q502895
['Q183', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q183 property:P35 ?s }
Germany
action filter_type
action find
entity Germany
relation head of state
type common name
['Germany', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Germany property:head_of_state ?s }
[]
common name
Q2567 Q2571 Q2594
SYSTEM
Richard von Weizsäcker, Walter Scheel, Theodor Heuss
Q2569 Q2594 Q2573 Q2563 Q2571 Q2538 Q2551 Q2567 Q2540 Q2582 Q2542
(Q183,P35,c(Q502895))
action filter_type
action find
entity Q183
relation P35
type Q502895
The heads of state of Germany are Baron [ANSWERS]
['Q183', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q183 property:P35 ?s }
Karl Carstens Theodor Heuss Gustav Heinemann Roman Herzog Walter Scheel Joachim Gauck Johannes Rau Richard von Weizsäcker Christian Wulff Heinrich Lübke Horst Köhler
The heads of state of Germany are Baron Richard von Weizsäcker, Walter Scheel and Theodor Heuss
Richard von Weizsäcker Walter Scheel Theodor Heuss
action filter_type
action find
entity Germany
relation head of state
type common name
['Germany', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Germany property:head_of_state ?s }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2567
P22
Q502895
USER
Which people have that one as father ?
(c(Q502895),P22,Q2567)
action filter_type
action find_reverse
entity Q2567
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q2567']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q2567 . ?n rdf:type ontology:Q502895 }
Richard von Weizsäcker
action filter_type
action find_reverse
entity Richard von Weizsäcker
relation father
type common name
[{'concept': 'common name'}, 'father', 'Richard von Weizsäcker']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Richard_von_Weizsäcker . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2567
SYSTEM
Did you mean Richard von Weizsäcker ?
Q2567 Q2571 Q2594
(c(Q502895),P22,Q2567) (c(Q502895),P22,Q2571) (c(Q502895),P22,Q2594)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q2567'] [{'concept': 'Q502895'}, 'P22', 'Q2571'] [{'concept': 'Q502895'}, 'P22', 'Q2594']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q2567 . ?n rdf:type ontology:Q502895 }
Richard von Weizsäcker Walter Scheel Theodor Heuss
Did you mean Richard von Weizsäcker ?
Richard von Weizsäcker
[{'concept': 'common name'}, 'father', 'Richard von Weizsäcker'] [{'concept': 'common name'}, 'father', 'Walter Scheel'] [{'concept': 'common name'}, 'father', 'Theodor Heuss']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Richard_von_Weizsäcker . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P22,Q2567)
[{'concept': 'Q502895'}, 'P22', 'Q2567']
[{'concept': 'common name'}, 'father', 'Richard von Weizsäcker']
[]
Q501493 Q1503424 Q813272
SYSTEM
Andreas von Weizsäcker, Robert K. von Weizsäcker, Beatrice von Weizsäcker
Q501493 Q1469164 Q1503424 Q813272
(c(Q502895),P22,Q2567)
action filter_type
action find_reverse
entity Q2567
relation P22
type Q502895
[ANSWERS] have that one as father
[{'concept': 'Q502895'}, 'P22', 'Q2567']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q2567 . ?n rdf:type ontology:Q502895 }
Andreas von Weizsäcker Fritz von Weizsäcker Robert K. von Weizsäcker Beatrice von Weizsäcker
Andreas von Weizsäcker, Robert K. von Weizsäcker and Beatrice von Weizsäcker have that one as father
Andreas von Weizsäcker Robert K. von Weizsäcker Beatrice von Weizsäcker
action filter_type
action find_reverse
entity Richard von Weizsäcker
relation father
type common name
[{'concept': 'common name'}, 'father', 'Richard von Weizsäcker']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Richard_von_Weizsäcker . ?n rdf:type ontology:common_name }
[]