Simple Question (Direct)
Simple Question
Q7817813
P102
Q7210356
USER
Which party is Tom Thornhill affiliated with ?
(Q7817813,P102,c(Q7210356))
action filter_type
action find
entity Q7817813
relation P102
type Q7210356
['Q7817813', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q7817813 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Tom Thornhill
action filter_type
action find
entity Tom Thornhill
relation member of political party
type political organization
['Tom Thornhill', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Tom_Thornhill property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q7817813,P102,c(Q7210356))
action filter_type
action find
entity Q7817813
relation P102
type Q7210356
Tom Thornhill is affiliated with [ANSWER]
['Q7817813', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q7817813 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Republican Party
Tom Thornhill is affiliated with Republican Party
Republican Party
action filter_type
action find
entity Tom Thornhill
relation member of political party
type political organization
['Tom Thornhill', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Tom_Thornhill property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7817813
P1412
Q34770
USER
Which language can Tom Thornhill read ?
(Q7817813,P1412,c(Q34770))
action filter_type
action find
entity Q7817813
relation P1412
type Q34770
['Q7817813', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q7817813 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Tom Thornhill
action filter_type
action find
entity Tom Thornhill
relation languages spoken, written or signed
type language
['Tom Thornhill', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Tom_Thornhill property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7817813,P1412,c(Q34770))
action filter_type
action find
entity Q7817813
relation P1412
type Q34770
Tom Thornhill can read in [ANSWER]
['Q7817813', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q7817813 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
English
Tom Thornhill can read in English
English
action filter_type
action find
entity Tom Thornhill
relation languages spoken, written or signed
type language
['Tom Thornhill', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Tom_Thornhill property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1237247 Q7817813
P1412
Q34770
USER
Or Martin Farquhar Tupper?
OR((Q7817813,P1412,c(Q34770)), (Q1237247,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q7817813
relation P1412
action find
entity Q1237247
relation P1412
type Q34770
{'OR': [['Q7817813', 'P1412', {'concept': 'Q34770'}], ['Q1237247', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?q WHERE { { ?a property:P1412 ?q . VALUES ( ?a ) { ( resource:Q7817813 ) ( resource:Q1237247 ) } } . ?q rdf:type ontology:Q34770 }
Martin Farquhar Tupper Tom Thornhill
action filter_type
action union
action find
entity Tom Thornhill
relation languages spoken, written or signed
action find
entity Martin Farquhar Tupper
relation languages spoken, written or signed
type language
{'OR': [['Tom Thornhill', 'languages spoken, written or signed', {'concept': 'language'}], ['Martin Farquhar Tupper', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?q WHERE { { ?a property:languages_spoken,_written_or_signed ?q . VALUES ( ?a ) { ( resource:Tom_Thornhill ) ( resource:Martin_Farquhar_Tupper ) } } . ?q rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q7817813,P1412,c(Q34770)), (Q1237247,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q7817813
relation P1412
action find
entity Q1237247
relation P1412
type Q34770
[ANSWER]
{'OR': [['Q7817813', 'P1412', {'concept': 'Q34770'}], ['Q1237247', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?q WHERE { { ?a property:P1412 ?q . VALUES ( ?a ) { ( resource:Q7817813 ) ( resource:Q1237247 ) } } . ?q rdf:type ontology:Q34770 }
English
English
action filter_type
action union
action find
entity Tom Thornhill
relation languages spoken, written or signed
action find
entity Martin Farquhar Tupper
relation languages spoken, written or signed
type language
{'OR': [['Tom Thornhill', 'languages spoken, written or signed', {'concept': 'language'}], ['Martin Farquhar Tupper', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?q WHERE { { ?a property:languages_spoken,_written_or_signed ?q . VALUES ( ?a ) { ( resource:Tom_Thornhill ) ( resource:Martin_Farquhar_Tupper ) } } . ?q rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q1576633
P364
Q838948
USER
Does Miss Pettigrew Lives for a Day have that one as its original language of creation ?
(Q1576633,P364,Q1860)
action is_in
entity Q1860
action find
entity Q1576633
relation P364
['Q1576633', 'P364', 'Q1860']
ASK WHERE { resource:Q1576633 property:P364 resource:Q1860 }
English Miss Pettigrew Lives for a Day
action is_in
entity English
action find
entity Miss Pettigrew Lives for a Day
relation original language of work
['Miss Pettigrew Lives for a Day', 'original language of work', 'English']
ASK WHERE { resource:Miss_Pettigrew_Lives_for_a_Day property:original_language_of_work resource:English }
[]
work of art
SYSTEM
YES
(Q1576633,P364,Q1860)
action is_in
entity Q1860
action find
entity Q1576633
relation P364
[ANSWER]
['Q1576633', 'P364', 'Q1860']
ASK WHERE { resource:Q1576633 property:P364 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Miss Pettigrew Lives for a Day
relation original language of work
['Miss Pettigrew Lives for a Day', 'original language of work', 'English']
ASK WHERE { resource:Miss_Pettigrew_Lives_for_a_Day property:original_language_of_work resource:English }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7817813 Q28218
P937
Q56061
USER
Is Baton Rouge the work location of Tom Thornhill ?
(Q7817813,P937,Q28218)
action is_in
entity Q28218
action find
entity Q7817813
relation P937
['Q7817813', 'P937', 'Q28218']
ASK WHERE { resource:Q7817813 property:P937 resource:Q28218 }
Tom Thornhill Baton Rouge
action is_in
entity Baton Rouge
action find
entity Tom Thornhill
relation work location
['Tom Thornhill', 'work location', 'Baton Rouge']
ASK WHERE { resource:Tom_Thornhill property:work_location resource:Baton_Rouge }
[]
administrative territorial entity
SYSTEM
YES
(Q7817813,P937,Q28218)
action is_in
entity Q28218
action find
entity Q7817813
relation P937
[ANSWER]
['Q7817813', 'P937', 'Q28218']
ASK WHERE { resource:Q7817813 property:P937 resource:Q28218 }
Yes
action is_in
entity Baton Rouge
action find
entity Tom Thornhill
relation work location
['Tom Thornhill', 'work location', 'Baton Rouge']
ASK WHERE { resource:Tom_Thornhill property:work_location resource:Baton_Rouge }
[]