Simple Question (Direct)
Simple Question
Q2164727
P27
Q1048835
USER
Which political territory is the country of citizenship of Roman Sandgruber ?
(Q2164727,P27,c(Q1048835))
action filter_type
action find
entity Q2164727
relation P27
type Q1048835
['Q2164727', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q2164727 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Roman Sandgruber
action filter_type
action find
entity Roman Sandgruber
relation country of citizenship
type political territorial entity
['Roman Sandgruber', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Roman_Sandgruber property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q2164727,P27,c(Q1048835))
action filter_type
action find
entity Q2164727
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Roman Sandgruber
['Q2164727', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q2164727 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Austria
Austria is the country of citizenship of Roman Sandgruber
Austria
action filter_type
action find
entity Roman Sandgruber
relation country of citizenship
type political territorial entity
['Roman Sandgruber', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Roman_Sandgruber property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2164727
P21
Q290
USER
Which sex does Roman Sandgruber possess ?
(Q2164727,P21,c(Q290))
action filter_type
action find
entity Q2164727
relation P21
type Q290
['Q2164727', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q2164727 property:P21 ?v . ?v rdf:type ontology:Q290 }
Roman Sandgruber
action filter_type
action find
entity Roman Sandgruber
relation gender
type sex
['Roman Sandgruber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Roman_Sandgruber property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2164727,P21,c(Q290))
action filter_type
action find
entity Q2164727
relation P21
type Q290
Roman Sandgruber possesses un [ANSWER]
['Q2164727', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q2164727 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
Roman Sandgruber possesses un male
male
action filter_type
action find
entity Roman Sandgruber
relation gender
type sex
['Roman Sandgruber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Roman_Sandgruber property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2164727
P106
Q12737077
USER
What are the job of Roman Sandgruber ?
(Q2164727,P106,c(Q12737077))
action filter_type
action find
entity Q2164727
relation P106
type Q12737077
['Q2164727', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q2164727 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Roman Sandgruber
action filter_type
action find
entity Roman Sandgruber
relation occupation
type occupation
['Roman Sandgruber', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Roman_Sandgruber property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q201788 Q1622272
SYSTEM
historian, university teacher
Q201788 Q1622272
(Q2164727,P106,c(Q12737077))
action filter_type
action find
entity Q2164727
relation P106
type Q12737077
The job of Roman Sandgruber are a [ANSWERS]
['Q2164727', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q2164727 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
historian university teacher
The job of Roman Sandgruber are a historian and university teacher
historian university teacher
action filter_type
action find
entity Roman Sandgruber
relation occupation
type occupation
['Roman Sandgruber', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Roman_Sandgruber property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q201788 Q1622272
P101
Q502895
USER
Which people have field of work as historian and university teacher ?
(c(Q502895),P101,Q201788) (c(Q502895),P101,Q1622272)
action union
action filter_type
action find_reverse
entity Q201788
relation P101
type Q502895
action filter_type
action find_reverse
entity Q1622272
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q201788'] [{'concept': 'Q502895'}, 'P101', 'Q1622272']
SELECT DISTINCT ?h WHERE { { ?h property:P101 resource:Q201788 . ?h rdf:type ontology:Q502895 } UNION { ?h property:P101 resource:Q1622272 . ?h rdf:type ontology:Q502895 } }
historian university teacher
action union
action filter_type
action find_reverse
entity historian
relation field of work
type common name
action filter_type
action find_reverse
entity university teacher
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'historian'] [{'concept': 'common name'}, 'field of work', 'university teacher']
SELECT DISTINCT ?h WHERE { { ?h property:field_of_work resource:historian . ?h rdf:type ontology:common_name } UNION { ?h property:field_of_work resource:university_teacher . ?h rdf:type ontology:common_name } }
[]
common name
Q60217 Q61648 Q21030230
SYSTEM
Johann Gustav Droysen, Georg Gottfried Gervinus, Eliška Klimková-Deutschová
Q981839 Q14436716 Q2408608 Q15432799 Q21042244 Q101339 Q60217 Q75371 Q61648 Q21030230
(c(Q502895),P101,Q201788) (c(Q502895),P101,Q1622272)
action union
action filter_type
action find_reverse
entity Q201788
relation P101
type Q502895
action filter_type
action find_reverse
entity Q1622272
relation P101
type Q502895
[ANSWERS] have field of work as historian and university teacher
[{'concept': 'Q502895'}, 'P101', 'Q201788'] [{'concept': 'Q502895'}, 'P101', 'Q1622272']
SELECT DISTINCT ?h WHERE { { ?h property:P101 resource:Q201788 . ?h rdf:type ontology:Q502895 } UNION { ?h property:P101 resource:Q1622272 . ?h rdf:type ontology:Q502895 } }
Frederick Copleston Knut Mykland Patrick Cabanel Hugo Weczerka Vicent Baydal Gustav Adolf Harald Stenzel Johann Gustav Droysen Johannes Fallati Georg Gottfried Gervinus Eliška Klimková-Deutschová
Johann Gustav Droysen, Georg Gottfried Gervinus and Eliška Klimková-Deutschová have field of work as historian and university teacher
Johann Gustav Droysen Georg Gottfried Gervinus Eliška Klimková-Deutschová
action union
action filter_type
action find_reverse
entity historian
relation field of work
type common name
action filter_type
action find_reverse
entity university teacher
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'historian'] [{'concept': 'common name'}, 'field of work', 'university teacher']
SELECT DISTINCT ?h WHERE { { ?h property:field_of_work resource:historian . ?h rdf:type ontology:common_name } UNION { ?h property:field_of_work resource:university_teacher . ?h rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q60217 Q61648 Q21030230
P106
Q12737077
USER
What are the professions of those people ?
(Q60217,P106,c(Q12737077)) (Q61648,P106,c(Q12737077)) (Q21030230,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q60217', 'P106', {'concept': 'Q12737077'}] ['Q61648', 'P106', {'concept': 'Q12737077'}] ['Q21030230', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . ?e property:P106 ?j . VALUES ( ?e ) { ( resource:Q981839 ) ( resource:Q14436716 ) ( resource:Q2408608 ) } }
Johann Gustav Droysen Georg Gottfried Gervinus Eliška Klimková-Deutschová
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Johann Gustav Droysen', 'occupation', {'concept': 'occupation'}] ['Georg Gottfried Gervinus', 'occupation', {'concept': 'occupation'}] ['Eliška Klimková-Deutschová', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . ?e property:occupation ?j . VALUES ( ?e ) { ( resource:Frederick_Copleston ) ( resource:Knut_Mykland ) ( resource:Patrick_Cabanel ) } }
[]
occupation
Q201788 Q1622272 Q201788
SYSTEM
historian for 1st, 3rd, university teacher for 2nd
Q201788 Q82955 Q1622272 Q201788 Q82955 Q36180 Q13570226 Q1622272 Q39631 Q1622272
(Q60217,P106,c(Q12737077)) (Q61648,P106,c(Q12737077)) (Q21030230,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q60217', 'P106', {'concept': 'Q12737077'}] ['Q61648', 'P106', {'concept': 'Q12737077'}] ['Q21030230', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . ?e property:P106 ?j . VALUES ( ?e ) { ( resource:Q981839 ) ( resource:Q14436716 ) ( resource:Q2408608 ) } }
historian politician university teacher historian politician writer literary historian university teacher physician university teacher
The professions of those people are university historian, university teacher and historian
historian university teacher historian
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Johann Gustav Droysen', 'occupation', {'concept': 'occupation'}] ['Georg Gottfried Gervinus', 'occupation', {'concept': 'occupation'}] ['Eliška Klimková-Deutschová', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . ?e property:occupation ?j . VALUES ( ?e ) { ( resource:Frederick_Copleston ) ( resource:Knut_Mykland ) ( resource:Patrick_Cabanel ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60217
P22
Q502895
USER
Which male person was the parent of Johann Gustav Droysen ?
(Q60217,P22,c(Q502895))
action filter_type
action find
entity Q60217
relation P22
type Q502895
['Q60217', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q60217 property:P22 ?m . ?m rdf:type ontology:Q502895 }
Johann Gustav Droysen
action filter_type
action find
entity Johann Gustav Droysen
relation father
type common name
['Johann Gustav Droysen', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Johann_Gustav_Droysen property:father ?m . ?m rdf:type ontology:common_name }
[]
common name
Q1288518
SYSTEM
Johann Christoph Droysen
Q1288518
(Q60217,P22,c(Q502895))
action filter_type
action find
entity Q60217
relation P22
type Q502895
S [ANSWER] was the parent of Johann Gustav Droysen
['Q60217', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q60217 property:P22 ?m . ?m rdf:type ontology:Q502895 }
Johann Christoph Droysen
S Johann Christoph Droysen was the parent of Johann Gustav Droysen
Johann Christoph Droysen
action filter_type
action find
entity Johann Gustav Droysen
relation father
type common name
['Johann Gustav Droysen', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Johann_Gustav_Droysen property:father ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1288518
P40
Q502895
USER
Which person is a child of that one ?
(Q1288518,P40,c(Q502895))
action filter_type
action find
entity Q1288518
relation P40
type Q502895
['Q1288518', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1288518 property:P40 ?b . ?b rdf:type ontology:Q502895 }
Johann Christoph Droysen
action filter_type
action find
entity Johann Christoph Droysen
relation child
type common name
['Johann Christoph Droysen', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Johann_Christoph_Droysen property:child ?b . ?b rdf:type ontology:common_name }
[]
common name
Q60217
SYSTEM
Johann Gustav Droysen
Q60217
(Q1288518,P40,c(Q502895))
action filter_type
action find
entity Q1288518
relation P40
type Q502895
[ANSWER] is a child of that one
['Q1288518', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1288518 property:P40 ?b . ?b rdf:type ontology:Q502895 }
Johann Gustav Droysen
Johann Gustav Droysen is a child of that one
Johann Gustav Droysen
action filter_type
action find
entity Johann Christoph Droysen
relation child
type common name
['Johann Christoph Droysen', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Johann_Christoph_Droysen property:child ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1288518
P19
Q15617994
USER
Which administrative territory is the place of birth of Johann Christoph Droysen ?
(Q1288518,P19,c(Q15617994))
action filter_type
action find
entity Q1288518
relation P19
type Q15617994
['Q1288518', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1288518 property:P19 ?x }
Johann Christoph Droysen
action filter_type
action find
entity Johann Christoph Droysen
relation place of birth
type designation for an administrative territorial entity
['Johann Christoph Droysen', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Johann_Christoph_Droysen property:place_of_birth ?x }
[]
designation for an administrative territorial entity
Q53773
SYSTEM
Altentreptow
Q53773
(Q1288518,P19,c(Q15617994))
action filter_type
action find
entity Q1288518
relation P19
type Q15617994
[ANSWER] is the place of birth of Johann Christoph Droysen
['Q1288518', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1288518 property:P19 ?x }
Altentreptow
Altentreptow is the place of birth of Johann Christoph Droysen
Altentreptow
action filter_type
action find
entity Johann Christoph Droysen
relation place of birth
type designation for an administrative territorial entity
['Johann Christoph Droysen', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Johann_Christoph_Droysen property:place_of_birth ?x }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q53773 Q183
P17
Q1048835
USER
Is that administrative territory situated in Germany ?
(Q53773,P17,Q183)
action is_in
entity Q183
action find
entity Q53773
relation P17
['Q53773', 'P17', 'Q183']
ASK WHERE { resource:Q53773 property:P17 resource:Q183 }
Altentreptow Germany
action is_in
entity Germany
action find
entity Altentreptow
relation country
['Altentreptow', 'country', 'Germany']
ASK WHERE { resource:Altentreptow property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q53773,P17,Q183)
action is_in
entity Q183
action find
entity Q53773
relation P17
[ANSWER]
['Q53773', 'P17', 'Q183']
ASK WHERE { resource:Q53773 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Altentreptow
relation country
['Altentreptow', 'country', 'Germany']
ASK WHERE { resource:Altentreptow property:country resource:Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q40 Q28 Q213
P47
Q15617994
USER
Does Austria have an adjacent border with Hungary and Czech Republic ?
(Q40,P47,Q28) (Q40,P47,Q213)
action is_in
entity Q40
action intersection
action find_reverse
entity Q28
relation P47
action find_reverse
entity Q213
relation P47
['Q40', 'P47', 'Q28'] ['Q40', 'P47', 'Q213']
ASK WHERE { resource:Q40 property:P47 resource:Q28 . resource:Q40 property:P47 resource:Q213 }
Austria Hungary Czech Republic
action is_in
entity Austria
action intersection
action find_reverse
entity Hungary
relation shares border with
action find_reverse
entity Czech Republic
relation shares border with
['Austria', 'shares border with', 'Hungary'] ['Austria', 'shares border with', 'Czech Republic']
ASK WHERE { resource:Austria property:shares_border_with resource:Hungary . resource:Austria property:shares_border_with resource:Czech_Republic }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q40,P47,Q28) (Q40,P47,Q213)
action is_in
entity Q40
action intersection
action find_reverse
entity Q28
relation P47
action find_reverse
entity Q213
relation P47
[ANSWER]
['Q40', 'P47', 'Q28'] ['Q40', 'P47', 'Q213']
ASK WHERE { resource:Q40 property:P47 resource:Q28 . resource:Q40 property:P47 resource:Q213 }
Yes
action is_in
entity Austria
action intersection
action find_reverse
entity Hungary
relation shares border with
action find_reverse
entity Czech Republic
relation shares border with
['Austria', 'shares border with', 'Hungary'] ['Austria', 'shares border with', 'Czech Republic']
ASK WHERE { resource:Austria property:shares_border_with resource:Hungary . resource:Austria property:shares_border_with resource:Czech_Republic }
[]