Simple Question (Direct)
Simple Question
Q71052
P19
Q56061
USER
Which administrative territory is the place of birth of Friedrich Heinrich Albert Wangerin ?
(Q71052,P19,c(Q56061))
action filter_type
action find
entity Q71052
relation P19
type Q56061
['Q71052', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q71052 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Friedrich Heinrich Albert Wangerin
action filter_type
action find
entity Friedrich Heinrich Albert Wangerin
relation place of birth
type administrative territorial entity
['Friedrich Heinrich Albert Wangerin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Friedrich_Heinrich_Albert_Wangerin property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q167744
SYSTEM
Gryfice
Q167744
(Q71052,P19,c(Q56061))
action filter_type
action find
entity Q71052
relation P19
type Q56061
[ANSWER] is the place of birth of Friedrich Heinrich Albert Wangerin
['Q71052', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q71052 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Gryfice
Gryfice is the place of birth of Friedrich Heinrich Albert Wangerin
Gryfice
action filter_type
action find
entity Friedrich Heinrich Albert Wangerin
relation place of birth
type administrative territorial entity
['Friedrich Heinrich Albert Wangerin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Friedrich_Heinrich_Albert_Wangerin property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q71052
P184
Q502895
USER
Who has Friedrich Heinrich Albert Wangerin as doctor supervisor ?
(c(Q502895),P184,Q71052)
action filter_type
action find_reverse
entity Q71052
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q71052']
SELECT DISTINCT ?o WHERE { ?o property:P184 resource:Q71052 . ?o rdf:type ontology:Q502895 }
Friedrich Heinrich Albert Wangerin
action filter_type
action find_reverse
entity Friedrich Heinrich Albert Wangerin
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Friedrich Heinrich Albert Wangerin']
SELECT DISTINCT ?o WHERE { ?o property:doctoral_advisor resource:Friedrich_Heinrich_Albert_Wangerin . ?o rdf:type ontology:common_name }
[]
common name
Q126240
SYSTEM
Georg Bohlmann
Q126240
(c(Q502895),P184,Q71052)
action filter_type
action find_reverse
entity Q71052
relation P184
type Q502895
[ANSWER] has Friedrich Heinrich Albert Wangerin as doctor supervisor
[{'concept': 'Q502895'}, 'P184', 'Q71052']
SELECT DISTINCT ?o WHERE { ?o property:P184 resource:Q71052 . ?o rdf:type ontology:Q502895 }
Georg Bohlmann
Georg Bohlmann has Friedrich Heinrich Albert Wangerin as doctor supervisor
Georg Bohlmann
action filter_type
action find_reverse
entity Friedrich Heinrich Albert Wangerin
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Friedrich Heinrich Albert Wangerin']
SELECT DISTINCT ?o WHERE { ?o property:doctoral_advisor resource:Friedrich_Heinrich_Albert_Wangerin . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q126240
P20
Q56061
USER
Where did the demise of that person occur ?
(Q126240,P20,c(Q56061))
action filter_type
action find
entity Q126240
relation P20
type Q56061
['Q126240', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q126240 property:P20 ?j }
Georg Bohlmann
action filter_type
action find
entity Georg Bohlmann
relation place of death
type administrative territorial entity
['Georg Bohlmann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Georg_Bohlmann property:place_of_death ?j }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q126240,P20,c(Q56061))
action filter_type
action find
entity Q126240
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q126240', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q126240 property:P20 ?j }
Berlin
The demise of that person occurred in Berlin
Berlin
action filter_type
action find
entity Georg Bohlmann
relation place of death
type administrative territorial entity
['Georg Bohlmann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Georg_Bohlmann property:place_of_death ?j }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q64 Q316205
P6
Q502895
USER
Is Sergio Goycochea the head of government of that administrative territory ?
(Q64,P6,Q316205)
action is_in
entity Q316205
action find
entity Q64
relation P6
['Q64', 'P6', 'Q316205']
ASK WHERE { resource:Q64 property:P6 resource:Q316205 }
Berlin Sergio Goycochea
action is_in
entity Sergio Goycochea
action find
entity Berlin
relation head of government
['Berlin', 'head of government', 'Sergio Goycochea']
ASK WHERE { resource:Berlin property:head_of_government resource:Sergio_Goycochea }
[]
common name
SYSTEM
NO
(Q64,P6,Q316205)
action is_in
entity Q316205
action find
entity Q64
relation P6
[ANSWER]
['Q64', 'P6', 'Q316205']
ASK WHERE { resource:Q64 property:P6 resource:Q316205 }
No
action is_in
entity Sergio Goycochea
action find
entity Berlin
relation head of government
['Berlin', 'head of government', 'Sergio Goycochea']
ASK WHERE { resource:Berlin property:head_of_government resource:Sergio_Goycochea }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q167744 Q80887 Q36
P17
Q15617994
USER
Is Gryfice located in Contursi Terme and Poland ?
(Q167744,P17,Q80887) (Q167744,P17,Q36)
action is_in
entity Q167744
action intersection
action find_reverse
entity Q80887
relation P17
action find_reverse
entity Q36
relation P17
['Q167744', 'P17', 'Q80887'] ['Q167744', 'P17', 'Q36']
ASK WHERE { resource:Q167744 property:P17 resource:Q80887 . resource:Q167744 property:P17 resource:Q36 }
Gryfice Contursi Terme Poland
action is_in
entity Gryfice
action intersection
action find_reverse
entity Contursi Terme
relation country
action find_reverse
entity Poland
relation country
['Gryfice', 'country', 'Contursi Terme'] ['Gryfice', 'country', 'Poland']
ASK WHERE { resource:Gryfice property:country resource:Contursi_Terme . resource:Gryfice property:country resource:Poland }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q167744,P17,Q80887) (Q167744,P17,Q36)
action is_in
entity Q167744
action intersection
action find_reverse
entity Q80887
relation P17
action find_reverse
entity Q36
relation P17
[ANSWER]
['Q167744', 'P17', 'Q80887'] ['Q167744', 'P17', 'Q36']
ASK WHERE { resource:Q167744 property:P17 resource:Q80887 . resource:Q167744 property:P17 resource:Q36 }
NO and YES respectively
action is_in
entity Gryfice
action intersection
action find_reverse
entity Contursi Terme
relation country
action find_reverse
entity Poland
relation country
['Gryfice', 'country', 'Contursi Terme'] ['Gryfice', 'country', 'Poland']
ASK WHERE { resource:Gryfice property:country resource:Contursi_Terme . resource:Gryfice property:country resource:Poland }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q707063 Q64
P710 P6
Q502895
USER
Which people are Berlin the head of goverment of and participated in German presidential election, 2010 ?
AND((Q64,P6,c(Q502895)), (Q707063,P710,c(Q502895)))
action filter_type
action intersection
action find
entity Q64
relation P6
action find
entity Q707063
relation P710
type Q502895
{'AND': [['Q64', 'P6', {'concept': 'Q502895'}], ['Q707063', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { resource:Q64 property:P6 ?y . resource:Q707063 property:P710 ?y . ?y rdf:type ontology:Q502895 }
German presidential election, 2010 Berlin
action filter_type
action intersection
action find
entity Berlin
relation head of government
action find
entity German presidential election, 2010
relation participant
type common name
{'AND': [['Berlin', 'head of government', {'concept': 'common name'}], ['German presidential election, 2010', 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { resource:Berlin property:head_of_government ?y . resource:German_presidential_election,_2010 property:participant ?y . ?y rdf:type ontology:common_name }
[]
common name
Q8863 Q102844
SYSTEM
Klaus Wowereit, Michael Müller
Q8863 Q102844
AND((Q64,P6,c(Q502895)), (Q707063,P710,c(Q502895)))
action filter_type
action intersection
action find
entity Q64
relation P6
action find
entity Q707063
relation P710
type Q502895
[ANSWERS] are Berlin the head of goverment of and participated in German presidential election, 2010
{'AND': [['Q64', 'P6', {'concept': 'Q502895'}], ['Q707063', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { resource:Q64 property:P6 ?y . resource:Q707063 property:P710 ?y . ?y rdf:type ontology:Q502895 }
Klaus Wowereit Michael Müller
Klaus Wowereit and Michael Müller are Berlin the head of goverment of and participated in German presidential election, 2010
Klaus Wowereit Michael Müller
action filter_type
action intersection
action find
entity Berlin
relation head of government
action find
entity German presidential election, 2010
relation participant
type common name
{'AND': [['Berlin', 'head of government', {'concept': 'common name'}], ['German presidential election, 2010', 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { resource:Berlin property:head_of_government ?y . resource:German_presidential_election,_2010 property:participant ?y . ?y rdf:type ontology:common_name }
[]