Simple Question (Direct)
Simple Question
Q2332471
P495
Q15617994
USER
Which administrative territory is the origin of Tess of the Storm Country ?
(Q2332471,P495,c(Q15617994))
action filter_type
action find
entity Q2332471
relation P495
type Q15617994
['Q2332471', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q2332471 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
Tess of the Storm Country
action filter_type
action find
entity Tess of the Storm Country
relation country of origin
type designation for an administrative territorial entity
['Tess of the Storm Country', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Tess_of_the_Storm_Country property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2332471,P495,c(Q15617994))
action filter_type
action find
entity Q2332471
relation P495
type Q15617994
[ANSWER] is the origin of Tess of the Storm Country
['Q2332471', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q2332471 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
United States of America
United States of America is the origin of Tess of the Storm Country
United States of America
action filter_type
action find
entity Tess of the Storm Country
relation country of origin
type designation for an administrative territorial entity
['Tess of the Storm Country', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Tess_of_the_Storm_Country property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2332471
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q30,P136,c(Q1792379))
action filter_type
action find
entity Q2332471
relation P136
type Q1792379
['Q30', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q2332471 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
Tess of the Storm Country
action filter_type
action find
entity Tess of the Storm Country
relation genre
type art genre
['United States of America', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:Tess_of_the_Storm_Country property:genre ?t . ?t rdf:type ontology:art_genre }
[]
art genre
Q1257444 Q130232
SYSTEM
film adaptation, drama film
Q1257444 Q130232
(Q30,P136,c(Q1792379))
action filter_type
action find
entity Q2332471
relation P136
type Q1792379
The [ANSWERS] can be considered as category for that work of art
['Q30', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q2332471 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
film adaptation drama film
The film adaptation and drama film can be considered as category for that work of art
film adaptation drama film
action filter_type
action find
entity Tess of the Storm Country
relation genre
type art genre
['United States of America', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:Tess_of_the_Storm_Country property:genre ?t . ?t rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1471328
P136
Q838948
USER
Do Kitty Foyle have those ones as genre ?
(Q1471328,P136,Q1257444) (Q1471328,P136,Q130232)
action is_in
entity prev_answer
action find
entity Q1471328
relation P136
['Q1471328', 'P136', 'Q1257444'] ['Q1471328', 'P136', 'Q130232']
ASK WHERE { VALUES ( ?e ) { ( resource:Q1257444 ) ( resource:Q130232 ) } . resource:Q1471328 property:P136 ?e }
Kitty Foyle
action is_in
entity prev_answer
action find
entity Kitty Foyle
relation genre
['Kitty Foyle', 'genre', 'film adaptation'] ['Kitty Foyle', 'genre', 'drama film']
ASK WHERE { VALUES ( ?e ) { ( resource:film_adaptation ) ( resource:drama_film ) } . resource:Kitty_Foyle property:genre ?e }
[]
work of art
SYSTEM
YES
(Q1471328,P136,Q1257444) (Q1471328,P136,Q130232)
action is_in
entity prev_answer
action find
entity Q1471328
relation P136
[ANSWER]
['Q1471328', 'P136', 'Q1257444'] ['Q1471328', 'P136', 'Q130232']
ASK WHERE { VALUES ( ?e ) { ( resource:Q1257444 ) ( resource:Q130232 ) } . resource:Q1471328 property:P136 ?e }
Yes
action is_in
entity prev_answer
action find
entity Kitty Foyle
relation genre
['Kitty Foyle', 'genre', 'film adaptation'] ['Kitty Foyle', 'genre', 'drama film']
ASK WHERE { VALUES ( ?e ) { ( resource:film_adaptation ) ( resource:drama_film ) } . resource:Kitty_Foyle property:genre ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q874405 Q43229 Q838948
USER
How many works of art were commisioned by atleast 1 social groups or organizations ?
(c(Q838948),P88,c(Q874405)|c(Q43229))
action count
action atleast
action union
action find_tuple_counts
relation P88
type Q838948
type Q874405
action find_tuple_counts
relation P88
type Q838948
type Q43229
value 1
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q874405'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?e WHERE { { ?e rdf:type ontology:Q838948 . ?c rdf:type ontology:Q874405 . ?e property:P88 ?c } UNION { ?e property:P88 ?c . ?e rdf:type ontology:Q838948 . ?c rdf:type ontology:Q43229 } } GROUP BY ?e } . FILTER ( ?w >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation commissioned by
type work of art
type social group
action find_tuple_counts
relation commissioned by
type work of art
type organization
value 1
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'social group'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?e WHERE { { ?e rdf:type ontology:work_of_art . ?c rdf:type ontology:social_group . ?e property:commissioned_by ?c } UNION { ?e property:commissioned_by ?c . ?e rdf:type ontology:work_of_art . ?c rdf:type ontology:organization } } GROUP BY ?e } . FILTER ( ?w >= 1 ) }
[]
social group organization work of art
SYSTEM
4
Q4091869 Q1231464 Q5447226 Q2659575
(c(Q838948),P88,c(Q874405)|c(Q43229))
action count
action atleast
action union
action find_tuple_counts
relation P88
type Q838948
type Q874405
action find_tuple_counts
relation P88
type Q838948
type Q43229
value 1
[ANSWER]
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q874405'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?e WHERE { { ?e rdf:type ontology:Q838948 . ?c rdf:type ontology:Q874405 . ?e property:P88 ?c } UNION { ?e property:P88 ?c . ?e rdf:type ontology:Q838948 . ?c rdf:type ontology:Q43229 } } GROUP BY ?e } . FILTER ( ?w >= 1 ) }
The Big Fish Senster Fields of Sacrifice Broken Chair
4
action count
action atleast
action union
action find_tuple_counts
relation commissioned by
type work of art
type social group
action find_tuple_counts
relation commissioned by
type work of art
type organization
value 1
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'social group'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) ?e WHERE { { ?e rdf:type ontology:work_of_art . ?c rdf:type ontology:social_group . ?e property:commissioned_by ?c } UNION { ?e property:commissioned_by ?c . ?e rdf:type ontology:work_of_art . ?c rdf:type ontology:organization } } GROUP BY ?e } . FILTER ( ?w >= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1023890
P138
Q15617994 Q15324 Q13220204
USER
How many administrative territories are greater number of bodies of water and administrative country subdivisions named after than Huangpu District ?
(c(Q15324)|c(Q13220204),P138,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15324
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q1023890
relation P138
type Q15324
type Q13220204
[[{'concept': 'Q15324'}, {'concept': 'Q13220204'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) ?d WHERE { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15324 ) ( ontology:Q13220204 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:Q13220204 ) ( ontology:Q15324 ) } } . ?e property:P138 resource:Q1023890 } } . FILTER ( ?y > ?j ) }
Huangpu District
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type body of water
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Huangpu District
relation named after
type body of water
type second-level administrative country subdivision
[[{'concept': 'body of water'}, {'concept': 'second-level administrative country subdivision'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) ?d WHERE { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:body_of_water ) ( ontology:second-level_administrative_country_subdivision ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:body_of_water ) } } . ?e property:named_after resource:Huangpu_District } } . FILTER ( ?y > ?j ) }
[]
designation for an administrative territorial entity body of water second-level administrative country subdivision
SYSTEM
3
Q159856 Q2719360 Q536647
(c(Q15324)|c(Q13220204),P138,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15324
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q1023890
relation P138
type Q15324
type Q13220204
[ANSWER]
[[{'concept': 'Q15324'}, {'concept': 'Q13220204'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) ?d WHERE { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15324 ) ( ontology:Q13220204 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:Q13220204 ) ( ontology:Q15324 ) } } . ?e property:P138 resource:Q1023890 } } . FILTER ( ?y > ?j ) }
Duchy of Brabant Duchy of Luxembourg Dassow
3
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type body of water
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Huangpu District
relation named after
type body of water
type second-level administrative country subdivision
[[{'concept': 'body of water'}, {'concept': 'second-level administrative country subdivision'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) ?d WHERE { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:body_of_water ) ( ontology:second-level_administrative_country_subdivision ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:body_of_water ) } } . ?e property:named_after resource:Huangpu_District } } . FILTER ( ?y > ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q232
P138
Q15617994 Q15324 Q13220204
USER
And how about Kazakhstan?
(c(Q15324)|c(Q13220204),P138,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15324
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q232
relation P138
type Q15324
type Q13220204
[[{'concept': 'Q15324'}, {'concept': 'Q13220204'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) ?g WHERE { { ?w property:P138 ?g . ?w rdf:type ontology:Q13220204 . ?g rdf:type ontology:Q15617994 } UNION { ?w property:P138 ?g . ?g rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15324 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { { ?f rdf:type ontology:Q13220204 } UNION { ?f rdf:type ontology:Q15324 } } . ?f property:P138 resource:Q232 } } . FILTER ( ?l > ?x ) }
Kazakhstan
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type body of water
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Kazakhstan
relation named after
type body of water
type second-level administrative country subdivision
[[{'concept': 'body of water'}, {'concept': 'second-level administrative country subdivision'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) ?g WHERE { { ?w property:named_after ?g . ?w rdf:type ontology:second-level_administrative_country_subdivision . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w property:named_after ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:body_of_water } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { { ?f rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?f rdf:type ontology:body_of_water } } . ?f property:named_after resource:Kazakhstan } } . FILTER ( ?l > ?x ) }
[]
designation for an administrative territorial entity body of water second-level administrative country subdivision
SYSTEM
3
Q159856 Q2719360 Q536647
(c(Q15324)|c(Q13220204),P138,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15324
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q232
relation P138
type Q15324
type Q13220204
[ANSWER]
[[{'concept': 'Q15324'}, {'concept': 'Q13220204'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) ?g WHERE { { ?w property:P138 ?g . ?w rdf:type ontology:Q13220204 . ?g rdf:type ontology:Q15617994 } UNION { ?w property:P138 ?g . ?g rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15324 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { { ?f rdf:type ontology:Q13220204 } UNION { ?f rdf:type ontology:Q15324 } } . ?f property:P138 resource:Q232 } } . FILTER ( ?l > ?x ) }
Duchy of Brabant Duchy of Luxembourg Dassow
3
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type body of water
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Kazakhstan
relation named after
type body of water
type second-level administrative country subdivision
[[{'concept': 'body of water'}, {'concept': 'second-level administrative country subdivision'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) ?g WHERE { { ?w property:named_after ?g . ?w rdf:type ontology:second-level_administrative_country_subdivision . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w property:named_after ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:body_of_water } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { { ?f rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?f rdf:type ontology:body_of_water } } . ?f property:named_after resource:Kazakhstan } } . FILTER ( ?l > ?x ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q958838 Q2332471
P162
Q502895
USER
Which people are the producers of Tess of the Storm Country or Alas! Poor Yorick! ?
OR((Q2332471,P162,c(Q502895)), (Q958838,P162,c(Q502895)))
action filter_type
action union
action find
entity Q2332471
relation P162
action find
entity Q958838
relation P162
type Q502895
{'OR': [['Q2332471', 'P162', {'concept': 'Q502895'}], ['Q958838', 'P162', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . { { resource:Q2332471 property:P162 ?n } UNION { resource:Q958838 property:P162 ?n } } }
Alas! Poor Yorick! Tess of the Storm Country
action filter_type
action union
action find
entity Tess of the Storm Country
relation producer
action find
entity Alas! Poor Yorick!
relation producer
type common name
{'OR': [['Tess of the Storm Country', 'producer', {'concept': 'common name'}], ['Alas! Poor Yorick!', 'producer', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . { { resource:Tess_of_the_Storm_Country property:producer ?n } UNION { resource:Alas!_Poor_Yorick! property:producer ?n } } }
[]
common name
Q452737 Q134382
SYSTEM
William Nicholas Selig, William Fox
Q452737 Q134382
OR((Q2332471,P162,c(Q502895)), (Q958838,P162,c(Q502895)))
action filter_type
action union
action find
entity Q2332471
relation P162
action find
entity Q958838
relation P162
type Q502895
[ANSWERS] are the producers of Tess of the Storm Country or Alas! Poor Yorick!
{'OR': [['Q2332471', 'P162', {'concept': 'Q502895'}], ['Q958838', 'P162', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . { { resource:Q2332471 property:P162 ?n } UNION { resource:Q958838 property:P162 ?n } } }
William Nicholas Selig William Fox
William Nicholas Selig and William Fox are the producers of Tess of the Storm Country or Alas! Poor Yorick!
William Nicholas Selig William Fox
action filter_type
action union
action find
entity Tess of the Storm Country
relation producer
action find
entity Alas! Poor Yorick!
relation producer
type common name
{'OR': [['Tess of the Storm Country', 'producer', {'concept': 'common name'}], ['Alas! Poor Yorick!', 'producer', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . { { resource:Tess_of_the_Storm_Country property:producer ?n } UNION { resource:Alas!_Poor_Yorick! property:producer ?n } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q452737 Q134382
P162
Q201658
USER
Which film genres created those people ?
(c(Q201658),P162,Q452737) (c(Q201658),P162,Q134382)
action filter_type
action find_reverse
entity prev_answer
relation P162
type Q201658
[{'concept': 'Q201658'}, 'P162', 'Q452737'] [{'concept': 'Q201658'}, 'P162', 'Q134382']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q201658 . ?r property:P162 ?z . VALUES ( ?z ) { ( resource:Q452737 ) ( resource:Q134382 ) } }
William Nicholas Selig William Fox
action filter_type
action find_reverse
entity prev_answer
relation producer
type film genre
[{'concept': 'film genre'}, 'producer', 'William Nicholas Selig'] [{'concept': 'film genre'}, 'producer', 'William Fox']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:film_genre . ?r property:producer ?z . VALUES ( ?z ) { ( resource:William_Nicholas_Selig ) ( resource:William_Fox ) } }
[]
film genre
Q431093 Q368451 Q1257244
SYSTEM
Sunrise: A Song of Two Humans, Seventh Heaven, 3 Bad Men
Q6739600 Q16918618 Q2819705 Q3521988 Q3835047 Q3522824 Q5533683 Q3020242 Q3783930 Q5577771 Q368451 Q7755697 Q7370873 Q3204011 Q5036711 Q3222905 Q3702330 Q3844143 Q2946169 Q7757542 Q5732255 Q7637268 Q5319070 Q3818211 Q3520302 Q3992506 Q7763774 Q7729064 Q8851647 Q3986607 Q645844 Q3940834 Q933724 Q727334 Q17118597 Q1763559 Q3989071 Q7362425 Q4656077 Q3989085 Q17047817 Q4926622 Q2084697 Q7770343 Q7775529 Q7992919 Q929749 Q3771748 Q7769258 Q3061343 Q3877505 Q3988415 Q6783407 Q2249178 Q7762736 Q431093 Q2185567 Q7532680 Q654469 Q5304802 Q3525944 Q4004587 Q3522647 Q133972 Q5227961 Q7734737 Q2961336 Q5578743 Q5307074 Q6772875 Q5990538 Q3567700 Q5309535 Q1753597 Q4660345 Q16674272 Q3861494 Q3987768 Q7836694 Q3460370 Q3989232 Q7743426 Q2567698 Q3520780 Q3824042 Q637062 Q1085177 Q3988194 Q1797606 Q8851702 Q3795157 Q3717695 Q3772910 Q7726562 Q373126 Q3157382 Q6907976 Q3651415 Q7733403 Q5564636 Q3222946 Q3730154 Q7735643 Q2102724 Q6168742 Q5180474 Q7523370 Q3842257 Q2934747 Q1257244 Q7012709 Q2377481 Q5447669
(c(Q201658),P162,Q452737) (c(Q201658),P162,Q134382)
action filter_type
action find_reverse
entity prev_answer
relation P162
type Q201658
[ANSWERS] created those people
[{'concept': 'Q201658'}, 'P162', 'Q452737'] [{'concept': 'Q201658'}, 'P162', 'Q134382']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q201658 . ?r property:P162 ?z . VALUES ( ?z ) { ( resource:Q452737 ) ( resource:Q134382 ) } }
Making It Pleasant for Him The Heart of Texas Ryan A Dangerous Adventure The Ne'er Do Well Little Orphant Annie The Spoilers Gentle Julia The Soul of Buddha Heart and Soul Going Crooked Seventh Heaven The Outsider Rough and Ready The Face on the Bar-Room Floor Captain Lash The Village Blacksmith Dante's Inferno Over the Hill to the Poorhouse Fantômas The Plunderer Her Greatest Love Summer Bachelors Dynamite Allen Trent's Last Case The Clemenceau Case My Pal The Shepherd King The Darling of Paris The Scarlet Pimpernel The Devil's Daughter The Kreutzer Sonata Romeo and Juliet A Fool There Was Regeneration Truxton King A Daughter of the Gods The Roof Tree Romance of the Underworld A Connecticut Yankee in King Arthur's Court The Rose of Blood The Shark Blind Wives The Wolf Man The Trouble Shooter The Woman from Hell When a Man Sees Red The Silent Lie Frozen Justice The Tiger Woman Evangeline No Other Woman The Music Master Masked Emotions What Price Glory? The Scuttlers Sunrise: A Song of Two Humans Kentucky Pride Six Cylinder Love Little Miss Smiles Drag Harlan Three Jumps Ahead Under the Yoke The Serpent The Queen of Sheba Daughters of the Night The Forbidden Path Chasing Through Europe Gold Heels Dressed to Kill Marriage in Transit If I Were King When a Woman Sins Dry Martini Cleopatra A Trip to Chinatown The White Moll Monte Cristo The Joy Girl Treasure Island Lightnin' The She Devil The Johnstown Flood A Girl in Every Port The Eternal Sapho The Monkey Talks Bride 13 City Girl The Man Who Won 4 Devils The Spy The Vixen East Lynne Gold and the Woman The Cock-Eyed World Destruction Jackie Moonshine Valley Camille The Far Call Girls Gone Wild Silver Wings St. Elmo The Galley Slave Four Sons Jealousy Cradle Snatchers Singed Madame Du Barry Cameo Kirby 3 Bad Men New Year's Eve Salomé Fig Leaves
Sunrise: A Song of Two Humans, Seventh Heaven and 3 Bad Men created those people
Sunrise: A Song of Two Humans Seventh Heaven 3 Bad Men
action filter_type
action find_reverse
entity prev_answer
relation producer
type film genre
[{'concept': 'film genre'}, 'producer', 'William Nicholas Selig'] [{'concept': 'film genre'}, 'producer', 'William Fox']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:film_genre . ?r property:producer ?z . VALUES ( ?z ) { ( resource:William_Nicholas_Selig ) ( resource:William_Fox ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q431093 Q368451 Q1257244
P136
Q1792379
USER
What can be considered as category for those film genres ?
(Q431093,P136,c(Q1792379)) (Q368451,P136,c(Q1792379)) (Q1257244,P136,c(Q1792379))
action filter_type
action find
entity prev_answer
relation P136
type Q1792379
['Q431093', 'P136', {'concept': 'Q1792379'}] ['Q368451', 'P136', {'concept': 'Q1792379'}] ['Q1257244', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1792379 . VALUES ( ?b ) { ( resource:Q6739600 ) ( resource:Q16918618 ) ( resource:Q2819705 ) } . ?b property:P136 ?j }
Sunrise: A Song of Two Humans Seventh Heaven 3 Bad Men
action filter_type
action find
entity prev_answer
relation genre
type art genre
['Sunrise: A Song of Two Humans', 'genre', {'concept': 'art genre'}] ['Seventh Heaven', 'genre', {'concept': 'art genre'}] ['3 Bad Men', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:art_genre . VALUES ( ?b ) { ( resource:Making_It_Pleasant_for_Him ) ( resource:The_Heart_of_Texas_Ryan ) ( resource:A_Dangerous_Adventure ) } . ?b property:genre ?j }
[]
art genre
Q130232 Q130232 Q172980
SYSTEM
Western for 3rd, drama film for 1st, 2nd
Q130232 Q130232 Q172980
(Q431093,P136,c(Q1792379)) (Q368451,P136,c(Q1792379)) (Q1257244,P136,c(Q1792379))
action filter_type
action find
entity prev_answer
relation P136
type Q1792379
[ANSWERS]
['Q431093', 'P136', {'concept': 'Q1792379'}] ['Q368451', 'P136', {'concept': 'Q1792379'}] ['Q1257244', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1792379 . VALUES ( ?b ) { ( resource:Q6739600 ) ( resource:Q16918618 ) ( resource:Q2819705 ) } . ?b property:P136 ?j }
drama film drama film Western
Drama film, drama film and Western can be considered as category for those film genres
drama film drama film Western
action filter_type
action find
entity prev_answer
relation genre
type art genre
['Sunrise: A Song of Two Humans', 'genre', {'concept': 'art genre'}] ['Seventh Heaven', 'genre', {'concept': 'art genre'}] ['3 Bad Men', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:art_genre . VALUES ( ?b ) { ( resource:Making_It_Pleasant_for_Him ) ( resource:The_Heart_of_Texas_Ryan ) ( resource:A_Dangerous_Adventure ) } . ?b property:genre ?j }
[]
Clarification
Simple Question|Single Entity|Indirect
Q130232
P86
Q838948
USER
Which work of art has that art genre as the melodist ?
(c(Q838948),P86,Q130232)
action filter_type
action find_reverse
entity Q130232
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q130232']
SELECT DISTINCT ?m WHERE { ?m property:P86 resource:Q130232 . ?m rdf:type ontology:Q838948 }
drama film
action filter_type
action find_reverse
entity drama film
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'drama film']
SELECT DISTINCT ?m WHERE { ?m property:composer resource:drama_film . ?m rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q172980
SYSTEM
Did you mean Western ?
Q130232 Q130232 Q172980
(c(Q838948),P86,Q130232) (c(Q838948),P86,Q130232) (c(Q838948),P86,Q172980)
[ANSWER]
[{'concept': 'Q838948'}, 'P86', 'Q130232'] [{'concept': 'Q838948'}, 'P86', 'Q130232'] [{'concept': 'Q838948'}, 'P86', 'Q172980']
SELECT DISTINCT ?m WHERE { ?m property:P86 resource:Q130232 . ?m rdf:type ontology:Q838948 }
drama film drama film Western
Did you mean Western ?
Western
[{'concept': 'work of art'}, 'composer', 'drama film'] [{'concept': 'work of art'}, 'composer', 'drama film'] [{'concept': 'work of art'}, 'composer', 'Western']
SELECT DISTINCT ?m WHERE { ?m property:composer resource:drama_film . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant drama film. Could you tell me the answer for that?
(c(Q838948),P86,Q130232)
Q130232
[{'concept': 'Q838948'}, 'P86', 'Q130232']
[{'concept': 'work of art'}, 'composer', 'drama film']
[]
Q12126204
SYSTEM
Miss Julie
Q12126204
(c(Q838948),P86,Q130232)
action filter_type
action find_reverse
entity Q130232
relation P86
type Q838948
[ANSWER] has that art genre as the melodist
[{'concept': 'Q838948'}, 'P86', 'Q130232']
SELECT DISTINCT ?m WHERE { ?m property:P86 resource:Q130232 . ?m rdf:type ontology:Q838948 }
Miss Julie
Miss Julie has that art genre as the melodist
Miss Julie
action filter_type
action find_reverse
entity drama film
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'drama film']
SELECT DISTINCT ?m WHERE { ?m property:composer resource:drama_film . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12126204
P344
Q502895
USER
Who is the director of photography for that work of art ?
(Q12126204,P344,c(Q502895))
action filter_type
action find
entity Q12126204
relation P344
type Q502895
['Q12126204', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q12126204 property:P344 ?p . ?p rdf:type ontology:Q502895 }
Miss Julie
action filter_type
action find
entity Miss Julie
relation director of photography
type common name
['Miss Julie', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Miss_Julie property:director_of_photography ?p . ?p rdf:type ontology:common_name }
[]
common name
Q4241424
SYSTEM
Mikhail Krichman
Q4241424
(Q12126204,P344,c(Q502895))
action filter_type
action find
entity Q12126204
relation P344
type Q502895
The director of photography for that work of art is named [ANSWER]
['Q12126204', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q12126204 property:P344 ?p . ?p rdf:type ontology:Q502895 }
Mikhail Krichman
The director of photography for that work of art is named Mikhail Krichman
Mikhail Krichman
action filter_type
action find
entity Miss Julie
relation director of photography
type common name
['Miss Julie', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Miss_Julie property:director_of_photography ?p . ?p rdf:type ontology:common_name }
[]