Simple Question (Direct)
Simple Question
Q677902
P607
Q198
USER
What was was William Wedgwood Benn, 1st Viscount Stansgate a part of ?
(Q677902,P607,c(Q198))
action filter_type
action find
entity Q677902
relation P607
type Q198
['Q677902', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?y WHERE { resource:Q677902 property:P607 ?y . ?y rdf:type ontology:Q198 }
William Wedgwood Benn, 1st Viscount Stansgate
action filter_type
action find
entity William Wedgwood Benn, 1st Viscount Stansgate
relation conflict
type war
['William Wedgwood Benn, 1st Viscount Stansgate', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?y WHERE { resource:William_Wedgwood_Benn,_1st_Viscount_Stansgate property:conflict ?y . ?y rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q677902,P607,c(Q198))
action filter_type
action find
entity Q677902
relation P607
type Q198
The [ANSWER] was William Wedgwood Benn, 1st Viscount Stansgate a part of
['Q677902', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?y WHERE { resource:Q677902 property:P607 ?y . ?y rdf:type ontology:Q198 }
World War I
The World War I was William Wedgwood Benn, 1st Viscount Stansgate a part of
World War I
action filter_type
action find
entity William Wedgwood Benn, 1st Viscount Stansgate
relation conflict
type war
['William Wedgwood Benn, 1st Viscount Stansgate', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?y WHERE { resource:William_Wedgwood_Benn,_1st_Viscount_Stansgate property:conflict ?y . ?y rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q677902
P40
Q502895
USER
Which person has William Wedgwood Benn, 1st Viscount Stansgate as a child ?
(c(Q502895),P40,Q677902)
action filter_type
action find_reverse
entity Q677902
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q677902']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q677902 . ?w rdf:type ontology:Q502895 }
William Wedgwood Benn, 1st Viscount Stansgate
action filter_type
action find_reverse
entity William Wedgwood Benn, 1st Viscount Stansgate
relation child
type common name
[{'concept': 'common name'}, 'child', 'William Wedgwood Benn, 1st Viscount Stansgate']
SELECT DISTINCT ?w WHERE { ?w property:child resource:William_Wedgwood_Benn,_1st_Viscount_Stansgate . ?w rdf:type ontology:common_name }
[]
common name
Q7527599
SYSTEM
Sir John Benn, 1st Baronet
Q7527599
(c(Q502895),P40,Q677902)
action filter_type
action find_reverse
entity Q677902
relation P40
type Q502895
[ANSWER] has William Wedgwood Benn, 1st Viscount Stansgate as a child
[{'concept': 'Q502895'}, 'P40', 'Q677902']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q677902 . ?w rdf:type ontology:Q502895 }
Sir John Benn, 1st Baronet
Sir John Benn, 1st Baronet has William Wedgwood Benn, 1st Viscount Stansgate as a child
Sir John Benn, 1st Baronet
action filter_type
action find_reverse
entity William Wedgwood Benn, 1st Viscount Stansgate
relation child
type common name
[{'concept': 'common name'}, 'child', 'William Wedgwood Benn, 1st Viscount Stansgate']
SELECT DISTINCT ?w WHERE { ?w property:child resource:William_Wedgwood_Benn,_1st_Viscount_Stansgate . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7527599
P21
Q290
USER
Which sex does that person possess ?
(Q7527599,P21,c(Q290))
action filter_type
action find
entity Q7527599
relation P21
type Q290
['Q7527599', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q7527599 property:P21 ?x . ?x rdf:type ontology:Q290 }
Sir John Benn, 1st Baronet
action filter_type
action find
entity Sir John Benn, 1st Baronet
relation gender
type sex
['Sir John Benn, 1st Baronet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Sir_John_Benn,_1st_Baronet property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7527599,P21,c(Q290))
action filter_type
action find
entity Q7527599
relation P21
type Q290
That person possesses a [ANSWER]
['Q7527599', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q7527599 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Sir John Benn, 1st Baronet
relation gender
type sex
['Sir John Benn, 1st Baronet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Sir_John_Benn,_1st_Baronet property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7527599
P1412
Q34770
USER
Which language is Sir John Benn, 1st Baronet capable of writing ?
(Q7527599,P1412,c(Q34770))
action filter_type
action find
entity Q7527599
relation P1412
type Q34770
['Q7527599', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q7527599 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Sir John Benn, 1st Baronet
action filter_type
action find
entity Sir John Benn, 1st Baronet
relation languages spoken, written or signed
type language
['Sir John Benn, 1st Baronet', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Sir_John_Benn,_1st_Baronet property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7527599,P1412,c(Q34770))
action filter_type
action find
entity Q7527599
relation P1412
type Q34770
[ANSWER] is Sir John Benn, 1st Baronet capable of writing
['Q7527599', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q7527599 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
English
English is Sir John Benn, 1st Baronet capable of writing
English
action filter_type
action find
entity Sir John Benn, 1st Baronet
relation languages spoken, written or signed
type language
['Sir John Benn, 1st Baronet', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Sir_John_Benn,_1st_Baronet property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4739718
Q34770
USER
And what about Amanda Olivares?
(Q4739718,P1412,c(Q34770))
action filter_type
action find
entity Q4739718
relation P1412
type Q34770
['Q4739718', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q34770 . resource:Q4739718 property:P1412 ?i }
Amanda Olivares
action filter_type
action find
entity Amanda Olivares
relation languages spoken, written or signed
type language
['Amanda Olivares', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:language . resource:Amanda_Olivares property:languages_spoken,_written_or_signed ?i }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q4739718,P1412,c(Q34770))
action filter_type
action find
entity Q4739718
relation P1412
type Q34770
[ANSWER]
['Q4739718', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q34770 . resource:Q4739718 property:P1412 ?i }
Spanish
Spanish
action filter_type
action find
entity Amanda Olivares
relation languages spoken, written or signed
type language
['Amanda Olivares', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:language . resource:Amanda_Olivares property:languages_spoken,_written_or_signed ?i }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1321 Q238947
P1412
Q502895
USER
Does Stephen VI used that language ?
(Q238947,P1412,Q1321)
action is_in
entity Q238947
action find
entity Q1321
relation P1412
['Q238947', 'P1412', 'Q1321']
ASK WHERE { resource:Q1321 property:P1412 resource:Q238947 }
Spanish Stephen VI
action is_in
entity Stephen VI
action find
entity Spanish
relation languages spoken, written or signed
['Stephen VI', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Spanish property:languages_spoken,_written_or_signed resource:Stephen_VI }
[]
common name
SYSTEM
NO
(Q238947,P1412,Q1321)
action is_in
entity Q238947
action find
entity Q1321
relation P1412
[ANSWER]
['Q238947', 'P1412', 'Q1321']
ASK WHERE { resource:Q1321 property:P1412 resource:Q238947 }
No
action is_in
entity Stephen VI
action find
entity Spanish
relation languages spoken, written or signed
['Stephen VI', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Spanish property:languages_spoken,_written_or_signed resource:Stephen_VI }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3525038 Q238947
P20
Q56061
USER
Which administrative territories did the demise of Stephen VI or Thomas de la Rue occur ?
OR((Q238947,P20,c(Q56061)), (Q3525038,P20,c(Q56061)))
action filter_type
action union
action find
entity Q238947
relation P20
action find
entity Q3525038
relation P20
type Q56061
{'OR': [['Q238947', 'P20', {'concept': 'Q56061'}], ['Q3525038', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?n ) { ( resource:Q238947 ) ( resource:Q3525038 ) } . ?n property:P20 ?j } . ?j rdf:type ontology:Q56061 }
Thomas de la Rue Stephen VI
action filter_type
action union
action find
entity Stephen VI
relation place of death
action find
entity Thomas de la Rue
relation place of death
type administrative territorial entity
{'OR': [['Stephen VI', 'place of death', {'concept': 'administrative territorial entity'}], ['Thomas de la Rue', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?n ) { ( resource:Stephen_VI ) ( resource:Thomas_de_la_Rue ) } . ?n property:place_of_death ?j } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84 Q220
SYSTEM
London, Rome
Q84 Q220
OR((Q238947,P20,c(Q56061)), (Q3525038,P20,c(Q56061)))
action filter_type
action union
action find
entity Q238947
relation P20
action find
entity Q3525038
relation P20
type Q56061
[ANSWERS] did the demise of Stephen VI or Thomas de la Rue occur
{'OR': [['Q238947', 'P20', {'concept': 'Q56061'}], ['Q3525038', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?n ) { ( resource:Q238947 ) ( resource:Q3525038 ) } . ?n property:P20 ?j } . ?j rdf:type ontology:Q56061 }
London Rome
London and Rome did the demise of Stephen VI or Thomas de la Rue occur
London Rome
action filter_type
action union
action find
entity Stephen VI
relation place of death
action find
entity Thomas de la Rue
relation place of death
type administrative territorial entity
{'OR': [['Stephen VI', 'place of death', {'concept': 'administrative territorial entity'}], ['Thomas de la Rue', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?n ) { ( resource:Stephen_VI ) ( resource:Thomas_de_la_Rue ) } . ?n property:place_of_death ?j } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q215588
P20
Q502895
USER
Do Anna Mahler have those administrative territories as place of death ?
(Q215588,P20,Q84) (Q215588,P20,Q220)
action is_in
entity prev_answer
action find
entity Q215588
relation P20
['Q215588', 'P20', 'Q84'] ['Q215588', 'P20', 'Q220']
ASK WHERE { resource:Q215588 property:P20 ?o . VALUES ( ?o ) { ( resource:Q84 ) ( resource:Q220 ) } }
Anna Mahler
action is_in
entity prev_answer
action find
entity Anna Mahler
relation place of death
['Anna Mahler', 'place of death', 'London'] ['Anna Mahler', 'place of death', 'Rome']
ASK WHERE { resource:Anna_Mahler property:place_of_death ?o . VALUES ( ?o ) { ( resource:London ) ( resource:Rome ) } }
[]
common name
SYSTEM
YES
(Q215588,P20,Q84) (Q215588,P20,Q220)
action is_in
entity prev_answer
action find
entity Q215588
relation P20
[ANSWER]
['Q215588', 'P20', 'Q84'] ['Q215588', 'P20', 'Q220']
ASK WHERE { resource:Q215588 property:P20 ?o . VALUES ( ?o ) { ( resource:Q84 ) ( resource:Q220 ) } }
Yes
action is_in
entity prev_answer
action find
entity Anna Mahler
relation place of death
['Anna Mahler', 'place of death', 'London'] ['Anna Mahler', 'place of death', 'Rome']
ASK WHERE { resource:Anna_Mahler property:place_of_death ?o . VALUES ( ?o ) { ( resource:London ) ( resource:Rome ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q677902 Q54514 Q674467
P27
Q15617994
USER
Is William Wedgwood Benn, 1st Viscount Stansgate a civilian of Rocca di Neto and Kuhstorf ?
(Q677902,P27,Q54514) (Q677902,P27,Q674467)
action is_in
entity Q677902
action intersection
action find_reverse
entity Q54514
relation P27
action find_reverse
entity Q674467
relation P27
['Q677902', 'P27', 'Q54514'] ['Q677902', 'P27', 'Q674467']
ASK WHERE { resource:Q677902 property:P27 resource:Q54514 . resource:Q677902 property:P27 resource:Q674467 }
William Wedgwood Benn, 1st Viscount Stansgate Rocca di Neto Kuhstorf
action is_in
entity William Wedgwood Benn, 1st Viscount Stansgate
action intersection
action find_reverse
entity Rocca di Neto
relation country of citizenship
action find_reverse
entity Kuhstorf
relation country of citizenship
['William Wedgwood Benn, 1st Viscount Stansgate', 'country of citizenship', 'Rocca di Neto'] ['William Wedgwood Benn, 1st Viscount Stansgate', 'country of citizenship', 'Kuhstorf']
ASK WHERE { resource:William_Wedgwood_Benn,_1st_Viscount_Stansgate property:country_of_citizenship resource:Rocca_di_Neto . resource:William_Wedgwood_Benn,_1st_Viscount_Stansgate property:country_of_citizenship resource:Kuhstorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q677902,P27,Q54514) (Q677902,P27,Q674467)
action is_in
entity Q677902
action intersection
action find_reverse
entity Q54514
relation P27
action find_reverse
entity Q674467
relation P27
[ANSWER]
['Q677902', 'P27', 'Q54514'] ['Q677902', 'P27', 'Q674467']
ASK WHERE { resource:Q677902 property:P27 resource:Q54514 . resource:Q677902 property:P27 resource:Q674467 }
No
action is_in
entity William Wedgwood Benn, 1st Viscount Stansgate
action intersection
action find_reverse
entity Rocca di Neto
relation country of citizenship
action find_reverse
entity Kuhstorf
relation country of citizenship
['William Wedgwood Benn, 1st Viscount Stansgate', 'country of citizenship', 'Rocca di Neto'] ['William Wedgwood Benn, 1st Viscount Stansgate', 'country of citizenship', 'Kuhstorf']
ASK WHERE { resource:William_Wedgwood_Benn,_1st_Viscount_Stansgate property:country_of_citizenship resource:Rocca_di_Neto . resource:William_Wedgwood_Benn,_1st_Viscount_Stansgate property:country_of_citizenship resource:Kuhstorf }
[]