Simple Question (Direct)
Simple Question
Q7861333
P364
Q34770
USER
Which language was used originally for the creation of Typhoon Treasure ?
(Q7861333,P364,c(Q34770))
action filter_type
action find
entity Q7861333
relation P364
type Q34770
['Q7861333', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q34770 . resource:Q7861333 property:P364 ?v }
Typhoon Treasure
action filter_type
action find
entity Typhoon Treasure
relation original language of work
type language
['Typhoon Treasure', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:language . resource:Typhoon_Treasure property:original_language_of_work ?v }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7861333,P364,c(Q34770))
action filter_type
action find
entity Q7861333
relation P364
type Q34770
[ANSWER] was used originally for the creation of Typhoon Treasure
['Q7861333', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q34770 . resource:Q7861333 property:P364 ?v }
English
English was used originally for the creation of Typhoon Treasure
English
action filter_type
action find
entity Typhoon Treasure
relation original language of work
type language
['Typhoon Treasure', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:language . resource:Typhoon_Treasure property:original_language_of_work ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7861333
P161
Q502895
USER
Which people were casted in Typhoon Treasure ?
(Q7861333,P161,c(Q502895))
action filter_type
action find
entity Q7861333
relation P161
type Q502895
['Q7861333', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q7861333 property:P161 ?j . ?j rdf:type ontology:Q502895 }
Typhoon Treasure
action filter_type
action find
entity Typhoon Treasure
relation cast member
type common name
['Typhoon Treasure', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Typhoon_Treasure property:cast_member ?j . ?j rdf:type ontology:common_name }
[]
common name
Q5623442 Q6212774 Q5028027
SYSTEM
Gwen Munro, Joe Valli, Campbell Copelin
Q5623442 Q6212774 Q5028027
(Q7861333,P161,c(Q502895))
action filter_type
action find
entity Q7861333
relation P161
type Q502895
[ANSWERS] were casted in Typhoon Treasure
['Q7861333', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q7861333 property:P161 ?j . ?j rdf:type ontology:Q502895 }
Gwen Munro Joe Valli Campbell Copelin
Gwen Munro, Joe Valli and Campbell Copelin were casted in Typhoon Treasure
Gwen Munro Joe Valli Campbell Copelin
action filter_type
action find
entity Typhoon Treasure
relation cast member
type common name
['Typhoon Treasure', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Typhoon_Treasure property:cast_member ?j . ?j rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q838948
USER
How many works of art have that person as actor ?
(c(Q838948),P161,Q5623442)
[{'concept': 'Q838948'}, 'P161', 'Q5623442']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q5623442 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'cast member', 'Gwen Munro']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Gwen_Munro . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q5028027
SYSTEM
Did you mean Campbell Copelin ?
(c(Q838948),P161,Q5623442) (c(Q838948),P161,Q6212774) (c(Q838948),P161,Q5028027)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q5623442'] [{'concept': 'Q838948'}, 'P161', 'Q6212774'] [{'concept': 'Q838948'}, 'P161', 'Q5028027']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q5623442 . ?z rdf:type ontology:Q838948 }
Did you mean Campbell Copelin ?
Campbell Copelin
[{'concept': 'work of art'}, 'cast member', 'Gwen Munro'] [{'concept': 'work of art'}, 'cast member', 'Joe Valli'] [{'concept': 'work of art'}, 'cast member', 'Campbell Copelin']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Gwen_Munro . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Gwen Munro. Could you tell me the answer for that?
(c(Q838948),P161,Q5623442)
Q5623442
[{'concept': 'Q838948'}, 'P161', 'Q5623442']
[{'concept': 'work of art'}, 'cast member', 'Gwen Munro']
[]
SYSTEM
2
Q7861333 Q7103933
(c(Q838948),P161,Q5623442)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q5623442']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q5623442 . ?z rdf:type ontology:Q838948 }
Typhoon Treasure Orphan of the Wilderness
2
[{'concept': 'work of art'}, 'cast member', 'Gwen Munro']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Gwen_Munro . ?z rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7736299
P144
Q838948 Q201658 Q3305213
USER
How many works of art are greater number of film genres or paintings considered a copy of than The Ghost Train ?
(c(Q201658)|c(Q3305213),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P144
type Q838948
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q7736299
relation P144
type Q201658
type Q3305213
[[{'concept': 'Q201658'}, {'concept': 'Q3305213'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?h WHERE { { ?s property:P144 ?h . ?h rdf:type ontology:Q838948 . ?s rdf:type ontology:Q3305213 } UNION { ?s property:P144 ?h . ?h rdf:type ontology:Q838948 . ?s rdf:type ontology:Q201658 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P144 resource:Q7736299 . { { ?t rdf:type ontology:Q201658 } UNION { ?t rdf:type ontology:Q3305213 } } } } . FILTER ( ?n > ?l ) }
The Ghost Train
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
action find_reverse_tuple_counts
relation based on
type work of art
type painting
action count
action filter_multi_types
action find_reverse
entity The Ghost Train
relation based on
type film genre
type painting
[[{'concept': 'film genre'}, {'concept': 'painting'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?h WHERE { { ?s property:based_on ?h . ?h rdf:type ontology:work_of_art . ?s rdf:type ontology:painting } UNION { ?s property:based_on ?h . ?h rdf:type ontology:work_of_art . ?s rdf:type ontology:film_genre } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:based_on resource:The_Ghost_Train . { { ?t rdf:type ontology:film_genre } UNION { ?t rdf:type ontology:painting } } } } . FILTER ( ?n > ?l ) }
[]
work of art film genre painting
SYSTEM
30
Q5331173 Q130283 Q7457308 Q5095462 Q7548351 Q83186 Q7722470 Q3987496 Q1248928 Q7713385 Q7715789 Q41567 Q669694 Q7776285 Q26833 Q176465 Q3481943 Q7991351 Q321047 Q4685705 Q7754681 Q7837980 Q3740328 Q3989443 Q104871 Q237572 Q1212719 Q672059 Q1169767 Q3066270
(c(Q201658)|c(Q3305213),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P144
type Q838948
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q7736299
relation P144
type Q201658
type Q3305213
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q3305213'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?h WHERE { { ?s property:P144 ?h . ?h rdf:type ontology:Q838948 . ?s rdf:type ontology:Q3305213 } UNION { ?s property:P144 ?h . ?h rdf:type ontology:Q838948 . ?s rdf:type ontology:Q201658 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P144 resource:Q7736299 . { { ?t rdf:type ontology:Q201658 } UNION { ?t rdf:type ontology:Q3305213 } } } } . FILTER ( ?n > ?l ) }
Easy Virtue Macbeth Seven Keys to Baldpate Chicago Snow White and the Seven Dwarfs Romeo and Juliet The Children's Hour The Heart of Maryland The Admirable Crichton The Amazons The Bat Hamlet A Doll's House The Wrecker Othello Hedda Gabler Sherlock Holmes What Price Glory? Abie's Irish Rose Adrienne Lecouvreur The Octoroon Trelawny of the 'Wells' The Cat and the Canary The Squaw Man A Midsummer Night's Dream As You Like It The Lady from the Sea Henry VIII The Miracle Florodora
30
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
action find_reverse_tuple_counts
relation based on
type work of art
type painting
action count
action filter_multi_types
action find_reverse
entity The Ghost Train
relation based on
type film genre
type painting
[[{'concept': 'film genre'}, {'concept': 'painting'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?h WHERE { { ?s property:based_on ?h . ?h rdf:type ontology:work_of_art . ?s rdf:type ontology:painting } UNION { ?s property:based_on ?h . ?h rdf:type ontology:work_of_art . ?s rdf:type ontology:film_genre } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:based_on resource:The_Ghost_Train . { { ?t rdf:type ontology:film_genre } UNION { ?t rdf:type ontology:painting } } } } . FILTER ( ?n > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2961533
P144
Q838948 Q201658 Q3305213
USER
And what about Chatterton?
(c(Q201658)|c(Q3305213),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P144
type Q838948
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q2961533
relation P144
type Q201658
type Q3305213
[[{'concept': 'Q201658'}, {'concept': 'Q3305213'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?x WHERE { ?c rdf:type ?u . VALUES ( ?u ) { ( ontology:Q201658 ) ( ontology:Q3305213 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P144 resource:Q2961533 . { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:Q3305213 ) ( ontology:Q201658 ) } } } } . FILTER ( ?j > ?m ) }
Chatterton
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
action find_reverse_tuple_counts
relation based on
type work of art
type painting
action count
action filter_multi_types
action find_reverse
entity Chatterton
relation based on
type film genre
type painting
[[{'concept': 'film genre'}, {'concept': 'painting'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?x WHERE { ?c rdf:type ?u . VALUES ( ?u ) { ( ontology:film_genre ) ( ontology:painting ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:based_on resource:Chatterton . { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:painting ) ( ontology:film_genre ) } } } } . FILTER ( ?j > ?m ) }
[]
work of art film genre painting
SYSTEM
30
Q5331173 Q130283 Q7457308 Q5095462 Q7548351 Q83186 Q7722470 Q3987496 Q1248928 Q7713385 Q7715789 Q41567 Q669694 Q7776285 Q26833 Q176465 Q3481943 Q7991351 Q321047 Q4685705 Q7754681 Q7837980 Q3740328 Q3989443 Q104871 Q237572 Q1212719 Q672059 Q1169767 Q3066270
(c(Q201658)|c(Q3305213),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P144
type Q838948
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q2961533
relation P144
type Q201658
type Q3305213
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q3305213'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?x WHERE { ?c rdf:type ?u . VALUES ( ?u ) { ( ontology:Q201658 ) ( ontology:Q3305213 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P144 resource:Q2961533 . { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:Q3305213 ) ( ontology:Q201658 ) } } } } . FILTER ( ?j > ?m ) }
Easy Virtue Macbeth Seven Keys to Baldpate Chicago Snow White and the Seven Dwarfs Romeo and Juliet The Children's Hour The Heart of Maryland The Admirable Crichton The Amazons The Bat Hamlet A Doll's House The Wrecker Othello Hedda Gabler Sherlock Holmes What Price Glory? Abie's Irish Rose Adrienne Lecouvreur The Octoroon Trelawny of the 'Wells' The Cat and the Canary The Squaw Man A Midsummer Night's Dream As You Like It The Lady from the Sea Henry VIII The Miracle Florodora
30
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
action find_reverse_tuple_counts
relation based on
type work of art
type painting
action count
action filter_multi_types
action find_reverse
entity Chatterton
relation based on
type film genre
type painting
[[{'concept': 'film genre'}, {'concept': 'painting'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?x WHERE { ?c rdf:type ?u . VALUES ( ?u ) { ( ontology:film_genre ) ( ontology:painting ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:based_on resource:Chatterton . { ?a rdf:type ?k . VALUES ( ?k ) { ( ontology:painting ) ( ontology:film_genre ) } } } } . FILTER ( ?j > ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q36708
P282
Q8192 Q9779 Q34770
USER
Which languages have writing system as more number of writing systems or alphabets than Norn ?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q36708
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?u WHERE { FILTER ( ?c > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q36708 property:P282 ?g . { VALUES ( ?b ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } . ?g rdf:type ?b } } } . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?c ) WHERE { VALUES ( ?y ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?x rdf:type ?y } GROUP BY ?u } }
Norn
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Norn
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?u WHERE { FILTER ( ?c > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Norn property:writing_system ?g . { VALUES ( ?b ) { ( ontology:alphabet ) ( ontology:writing_system ) } . ?g rdf:type ?b } } } . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?c ) WHERE { VALUES ( ?y ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?x rdf:type ?y } GROUP BY ?u } }
[]
writing system alphabet language
Q182695 Q35499 Q1669994
SYSTEM
Late Old Japanese, Old Church Slavonic, Minoan language
Q182695 Q13211 Q35499 Q1669994 Q33251 Q21161942 Q1639124 Q36464 Q652
(c(Q34770),P282,c(Q8192)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q36708
relation P282
type Q8192
type Q9779
[ANSWERS] have writing system as more number of writing systems or alphabets than Norn
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?u WHERE { FILTER ( ?c > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q36708 property:P282 ?g . { VALUES ( ?b ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } . ?g rdf:type ?b } } } . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?c ) WHERE { VALUES ( ?y ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?x rdf:type ?y } GROUP BY ?u } }
Late Old Japanese Ruthenian Old Church Slavonic Minoan language Church Slavonic Serbian written in Cyrillic Slavoserbian Nivkh language Italian
Late Old Japanese, Old Church Slavonic and Minoan language have writing system as more number of writing systems or alphabets than Norn
Late Old Japanese Old Church Slavonic Minoan language
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Norn
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?u WHERE { FILTER ( ?c > ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Norn property:writing_system ?g . { VALUES ( ?b ) { ( ontology:alphabet ) ( ontology:writing_system ) } . ?g rdf:type ?b } } } . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?c ) WHERE { VALUES ( ?y ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?x rdf:type ?y } GROUP BY ?u } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q204336 Q5028027
P161
Q838948
USER
Which works of art have Campbell Copelin or Bulle Ogier in their star cast ?
OR((c(Q838948),P161,Q5028027), (c(Q838948),P161,Q204336))
action filter_type
action union
action find_reverse
entity Q5028027
relation P161
action find_reverse
entity Q204336
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q5028027'], [{'concept': 'Q838948'}, 'P161', 'Q204336']]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?n ) { ( resource:Q5028027 ) ( resource:Q204336 ) } . ?g property:P161 ?n } . ?g rdf:type ontology:Q838948 }
Bulle Ogier Campbell Copelin
action filter_type
action union
action find_reverse
entity Campbell Copelin
relation cast member
action find_reverse
entity Bulle Ogier
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Campbell Copelin'], [{'concept': 'work of art'}, 'cast member', 'Bulle Ogier']]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?n ) { ( resource:Campbell_Copelin ) ( resource:Bulle_Ogier ) } . ?g property:cast_member ?n } . ?g rdf:type ontology:work_of_art }
[]
work of art
Q7861333 Q528958 Q72330 Q2910657 Q3343550 Q5125989 Q3358564 Q1921459 Q3548347 Q645447
SYSTEM
Some of them are Typhoon Treasure, See How They Fall, The Color of Lies, Seaside, North, Clara Gibbings, Out 1, Merci Docteur Rey, Another Man, Maîtresse
Q1405197 Q7861333 Q7154938 Q3548347 Q528958 Q72330 Q736420 Q7858803 Q4657248 Q25468 Q3040942 Q7767008 Q1925168 Q25503 Q3067519 Q2910657 Q5125989 Q7730372 Q1410628 Q2671395 Q3346137 Q3425286 Q7859110 Q3222797 Q3212693 Q1921459 Q3538964 Q3358564 Q308920 Q3280841 Q3801148 Q558280 Q3281147 Q645447 Q734672 Q2956419 Q3343550 Q1558569 Q391840 Q3024149 Q526936 Q240765 Q11900471
OR((c(Q838948),P161,Q5028027), (c(Q838948),P161,Q204336))
action filter_type
action union
action find_reverse
entity Q5028027
relation P161
action find_reverse
entity Q204336
relation P161
type Q838948
[ANSWERS] have Campbell Copelin or Bulle Ogier in their star cast
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q5028027'], [{'concept': 'Q838948'}, 'P161', 'Q204336']]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?n ) { ( resource:Q5028027 ) ( resource:Q204336 ) } . ?g property:P161 ?n } . ?g rdf:type ontology:Q838948 }
Don't Forget You're Going to Die Typhoon Treasure Paulina Is Leaving Another Man See How They Fall The Color of Lies Belle Toujours Two A Happy Divorce Gang of Four Duelle The Streets of London Candy Mountain Le Pont du Nord Let's Dance Seaside Clara Gibbings The Distant Land The Duchess of Langeais La Vallée Nuit de chien Rendezvous at Bray Two Minutes Silence Le Fils de Gascogne The Salamander Merci Docteur Rey Tricheurs Out 1 The Discreet Charm of the Bourgeoisie My Case Io e lui The Third Generation Passe-passe Maîtresse Celine and Julie Go Boating Chantrapas North L'amour fou All the Fine Promises Des journées entières dans les arbres Irma Vep Venus Beauty Institute Stolen Life
Typhoon Treasure, See How They Fall, The Color of Lies, Seaside, North, Clara Gibbings, Out 1, Merci Docteur Rey, Another Man and Maîtresse have Campbell Copelin or Bulle Ogier in their star cast
Typhoon Treasure See How They Fall The Color of Lies Seaside North Clara Gibbings Out 1 Merci Docteur Rey Another Man Maîtresse
action filter_type
action union
action find_reverse
entity Campbell Copelin
relation cast member
action find_reverse
entity Bulle Ogier
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Campbell Copelin'], [{'concept': 'work of art'}, 'cast member', 'Bulle Ogier']]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?n ) { ( resource:Campbell_Copelin ) ( resource:Bulle_Ogier ) } . ?g property:cast_member ?n } . ?g rdf:type ontology:work_of_art }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P495
Q1048835
USER
How many political territories are the origins of that work of art ?
(Q7861333,P495,c(Q1048835))
['Q7861333', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7861333 property:P495 ?z . ?z rdf:type ontology:Q1048835 }
['Typhoon Treasure', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Typhoon_Treasure property:country_of_origin ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q1921459
SYSTEM
Did you mean Merci Docteur Rey ?
(Q7861333,P495,c(Q1048835)) (Q528958,P495,c(Q1048835)) (Q72330,P495,c(Q1048835)) (Q2910657,P495,c(Q1048835)) (Q3343550,P495,c(Q1048835)) (Q5125989,P495,c(Q1048835)) (Q3358564,P495,c(Q1048835)) (Q1921459,P495,c(Q1048835)) (Q3548347,P495,c(Q1048835)) (Q645447,P495,c(Q1048835))
[ANSWER]
['Q7861333', 'P495', {'concept': 'Q1048835'}] ['Q528958', 'P495', {'concept': 'Q1048835'}] ['Q72330', 'P495', {'concept': 'Q1048835'}] ['Q2910657', 'P495', {'concept': 'Q1048835'}] ['Q3343550', 'P495', {'concept': 'Q1048835'}] ['Q5125989', 'P495', {'concept': 'Q1048835'}] ['Q3358564', 'P495', {'concept': 'Q1048835'}] ['Q1921459', 'P495', {'concept': 'Q1048835'}] ['Q3548347', 'P495', {'concept': 'Q1048835'}] ['Q645447', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7861333 property:P495 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean Merci Docteur Rey ?
Merci Docteur Rey
['Typhoon Treasure', 'country of origin', {'concept': 'political territorial entity'}] ['See How They Fall', 'country of origin', {'concept': 'political territorial entity'}] ['The Color of Lies', 'country of origin', {'concept': 'political territorial entity'}] ['Seaside', 'country of origin', {'concept': 'political territorial entity'}] ['North', 'country of origin', {'concept': 'political territorial entity'}] ['Clara Gibbings', 'country of origin', {'concept': 'political territorial entity'}] ['Out 1', 'country of origin', {'concept': 'political territorial entity'}] ['Merci Docteur Rey', 'country of origin', {'concept': 'political territorial entity'}] ['Another Man', 'country of origin', {'concept': 'political territorial entity'}] ['Maîtresse', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Typhoon_Treasure property:country_of_origin ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Typhoon Treasure. Could you tell me the answer for that?
(Q7861333,P495,c(Q1048835))
Q7861333
['Q7861333', 'P495', {'concept': 'Q1048835'}]
['Typhoon Treasure', 'country of origin', {'concept': 'political territorial entity'}]
[]
SYSTEM
1
Q408
(Q7861333,P495,c(Q1048835))
[ANSWER]
['Q7861333', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7861333 property:P495 ?z . ?z rdf:type ontology:Q1048835 }
Australia
1
['Typhoon Treasure', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Typhoon_Treasure property:country_of_origin ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7861333
P495
Q1048835
USER
What is the origin of Typhoon Treasure ?
(Q7861333,P495,c(Q1048835))
action filter_type
action find
entity Q7861333
relation P495
type Q1048835
['Q7861333', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q7861333 property:P495 ?n . ?n rdf:type ontology:Q1048835 }
Typhoon Treasure
action filter_type
action find
entity Typhoon Treasure
relation country of origin
type political territorial entity
['Typhoon Treasure', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Typhoon_Treasure property:country_of_origin ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q7861333,P495,c(Q1048835))
action filter_type
action find
entity Q7861333
relation P495
type Q1048835
The origin of Typhoon Treasure is from [ANSWER]
['Q7861333', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q7861333 property:P495 ?n . ?n rdf:type ontology:Q1048835 }
Australia
The origin of Typhoon Treasure is from Australia
Australia
action filter_type
action find
entity Typhoon Treasure
relation country of origin
type political territorial entity
['Typhoon Treasure', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Typhoon_Treasure property:country_of_origin ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P921
Q571
USER
Which book has that political territory as its principal topic ?
(c(Q571),P921,Q408)
action filter_type
action find_reverse
entity Q408
relation P921
type Q571
[{'concept': 'Q571'}, 'P921', 'Q408']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q408 . ?x rdf:type ontology:Q571 }
Australia
action filter_type
action find_reverse
entity Australia
relation main subject
type book
[{'concept': 'book'}, 'main subject', 'Australia']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:Australia . ?x rdf:type ontology:book }
[]
book
Q19039311
SYSTEM
An account of a voyage to establish a colony at Port Philip in Bass's Strait on the south coast of New South Wales
Q19039311
(c(Q571),P921,Q408)
action filter_type
action find_reverse
entity Q408
relation P921
type Q571
[ANSWER] has that political territory as its principal topic
[{'concept': 'Q571'}, 'P921', 'Q408']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q408 . ?x rdf:type ontology:Q571 }
An account of a voyage to establish a colony at Port Philip in Bass's Strait on the south coast of New South Wales
An account of a voyage to establish a colony at Port Philip in Bass's Strait on the south coast of New South Wales has that political territory as its principal topic
An account of a voyage to establish a colony at Port Philip in Bass's Strait on the south coast of New South Wales
action filter_type
action find_reverse
entity Australia
relation main subject
type book
[{'concept': 'book'}, 'main subject', 'Australia']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:Australia . ?x rdf:type ontology:book }
[]