Simple Question (Direct)
Simple Question
Q872054
P108
Q3914
USER
Which school employs Max Baumann ?
(Q872054,P108,c(Q3914))
action filter_type
action find
entity Q872054
relation P108
type Q3914
['Q872054', 'P108', {'concept': 'Q3914'}]
SELECT DISTINCT ?w WHERE { resource:Q872054 property:P108 ?w . ?w rdf:type ontology:Q3914 }
Max Baumann
action filter_type
action find
entity Max Baumann
relation employer
type school
['Max Baumann', 'employer', {'concept': 'school'}]
SELECT DISTINCT ?w WHERE { resource:Max_Baumann property:employer ?w . ?w rdf:type ontology:school }
[]
school
Q55038
SYSTEM
Berlin University of the Arts
Q55038
(Q872054,P108,c(Q3914))
action filter_type
action find
entity Q872054
relation P108
type Q3914
[ANSWER] employs Max Baumann
['Q872054', 'P108', {'concept': 'Q3914'}]
SELECT DISTINCT ?w WHERE { resource:Q872054 property:P108 ?w . ?w rdf:type ontology:Q3914 }
Berlin University of the Arts
Berlin University of the Arts employs Max Baumann
Berlin University of the Arts
action filter_type
action find
entity Max Baumann
relation employer
type school
['Max Baumann', 'employer', {'concept': 'school'}]
SELECT DISTINCT ?w WHERE { resource:Max_Baumann property:employer ?w . ?w rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55038
P69
Q502895
USER
Which people were educated at that school ?
(c(Q502895),P69,Q55038)
action filter_type
action find_reverse
entity Q55038
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q55038']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P69 resource:Q55038 }
Berlin University of the Arts
action filter_type
action find_reverse
entity Berlin University of the Arts
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Berlin University of the Arts']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:educated_at resource:Berlin_University_of_the_Arts }
[]
common name
Q6538 Q880775 Q153611
SYSTEM
Günter Grass, Gotthard Graubner, Isang Yun
Q3609561 Q23775588 Q27862033 Q2503921 Q27031924 Q18386211 Q153611 Q6576889 Q112743 Q214131 Q2589911 Q1612291 Q880775 Q1731943 Q3044911 Q27520817 Q551026 Q566588 Q1713369 Q2133251 Q195796 Q74614 Q1483651 Q1839873 Q981220 Q24251359 Q213735 Q374812 Q5448539 Q1806286 Q72224 Q1412479 Q6216900 Q2076300 Q1080397 Q358140 Q95932 Q15434653 Q6538 Q304843 Q195989 Q4767166 Q830579 Q2561538 Q23869060 Q69209
(c(Q502895),P69,Q55038)
action filter_type
action find_reverse
entity Q55038
relation P69
type Q502895
[ANSWERS] were educated at that school
[{'concept': 'Q502895'}, 'P69', 'Q55038']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P69 resource:Q55038 }
Helen Hyde Jörn Klare Ute Becker Uwe Karsten Groß Sabine Schneider Julius von Bismarck Isang Yun Susanne Weckerle Melika Foroutan Ignatz Waghalter Wolfgang Helbich Johannes Flütsch Gotthard Graubner Karl Klingler Per Hüttner Raphaela Möst Anja Beatrice Kaul Annette Hess Klaus Lindemann Raul Krauthausen Gunter Demnig Heinz Hajek-Halke Toshio Hosokawa Agi Jambor Oleg Zinger Iwona Mickiewicz Charlotte Salomon Adriana Altaras Filipa César Lars Löllmann Dea Loher Otgonbayar Ershuu Johannes Palaschko Peter Klasen Christian Höpfner Kálmán Giergl Inka Friedrich Annette Menting Günter Grass Robert Hausmann Gunter Böhmer Anna Klingmann Enno Poppe Werner Holzwarth Timo Vollbrecht Max Trapp
Günter Grass, Gotthard Graubner and Isang Yun were educated at that school
Günter Grass Gotthard Graubner Isang Yun
action filter_type
action find_reverse
entity Berlin University of the Arts
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Berlin University of the Arts']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:educated_at resource:Berlin_University_of_the_Arts }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6538
P110
Q2342494
USER
Which collectable had an illustration done by that person ?
(c(Q2342494),P110,Q6538)
action filter_type
action find_reverse
entity Q6538
relation P110
type Q2342494
[{'concept': 'Q2342494'}, 'P110', 'Q6538']
SELECT DISTINCT ?m WHERE { ?m property:P110 resource:Q6538 . ?m rdf:type ontology:Q2342494 }
Günter Grass
action filter_type
action find_reverse
entity Günter Grass
relation illustrator
type collectable
[{'concept': 'collectable'}, 'illustrator', 'Günter Grass']
SELECT DISTINCT ?m WHERE { ?m property:illustrator resource:Günter_Grass . ?m rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q153611
SYSTEM
Did you mean Isang Yun ?
Q6538 Q880775 Q153611
(c(Q2342494),P110,Q6538) (c(Q2342494),P110,Q880775) (c(Q2342494),P110,Q153611)
[ANSWER]
[{'concept': 'Q2342494'}, 'P110', 'Q6538'] [{'concept': 'Q2342494'}, 'P110', 'Q880775'] [{'concept': 'Q2342494'}, 'P110', 'Q153611']
SELECT DISTINCT ?m WHERE { ?m property:P110 resource:Q6538 . ?m rdf:type ontology:Q2342494 }
Günter Grass Gotthard Graubner Isang Yun
Did you mean Isang Yun ?
Isang Yun
[{'concept': 'collectable'}, 'illustrator', 'Günter Grass'] [{'concept': 'collectable'}, 'illustrator', 'Gotthard Graubner'] [{'concept': 'collectable'}, 'illustrator', 'Isang Yun']
SELECT DISTINCT ?m WHERE { ?m property:illustrator resource:Günter_Grass . ?m rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
No, I meant Günter Grass. Could you tell me the answer for that?
(c(Q2342494),P110,Q6538)
Q6538
[{'concept': 'Q2342494'}, 'P110', 'Q6538']
[{'concept': 'collectable'}, 'illustrator', 'Günter Grass']
[]
Q1736859
SYSTEM
Cat and Mouse
Q1736859
(c(Q2342494),P110,Q6538)
action filter_type
action find_reverse
entity Q6538
relation P110
type Q2342494
[ANSWER] had an illustration done by that person
[{'concept': 'Q2342494'}, 'P110', 'Q6538']
SELECT DISTINCT ?m WHERE { ?m property:P110 resource:Q6538 . ?m rdf:type ontology:Q2342494 }
Cat and Mouse
Cat and Mouse had an illustration done by that person
Cat and Mouse
action filter_type
action find_reverse
entity Günter Grass
relation illustrator
type collectable
[{'concept': 'collectable'}, 'illustrator', 'Günter Grass']
SELECT DISTINCT ?m WHERE { ?m property:illustrator resource:Günter_Grass . ?m rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5362390 Q6538
P19 P551
Q56061
USER
Which administrative territories were the places of residence of Günter Grass or were Elizabeth Bates born at ?
OR((Q6538,P551,c(Q56061)), (Q5362390,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6538
relation P551
action find
entity Q5362390
relation P19
type Q56061
{'OR': [['Q6538', 'P551', {'concept': 'Q56061'}], ['Q5362390', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q6538 property:P551 ?m } UNION { resource:Q5362390 property:P19 ?m } } . ?m rdf:type ontology:Q56061 }
Elizabeth Bates Günter Grass
action filter_type
action union
action find
entity Günter Grass
relation residence
action find
entity Elizabeth Bates
relation place of birth
type administrative territorial entity
{'OR': [['Günter Grass', 'residence', {'concept': 'administrative territorial entity'}], ['Elizabeth Bates', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Günter_Grass property:residence ?m } UNION { resource:Elizabeth_Bates property:place_of_birth ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q49266 Q90
SYSTEM
Wichita, Paris
Q49266 Q90
OR((Q6538,P551,c(Q56061)), (Q5362390,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6538
relation P551
action find
entity Q5362390
relation P19
type Q56061
[ANSWERS] were the places of residence of Günter Grass or were Elizabeth Bates born at
{'OR': [['Q6538', 'P551', {'concept': 'Q56061'}], ['Q5362390', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q6538 property:P551 ?m } UNION { resource:Q5362390 property:P19 ?m } } . ?m rdf:type ontology:Q56061 }
Wichita Paris
Wichita and Paris were the places of residence of Günter Grass or were Elizabeth Bates born at
Wichita Paris
action filter_type
action union
action find
entity Günter Grass
relation residence
action find
entity Elizabeth Bates
relation place of birth
type administrative territorial entity
{'OR': [['Günter Grass', 'residence', {'concept': 'administrative territorial entity'}], ['Elizabeth Bates', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Günter_Grass property:residence ?m } UNION { resource:Elizabeth_Bates property:place_of_birth ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2918035 Q880775
P161
Q838948
USER
Which works of art have Gotthard Graubner or Cristina Banegas as actor ?
OR((c(Q838948),P161,Q880775), (c(Q838948),P161,Q2918035))
action filter_type
action union
action find_reverse
entity Q880775
relation P161
action find_reverse
entity Q2918035
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q880775'], [{'concept': 'Q838948'}, 'P161', 'Q2918035']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P161 resource:Q2918035 } UNION { ?s property:P161 resource:Q880775 } } . ?s rdf:type ontology:Q838948 }
Cristina Banegas Gotthard Graubner
action filter_type
action union
action find_reverse
entity Gotthard Graubner
relation cast member
action find_reverse
entity Cristina Banegas
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Gotthard Graubner'], [{'concept': 'work of art'}, 'cast member', 'Cristina Banegas']]}
SELECT DISTINCT ?s WHERE { { { ?s property:cast_member resource:Cristina_Banegas } UNION { ?s property:cast_member resource:Gotthard_Graubner } } . ?s rdf:type ontology:work_of_art }
[]
work of art
Q953441 Q20850481 Q72162 Q6466486 Q4967020 Q7757937
SYSTEM
Eva Perón: The True Story, Gotthard Graubner – Farb-Raum-Körper, Clandestine Childhood, La vida por Perón, Brief Heaven, The Power of Darkness
Q953441 Q20850481 Q72162 Q6466486 Q4967020 Q7757937
OR((c(Q838948),P161,Q880775), (c(Q838948),P161,Q2918035))
action filter_type
action union
action find_reverse
entity Q880775
relation P161
action find_reverse
entity Q2918035
relation P161
type Q838948
[ANSWERS] have Gotthard Graubner or Cristina Banegas as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q880775'], [{'concept': 'Q838948'}, 'P161', 'Q2918035']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P161 resource:Q2918035 } UNION { ?s property:P161 resource:Q880775 } } . ?s rdf:type ontology:Q838948 }
Eva Perón: The True Story Gotthard Graubner – Farb-Raum-Körper Clandestine Childhood La vida por Perón Brief Heaven The Power of Darkness
Eva Perón: The True Story, Gotthard Graubner – Farb-Raum-Körper, Clandestine Childhood, La vida por Perón, Brief Heaven and The Power of Darkness have Gotthard Graubner or Cristina Banegas as actor
Eva Perón: The True Story Gotthard Graubner – Farb-Raum-Körper Clandestine Childhood La vida por Perón Brief Heaven The Power of Darkness
action filter_type
action union
action find_reverse
entity Gotthard Graubner
relation cast member
action find_reverse
entity Cristina Banegas
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Gotthard Graubner'], [{'concept': 'work of art'}, 'cast member', 'Cristina Banegas']]}
SELECT DISTINCT ?s WHERE { { { ?s property:cast_member resource:Cristina_Banegas } UNION { ?s property:cast_member resource:Gotthard_Graubner } } . ?s rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q682940
P17
Q1048835
USER
How many political territories are Traunstein a part of ?
(Q682940,P17,c(Q1048835))
action count
action filter_type
action find
entity Q682940
relation P17
type Q1048835
['Q682940', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q682940 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Traunstein
action count
action filter_type
action find
entity Traunstein
relation country
type political territorial entity
['Traunstein', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Traunstein property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q40
(Q682940,P17,c(Q1048835))
action count
action filter_type
action find
entity Q682940
relation P17
type Q1048835
[ANSWER]
['Q682940', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q682940 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Austria
1
action count
action filter_type
action find
entity Traunstein
relation country
type political territorial entity
['Traunstein', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Traunstein property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q682940
P47
Q15617994
USER
Which administrative territories are next to the border of that one ?
action filter_type
action find_reverse
entity Q682940
relation P47
type Q15617994
SELECT DISTINCT ?d WHERE { ?d property:P47 resource:Q682940 . ?d rdf:type ontology:Q15617994 }
Traunstein
action filter_type
action find_reverse
entity Traunstein
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?d WHERE { ?d property:shares_border_with resource:Traunstein . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q691680 Q691620
SYSTEM
Martinsberg, Gutenbrunn
Q691680 Q691620
action filter_type
action find_reverse
entity Q682940
relation P47
type Q15617994
[ANSWERS] are next to the border of that one
SELECT DISTINCT ?d WHERE { ?d property:P47 resource:Q682940 . ?d rdf:type ontology:Q15617994 }
Martinsberg Gutenbrunn
Martinsberg and Gutenbrunn are next to the border of that one
Martinsberg Gutenbrunn
action filter_type
action find_reverse
entity Traunstein
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?d WHERE { ?d property:shares_border_with resource:Traunstein . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q691680 Q691620
P17
Q1048835
USER
Which political territories are those administrative territories a part of ?
(Q691680,P17,c(Q1048835)) (Q691620,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q691680', 'P17', {'concept': 'Q1048835'}] ['Q691620', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { ?p property:P17 ?n . ?n rdf:type ontology:Q1048835 . VALUES ( ?p ) { ( resource:Q691680 ) ( resource:Q691620 ) } }
Martinsberg Gutenbrunn
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Martinsberg', 'country', {'concept': 'political territorial entity'}] ['Gutenbrunn', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { ?p property:country ?n . ?n rdf:type ontology:political_territorial_entity . VALUES ( ?p ) { ( resource:Martinsberg ) ( resource:Gutenbrunn ) } }
[]
political territorial entity
Q40 Q40
SYSTEM
Austria
Q40 Q40
(Q691680,P17,c(Q1048835)) (Q691620,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
[ANSWER] and [ANSWER] are those administrative territories a part of
['Q691680', 'P17', {'concept': 'Q1048835'}] ['Q691620', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { ?p property:P17 ?n . ?n rdf:type ontology:Q1048835 . VALUES ( ?p ) { ( resource:Q691680 ) ( resource:Q691620 ) } }
Austria Austria
Austria and Austria are those administrative territories a part of
Austria Austria
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Martinsberg', 'country', {'concept': 'political territorial entity'}] ['Gutenbrunn', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { ?p property:country ?n . ?n rdf:type ontology:political_territorial_entity . VALUES ( ?p ) { ( resource:Martinsberg ) ( resource:Gutenbrunn ) } }
[]