Simple Question (Direct)
Simple Question
Q6259710
P140
Q879146
USER
Which Christian denomination does John Suthers correspond to ?
(Q6259710,P140,c(Q879146))
action filter_type
action find
entity Q6259710
relation P140
type Q879146
['Q6259710', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?z WHERE { resource:Q6259710 property:P140 ?z . ?z rdf:type ontology:Q879146 }
John Suthers
action filter_type
action find
entity John Suthers
relation religion
type Christian denomination
['John Suthers', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?z WHERE { resource:John_Suthers property:religion ?z . ?z rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q6259710,P140,c(Q879146))
action filter_type
action find
entity Q6259710
relation P140
type Q879146
John Suthers corresponds à [ANSWER]
['Q6259710', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?z WHERE { resource:Q6259710 property:P140 ?z . ?z rdf:type ontology:Q879146 }
Roman Catholic Church
John Suthers corresponds à Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity John Suthers
relation religion
type Christian denomination
['John Suthers', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?z WHERE { resource:John_Suthers property:religion ?z . ?z rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6259710
P19
Q56061
USER
Which administrative territory was John Suthers born in ?
(Q6259710,P19,c(Q56061))
action filter_type
action find
entity Q6259710
relation P19
type Q56061
['Q6259710', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q6259710 property:P19 ?i }
John Suthers
action filter_type
action find
entity John Suthers
relation place of birth
type administrative territorial entity
['John Suthers', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:John_Suthers property:place_of_birth ?i }
[]
administrative territorial entity
Q16554
SYSTEM
Denver
Q16554
(Q6259710,P19,c(Q56061))
action filter_type
action find
entity Q6259710
relation P19
type Q56061
John Suthers was born in [ANSWER]
['Q6259710', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q6259710 property:P19 ?i }
Denver
John Suthers was born in Denver
Denver
action filter_type
action find
entity John Suthers
relation place of birth
type administrative territorial entity
['John Suthers', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:John_Suthers property:place_of_birth ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q468276
Q56061
USER
And how about Milena Dvorská?
(Q468276,P19,c(Q56061))
action filter_type
action find
entity Q468276
relation P19
type Q56061
['Q468276', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q468276 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Milena Dvorská
action filter_type
action find
entity Milena Dvorská
relation place of birth
type administrative territorial entity
['Milena Dvorská', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Milena_Dvorská property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q470445
SYSTEM
Prostějov
Q470445
(Q468276,P19,c(Q56061))
action filter_type
action find
entity Q468276
relation P19
type Q56061
[ANSWER]
['Q468276', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q468276 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Prostějov
Prostějov
action filter_type
action find
entity Milena Dvorská
relation place of birth
type administrative territorial entity
['Milena Dvorská', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Milena_Dvorská property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q470445 Q213
P17
Q15617994
USER
Is that administrative territory situated in Czech Republic ?
(Q470445,P17,Q213)
action is_in
entity Q213
action find
entity Q470445
relation P17
['Q470445', 'P17', 'Q213']
ASK WHERE { resource:Q470445 property:P17 resource:Q213 }
Prostějov Czech Republic
action is_in
entity Czech Republic
action find
entity Prostějov
relation country
['Prostějov', 'country', 'Czech Republic']
ASK WHERE { resource:Prostějov property:country resource:Czech_Republic }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q470445,P17,Q213)
action is_in
entity Q213
action find
entity Q470445
relation P17
[ANSWER]
['Q470445', 'P17', 'Q213']
ASK WHERE { resource:Q470445 property:P17 resource:Q213 }
Yes
action is_in
entity Czech Republic
action find
entity Prostějov
relation country
['Prostějov', 'country', 'Czech Republic']
ASK WHERE { resource:Prostějov property:country resource:Czech_Republic }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24883704 Q470445
P17
Q15617994
USER
Which administrative territories are Prostějov or Kentucky Route 313 present in ?
OR((Q470445,P17,c(Q15617994)), (Q24883704,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q470445
relation P17
action find
entity Q24883704
relation P17
type Q15617994
{'OR': [['Q470445', 'P17', {'concept': 'Q15617994'}], ['Q24883704', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q470445 property:P17 ?u } UNION { resource:Q24883704 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Kentucky Route 313 Prostějov
action filter_type
action union
action find
entity Prostějov
relation country
action find
entity Kentucky Route 313
relation country
type designation for an administrative territorial entity
{'OR': [['Prostějov', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Kentucky Route 313', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Prostějov property:country ?u } UNION { resource:Kentucky_Route_313 property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q30
SYSTEM
Czech Republic, United States of America
Q213 Q30
OR((Q470445,P17,c(Q15617994)), (Q24883704,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q470445
relation P17
action find
entity Q24883704
relation P17
type Q15617994
[ANSWERS] are Prostějov or Kentucky Route 313 present in
{'OR': [['Q470445', 'P17', {'concept': 'Q15617994'}], ['Q24883704', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q470445 property:P17 ?u } UNION { resource:Q24883704 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Czech Republic United States of America
Czech Republic and United States of America are Prostějov or Kentucky Route 313 present in
Czech Republic United States of America
action filter_type
action union
action find
entity Prostějov
relation country
action find
entity Kentucky Route 313
relation country
type designation for an administrative territorial entity
{'OR': [['Prostějov', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Kentucky Route 313', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Prostějov property:country ?u } UNION { resource:Kentucky_Route_313 property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q213
P276
Q40231
USER
Which election is situated at that administrative territory ?
(c(Q40231),P276,Q213)
action filter_type
action find_reverse
entity Q213
relation P276
type Q40231
[{'concept': 'Q40231'}, 'P276', 'Q213']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q213 . ?l rdf:type ontology:Q40231 }
Czech Republic
action filter_type
action find_reverse
entity Czech Republic
relation location
type election
[{'concept': 'election'}, 'location', 'Czech Republic']
SELECT DISTINCT ?l WHERE { ?l property:location resource:Czech_Republic . ?l rdf:type ontology:election }
[]
election
Clarification for simple ques.
Q213
SYSTEM
Did you mean Czech Republic ?
Q213 Q30
(c(Q40231),P276,Q213) (c(Q40231),P276,Q30)
[ANSWER]
[{'concept': 'Q40231'}, 'P276', 'Q213'] [{'concept': 'Q40231'}, 'P276', 'Q30']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q213 . ?l rdf:type ontology:Q40231 }
Czech Republic United States of America
Did you mean Czech Republic ?
Czech Republic
[{'concept': 'election'}, 'location', 'Czech Republic'] [{'concept': 'election'}, 'location', 'United States of America']
SELECT DISTINCT ?l WHERE { ?l property:location resource:Czech_Republic . ?l rdf:type ontology:election }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q40231),P276,Q213)
[{'concept': 'Q40231'}, 'P276', 'Q213']
[{'concept': 'election'}, 'location', 'Czech Republic']
[]
Q14516417
SYSTEM
election to Chamber of Deputies of the Czech parliament
Q14516417
(c(Q40231),P276,Q213)
action filter_type
action find_reverse
entity Q213
relation P276
type Q40231
[ANSWER] is situated at that administrative territory
[{'concept': 'Q40231'}, 'P276', 'Q213']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q213 . ?l rdf:type ontology:Q40231 }
election to Chamber of Deputies of the Czech parliament
Election to Chamber of Deputies of the Czech parliament is situated at that administrative territory
election to Chamber of Deputies of the Czech parliament
action filter_type
action find_reverse
entity Czech Republic
relation location
type election
[{'concept': 'election'}, 'location', 'Czech Republic']
SELECT DISTINCT ?l WHERE { ?l property:location resource:Czech_Republic . ?l rdf:type ontology:election }
[]