Simple Question (Direct)
Simple Question
Q5534817
P1411
Q4220917
USER
Which film award was Geoffrey Patterson nominated for ?
(Q5534817,P1411,c(Q4220917))
action filter_type
action find
entity Q5534817
relation P1411
type Q4220917
['Q5534817', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?f WHERE { resource:Q5534817 property:P1411 ?f . ?f rdf:type ontology:Q4220917 }
Geoffrey Patterson
action filter_type
action find
entity Geoffrey Patterson
relation nominated for
type film award
['Geoffrey Patterson', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?f WHERE { resource:Geoffrey_Patterson property:nominated_for ?f . ?f rdf:type ontology:film_award }
[]
film award
Q830079
SYSTEM
Academy Award for Best Sound Mixing
Q830079
(Q5534817,P1411,c(Q4220917))
action filter_type
action find
entity Q5534817
relation P1411
type Q4220917
Geoffrey Patterson was nominated for [ANSWER]
['Q5534817', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?f WHERE { resource:Q5534817 property:P1411 ?f . ?f rdf:type ontology:Q4220917 }
Academy Award for Best Sound Mixing
Geoffrey Patterson was nominated for Academy Award for Best Sound Mixing
Academy Award for Best Sound Mixing
action filter_type
action find
entity Geoffrey Patterson
relation nominated for
type film award
['Geoffrey Patterson', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?f WHERE { resource:Geoffrey_Patterson property:nominated_for ?f . ?f rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5534817
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q830079,P27,c(Q15617994))
action filter_type
action find
entity Q5534817
relation P27
type Q15617994
['Q830079', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5534817 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Geoffrey Patterson
action filter_type
action find
entity Geoffrey Patterson
relation country of citizenship
type designation for an administrative territorial entity
['Academy Award for Best Sound Mixing', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Geoffrey_Patterson property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q830079,P27,c(Q15617994))
action filter_type
action find
entity Q5534817
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q830079', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5534817 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person a civilian of
United States of America
action filter_type
action find
entity Geoffrey Patterson
relation country of citizenship
type designation for an administrative territorial entity
['Academy Award for Best Sound Mixing', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Geoffrey_Patterson property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5534817
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q30,P19,c(Q56061))
action filter_type
action find
entity Q5534817
relation P19
type Q56061
['Q30', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q5534817 property:P19 ?c }
Geoffrey Patterson
action filter_type
action find
entity Geoffrey Patterson
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Geoffrey_Patterson property:place_of_birth ?c }
[]
administrative territorial entity
Q12439
SYSTEM
Detroit
Q12439
(Q30,P19,c(Q56061))
action filter_type
action find
entity Q5534817
relation P19
type Q56061
That person was born in [ANSWER]
['Q30', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q5534817 property:P19 ?c }
Detroit
That person was born in Detroit
Detroit
action filter_type
action find
entity Geoffrey Patterson
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Geoffrey_Patterson property:place_of_birth ?c }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7494707 Q5534817
P19
Q56061
USER
Or Sherbaz Khan Mazari?
OR((Q5534817,P19,c(Q56061)), (Q7494707,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5534817
relation P19
action find
entity Q7494707
relation P19
type Q56061
{'OR': [['Q5534817', 'P19', {'concept': 'Q56061'}], ['Q7494707', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . { { resource:Q5534817 property:P19 ?q } UNION { resource:Q7494707 property:P19 ?q } } }
Sherbaz Khan Mazari Geoffrey Patterson
action filter_type
action union
action find
entity Geoffrey Patterson
relation place of birth
action find
entity Sherbaz Khan Mazari
relation place of birth
type administrative territorial entity
{'OR': [['Geoffrey Patterson', 'place of birth', {'concept': 'administrative territorial entity'}], ['Sherbaz Khan Mazari', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . { { resource:Geoffrey_Patterson property:place_of_birth ?q } UNION { resource:Sherbaz_Khan_Mazari property:place_of_birth ?q } } }
[]
administrative territorial entity
Q3695880 Q12439
SYSTEM
Rojhan, Detroit
Q3695880 Q12439
OR((Q5534817,P19,c(Q56061)), (Q7494707,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5534817
relation P19
action find
entity Q7494707
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q5534817', 'P19', {'concept': 'Q56061'}], ['Q7494707', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . { { resource:Q5534817 property:P19 ?q } UNION { resource:Q7494707 property:P19 ?q } } }
Rojhan Detroit
Rojhan Detroit
action filter_type
action union
action find
entity Geoffrey Patterson
relation place of birth
action find
entity Sherbaz Khan Mazari
relation place of birth
type administrative territorial entity
{'OR': [['Geoffrey Patterson', 'place of birth', {'concept': 'administrative territorial entity'}], ['Sherbaz Khan Mazari', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . { { resource:Geoffrey_Patterson property:place_of_birth ?q } UNION { resource:Sherbaz_Khan_Mazari property:place_of_birth ?q } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q12439
P194
Q1752346
USER
Which assembly governs that administrative territory ?
(Q12439,P194,c(Q1752346))
action filter_type
action find
entity Q12439
relation P194
type Q1752346
['Q12439', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?t WHERE { resource:Q12439 property:P194 ?t . ?t rdf:type ontology:Q1752346 }
Detroit
action filter_type
action find
entity Detroit
relation legislative body
type assembly
['Detroit', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?t WHERE { resource:Detroit property:legislative_body ?t . ?t rdf:type ontology:assembly }
[]
assembly
Clarification for simple ques.
Q12439
SYSTEM
Did you mean Detroit ?
Q3695880 Q12439
(Q3695880,P194,c(Q1752346)) (Q12439,P194,c(Q1752346))
[ANSWER]
['Q3695880', 'P194', {'concept': 'Q1752346'}] ['Q12439', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?t WHERE { resource:Q12439 property:P194 ?t . ?t rdf:type ontology:Q1752346 }
Rojhan Detroit
Did you mean Detroit ?
Detroit
['Rojhan', 'legislative body', {'concept': 'assembly'}] ['Detroit', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?t WHERE { resource:Detroit property:legislative_body ?t . ?t rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
USER
Yes
(Q12439,P194,c(Q1752346))
['Q12439', 'P194', {'concept': 'Q1752346'}]
['Detroit', 'legislative body', {'concept': 'assembly'}]
[]
Q5265877
SYSTEM
Detroit City Council
Q5265877
(Q12439,P194,c(Q1752346))
action filter_type
action find
entity Q12439
relation P194
type Q1752346
City [ANSWER] governs that administrative territory
['Q12439', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?t WHERE { resource:Q12439 property:P194 ?t . ?t rdf:type ontology:Q1752346 }
Detroit City Council
City Detroit City Council governs that administrative territory
Detroit City Council
action filter_type
action find
entity Detroit
relation legislative body
type assembly
['Detroit', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?t WHERE { resource:Detroit property:legislative_body ?t . ?t rdf:type ontology:assembly }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5265877 Q12439
P194
Q56061
USER
Does Detroit have that assembly as its representative body ?
(Q12439,P194,Q5265877)
action is_in
entity Q5265877
action find
entity Q12439
relation P194
['Q12439', 'P194', 'Q5265877']
ASK WHERE { resource:Q12439 property:P194 resource:Q5265877 }
Detroit City Council Detroit
action is_in
entity Detroit City Council
action find
entity Detroit
relation legislative body
['Detroit', 'legislative body', 'Detroit City Council']
ASK WHERE { resource:Detroit property:legislative_body resource:Detroit_City_Council }
[]
administrative territorial entity
SYSTEM
YES
(Q12439,P194,Q5265877)
action is_in
entity Q5265877
action find
entity Q12439
relation P194
[ANSWER]
['Q12439', 'P194', 'Q5265877']
ASK WHERE { resource:Q12439 property:P194 resource:Q5265877 }
Yes
action is_in
entity Detroit City Council
action find
entity Detroit
relation legislative body
['Detroit', 'legislative body', 'Detroit City Council']
ASK WHERE { resource:Detroit property:legislative_body resource:Detroit_City_Council }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q12439 Q30 Q51373
P17
Q15617994
USER
Is Detroit located in United States of America and Moscufo ?
(Q12439,P17,Q30) (Q12439,P17,Q51373)
action is_in
entity Q12439
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q51373
relation P17
['Q12439', 'P17', 'Q30'] ['Q12439', 'P17', 'Q51373']
ASK WHERE { resource:Q12439 property:P17 resource:Q30 . resource:Q12439 property:P17 resource:Q51373 }
Detroit United States of America Moscufo
action is_in
entity Detroit
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Moscufo
relation country
['Detroit', 'country', 'United States of America'] ['Detroit', 'country', 'Moscufo']
ASK WHERE { resource:Detroit property:country resource:United_States_of_America . resource:Detroit property:country resource:Moscufo }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q12439,P17,Q30) (Q12439,P17,Q51373)
action is_in
entity Q12439
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q51373
relation P17
[ANSWER]
['Q12439', 'P17', 'Q30'] ['Q12439', 'P17', 'Q51373']
ASK WHERE { resource:Q12439 property:P17 resource:Q30 . resource:Q12439 property:P17 resource:Q51373 }
YES and NO respectively
action is_in
entity Detroit
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Moscufo
relation country
['Detroit', 'country', 'United States of America'] ['Detroit', 'country', 'Moscufo']
ASK WHERE { resource:Detroit property:country resource:United_States_of_America . resource:Detroit property:country resource:Moscufo }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q262880 Q5534817
P106
Q12737077
USER
Which occupations are the job of Geoffrey Patterson or Blaise de Vigenère ?
OR((Q5534817,P106,c(Q12737077)), (Q262880,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5534817
relation P106
action find
entity Q262880
relation P106
type Q12737077
{'OR': [['Q5534817', 'P106', {'concept': 'Q12737077'}], ['Q262880', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q5534817 property:P106 ?f } UNION { resource:Q262880 property:P106 ?f } } . ?f rdf:type ontology:Q12737077 }
Blaise de Vigenère Geoffrey Patterson
action filter_type
action union
action find
entity Geoffrey Patterson
relation occupation
action find
entity Blaise de Vigenère
relation occupation
type occupation
{'OR': [['Geoffrey Patterson', 'occupation', {'concept': 'occupation'}], ['Blaise de Vigenère', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Geoffrey_Patterson property:occupation ?f } UNION { resource:Blaise_de_Vigenère property:occupation ?f } } . ?f rdf:type ontology:occupation }
[]
occupation
Q15442776 Q193391 Q81096 Q128124 Q170790
SYSTEM
cryptographer, diplomat, engineer, audio engineer, mathematician
Q15442776 Q193391 Q81096 Q128124 Q170790
OR((Q5534817,P106,c(Q12737077)), (Q262880,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5534817
relation P106
action find
entity Q262880
relation P106
type Q12737077
The [ANSWERS] are the job of Geoffrey Patterson or Blaise de Vigenère
{'OR': [['Q5534817', 'P106', {'concept': 'Q12737077'}], ['Q262880', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q5534817 property:P106 ?f } UNION { resource:Q262880 property:P106 ?f } } . ?f rdf:type ontology:Q12737077 }
cryptographer diplomat engineer audio engineer mathematician
The cryptographer, diplomat, engineer, audio engineer and mathematician are the job of Geoffrey Patterson or Blaise de Vigenère
cryptographer diplomat engineer audio engineer mathematician
action filter_type
action union
action find
entity Geoffrey Patterson
relation occupation
action find
entity Blaise de Vigenère
relation occupation
type occupation
{'OR': [['Geoffrey Patterson', 'occupation', {'concept': 'occupation'}], ['Blaise de Vigenère', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Geoffrey_Patterson property:occupation ?f } UNION { resource:Blaise_de_Vigenère property:occupation ?f } } . ?f rdf:type ontology:occupation }
[]