Simple Question (Direct)
Simple Question
Q712683
P1411
Q4220917
USER
Which film award was Percy Faith a recipient of ?
(Q712683,P1411,c(Q4220917))
action filter_type
action find
entity Q712683
relation P1411
type Q4220917
['Q712683', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?i WHERE { resource:Q712683 property:P1411 ?i . ?i rdf:type ontology:Q4220917 }
Percy Faith
action filter_type
action find
entity Percy Faith
relation nominated for
type film award
['Percy Faith', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?i WHERE { resource:Percy_Faith property:nominated_for ?i . ?i rdf:type ontology:film_award }
[]
film award
Q4671338
SYSTEM
Academy Award for Best Original Musical Score
Q4671338
(Q712683,P1411,c(Q4220917))
action filter_type
action find
entity Q712683
relation P1411
type Q4220917
The [ANSWER] was Percy Faith a recipient of
['Q712683', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?i WHERE { resource:Q712683 property:P1411 ?i . ?i rdf:type ontology:Q4220917 }
Academy Award for Best Original Musical Score
The Academy Award for Best Original Musical Score was Percy Faith a recipient of
Academy Award for Best Original Musical Score
action filter_type
action find
entity Percy Faith
relation nominated for
type film award
['Percy Faith', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?i WHERE { resource:Percy_Faith property:nominated_for ?i . ?i rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4671338
P166
Q838948
USER
Which works of art were honoured with that film award ?
(c(Q838948),P166,Q4671338)
action filter_type
action find_reverse
entity Q4671338
relation P166
type Q838948
[{'concept': 'Q838948'}, 'P166', 'Q4671338']
SELECT DISTINCT ?e WHERE { ?e property:P166 resource:Q4671338 . ?e rdf:type ontology:Q838948 }
Academy Award for Best Original Musical Score
action filter_type
action find_reverse
entity Academy Award for Best Original Musical Score
relation award received
type work of art
[{'concept': 'work of art'}, 'award received', 'Academy Award for Best Original Musical Score']
SELECT DISTINCT ?e WHERE { ?e property:award_received resource:Academy_Award_for_Best_Original_Musical_Score . ?e rdf:type ontology:work_of_art }
[]
work of art
Q577757 Q273704 Q1321622
SYSTEM
Gigi, West Side Story, Yankee Doodle Dandy
Q2017333 Q1263921 Q1194613 Q595310 Q542988 Q27149 Q374526 Q577757 Q273704 Q141359 Q1321622 Q957893 Q4353817 Q3018061 Q32011 Q5021556 Q1366560 Q3548988 Q475293 Q747570 Q662679
(c(Q838948),P166,Q4671338)
action filter_type
action find_reverse
entity Q4671338
relation P166
type Q838948
[ANSWERS] were honoured with that film award
[{'concept': 'Q838948'}, 'P166', 'Q4671338']
SELECT DISTINCT ?e WHERE { ?e property:P166 resource:Q4671338 . ?e rdf:type ontology:Q838948 }
Oklahoma! Annie Get Your Gun The Jolson Story Song Without End Anchors Aweigh The King and I Porgy and Bess Gigi West Side Story Oliver! Yankee Doodle Dandy Easter Parade Mother Wore Tights This Is the Army On the Town Call Me Madam Cover Girl With a Song in My Heart Hello, Dolly! An American in Paris Seven Brides for Seven Brothers
Gigi, West Side Story and Yankee Doodle Dandy were honoured with that film award
Gigi West Side Story Yankee Doodle Dandy
action filter_type
action find_reverse
entity Academy Award for Best Original Musical Score
relation award received
type work of art
[{'concept': 'work of art'}, 'award received', 'Academy Award for Best Original Musical Score']
SELECT DISTINCT ?e WHERE { ?e property:award_received resource:Academy_Award_for_Best_Original_Musical_Score . ?e rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q712683
P364 P86
Q15416
USER
Which television programs have Percy Faith as the melodist and have English as their original language of creation ?
AND((c(Q15416),P86,Q712683), (c(Q15416),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q712683
relation P86
action find_reverse
entity Q1860
relation P364
type Q15416
{'AND': [[{'concept': 'Q15416'}, 'P86', 'Q712683'], [{'concept': 'Q15416'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15416 . ?c property:P86 resource:Q712683 . ?c property:P364 resource:Q1860 }
English Percy Faith
action filter_type
action intersection
action find_reverse
entity Percy Faith
relation composer
action find_reverse
entity English
relation original language of work
type television program
{'AND': [[{'concept': 'television program'}, 'composer', 'Percy Faith'], [{'concept': 'television program'}, 'original language of work', 'English']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:television_program . ?c property:composer resource:Percy_Faith . ?c property:original_language_of_work resource:English }
[]
television program
Q1214471
SYSTEM
The Virginian
Q1214471
AND((c(Q15416),P86,Q712683), (c(Q15416),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q712683
relation P86
action find_reverse
entity Q1860
relation P364
type Q15416
[ANSWER] have Percy Faith as the melodist and have English as their original language of creation
{'AND': [[{'concept': 'Q15416'}, 'P86', 'Q712683'], [{'concept': 'Q15416'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15416 . ?c property:P86 resource:Q712683 . ?c property:P364 resource:Q1860 }
The Virginian
The Virginian have Percy Faith as the melodist and have English as their original language of creation
The Virginian
action filter_type
action intersection
action find_reverse
entity Percy Faith
relation composer
action find_reverse
entity English
relation original language of work
type television program
{'AND': [[{'concept': 'television program'}, 'composer', 'Percy Faith'], [{'concept': 'television program'}, 'original language of work', 'English']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:television_program . ?c property:composer resource:Percy_Faith . ?c property:original_language_of_work resource:English }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q577757
P1040
Q502895
USER
Which person is the editor of Gigi ?
(Q577757,P1040,c(Q502895))
action filter_type
action find
entity Q577757
relation P1040
type Q502895
['Q577757', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q577757 property:P1040 ?e . ?e rdf:type ontology:Q502895 }
Gigi
action filter_type
action find
entity Gigi
relation film editor
type common name
['Gigi', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Gigi property:film_editor ?e . ?e rdf:type ontology:common_name }
[]
common name
Q377464
SYSTEM
Adrienne Fazan
Q377464
(Q577757,P1040,c(Q502895))
action filter_type
action find
entity Q577757
relation P1040
type Q502895
The editor of Gigi is Miss [ANSWER]
['Q577757', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q577757 property:P1040 ?e . ?e rdf:type ontology:Q502895 }
Adrienne Fazan
The editor of Gigi is Miss Adrienne Fazan
Adrienne Fazan
action filter_type
action find
entity Gigi
relation film editor
type common name
['Gigi', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Gigi property:film_editor ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q377464
P21
Q290
USER
Which sex does that person belong to ?
(Q377464,P21,c(Q290))
action filter_type
action find
entity Q377464
relation P21
type Q290
['Q377464', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q377464 property:P21 ?k . ?k rdf:type ontology:Q290 }
Adrienne Fazan
action filter_type
action find
entity Adrienne Fazan
relation gender
type sex
['Adrienne Fazan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Adrienne_Fazan property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q377464,P21,c(Q290))
action filter_type
action find
entity Q377464
relation P21
type Q290
That person belongs to [ANSWER]
['Q377464', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q377464 property:P21 ?k . ?k rdf:type ontology:Q290 }
female
That person belongs to female
female
action filter_type
action find
entity Adrienne Fazan
relation gender
type sex
['Adrienne Fazan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Adrienne_Fazan property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q377464
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q6581072,P27,c(Q15617994))
action filter_type
action find
entity Q377464
relation P27
type Q15617994
['Q6581072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q377464 property:P27 ?x }
Adrienne Fazan
action filter_type
action find
entity Adrienne Fazan
relation country of citizenship
type designation for an administrative territorial entity
['female', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Adrienne_Fazan property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6581072,P27,c(Q15617994))
action filter_type
action find
entity Q377464
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q6581072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q377464 property:P27 ?x }
United States of America
The United States of America is that person an inhabitant of
United States of America
action filter_type
action find
entity Adrienne Fazan
relation country of citizenship
type designation for an administrative territorial entity
['female', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Adrienne_Fazan property:country_of_citizenship ?x }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1059733 Q577757
P495
Q15617994
USER
Which administrative territories are the origin of Gigi or Like Someone in Love ?
OR((Q577757,P495,c(Q15617994)), (Q1059733,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q577757
relation P495
action find
entity Q1059733
relation P495
type Q15617994
{'OR': [['Q577757', 'P495', {'concept': 'Q15617994'}], ['Q1059733', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1059733 property:P495 ?q } UNION { resource:Q577757 property:P495 ?q } } . ?q rdf:type ontology:Q15617994 }
Like Someone in Love Gigi
action filter_type
action union
action find
entity Gigi
relation country of origin
action find
entity Like Someone in Love
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Gigi', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Like Someone in Love', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Like_Someone_in_Love property:country_of_origin ?q } UNION { resource:Gigi property:country_of_origin ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q17 Q30
SYSTEM
France, Japan, United States of America
Q142 Q17 Q30
OR((Q577757,P495,c(Q15617994)), (Q1059733,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q577757
relation P495
action find
entity Q1059733
relation P495
type Q15617994
[ANSWERS] are the origin of Gigi or Like Someone in Love
{'OR': [['Q577757', 'P495', {'concept': 'Q15617994'}], ['Q1059733', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1059733 property:P495 ?q } UNION { resource:Q577757 property:P495 ?q } } . ?q rdf:type ontology:Q15617994 }
France Japan United States of America
France, Japan and United States of America are the origin of Gigi or Like Someone in Love
France Japan United States of America
action filter_type
action union
action find
entity Gigi
relation country of origin
action find
entity Like Someone in Love
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Gigi', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Like Someone in Love', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Like_Someone_in_Love property:country_of_origin ?q } UNION { resource:Gigi property:country_of_origin ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]