Simple Question (Direct)
Simple Question
Q5703393
P106
Q12737077
USER
Which occupation has Helen Williams as his/her 's career ?
(Q5703393,P106,c(Q12737077))
action filter_type
action find
entity Q5703393
relation P106
type Q12737077
['Q5703393', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q5703393 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Helen Williams
action filter_type
action find
entity Helen Williams
relation occupation
type occupation
['Helen Williams', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Helen_Williams property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q212238
SYSTEM
civil servant
Q212238
(Q5703393,P106,c(Q12737077))
action filter_type
action find
entity Q5703393
relation P106
type Q12737077
The [ANSWER] has Helen Williams as his/her 's career
['Q5703393', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q5703393 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
civil servant
The civil servant has Helen Williams as his/her 's career
civil servant
action filter_type
action find
entity Helen Williams
relation occupation
type occupation
['Helen Williams', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Helen_Williams property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5703393
P26
Q502895
USER
Who is the spouse of Helen Williams ?
(c(Q502895),P26,Q5703393)
action filter_type
action find
entity Q5703393
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q5703393']
SELECT DISTINCT ?k WHERE { resource:Q5703393 property:P26 ?k . ?k rdf:type ontology:Q502895 }
Helen Williams
action filter_type
action find
entity Helen Williams
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Helen Williams']
SELECT DISTINCT ?k WHERE { resource:Helen_Williams property:spouse ?k . ?k rdf:type ontology:common_name }
[]
common name
Q5233756
SYSTEM
David Forrester
Q5233756
(c(Q502895),P26,Q5703393)
action filter_type
action find
entity Q5703393
relation P26
type Q502895
The spouse of Helen Williams is Sir [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q5703393']
SELECT DISTINCT ?k WHERE { resource:Q5703393 property:P26 ?k . ?k rdf:type ontology:Q502895 }
David Forrester
The spouse of Helen Williams is Sir David Forrester
David Forrester
action filter_type
action find
entity Helen Williams
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Helen Williams']
SELECT DISTINCT ?k WHERE { resource:Helen_Williams property:spouse ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5233756
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q5233756,P27,c(Q15617994))
action filter_type
action find
entity Q5233756
relation P27
type Q15617994
['Q5233756', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q5233756 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
David Forrester
action filter_type
action find
entity David Forrester
relation country of citizenship
type designation for an administrative territorial entity
['David Forrester', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:David_Forrester property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5233756,P27,c(Q15617994))
action filter_type
action find
entity Q5233756
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q5233756', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q5233756 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
United Kingdom
That person belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity David Forrester
relation country of citizenship
type designation for an administrative territorial entity
['David Forrester', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:David_Forrester property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7965741 Q5233756
P69
Q163740
USER
Which nonprofit organizations are the alma mater of David Forrester and Walter O. Snelling ?
AND((Q5233756,P69,c(Q163740)), (Q7965741,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q5233756
relation P69
action find
entity Q7965741
relation P69
type Q163740
{'AND': [['Q5233756', 'P69', {'concept': 'Q163740'}], ['Q7965741', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?g WHERE { resource:Q5233756 property:P69 ?g . resource:Q7965741 property:P69 ?g . ?g rdf:type ontology:Q163740 }
Walter O. Snelling David Forrester
action filter_type
action intersection
action find
entity David Forrester
relation educated at
action find
entity Walter O. Snelling
relation educated at
type nonprofit organization
{'AND': [['David Forrester', 'educated at', {'concept': 'nonprofit organization'}], ['Walter O. Snelling', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?g WHERE { resource:David_Forrester property:educated_at ?g . resource:Walter_O._Snelling property:educated_at ?g . ?g rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
AND((Q5233756,P69,c(Q163740)), (Q7965741,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q5233756
relation P69
action find
entity Q7965741
relation P69
type Q163740
[ANSWER] is the alma mater of David Forrester and Walter O. Snelling
{'AND': [['Q5233756', 'P69', {'concept': 'Q163740'}], ['Q7965741', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?g WHERE { resource:Q5233756 property:P69 ?g . resource:Q7965741 property:P69 ?g . ?g rdf:type ontology:Q163740 }
Harvard University
Harvard University is the alma mater of David Forrester and Walter O. Snelling
Harvard University
action filter_type
action intersection
action find
entity David Forrester
relation educated at
action find
entity Walter O. Snelling
relation educated at
type nonprofit organization
{'AND': [['David Forrester', 'educated at', {'concept': 'nonprofit organization'}], ['Walter O. Snelling', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?g WHERE { resource:David_Forrester property:educated_at ?g . resource:Walter_O._Snelling property:educated_at ?g . ?g rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7965741
P20
Q5119
USER
Where did Walter O. Snelling die?
(Q13371,P20,c(Q5119))
action filter_type
action find
entity Q7965741
relation P20
type Q5119
['Q13371', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?m WHERE { resource:Q7965741 property:P20 ?m . ?m rdf:type ontology:Q5119 }
Walter O. Snelling
action filter_type
action find
entity Walter O. Snelling
relation place of death
type capital
['Harvard University', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?m WHERE { resource:Walter_O._Snelling property:place_of_death ?m . ?m rdf:type ontology:capital }
[]
capital
Q142811
SYSTEM
Allentown
Q142811
(Q13371,P20,c(Q5119))
action filter_type
action find
entity Q7965741
relation P20
type Q5119
Walter O. Snelling died in [ANSWER]
['Q13371', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?m WHERE { resource:Q7965741 property:P20 ?m . ?m rdf:type ontology:Q5119 }
Allentown
Walter O. Snelling died in Allentown
Allentown
action filter_type
action find
entity Walter O. Snelling
relation place of death
type capital
['Harvard University', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?m WHERE { resource:Walter_O._Snelling property:place_of_death ?m . ?m rdf:type ontology:capital }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q5233756
P26 P21
Q502895
USER
Which people have David Forrester as spouse and have the gender as female ?
AND((c(Q502895),P26,Q5233756), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q5233756
relation P26
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q5233756'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?m WHERE { ?m property:P26 resource:Q5233756 . ?m property:P21 resource:Q6581072 . ?m rdf:type ontology:Q502895 }
female David Forrester
action filter_type
action intersection
action find_reverse
entity David Forrester
relation spouse
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'David Forrester'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?m WHERE { ?m property:spouse resource:David_Forrester . ?m property:gender resource:female . ?m rdf:type ontology:common_name }
[]
common name
Q5703393
SYSTEM
Helen Williams
Q5703393
AND((c(Q502895),P26,Q5233756), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q5233756
relation P26
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] have David Forrester as spouse and have the gender as female
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q5233756'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?m WHERE { ?m property:P26 resource:Q5233756 . ?m property:P21 resource:Q6581072 . ?m rdf:type ontology:Q502895 }
Helen Williams
Helen Williams have David Forrester as spouse and have the gender as female
Helen Williams
action filter_type
action intersection
action find_reverse
entity David Forrester
relation spouse
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'David Forrester'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?m WHERE { ?m property:spouse resource:David_Forrester . ?m property:gender resource:female . ?m rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q61520 Q5703393
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Helen Williams or August Hirt ?
OR((Q5703393,P27,c(Q15617994)), (Q61520,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5703393
relation P27
action find
entity Q61520
relation P27
type Q15617994
{'OR': [['Q5703393', 'P27', {'concept': 'Q15617994'}], ['Q61520', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { { resource:Q5703393 property:P27 ?s } UNION { resource:Q61520 property:P27 ?s } } }
August Hirt Helen Williams
action filter_type
action union
action find
entity Helen Williams
relation country of citizenship
action find
entity August Hirt
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Helen Williams', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['August Hirt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Helen_Williams property:country_of_citizenship ?s } UNION { resource:August_Hirt property:country_of_citizenship ?s } } }
[]
designation for an administrative territorial entity
Q39 Q145
SYSTEM
Switzerland, United Kingdom
Q39 Q145
OR((Q5703393,P27,c(Q15617994)), (Q61520,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5703393
relation P27
action find
entity Q61520
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Helen Williams or August Hirt
{'OR': [['Q5703393', 'P27', {'concept': 'Q15617994'}], ['Q61520', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { { resource:Q5703393 property:P27 ?s } UNION { resource:Q61520 property:P27 ?s } } }
Switzerland United Kingdom
Switzerland and United Kingdom are the countries of citizenship of Helen Williams or August Hirt
Switzerland United Kingdom
action filter_type
action union
action find
entity Helen Williams
relation country of citizenship
action find
entity August Hirt
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Helen Williams', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['August Hirt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Helen_Williams property:country_of_citizenship ?s } UNION { resource:August_Hirt property:country_of_citizenship ?s } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7716517
P495
Q838948
USER
Did The Bengali Night originate in those administrative territories ?
(Q7716517,P495,Q39) (Q7716517,P495,Q145)
action is_in
entity prev_answer
action find
entity Q7716517
relation P495
['Q7716517', 'P495', 'Q39'] ['Q7716517', 'P495', 'Q145']
ASK WHERE { VALUES ( ?e ) { ( resource:Q39 ) ( resource:Q145 ) } . resource:Q7716517 property:P495 ?e }
The Bengali Night
action is_in
entity prev_answer
action find
entity The Bengali Night
relation country of origin
['The Bengali Night', 'country of origin', 'Switzerland'] ['The Bengali Night', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?e ) { ( resource:Switzerland ) ( resource:United_Kingdom ) } . resource:The_Bengali_Night property:country_of_origin ?e }
[]
work of art
SYSTEM
YES
(Q7716517,P495,Q39) (Q7716517,P495,Q145)
action is_in
entity prev_answer
action find
entity Q7716517
relation P495
[ANSWER]
['Q7716517', 'P495', 'Q39'] ['Q7716517', 'P495', 'Q145']
ASK WHERE { VALUES ( ?e ) { ( resource:Q39 ) ( resource:Q145 ) } . resource:Q7716517 property:P495 ?e }
Yes
action is_in
entity prev_answer
action find
entity The Bengali Night
relation country of origin
['The Bengali Night', 'country of origin', 'Switzerland'] ['The Bengali Night', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?e ) { ( resource:Switzerland ) ( resource:United_Kingdom ) } . resource:The_Bengali_Night property:country_of_origin ?e }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q145 Q1644356 Q15615196
P47
Q1048835
USER
Does United Kingdom have an adjacent border with Oliana and União das Freguesias de Vila Cova e Feitos ?
(Q145,P47,Q1644356) (Q145,P47,Q15615196)
action is_in
entity Q145
action intersection
action find_reverse
entity Q1644356
relation P47
action find_reverse
entity Q15615196
relation P47
['Q145', 'P47', 'Q1644356'] ['Q145', 'P47', 'Q15615196']
ASK WHERE { resource:Q145 property:P47 resource:Q1644356 . resource:Q145 property:P47 resource:Q15615196 }
United Kingdom Oliana União das Freguesias de Vila Cova e Feitos
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Oliana
relation shares border with
action find_reverse
entity União das Freguesias de Vila Cova e Feitos
relation shares border with
['United Kingdom', 'shares border with', 'Oliana'] ['United Kingdom', 'shares border with', 'União das Freguesias de Vila Cova e Feitos']
ASK WHERE { resource:United_Kingdom property:shares_border_with resource:Oliana . resource:United_Kingdom property:shares_border_with resource:União_das_Freguesias_de_Vila_Cova_e_Feitos }
[]
political territorial entity
SYSTEM
NO
(Q145,P47,Q1644356) (Q145,P47,Q15615196)
action is_in
entity Q145
action intersection
action find_reverse
entity Q1644356
relation P47
action find_reverse
entity Q15615196
relation P47
[ANSWER]
['Q145', 'P47', 'Q1644356'] ['Q145', 'P47', 'Q15615196']
ASK WHERE { resource:Q145 property:P47 resource:Q1644356 . resource:Q145 property:P47 resource:Q15615196 }
No
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Oliana
relation shares border with
action find_reverse
entity União das Freguesias de Vila Cova e Feitos
relation shares border with
['United Kingdom', 'shares border with', 'Oliana'] ['United Kingdom', 'shares border with', 'União das Freguesias de Vila Cova e Feitos']
ASK WHERE { resource:United_Kingdom property:shares_border_with resource:Oliana . resource:United_Kingdom property:shares_border_with resource:União_das_Freguesias_de_Vila_Cova_e_Feitos }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10497
P17
Q1048835
USER
Which political territory is Freising present in ?
(Q10497,P17,c(Q1048835))
action filter_type
action find
entity Q10497
relation P17
type Q1048835
['Q10497', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q10497 property:P17 ?g . ?g rdf:type ontology:Q1048835 }
Freising
action filter_type
action find
entity Freising
relation country
type political territorial entity
['Freising', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Freising property:country ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q10497,P17,c(Q1048835))
action filter_type
action find
entity Q10497
relation P17
type Q1048835
Which political territory is Freising present in
['Q10497', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q10497 property:P17 ?g . ?g rdf:type ontology:Q1048835 }
Germany
Which political territory is Freising present in
Germany
action filter_type
action find
entity Freising
relation country
type political territorial entity
['Freising', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Freising property:country ?g . ?g rdf:type ontology:political_territorial_entity }
[]