Simple Question (Direct)
Simple Question
Q433579
P1303
Q34379
USER
Which musical instrument is played by Robert Farnon ?
(Q433579,P1303,c(Q34379))
action filter_type
action find
entity Q433579
relation P1303
type Q34379
['Q433579', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34379 . resource:Q433579 property:P1303 ?j }
Robert Farnon
action filter_type
action find
entity Robert Farnon
relation instrument
type musical instrument
['Robert Farnon', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:musical_instrument . resource:Robert_Farnon property:instrument ?j }
[]
musical instrument
Q8338
SYSTEM
trumpet
Q8338
(Q433579,P1303,c(Q34379))
action filter_type
action find
entity Q433579
relation P1303
type Q34379
The [ANSWER] is played by Robert Farnon
['Q433579', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34379 . resource:Q433579 property:P1303 ?j }
trumpet
The trumpet is played by Robert Farnon
trumpet
action filter_type
action find
entity Robert Farnon
relation instrument
type musical instrument
['Robert Farnon', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:musical_instrument . resource:Robert_Farnon property:instrument ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q433579
P86
Q838948
USER
What are Robert Farnon a composer of ?
(c(Q838948),P86,Q433579)
action filter_type
action find_reverse
entity Q433579
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q433579']
SELECT DISTINCT ?f WHERE { ?f property:P86 resource:Q433579 . ?f rdf:type ontology:Q838948 }
Robert Farnon
action filter_type
action find_reverse
entity Robert Farnon
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Robert Farnon']
SELECT DISTINCT ?f WHERE { ?f property:composer resource:Robert_Farnon . ?f rdf:type ontology:work_of_art }
[]
work of art
Q201209 Q2659998 Q733003
SYSTEM
Captain Horatio Hornblower R.N., The Road to Hong Kong, The Sheriff of Fractured Jaw
Q20649236 Q1753894 Q7847564 Q2659998 Q194143 Q7730282 Q733003 Q5363816 Q1760854 Q7770640 Q201209 Q4729957 Q1218719 Q3155815
(c(Q838948),P86,Q433579)
action filter_type
action find_reverse
entity Q433579
relation P86
type Q838948
Robert Farnon a composer of are [ANSWERS]
[{'concept': 'Q838948'}, 'P86', 'Q433579']
SELECT DISTINCT ?f WHERE { ?f property:P86 resource:Q433579 . ?f rdf:type ontology:Q838948 }
Friend or Foe Shalako True as a Turtle The Road to Hong Kong Bear Island The Disappearance The Sheriff of Fractured Jaw Elizabeth of Ladymead Gentlemen Marry Brunettes The Truth About Spring Captain Horatio Hornblower R.N. All for Mary The Little Hut It's a Wonderful World
Robert Farnon a composer of are Captain Horatio Hornblower R.N., The Road to Hong Kong and The Sheriff of Fractured Jaw
Captain Horatio Hornblower R.N. The Road to Hong Kong The Sheriff of Fractured Jaw
action filter_type
action find_reverse
entity Robert Farnon
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Robert Farnon']
SELECT DISTINCT ?f WHERE { ?f property:composer resource:Robert_Farnon . ?f rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q201209 Q2659998 Q733003
P161
Q502895
USER
Which people were casted in Captain Horatio Hornblower R.N., The Road to Hong Kong and The Sheriff of Fractured Jaw ?
(Q201209,P161,c(Q502895)) (Q2659998,P161,c(Q502895)) (Q733003,P161,c(Q502895))
action union
action filter_type
action find
entity Q201209
relation P161
type Q502895
action filter_type
action find
entity Q2659998
relation P161
type Q502895
action filter_type
action find
entity Q733003
relation P161
type Q502895
['Q201209', 'P161', {'concept': 'Q502895'}] ['Q2659998', 'P161', {'concept': 'Q502895'}] ['Q733003', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { resource:Q201209 property:P161 ?o . ?o rdf:type ontology:Q502895 } UNION { resource:Q2659998 property:P161 ?o . ?o rdf:type ontology:Q502895 } }
Captain Horatio Hornblower R.N. The Road to Hong Kong The Sheriff of Fractured Jaw
action union
action filter_type
action find
entity Captain Horatio Hornblower R.N.
relation cast member
type common name
action filter_type
action find
entity The Road to Hong Kong
relation cast member
type common name
action filter_type
action find
entity The Sheriff of Fractured Jaw
relation cast member
type common name
['Captain Horatio Hornblower R.N.', 'cast member', {'concept': 'common name'}] ['The Road to Hong Kong', 'cast member', {'concept': 'common name'}] ['The Sheriff of Fractured Jaw', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { resource:Captain_Horatio_Hornblower_R.N. property:cast_member ?o . ?o rdf:type ontology:common_name } UNION { resource:The_Road_to_Hong_Kong property:cast_member ?o . ?o rdf:type ontology:common_name } }
[]
common name
Q108366 Q40912 Q72984
SYSTEM
Gregory Peck, Frank Sinatra, Bing Crosby
Q254265 Q2844579 Q1306352 Q1187574 Q11919862 Q232245 Q634574 Q519904 Q7364630 Q108366 Q180338 Q2830608 Q166422 Q238871 Q3200960 Q1600882 Q1397458 Q100266 Q72984 Q7175594 Q177984 Q94081 Q152843 Q207405 Q40912 Q61552 Q215359 Q166420 Q3814013 Q181917 Q1403322 Q965379 Q633222 Q229507 Q373500 Q1086861 Q179393 Q1340277 Q16222684 Q2165755 Q965379
(Q201209,P161,c(Q502895)) (Q2659998,P161,c(Q502895)) (Q733003,P161,c(Q502895))
action union
action filter_type
action find
entity Q201209
relation P161
type Q502895
action filter_type
action find
entity Q2659998
relation P161
type Q502895
action filter_type
action find
entity Q733003
relation P161
type Q502895
[ANSWERS] were casted in Captain Horatio Hornblower R.N., The Road to Hong Kong and The Sheriff of Fractured Jaw
['Q201209', 'P161', {'concept': 'Q502895'}] ['Q2659998', 'P161', {'concept': 'Q502895'}] ['Q733003', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { resource:Q201209 property:P161 ?o . ?o rdf:type ontology:Q502895 } UNION { resource:Q2659998 property:P161 ?o . ?o rdf:type ontology:Q502895 } }
James Robertson Justice Amy Veness Stanley Baker Denis O'Dea James Kenney Virginia Mayo Robert Beatty Jack Watson Ronald Adam Gregory Peck Christopher Lee Alan Tilvern Richard Johnson Diane Cilento Kynaston Reeves Michael Goodliffe Terence Morgan Ingeborg von Kusserow Bing Crosby Peter Madden Peter Sellers Bob Hope Joan Collins Zsa Zsa Gábor Frank Sinatra Walter Gotell Dean Martin Dorothy Lamour Katya Douglas David Niven Felix Aylmer Robert Morley Kenneth More Jayne Mansfield Bruce Cabot Sid James William Campbell Henry Hull Charles Irwin Ronald Squire Robert Morley
Gregory Peck, Frank Sinatra and Bing Crosby were casted in Captain Horatio Hornblower R.N., The Road to Hong Kong and The Sheriff of Fractured Jaw
Gregory Peck Frank Sinatra Bing Crosby
action union
action filter_type
action find
entity Captain Horatio Hornblower R.N.
relation cast member
type common name
action filter_type
action find
entity The Road to Hong Kong
relation cast member
type common name
action filter_type
action find
entity The Sheriff of Fractured Jaw
relation cast member
type common name
['Captain Horatio Hornblower R.N.', 'cast member', {'concept': 'common name'}] ['The Road to Hong Kong', 'cast member', {'concept': 'common name'}] ['The Sheriff of Fractured Jaw', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { resource:Captain_Horatio_Hornblower_R.N. property:cast_member ?o . ?o rdf:type ontology:common_name } UNION { resource:The_Road_to_Hong_Kong property:cast_member ?o . ?o rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q40912
P102
Q7210356
USER
Which political organizations are that person a member of ?
(Q40912,P102,c(Q7210356))
action filter_type
action find
entity Q40912
relation P102
type Q7210356
['Q40912', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q40912 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Frank Sinatra
action filter_type
action find
entity Frank Sinatra
relation member of political party
type political organization
['Frank Sinatra', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Frank_Sinatra property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
political organization
Clarification for simple ques.
Q40912
SYSTEM
Did you mean Frank Sinatra ?
Q108366 Q40912 Q72984
(Q108366,P102,c(Q7210356)) (Q40912,P102,c(Q7210356)) (Q72984,P102,c(Q7210356))
[ANSWER]
['Q108366', 'P102', {'concept': 'Q7210356'}] ['Q40912', 'P102', {'concept': 'Q7210356'}] ['Q72984', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q40912 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Gregory Peck Frank Sinatra Bing Crosby
Did you mean Frank Sinatra ?
Frank Sinatra
['Gregory Peck', 'member of political party', {'concept': 'political organization'}] ['Frank Sinatra', 'member of political party', {'concept': 'political organization'}] ['Bing Crosby', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Frank_Sinatra property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
USER
Yes
(Q40912,P102,c(Q7210356))
['Q40912', 'P102', {'concept': 'Q7210356'}]
['Frank Sinatra', 'member of political party', {'concept': 'political organization'}]
[]
Q29552 Q29468
SYSTEM
Democratic Party, Republican Party
Q29552 Q29468
(Q40912,P102,c(Q7210356))
action filter_type
action find
entity Q40912
relation P102
type Q7210356
Won [ANSWERS] are that person a member of
['Q40912', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q40912 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Democratic Party Republican Party
Won Democratic Party and Republican Party are that person a member of
Democratic Party Republican Party
action filter_type
action find
entity Frank Sinatra
relation member of political party
type political organization
['Frank Sinatra', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Frank_Sinatra property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4659073 Q2659998
P495
Q15617994
USER
Which administrative territories are the countries of origin of The Road to Hong Kong and A Pumpkin Full of Nonsense ?
AND((Q2659998,P495,c(Q15617994)), (Q4659073,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q2659998
relation P495
action find
entity Q4659073
relation P495
type Q15617994
{'AND': [['Q2659998', 'P495', {'concept': 'Q15617994'}], ['Q4659073', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q4659073 property:P495 ?b . resource:Q2659998 property:P495 ?b }
A Pumpkin Full of Nonsense The Road to Hong Kong
action filter_type
action intersection
action find
entity The Road to Hong Kong
relation country of origin
action find
entity A Pumpkin Full of Nonsense
relation country of origin
type designation for an administrative territorial entity
{'AND': [['The Road to Hong Kong', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['A Pumpkin Full of Nonsense', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:A_Pumpkin_Full_of_Nonsense property:country_of_origin ?b . resource:The_Road_to_Hong_Kong property:country_of_origin ?b }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q2659998,P495,c(Q15617994)), (Q4659073,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q2659998
relation P495
action find
entity Q4659073
relation P495
type Q15617994
[ANSWER] is the countries of origin of The Road to Hong Kong and A Pumpkin Full of Nonsense
{'AND': [['Q2659998', 'P495', {'concept': 'Q15617994'}], ['Q4659073', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q4659073 property:P495 ?b . resource:Q2659998 property:P495 ?b }
United States of America
United States of America is the countries of origin of The Road to Hong Kong and A Pumpkin Full of Nonsense
United States of America
action filter_type
action intersection
action find
entity The Road to Hong Kong
relation country of origin
action find
entity A Pumpkin Full of Nonsense
relation country of origin
type designation for an administrative territorial entity
{'AND': [['The Road to Hong Kong', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['A Pumpkin Full of Nonsense', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:A_Pumpkin_Full_of_Nonsense property:country_of_origin ?b . resource:The_Road_to_Hong_Kong property:country_of_origin ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4659073
P364
Q34770
USER
Which language was used originally for the creation of that television program ?
(Q30,P364,c(Q34770))
action filter_type
action find
entity Q4659073
relation P364
type Q34770
['Q30', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q4659073 property:P364 ?k . ?k rdf:type ontology:Q34770 }
A Pumpkin Full of Nonsense
action filter_type
action find
entity A Pumpkin Full of Nonsense
relation original language of work
type language
['United States of America', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:A_Pumpkin_Full_of_Nonsense property:original_language_of_work ?k . ?k rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q30,P364,c(Q34770))
action filter_type
action find
entity Q4659073
relation P364
type Q34770
[ANSWER] was used originally for the creation of that television program
['Q30', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q4659073 property:P364 ?k . ?k rdf:type ontology:Q34770 }
English
English was used originally for the creation of that television program
English
action filter_type
action find
entity A Pumpkin Full of Nonsense
relation original language of work
type language
['United States of America', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:A_Pumpkin_Full_of_Nonsense property:original_language_of_work ?k . ?k rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4659073
P136
Q1792379
USER
What can be considered as category for A Pumpkin Full of Nonsense ?
(Q4659073,P136,c(Q1792379))
action filter_type
action find
entity Q4659073
relation P136
type Q1792379
['Q4659073', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { resource:Q4659073 property:P136 ?w . ?w rdf:type ontology:Q1792379 }
A Pumpkin Full of Nonsense
action filter_type
action find
entity A Pumpkin Full of Nonsense
relation genre
type art genre
['A Pumpkin Full of Nonsense', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { resource:A_Pumpkin_Full_of_Nonsense property:genre ?w . ?w rdf:type ontology:art_genre }
[]
art genre
Q2143665 Q157394
SYSTEM
children's film, fantasy film
Q2143665 Q157394
(Q4659073,P136,c(Q1792379))
action filter_type
action find
entity Q4659073
relation P136
type Q1792379
The [ANSWERS] can be considered as category for A Pumpkin Full of Nonsense
['Q4659073', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { resource:Q4659073 property:P136 ?w . ?w rdf:type ontology:Q1792379 }
children's film fantasy film
The children's film and fantasy film can be considered as category for A Pumpkin Full of Nonsense
children's film fantasy film
action filter_type
action find
entity A Pumpkin Full of Nonsense
relation genre
type art genre
['A Pumpkin Full of Nonsense', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { resource:A_Pumpkin_Full_of_Nonsense property:genre ?w . ?w rdf:type ontology:art_genre }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P136
Q1792379 Q2031291 Q2088357
USER
Which art genres are the genre of more number of releases or musical ensembles than that art genre ?
(c(Q2031291)|c(Q2088357),P136,c(Q1792379))
[[{'concept': 'Q2031291'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q483394 ?y } UNION { ?x property:Q483394 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q1792379 . ?x rdf:type ontology:Q2088357 }
[[{'concept': 'release'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?y WHERE { { { ?z property:genre ?y } UNION { ?x property:genre ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:art_genre . ?x rdf:type ontology:musical_ensemble }
[]
art genre release musical ensemble
Comparative|More/Less|Mult. entity type|Clarification
Q157394
SYSTEM
Did you mean fantasy film ?
(c(Q2031291)|c(Q2088357),P136,c(Q1792379))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q483394 ?y } UNION { ?x property:Q483394 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q1792379 . ?x rdf:type ontology:Q2088357 }
Did you mean fantasy film ?
fantasy film
[[{'concept': 'release'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?y WHERE { { { ?z property:genre ?y } UNION { ?x property:genre ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:art_genre . ?x rdf:type ontology:musical_ensemble }
[]
Comparative Reasoning (All)
USER
No, I meant children's film. Could you tell me the answer for that?
(c(Q2031291)|c(Q2088357),P136,c(Q1792379))
Q2143665
[[{'concept': 'Q2031291'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q1792379'}]
[[{'concept': 'release'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'art genre'}]
[]
Q34274 Q93204 Q1054574
SYSTEM
gospel, documentary film, romance film
Q36279 Q93204 Q188473 Q200092 Q93196 Q1426213 Q860626 Q275934 Q182659 Q1054574 Q482 Q4184 Q3072039 Q174526 Q34274 Q130232 Q149537 Q1760864 Q604725
(c(Q2031291)|c(Q2088357),P136,c(Q1792379))
[ANSWERS] are the genre of more number of releases or musical ensembles than that art genre
[[{'concept': 'Q2031291'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q483394 ?y } UNION { ?x property:Q483394 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q1792379 . ?x rdf:type ontology:Q2088357 }
biography documentary film action film horror film Bollywood espionage novel romantic comedy Tokusatsu ballad romance film poetry autobiography trial film cyberpunk gospel drama film novella nature documentary psychological horror
Gospel, documentary film and romance film are the genre of more number of releases or musical ensembles than that art genre
gospel documentary film romance film
[[{'concept': 'release'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?y WHERE { { { ?z property:genre ?y } UNION { ?x property:genre ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:art_genre . ?x rdf:type ontology:musical_ensemble }
[]