Simple Question (Direct)
Simple Question
Q5049243
P734
Q82799
USER
Who is associated with Cassandra Morris ?
(Q5049243,P734,c(Q82799))
action filter_type
action find
entity Q5049243
relation P734
type Q82799
['Q5049243', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q5049243 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Cassandra Morris
action filter_type
action find
entity Cassandra Morris
relation family name
type name
['Cassandra Morris', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Cassandra_Morris property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Q2780710
SYSTEM
Morris
Q2780710
(Q5049243,P734,c(Q82799))
action filter_type
action find
entity Q5049243
relation P734
type Q82799
[ANSWER] is associated with Cassandra [ANSWER]
['Q5049243', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q5049243 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Morris
Morris is associated with Cassandra Morris
Morris
action filter_type
action find
entity Cassandra Morris
relation family name
type name
['Cassandra Morris', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Cassandra_Morris property:family_name ?n . ?n rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5049243
P21
Q290
USER
Which sex does that person belong to ?
(Q2780710,P21,c(Q290))
action filter_type
action find
entity Q5049243
relation P21
type Q290
['Q2780710', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q5049243 property:P21 ?h . ?h rdf:type ontology:Q290 }
Cassandra Morris
action filter_type
action find
entity Cassandra Morris
relation gender
type sex
['Morris', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Cassandra_Morris property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q2780710,P21,c(Q290))
action filter_type
action find
entity Q5049243
relation P21
type Q290
That person belongs to [ANSWER]
['Q2780710', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q5049243 property:P21 ?h . ?h rdf:type ontology:Q290 }
female
That person belongs to female
female
action filter_type
action find
entity Cassandra Morris
relation gender
type sex
['Morris', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Cassandra_Morris property:gender ?h . ?h rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q9332 Q874405 Q82799
USER
Which names are a part of exactly 1 behaviors and social groups ?
(c(Q82799),P361,c(Q9332)|c(Q874405))
action equal
action union
action find_tuple_counts
relation P361
type Q82799
type Q9332
action find_tuple_counts
relation P361
type Q82799
type Q874405
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?x WHERE { VALUES ( ?c ) { ( ontology:Q9332 ) ( ontology:Q874405 ) } . ?h rdf:type ?c } GROUP BY ?x } . FILTER ( ?l = 1 ) }
action equal
action union
action find_tuple_counts
relation part of
type name
type behavior
action find_tuple_counts
relation part of
type name
type social group
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'behavior'}, {'concept': 'social group'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?x WHERE { VALUES ( ?c ) { ( ontology:behavior ) ( ontology:social_group ) } . ?h rdf:type ?c } GROUP BY ?x } . FILTER ( ?l = 1 ) }
[]
behavior social group name
Q382004 Q1557998
SYSTEM
Afa-Negus, Gyalwang Drukpa
Q382004 Q1557998
(c(Q82799),P361,c(Q9332)|c(Q874405))
action equal
action union
action find_tuple_counts
relation P361
type Q82799
type Q9332
action find_tuple_counts
relation P361
type Q82799
type Q874405
value 1
[ANSWERS] are a part of exactly 1 behaviors and social groups
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?x WHERE { VALUES ( ?c ) { ( ontology:Q9332 ) ( ontology:Q874405 ) } . ?h rdf:type ?c } GROUP BY ?x } . FILTER ( ?l = 1 ) }
Afa-Negus Gyalwang Drukpa
Afa-Negus and Gyalwang Drukpa are a part of exactly 1 behaviors and social groups
Afa-Negus Gyalwang Drukpa
action equal
action union
action find_tuple_counts
relation part of
type name
type behavior
action find_tuple_counts
relation part of
type name
type social group
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'behavior'}, {'concept': 'social group'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?x WHERE { VALUES ( ?c ) { ( ontology:behavior ) ( ontology:social_group ) } . ?h rdf:type ?c } GROUP BY ?x } . FILTER ( ?l = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are around 119 names composed in ?
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 119
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:P407 ?m . ?o rdf:type ontology:Q82799 . ?m rdf:type ontology:Q34770 } GROUP BY ?m } . FILTER ( ?v = 119 ) }
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 119
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:language_of_work_or_name ?m . ?o rdf:type ontology:name . ?m rdf:type ontology:language } GROUP BY ?m } . FILTER ( ?v = 119 ) }
[]
language name
SYSTEM
2
Q1321 Q652
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 119
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:P407 ?m . ?o rdf:type ontology:Q82799 . ?m rdf:type ontology:Q34770 } GROUP BY ?m } . FILTER ( ?v = 119 ) }
Spanish Italian
2
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 119
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:language_of_work_or_name ?m . ?o rdf:type ontology:name . ?m rdf:type ontology:language } GROUP BY ?m } . FILTER ( ?v = 119 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5049243
P725
Q15619164
USER
Which abstract being did Cassandra Morris dub for ?
(c(Q15619164),P725,Q5049243)
action filter_type
action find_reverse
entity Q5049243
relation P725
type Q15619164
[{'concept': 'Q15619164'}, 'P725', 'Q5049243']
SELECT DISTINCT ?f WHERE { ?f property:P725 resource:Q5049243 . ?f rdf:type ontology:Q15619164 }
Cassandra Morris
action filter_type
action find_reverse
entity Cassandra Morris
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', 'Cassandra Morris']
SELECT DISTINCT ?f WHERE { ?f property:voice_actor resource:Cassandra_Morris . ?f rdf:type ontology:abstract_being }
[]
abstract being
Q11297446
SYSTEM
Kyūbey
Q11297446
(c(Q15619164),P725,Q5049243)
action filter_type
action find_reverse
entity Q5049243
relation P725
type Q15619164
Which abstract being Cassandra Morris dubbed for
[{'concept': 'Q15619164'}, 'P725', 'Q5049243']
SELECT DISTINCT ?f WHERE { ?f property:P725 resource:Q5049243 . ?f rdf:type ontology:Q15619164 }
Kyūbey
Which abstract being Cassandra Morris dubbed for
Kyūbey
action filter_type
action find_reverse
entity Cassandra Morris
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', 'Cassandra Morris']
SELECT DISTINCT ?f WHERE { ?f property:voice_actor resource:Cassandra_Morris . ?f rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11297446
P674
Q166142
USER
Which applications are that abstract being a character of ?
(c(Q166142),P674,Q11297446)
action filter_type
action find_reverse
entity Q11297446
relation P674
type Q166142
[{'concept': 'Q166142'}, 'P674', 'Q11297446']
SELECT DISTINCT ?s WHERE { ?s property:P674 resource:Q11297446 . ?s rdf:type ontology:Q166142 }
Kyūbey
action filter_type
action find_reverse
entity Kyūbey
relation characters
type application
[{'concept': 'application'}, 'characters', 'Kyūbey']
SELECT DISTINCT ?s WHERE { ?s property:characters resource:Kyūbey . ?s rdf:type ontology:application }
[]
application
Q11340891 Q53353
SYSTEM
Mami no Dokidoki Tiro Finale, Puella Magi Madoka Magica
Q11340891 Q53353
(c(Q166142),P674,Q11297446)
action filter_type
action find_reverse
entity Q11297446
relation P674
type Q166142
That abstract are being of the [ANSWERS]
[{'concept': 'Q166142'}, 'P674', 'Q11297446']
SELECT DISTINCT ?s WHERE { ?s property:P674 resource:Q11297446 . ?s rdf:type ontology:Q166142 }
Mami no Dokidoki Tiro Finale Puella Magi Madoka Magica
That abstract are being of the Mami no Dokidoki Tiro Finale and Puella Magi Madoka Magica
Mami no Dokidoki Tiro Finale Puella Magi Madoka Magica
action filter_type
action find_reverse
entity Kyūbey
relation characters
type application
[{'concept': 'application'}, 'characters', 'Kyūbey']
SELECT DISTINCT ?s WHERE { ?s property:characters resource:Kyūbey . ?s rdf:type ontology:application }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q20010325
P361
Q853614 Q9332 Q82799
USER
Which names are a component of lesser number of identifiers or behaviors than Ganna ?
(c(Q82799),P361,c(Q853614)|c(Q9332))
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q9332
action count
action filter_multi_types
action find
entity Q20010325
relation P361
type Q853614
type Q9332
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) ?f WHERE { { ?p rdf:type ontology:Q853614 . ?f rdf:type ontology:Q82799 . ?f property:P361 ?p } UNION { ?f property:P361 ?p . ?f rdf:type ontology:Q82799 . ?p rdf:type ontology:Q9332 } } GROUP BY ?f } . FILTER ( ?h < ?l ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Q20010325 property:P361 ?a . { { ?a rdf:type ontology:Q853614 } UNION { ?a rdf:type ontology:Q9332 } } } } }
Ganna
action less
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type behavior
action count
action filter_multi_types
action find
entity Ganna
relation part of
type identifier
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) ?f WHERE { { ?p rdf:type ontology:identifier . ?f rdf:type ontology:name . ?f property:part_of ?p } UNION { ?f property:part_of ?p . ?f rdf:type ontology:name . ?p rdf:type ontology:behavior } } GROUP BY ?f } . FILTER ( ?h < ?l ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Ganna property:part_of ?a . { { ?a rdf:type ontology:identifier } UNION { ?a rdf:type ontology:behavior } } } } }
[]
identifier behavior name
Q1058384 Q27352651 Q27350540
SYSTEM
hakham, Seon, Sang
Q2168099 Q5791319 Q11283653 Q26156283 Q1058384 Q7071783 Q15629245 Q235598 Q16882305 Q1240901 Q24251030 Q1093580 Q742083 Q10145967 Q252216 Q272914 Q2553935 Q18645909 Q15238609 Q25695405 Q24091156 Q20875974 Q3281200 Q26266311 Q10587130 Q15926381 Q19687637 Q21470412 Q21534988 Q21405537 Q26266310 Q12624980 Q2876425 Q5 Q631147 Q27651154 Q26736681 Q27352651 Q15788891 Q4400681 Q12600404 Q21484879 Q24090418 Q12601635 Q5461714 Q27350540 Q1399288 Q2491016 Q1557998 Q19831835 Q27450724 Q15711050 Q26736416 Q26736415 Q26741038 Q1915243 Q263542 Q21484914 Q4835658 Q746990 Q20064977 Q876933 Q21538548 Q5034376 Q26741034 Q861966
(c(Q82799),P361,c(Q853614)|c(Q9332))
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q9332
action count
action filter_multi_types
action find
entity Q20010325
relation P361
type Q853614
type Q9332
[ANSWERS] are a component of lesser number of identifiers or behaviors than Ganna
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) ?f WHERE { { ?p rdf:type ontology:Q853614 . ?f rdf:type ontology:Q82799 . ?f property:P361 ?p } UNION { ?f property:P361 ?p . ?f rdf:type ontology:Q82799 . ?p rdf:type ontology:Q9332 } } GROUP BY ?f } . FILTER ( ?h < ?l ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Q20010325 property:P361 ?a . { { ?a rdf:type ontology:Q853614 } UNION { ?a rdf:type ontology:Q9332 } } } } }
human Rotavirusses Tajinaste Czech family name Whittingstall hakham O'Donovan family lizard Piso Rostopchin praenomen Barnaby Han surname Princes of Paliano Grand Master of the Teutonic Knights Árnadóttir Çubukçubaşı Wedekind Abe nomen Curtis Abe Ševela Tent caterpillar Trimnell Moa He Rahim Tyrell Yaşar Edward Ritchard Hyeon Aïssata human infraspecific name Gottlieb Veit Seon Blake Russian surname Sang Salman Hara Seon Florida black bass Sang Fearnley orthographical variant Gyalwang Drukpa Qutb Freundel Lu Roveda Roveda Patti McKeown Griffith Clay BIFF Brahman Dong magi Biff Caomhánach Patti dung beetles
Hakham, Seon and Sang are a component of lesser number of identifiers or behaviors than Ganna
hakham Seon Sang
action less
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type behavior
action count
action filter_multi_types
action find
entity Ganna
relation part of
type identifier
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) ?f WHERE { { ?p rdf:type ontology:identifier . ?f rdf:type ontology:name . ?f property:part_of ?p } UNION { ?f property:part_of ?p . ?f rdf:type ontology:name . ?p rdf:type ontology:behavior } } GROUP BY ?f } . FILTER ( ?h < ?l ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Ganna property:part_of ?a . { { ?a rdf:type ontology:identifier } UNION { ?a rdf:type ontology:behavior } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q21476618
P361
Q853614 Q9332 Q82799
USER
And also tell me about Miwa?
(c(Q82799),P361,c(Q853614)|c(Q9332))
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q9332
action count
action filter_multi_types
action find
entity Q21476618
relation P361
type Q853614
type Q9332
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) ?p WHERE { { ?p property:P361 ?y . ?p rdf:type ontology:Q82799 . ?y rdf:type ontology:Q853614 } UNION { ?p property:P361 ?y . ?p rdf:type ontology:Q82799 . ?y rdf:type ontology:Q9332 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Q21476618 property:P361 ?e . { { ?e rdf:type ontology:Q853614 } UNION { ?e rdf:type ontology:Q9332 } } } } . FILTER ( ?d < ?h ) }
Miwa
action less
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type behavior
action count
action filter_multi_types
action find
entity Miwa
relation part of
type identifier
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) ?p WHERE { { ?p property:part_of ?y . ?p rdf:type ontology:name . ?y rdf:type ontology:identifier } UNION { ?p property:part_of ?y . ?p rdf:type ontology:name . ?y rdf:type ontology:behavior } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Miwa property:part_of ?e . { { ?e rdf:type ontology:identifier } UNION { ?e rdf:type ontology:behavior } } } } . FILTER ( ?d < ?h ) }
[]
identifier behavior name
Q1058384 Q27352651 Q27350540
SYSTEM
hakham, Seon, Sang
Q2168099 Q5791319 Q11283653 Q26156283 Q1058384 Q7071783 Q15629245 Q235598 Q16882305 Q1240901 Q24251030 Q1093580 Q742083 Q10145967 Q252216 Q272914 Q2553935 Q18645909 Q15238609 Q25695405 Q24091156 Q20875974 Q3281200 Q26266311 Q10587130 Q15926381 Q19687637 Q21470412 Q21534988 Q21405537 Q26266310 Q12624980 Q2876425 Q5 Q631147 Q27651154 Q26736681 Q27352651 Q15788891 Q4400681 Q12600404 Q21484879 Q24090418 Q12601635 Q5461714 Q27350540 Q1399288 Q2491016 Q1557998 Q19831835 Q27450724 Q15711050 Q26736416 Q26736415 Q26741038 Q1915243 Q263542 Q21484914 Q4835658 Q746990 Q20064977 Q876933 Q21538548 Q5034376 Q26741034 Q861966
(c(Q82799),P361,c(Q853614)|c(Q9332))
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q9332
action count
action filter_multi_types
action find
entity Q21476618
relation P361
type Q853614
type Q9332
[ANSWERS]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) ?p WHERE { { ?p property:P361 ?y . ?p rdf:type ontology:Q82799 . ?y rdf:type ontology:Q853614 } UNION { ?p property:P361 ?y . ?p rdf:type ontology:Q82799 . ?y rdf:type ontology:Q9332 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Q21476618 property:P361 ?e . { { ?e rdf:type ontology:Q853614 } UNION { ?e rdf:type ontology:Q9332 } } } } . FILTER ( ?d < ?h ) }
human Rotavirusses Tajinaste Czech family name Whittingstall hakham O'Donovan family lizard Piso Rostopchin praenomen Barnaby Han surname Princes of Paliano Grand Master of the Teutonic Knights Árnadóttir Çubukçubaşı Wedekind Abe nomen Curtis Abe Ševela Tent caterpillar Trimnell Moa He Rahim Tyrell Yaşar Edward Ritchard Hyeon Aïssata human infraspecific name Gottlieb Veit Seon Blake Russian surname Sang Salman Hara Seon Florida black bass Sang Fearnley orthographical variant Gyalwang Drukpa Qutb Freundel Lu Roveda Roveda Patti McKeown Griffith Clay BIFF Brahman Dong magi Biff Caomhánach Patti dung beetles
hakham Seon Sang
action less
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type behavior
action count
action filter_multi_types
action find
entity Miwa
relation part of
type identifier
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) ?p WHERE { { ?p property:part_of ?y . ?p rdf:type ontology:name . ?y rdf:type ontology:identifier } UNION { ?p property:part_of ?y . ?p rdf:type ontology:name . ?y rdf:type ontology:behavior } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Miwa property:part_of ?e . { { ?e rdf:type ontology:identifier } UNION { ?e rdf:type ontology:behavior } } } } . FILTER ( ?d < ?h ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q469967 Q5049243
P161
Q838948
USER
Which works of art have Cassandra Morris or Géraldine Pailhas as actor ?
OR((c(Q838948),P161,Q5049243), (c(Q838948),P161,Q469967))
action filter_type
action union
action find_reverse
entity Q5049243
relation P161
action find_reverse
entity Q469967
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q5049243'], [{'concept': 'Q838948'}, 'P161', 'Q469967']]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?l ) { ( resource:Q5049243 ) ( resource:Q469967 ) } . ?h property:P161 ?l } . ?h rdf:type ontology:Q838948 }
Géraldine Pailhas Cassandra Morris
action filter_type
action union
action find_reverse
entity Cassandra Morris
relation cast member
action find_reverse
entity Géraldine Pailhas
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Cassandra Morris'], [{'concept': 'work of art'}, 'cast member', 'Géraldine Pailhas']]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?l ) { ( resource:Cassandra_Morris ) ( resource:Géraldine_Pailhas ) } . ?h property:cast_member ?l } . ?h rdf:type ontology:work_of_art }
[]
work of art
Q3058423 Q507285 Q3163486 Q2836442 Q11602165 Q7301757 Q151717 Q94348 Q7783672 Q16674625
SYSTEM
Some of them are Spy(ies), Lumière and Company, Made in Paris, IP5: The Island of Pachyderms, Young & Beautiful, Rebecca H., The Adversary, Suite 16, They Came Back, SMS
Q3058423 Q7301757 Q507285 Q151717 Q3163486 Q6940888 Q94348 Q16674625 Q492132 Q3223074 Q7783672 Q3211333 Q2836442 Q1082924 Q16325252 Q2045006 Q659793 Q11602165 Q245465
OR((c(Q838948),P161,Q5049243), (c(Q838948),P161,Q469967))
action filter_type
action union
action find_reverse
entity Q5049243
relation P161
action find_reverse
entity Q469967
relation P161
type Q838948
[ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q5049243'], [{'concept': 'Q838948'}, 'P161', 'Q469967']]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?l ) { ( resource:Q5049243 ) ( resource:Q469967 ) } . ?h property:P161 ?l } . ?h rdf:type ontology:Q838948 }
Spy(ies) Rebecca H. Lumière and Company The Adversary Made in Paris Sakasama no Patema Suite 16 SMS Don Juan DeMarco Le Garçu They Came Back Enchanted Interlude IP5: The Island of Pachyderms Sky Fighters Divin Enfant Peut-être Barbie: A Fairy Secret Young & Beautiful 5x2
Suite 16, They came Back and SMS have Cassandra Morris or Géraldine Pailhas as actor
Spy(ies) Lumière and Company Made in Paris IP5: The Island of Pachyderms Young & Beautiful Rebecca H. The Adversary Suite 16 They Came Back SMS
action filter_type
action union
action find_reverse
entity Cassandra Morris
relation cast member
action find_reverse
entity Géraldine Pailhas
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Cassandra Morris'], [{'concept': 'work of art'}, 'cast member', 'Géraldine Pailhas']]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?l ) { ( resource:Cassandra_Morris ) ( resource:Géraldine_Pailhas ) } . ?h property:cast_member ?l } . ?h rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3058423
P915
Q56061
USER
Which location was that work of art filmed ?
(Q3058423,P915,c(Q56061))
action filter_type
action find
entity Q3058423
relation P915
type Q56061
['Q3058423', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3058423 property:P915 ?r . ?r rdf:type ontology:Q56061 }
Spy(ies)
action filter_type
action find
entity Spy(ies)
relation filming location
type administrative territorial entity
['Spy(ies)', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Spy(ies) property:filming_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q3058423
SYSTEM
Did you mean Spy(ies) ?
Q3058423 Q507285 Q3163486 Q2836442 Q11602165 Q7301757 Q151717 Q94348 Q7783672 Q16674625
(Q3058423,P915,c(Q56061)) (Q507285,P915,c(Q56061)) (Q3163486,P915,c(Q56061)) (Q2836442,P915,c(Q56061)) (Q11602165,P915,c(Q56061)) (Q7301757,P915,c(Q56061)) (Q151717,P915,c(Q56061)) (Q94348,P915,c(Q56061)) (Q7783672,P915,c(Q56061)) (Q16674625,P915,c(Q56061))
[ANSWER]
['Q3058423', 'P915', {'concept': 'Q56061'}] ['Q507285', 'P915', {'concept': 'Q56061'}] ['Q3163486', 'P915', {'concept': 'Q56061'}] ['Q2836442', 'P915', {'concept': 'Q56061'}] ['Q11602165', 'P915', {'concept': 'Q56061'}] ['Q7301757', 'P915', {'concept': 'Q56061'}] ['Q151717', 'P915', {'concept': 'Q56061'}] ['Q94348', 'P915', {'concept': 'Q56061'}] ['Q7783672', 'P915', {'concept': 'Q56061'}] ['Q16674625', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3058423 property:P915 ?r . ?r rdf:type ontology:Q56061 }
Spy(ies) Lumière and Company Made in Paris IP5: The Island of Pachyderms Young & Beautiful Rebecca H. The Adversary Suite 16 They Came Back SMS
Did you mean Spy(ies) ?
Spy(ies)
['Spy(ies)', 'filming location', {'concept': 'administrative territorial entity'}] ['Lumière and Company', 'filming location', {'concept': 'administrative territorial entity'}] ['Made in Paris', 'filming location', {'concept': 'administrative territorial entity'}] ['IP5: The Island of Pachyderms', 'filming location', {'concept': 'administrative territorial entity'}] ['Young & Beautiful', 'filming location', {'concept': 'administrative territorial entity'}] ['Rebecca H.', 'filming location', {'concept': 'administrative territorial entity'}] ['The Adversary', 'filming location', {'concept': 'administrative territorial entity'}] ['Suite 16', 'filming location', {'concept': 'administrative territorial entity'}] ['They Came Back', 'filming location', {'concept': 'administrative territorial entity'}] ['SMS', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Spy(ies) property:filming_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3058423,P915,c(Q56061))
['Q3058423', 'P915', {'concept': 'Q56061'}]
['Spy(ies)', 'filming location', {'concept': 'administrative territorial entity'}]
[]
Q90
SYSTEM
Paris
Q90
(Q3058423,P915,c(Q56061))
action filter_type
action find
entity Q3058423
relation P915
type Q56061
The [ANSWER] was that work of art filmed
['Q3058423', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3058423 property:P915 ?r . ?r rdf:type ontology:Q56061 }
Paris
The Paris was that work of art filmed
Paris
action filter_type
action find
entity Spy(ies)
relation filming location
type administrative territorial entity
['Spy(ies)', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Spy(ies) property:filming_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]