Simple Question (Direct)
Simple Question
Q5132000
P735
Q82799
USER
What is the firstname of Cleve Gray ?
(Q5132000,P735,c(Q82799))
action filter_type
action find
entity Q5132000
relation P735
type Q82799
['Q5132000', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q5132000 property:P735 ?c . ?c rdf:type ontology:Q82799 }
Cleve Gray
action filter_type
action find
entity Cleve Gray
relation given name
type name
['Cleve Gray', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Cleve_Gray property:given_name ?c . ?c rdf:type ontology:name }
[]
name
Q16275214
SYSTEM
Cleve
Q16275214
(Q5132000,P735,c(Q82799))
action filter_type
action find
entity Q5132000
relation P735
type Q82799
The firstname of [ANSWER] Gray is of [ANSWER]
['Q5132000', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q5132000 property:P735 ?c . ?c rdf:type ontology:Q82799 }
Cleve
The firstname of Cleve Gray is of Cleve
Cleve
action filter_type
action find
entity Cleve Gray
relation given name
type name
['Cleve Gray', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Cleve_Gray property:given_name ?c . ?c rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5132000
P26
Q502895
USER
Which person is the life partner of that one ?
(c(Q502895),P26,Q16275214)
action filter_type
action find
entity Q5132000
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q16275214']
SELECT DISTINCT ?z WHERE { resource:Q5132000 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Cleve Gray
action filter_type
action find
entity Cleve Gray
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Cleve']
SELECT DISTINCT ?z WHERE { resource:Cleve_Gray property:spouse ?z . ?z rdf:type ontology:common_name }
[]
common name
Q3207670
SYSTEM
Francine du Plessix Gray
Q3207670
(c(Q502895),P26,Q16275214)
action filter_type
action find
entity Q5132000
relation P26
type Q502895
[ANSWER] is the life partner of that one
[{'concept': 'Q502895'}, 'P26', 'Q16275214']
SELECT DISTINCT ?z WHERE { resource:Q5132000 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Francine du Plessix Gray
Francine du Plessix Gray is the life partner of that one
Francine du Plessix Gray
action filter_type
action find
entity Cleve Gray
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Cleve']
SELECT DISTINCT ?z WHERE { resource:Cleve_Gray property:spouse ?z . ?z rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3207670 Q5132000
P26
Q502895
USER
Is Cleve Gray married to that one ?
(Q5132000,P26,Q3207670)
action is_in
entity Q5132000
action find
entity Q3207670
relation P26
['Q5132000', 'P26', 'Q3207670']
ASK WHERE { resource:Q3207670 property:P26 resource:Q5132000 }
Francine du Plessix Gray Cleve Gray
action is_in
entity Cleve Gray
action find
entity Francine du Plessix Gray
relation spouse
['Cleve Gray', 'spouse', 'Francine du Plessix Gray']
ASK WHERE { resource:Francine_du_Plessix_Gray property:spouse resource:Cleve_Gray }
[]
common name
SYSTEM
YES
(Q5132000,P26,Q3207670)
action is_in
entity Q5132000
action find
entity Q3207670
relation P26
[ANSWER]
['Q5132000', 'P26', 'Q3207670']
ASK WHERE { resource:Q3207670 property:P26 resource:Q5132000 }
Yes
action is_in
entity Cleve Gray
action find
entity Francine du Plessix Gray
relation spouse
['Cleve Gray', 'spouse', 'Francine du Plessix Gray']
ASK WHERE { resource:Francine_du_Plessix_Gray property:spouse resource:Cleve_Gray }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q28465
P725
Q502895 Q95074
USER
Which fictional characters have been dubbed by around the same number of people as Peter Griffin ?
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q28465
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?c ) WHERE { ?k property:P725 ?y . ?k rdf:type ontology:Q95074 . ?y rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q28465 property:P725 ?r . ?r rdf:type ontology:Q95074 } } . FILTER ( ?c = ?n ) }
Peter Griffin
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Peter Griffin
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?c ) WHERE { ?k property:voice_actor ?y . ?k rdf:type ontology:fictional_character . ?y rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Peter_Griffin property:voice_actor ?r . ?r rdf:type ontology:fictional_character } } . FILTER ( ?c = ?n ) }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q21847055 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q28465
relation P725
type Q95074
[ANSWERS] have been dubbed by around the same number of people as Peter Griffin
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?c ) WHERE { ?k property:P725 ?y . ?k rdf:type ontology:Q95074 . ?y rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q28465 property:P725 ?r . ?r rdf:type ontology:Q95074 } } . FILTER ( ?c = ?n ) }
Itsuki Tachibana Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
Marge Simpson, Homer Simpson and Neo have been dubbed by around the same number of people as Peter Griffin
Marge Simpson Homer Simpson Neo
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Peter Griffin
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?c ) WHERE { ?k property:voice_actor ?y . ?k rdf:type ontology:fictional_character . ?y rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Peter_Griffin property:voice_actor ?r . ?r rdf:type ontology:fictional_character } } . FILTER ( ?c = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2089037
P157
Q95074 Q6619679
USER
How many fictional humanoids were murdered by more number of fictional characters than Solange ?
(c(Q6619679),P157,c(Q95074))
action count
action greater
action find_tuple_counts
relation P157
type Q6619679
type Q95074
action count
action filter_type
action find
entity Q2089037
relation P157
type Q95074
[{'concept': 'Q6619679'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Q2089037 property:P157 ?a . ?a rdf:type ontology:Q95074 } } . FILTER ( ?c > ?b ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?c ) WHERE { ?l property:P157 ?t . ?l rdf:type ontology:Q6619679 . ?t rdf:type ontology:Q95074 } GROUP BY ?l } }
Solange
action count
action greater
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional character
action count
action filter_type
action find
entity Solange
relation killed by
type fictional character
[{'concept': 'fictional humanoid'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Solange property:killed_by ?a . ?a rdf:type ontology:fictional_character } } . FILTER ( ?c > ?b ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?c ) WHERE { ?l property:killed_by ?t . ?l rdf:type ontology:fictional_humanoid . ?t rdf:type ontology:fictional_character } GROUP BY ?l } }
[]
fictional character fictional humanoid
SYSTEM
4
Q2362758 Q27101792 Q284262 Q9093657
(c(Q6619679),P157,c(Q95074))
action count
action greater
action find_tuple_counts
relation P157
type Q6619679
type Q95074
action count
action filter_type
action find
entity Q2089037
relation P157
type Q95074
[ANSWER]
[{'concept': 'Q6619679'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Q2089037 property:P157 ?a . ?a rdf:type ontology:Q95074 } } . FILTER ( ?c > ?b ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?c ) WHERE { ?l property:P157 ?t . ?l rdf:type ontology:Q6619679 . ?t rdf:type ontology:Q95074 } GROUP BY ?l } }
Ira Gaines Pietro Maximoff / Quicksilver Nina Myers Victor Drazen
4
action count
action greater
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional character
action count
action filter_type
action find
entity Solange
relation killed by
type fictional character
[{'concept': 'fictional humanoid'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Solange property:killed_by ?a . ?a rdf:type ontology:fictional_character } } . FILTER ( ?c > ?b ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?c ) WHERE { ?l property:killed_by ?t . ?l rdf:type ontology:fictional_humanoid . ?t rdf:type ontology:fictional_character } GROUP BY ?l } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2536239
P157
Q95074 Q6619679
USER
And what about Jenny Calendar?
(c(Q6619679),P157,c(Q95074))
action count
action greater
action find_tuple_counts
relation P157
type Q6619679
type Q95074
action count
action filter_type
action find
entity Q2536239
relation P157
type Q6619679
[{'concept': 'Q6619679'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?m ) WHERE { ?p property:P157 ?n . ?p rdf:type ontology:Q6619679 . ?n rdf:type ontology:Q95074 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:Q6619679 . resource:Q2536239 property:P157 ?j } } . FILTER ( ?m > ?h ) }
Jenny Calendar
action count
action greater
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional character
action count
action filter_type
action find
entity Jenny Calendar
relation killed by
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?m ) WHERE { ?p property:killed_by ?n . ?p rdf:type ontology:fictional_humanoid . ?n rdf:type ontology:fictional_character } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:fictional_humanoid . resource:Jenny_Calendar property:killed_by ?j } } . FILTER ( ?m > ?h ) }
[]
fictional character fictional humanoid
SYSTEM
4
Q2362758 Q27101792 Q284262 Q9093657
(c(Q6619679),P157,c(Q95074))
action count
action greater
action find_tuple_counts
relation P157
type Q6619679
type Q95074
action count
action filter_type
action find
entity Q2536239
relation P157
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?m ) WHERE { ?p property:P157 ?n . ?p rdf:type ontology:Q6619679 . ?n rdf:type ontology:Q95074 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:Q6619679 . resource:Q2536239 property:P157 ?j } } . FILTER ( ?m > ?h ) }
Ira Gaines Pietro Maximoff / Quicksilver Nina Myers Victor Drazen
4
action count
action greater
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional character
action count
action filter_type
action find
entity Jenny Calendar
relation killed by
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?m ) WHERE { ?p property:killed_by ?n . ?p rdf:type ontology:fictional_humanoid . ?n rdf:type ontology:fictional_character } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j rdf:type ontology:fictional_humanoid . resource:Jenny_Calendar property:killed_by ?j } } . FILTER ( ?m > ?h ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q95074 Q36649 Q15416
USER
Which fictional characters appear as a character in approximately 1 visual artss and television programs ?
(c(Q36649)|c(Q15416),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q36649
action find_reverse_tuple_counts
relation P674
type Q95074
type Q15416
value 1
[[{'concept': 'Q36649'}, {'concept': 'Q15416'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?c WHERE { { ?m property:P674 ?c . ?c rdf:type ontology:Q95074 . ?m rdf:type ontology:Q36649 } UNION { ?c rdf:type ontology:Q95074 . ?m rdf:type ontology:Q15416 . ?m property:P674 ?c } } GROUP BY ?c } }
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type visual arts
action find_reverse_tuple_counts
relation characters
type fictional character
type television program
value 1
[[{'concept': 'visual arts'}, {'concept': 'television program'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?c WHERE { { ?m property:characters ?c . ?c rdf:type ontology:fictional_character . ?m rdf:type ontology:visual_arts } UNION { ?c rdf:type ontology:fictional_character . ?m rdf:type ontology:television_program . ?m property:characters ?c } } GROUP BY ?c } }
[]
fictional character visual arts television program
Q610519 Q2715593 Q6524042
SYSTEM
Matt Santos, Josiah Bartlet, Leo McGarry
Q4767744 Q7167342 Q17075849 Q2985575 Q1750634 Q5656906 Q5354221 Q1080587 Q23762190 Q14396915 Q610519 Q3704358 Q21246052 Q3939827 Q8002690 Q2715593 Q936278 Q3603297 Q4755325 Q6748296 Q1991640 Q4749202 Q21562043 Q6929804 Q4795290 Q321349 Q3946354 Q3036775 Q9012447 Q6214458 Q4933846 Q1345373 Q8073344 Q3666688 Q661491 Q6524042 Q19803416
(c(Q36649)|c(Q15416),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q36649
action find_reverse_tuple_counts
relation P674
type Q95074
type Q15416
value 1
[ANSWERS] appear as a character in approximately 1 visual artss and television programs
[[{'concept': 'Q36649'}, {'concept': 'Q15416'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?c WHERE { { ?m property:P674 ?c . ?c rdf:type ontology:Q95074 . ?m rdf:type ontology:Q36649 } UNION { ?c rdf:type ontology:Q95074 . ?m rdf:type ontology:Q15416 . ?m property:P674 ?c } } GROUP BY ?c } }
Annabeth Schott Percy Fitzwallace Danny Concannon K-9 Quasimodo Josh Lyman Eleanor Bartlet C. J. Cregg June Wheeler Kate Harper Matt Santos Deborah Fiderer Robert Malone Rocky the Flying Squirrel Will Bailey Josiah Bartlet Imhotep Abbey Bartlet Andrea Wyatt Mandy Hampton Dominic Toretto Amy Gardner Antoine Doinel Delores Landingham Arnold Vinick Nick Knatterton Sam Seaborn Donna Moss John Hoynes Joey Lucas Bob Russell Toby Ziegler Zoey Bartlet Charlie Young Esméralda Leo McGarry Brian O'Conner
Matt Santos, Josiah Bartlet and Leo McGarry appear as a character in approximately 1 visual artss and television programs
Matt Santos Josiah Bartlet Leo McGarry
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type visual arts
action find_reverse_tuple_counts
relation characters
type fictional character
type television program
value 1
[[{'concept': 'visual arts'}, {'concept': 'television program'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?c WHERE { { ?m property:characters ?c . ?c rdf:type ontology:fictional_character . ?m rdf:type ontology:visual_arts } UNION { ?c rdf:type ontology:fictional_character . ?m rdf:type ontology:television_program . ?m property:characters ?c } } GROUP BY ?c } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6524042
P22
Q95074
USER
Who has that one as a father ?
(c(Q95074),P22,Q6524042)
action filter_type
action find_reverse
entity Q6524042
relation P22
type Q95074
[{'concept': 'Q95074'}, 'P22', 'Q6524042']
SELECT DISTINCT ?m WHERE { ?m property:P22 resource:Q6524042 . ?m rdf:type ontology:Q95074 }
Leo McGarry
action filter_type
action find_reverse
entity Leo McGarry
relation father
type fictional character
[{'concept': 'fictional character'}, 'father', 'Leo McGarry']
SELECT DISTINCT ?m WHERE { ?m property:father resource:Leo_McGarry . ?m rdf:type ontology:fictional_character }
[]
fictional character
Clarification for simple ques.
Q610519
SYSTEM
Did you mean Matt Santos ?
Q610519 Q2715593 Q6524042
(c(Q95074),P22,Q610519) (c(Q95074),P22,Q2715593) (c(Q95074),P22,Q6524042)
[ANSWER]
[{'concept': 'Q95074'}, 'P22', 'Q610519'] [{'concept': 'Q95074'}, 'P22', 'Q2715593'] [{'concept': 'Q95074'}, 'P22', 'Q6524042']
SELECT DISTINCT ?m WHERE { ?m property:P22 resource:Q6524042 . ?m rdf:type ontology:Q95074 }
Matt Santos Josiah Bartlet Leo McGarry
Did you mean Matt Santos ?
Matt Santos
[{'concept': 'fictional character'}, 'father', 'Matt Santos'] [{'concept': 'fictional character'}, 'father', 'Josiah Bartlet'] [{'concept': 'fictional character'}, 'father', 'Leo McGarry']
SELECT DISTINCT ?m WHERE { ?m property:father resource:Leo_McGarry . ?m rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
USER
No, I meant Leo McGarry. Could you tell me the answer for that?
(c(Q95074),P22,Q6524042)
Q6524042
[{'concept': 'Q95074'}, 'P22', 'Q6524042']
[{'concept': 'fictional character'}, 'father', 'Leo McGarry']
[]
Q6744279
SYSTEM
Mallory O'Brien
Q6744279
(c(Q95074),P22,Q6524042)
action filter_type
action find_reverse
entity Q6524042
relation P22
type Q95074
[ANSWER] has that one as a father
[{'concept': 'Q95074'}, 'P22', 'Q6524042']
SELECT DISTINCT ?m WHERE { ?m property:P22 resource:Q6524042 . ?m rdf:type ontology:Q95074 }
Mallory O'Brien
Mallory O'Brien has that one as a father
Mallory O'Brien
action filter_type
action find_reverse
entity Leo McGarry
relation father
type fictional character
[{'concept': 'fictional character'}, 'father', 'Leo McGarry']
SELECT DISTINCT ?m WHERE { ?m property:father resource:Leo_McGarry . ?m rdf:type ontology:fictional_character }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1269082
P674
Q95074 Q7725634 Q234460
USER
Which fictional characters plays a role in around the same number of literary works or texts as Alice ?
(c(Q7725634)|c(Q234460),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q7725634
action find_reverse_tuple_counts
relation P674
type Q95074
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q1269082
relation P674
type Q7725634
type Q234460
[[{'concept': 'Q7725634'}, {'concept': 'Q234460'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:Q7725634 ) ( ontology:Q234460 ) } } . ?h property:P674 resource:Q1269082 } } . FILTER ( ?s = ?c ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?w WHERE { { ?i property:P674 ?w . ?w rdf:type ontology:Q95074 . ?i rdf:type ontology:Q7725634 } UNION { ?i property:P674 ?w . ?w rdf:type ontology:Q95074 . ?i rdf:type ontology:Q234460 } } GROUP BY ?w } }
Alice
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type literary work
action find_reverse_tuple_counts
relation characters
type fictional character
type text
action count
action filter_multi_types
action find_reverse
entity Alice
relation characters
type literary work
type text
[[{'concept': 'literary work'}, {'concept': 'text'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:literary_work ) ( ontology:text ) } } . ?h property:characters resource:Alice } } . FILTER ( ?s = ?c ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?w WHERE { { ?i property:characters ?w . ?w rdf:type ontology:fictional_character . ?i rdf:type ontology:literary_work } UNION { ?i property:characters ?w . ?w rdf:type ontology:fictional_character . ?i rdf:type ontology:text } } GROUP BY ?w } }
[]
fictional character literary work text
Q252044 Q610519 Q2715593
SYSTEM
Queen Grimhilde, Matt Santos, Josiah Bartlet
Q547105 Q3065753 Q16027672 Q27663545 Q24573084 Q27093588 Q4767744 Q252044 Q7167342 Q942938 Q27666236 Q17075849 Q2725247 Q2985575 Q1649854 Q18679242 Q14559464 Q3259165 Q27272386 Q27068028 Q22265466 Q15710873 Q1877780 Q2344068 Q21847074 Q272000 Q461606 Q669485 Q27270635 Q27553997 Q27267091 Q7828 Q27133637 Q15230837 Q27535984 Q2559332 Q27553808 Q3388787 Q27116644 Q5656906 Q2161603 Q605125 Q27663642 Q11339468 Q27271240 Q217533 Q17209231 Q27269911 Q22266941 Q27666260 Q3060933 Q21847215 Q1660555 Q27068114 Q21837397 Q892442 Q27243295 Q11623287 Q913841 Q27267295 Q27145408 Q1984009 Q2277080 Q519034 Q2915850 Q3592235 Q14541961 Q27270825 Q669992 Q10904385 Q27663814 Q1541235 Q4574639 Q295599 Q27074305 Q2340460 Q7834 Q14544872 Q254678 Q5354221 Q1080587 Q1478155 Q14541956 Q507978 Q203927 Q27116381 Q14542323 Q21847103 Q21716752 Q14541958 Q27229992 Q27429777 Q128429 Q27553882 Q23762190 Q27118866 Q3391402 Q1067046 Q27118394 Q2739228 Q114900 Q599351 Q15160 Q2456444 Q1997439 Q14544980 Q842104 Q14396915 Q5431889 Q27666036 Q25883159 Q20822934 Q21847089 Q27237700 Q610519 Q20723928 Q21065543 Q21065542 Q14559460 Q14559461 Q16626690 Q14542335 Q27450655 Q3704358 Q21246052 Q27270096 Q27179995 Q27067917 Q2076759 Q27429724 Q27429978 Q26678513 Q14542337 Q21847086 Q14542331 Q21065725 Q3291275 Q3403328 Q21837905 Q3455774 Q27518155 Q20822903 Q21837021 Q27429887 Q21837027 Q1115859 Q3939827 Q406021 Q27271937 Q8002690 Q27237722 Q20822908 Q5846 Q27481286 Q27237727 Q52986 Q3320009 Q11309288 Q589261 Q27067781 Q27429907 Q17335617 Q3377158 Q27535068 Q27237663 Q2715593 Q10354248 Q22264381 Q936278 Q3603297 Q21714642 Q4755325 Q14542340 Q20822916 Q6748296 Q1991640 Q3471289 Q164083 Q14545148 Q22265259 Q4749202 Q2988692 Q27462047 Q21837038 Q27269137 Q2657005 Q27666317 Q27268652 Q21562043 Q21972177 Q6929804 Q27666216 Q3838346 Q113870 Q21072307 Q60702 Q27554295 Q267447 Q22266945 Q1028714 Q540376 Q27068138 Q4795290 Q14542326 Q14542192 Q20822900 Q388605 Q16451200 Q14542196 Q14544711 Q27237716 Q21837832 Q21971504 Q767120 Q21932351 Q2750318 Q20280393 Q21847105 Q27457103 Q27133578 Q27536279 Q12400 Q1773077 Q2308402 Q27666068 Q1269082 Q27269717 Q27269399 Q27145277 Q2392421 Q14542209 Q27075302 Q27456283 Q321349 Q6414261 Q27272794 Q21065657 Q651130 Q16034148 Q12810578 Q27666446 Q3439796 Q21072502 Q14545043 Q3437147 Q3946354 Q920224 Q27430106 Q1866743 Q27272179 Q21847058 Q15020847 Q21847115 Q3036775 Q27462273 Q2021531 Q27229770 Q4160404 Q3806180 Q9012447 Q27133508 Q3073555 Q191527 Q7885388 Q27145361 Q1141265 Q6214458 Q27455598 Q2264282 Q4933846 Q3257493 Q27642997 Q1345373 Q1392000 Q2879032 Q2373832 Q264685 Q223757 Q27180048 Q20822895 Q8073344 Q21072390 Q1456741 Q27267273 Q616178 Q6175066 Q27271402 Q3666688 Q27666118 Q7810 Q51766 Q6524042 Q20822940 Q27148824 Q14559457 Q27666112 Q27068106 Q765498 Q19803416 Q14559452
(c(Q7725634)|c(Q234460),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q7725634
action find_reverse_tuple_counts
relation P674
type Q95074
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q1269082
relation P674
type Q7725634
type Q234460
[ANSWERS] play a role in around the same number of literary works or texts as Alice
[[{'concept': 'Q7725634'}, {'concept': 'Q234460'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:Q7725634 ) ( ontology:Q234460 ) } } . ?h property:P674 resource:Q1269082 } } . FILTER ( ?s = ?c ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?w WHERE { { ?i property:P674 ?w . ?w rdf:type ontology:Q95074 . ?i rdf:type ontology:Q7725634 } UNION { ?i property:P674 ?w . ?w rdf:type ontology:Q95074 . ?i rdf:type ontology:Q234460 } } GROUP BY ?w } }
Nezha Lady of the Green Kirtle Dr. Stewart Peter Pan Archimedes Alice's sister Annabeth Schott Queen Grimhilde Percy Fitzwallace Dexter Morgan Nana Danny Concannon Ness K-9 Athos Kalervo Freddy Porky Minch Captain Crocodile The blue fairy Duran Duran Princess Celestia Lusus Madam Mim Kōichirō Iketani Deianira Arsène Lupin Sweeney Todd Little Sister Cody King Richard Marge Simpson King Hubert Dixie Kong Carlotta Cinderella Wilbur Pinocchio Lady Josh Lyman Randall Flagg GLaDOS Wendy Darling Paula Sis Joker Poo Nutsy Drizella Tremaine Mr. Smee Scuttle Seiji Iwaki Maleficent Monstro Takeshi Nakazato Ariel Edgar Balthazar Takumi Fujiwara Bridget Jones Alan-a-Dale Anita Radcliffe Death Clarice Starling Aurora Thumper Étienne Lantier Wu Zi Mu Skippy Rincewind Diddy Kong Captain Hook Kullervo Jack Crawford Two-Face Timothy Q. Mouse Captain Falcon Maggie Simpson Michael Toreno Carrie Bradshaw Eleanor Bartlet C. J. Cregg Pelasgus Sean Johnson Milady de Winter Patrick Bateman Tramp Jeffrey Cross Shingo Shōji Largo Winch Cesar Vialpando Kaa Bianca Vampirella Jake June Wheeler Trusty Planchet Princess Zelda Yock Snow White Lori Grimes Gavroche Ijon Tichy Renesmee Cullen White Witch Kent Paul Grampa Simpson Kate Harper Faline George Darling Thompson Mrs. Judson Kenji Thomas O'Malley Matt Santos Flounder Mousqueton Bazin Mark Wayne Barry Thorne Baloo The Truth Taran Deborah Fiderer Robert Malone Sexton Mouse Merlin Stromboli Tyrion Lannister Bernard Mr. Snoops Acoetes Zero Natsuki Mogi Catalina Bonacieux Maid Marian Prince John Itsuki Takeuchi Régis Renaud Max Fidget Bunta Fujiwara Madame Medusa Ryōsuke Takahashi Horatius Cocles Rocky the Flying Squirrel Aino Toby Will Bailey Marie Dr. David Q. Dawson Lisa Simpson Hen Wen Berlioz Tintin Miraz Jeff Susannah Dean Geppetto Penny D'Artagnan Little John Grimsby Duchess Josiah Bartlet Professor Ratigan Barbarella Imhotep Abbey Bartlet Arn Magnusson Andrea Wyatt Jizzy B. Basil Mandy Hampton Dominic Toretto Samurai Goroh Till Eulenspiegel Beverly Johnson The Great Tyrant Amy Gardner Eddie Dean Creeper Keisuke Takahashi Sir Hiss Adamastor Crocodile Friar Tuck Antoine Doinel Jean-Marie-François Morhange Delores Landingham Tinker Bell Lucas Michonne Lord de Winter Eragon Percival McLeach Granny Weatherwax Anastasia Tremaine Jiminy Cricket Mowgli Lampwick Arnold Vinick Madd Dogg Edward Pulaski Hiram Flaversham Cruella de Vil Taras Bulba Jimmy Hernandez T-Bone Mendez Toulouse Kyōichi Sudō André de Saint-Avit Garfield Valentina Rosselli Dumbo Chrysoprase Kenta Nakamura Fflewddur Fflam King Stefan Chef Louis Samus Aran Aramis Bambi John Darling Alice Trigger Lady Kluck Pongo Constance Bonacieux Kendl Johnson Fairy Godmother Gurgi Nick Knatterton Kinsey Millhone Otto executioner of Lille Julia Prince Eric Lance Wilson Tiger Lily King Triton D'Artagnan's father Maccer Robin Hood Sam Seaborn Gargamel Orville Ken Rosenberg Mother Rabbit Yūichi Tachibana Proto Man Fumihiro Donna Moss Dallben Frankenstein's monster Shere Khan John Francis Winter Jaime Lannister John Hoynes Prince Phillip Flower Edward Cullen Sebastian Roger Radcliffe Lady Tremaine Joey Lucas Eilonwy Roland Deschain Bob Russell Bandersnatch Corto Maltese Toby Ziegler Fagin Bagheera Comte de Rochefort Marvin Bella Swan Arthur Olivia Flaversham Zoey Bartlet Ketty Joukahainen Sheriff of Nottingham Väinämöinen Ursula Tagalong Charlie Young Michael Darling Homer Simpson Darth Maul Leo McGarry Queen Mousetoria The Prince Emmet Mary Darling Honest John Jake Chambers Brian O'Conner Old Reece
Queen Grimhilde, Matt Santos and Josiah Bartlet play a role in around the same number of literary works or texts as Alice
Queen Grimhilde Matt Santos Josiah Bartlet
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type literary work
action find_reverse_tuple_counts
relation characters
type fictional character
type text
action count
action filter_multi_types
action find_reverse
entity Alice
relation characters
type literary work
type text
[[{'concept': 'literary work'}, {'concept': 'text'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { ?h rdf:type ?b . VALUES ( ?b ) { ( ontology:literary_work ) ( ontology:text ) } } . ?h property:characters resource:Alice } } . FILTER ( ?s = ?c ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?w WHERE { { ?i property:characters ?w . ?w rdf:type ontology:fictional_character . ?i rdf:type ontology:literary_work } UNION { ?i property:characters ?w . ?w rdf:type ontology:fictional_character . ?i rdf:type ontology:text } } GROUP BY ?w } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2373832
P674
Q95074 Q15850590 Q571
USER
Which fictional characters appear as a character in greater number of theatrical genres and books than Comte de Rochefort ?
(c(Q15850590)|c(Q571),P674,c(Q95074))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q95074
type Q571
action count
action filter_multi_types
action find_reverse
entity Q2373832
relation P674
type Q15850590
type Q571
[[{'concept': 'Q15850590'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?l WHERE { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15850590 ) ( ontology:Q571 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:P674 resource:Q2373832 . { { ?j rdf:type ontology:Q571 } UNION { ?j rdf:type ontology:Q15850590 } } } } . FILTER ( ?y > ?p ) }
Comte de Rochefort
action greater
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type theatrical genre
action find_reverse_tuple_counts
relation characters
type fictional character
type book
action count
action filter_multi_types
action find_reverse
entity Comte de Rochefort
relation characters
type theatrical genre
type book
[[{'concept': 'theatrical genre'}, {'concept': 'book'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?l WHERE { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:theatrical_genre ) ( ontology:book ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:characters resource:Comte_de_Rochefort . { { ?j rdf:type ontology:book } UNION { ?j rdf:type ontology:theatrical_genre } } } } . FILTER ( ?y > ?p ) }
[]
fictional character theatrical genre book
Q52986 Q22264381 Q3455774
SYSTEM
Tintin, Barbarella, Régis Renaud
Q25883159 Q3455774 Q1115859 Q52986 Q22264381 Q16451200 Q920224 Q27642997
(c(Q15850590)|c(Q571),P674,c(Q95074))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q95074
type Q571
action count
action filter_multi_types
action find_reverse
entity Q2373832
relation P674
type Q15850590
type Q571
[ANSWERS] appear as a character in greater number of theatrical genres and books than Comte de Rochefort
[[{'concept': 'Q15850590'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?l WHERE { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15850590 ) ( ontology:Q571 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:P674 resource:Q2373832 . { { ?j rdf:type ontology:Q571 } UNION { ?j rdf:type ontology:Q15850590 } } } } . FILTER ( ?y > ?p ) }
Thompson Régis Renaud Horatius Cocles Tintin Barbarella Taras Bulba Gargamel Corto Maltese
Tintin, Barbarella and Régis Renaud appear as a character in greater number of theatrical genres and books than Comte de Rochefort
Tintin Barbarella Régis Renaud
action greater
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type theatrical genre
action find_reverse_tuple_counts
relation characters
type fictional character
type book
action count
action filter_multi_types
action find_reverse
entity Comte de Rochefort
relation characters
type theatrical genre
type book
[[{'concept': 'theatrical genre'}, {'concept': 'book'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) ?l WHERE { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:theatrical_genre ) ( ontology:book ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { ?j property:characters resource:Comte_de_Rochefort . { { ?j rdf:type ontology:book } UNION { ?j rdf:type ontology:theatrical_genre } } } } . FILTER ( ?y > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q20822934
P674
Q95074 Q15850590 Q571
USER
And also tell me about Mrs. Judson?
(c(Q15850590)|c(Q571),P674,c(Q95074))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q95074
type Q571
action count
action filter_multi_types
action find_reverse
entity Q20822934
relation P674
type Q15850590
type Q571
[[{'concept': 'Q15850590'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?b WHERE { ?v rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15850590 ) ( ontology:Q571 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P674 resource:Q20822934 . { { ?q rdf:type ontology:Q15850590 } UNION { ?q rdf:type ontology:Q571 } } } } . FILTER ( ?s > ?f ) }
Mrs. Judson
action greater
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type theatrical genre
action find_reverse_tuple_counts
relation characters
type fictional character
type book
action count
action filter_multi_types
action find_reverse
entity Mrs. Judson
relation characters
type theatrical genre
type book
[[{'concept': 'theatrical genre'}, {'concept': 'book'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?b WHERE { ?v rdf:type ?g . VALUES ( ?g ) { ( ontology:theatrical_genre ) ( ontology:book ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:characters resource:Mrs._Judson . { { ?q rdf:type ontology:theatrical_genre } UNION { ?q rdf:type ontology:book } } } } . FILTER ( ?s > ?f ) }
[]
fictional character theatrical genre book
Q52986 Q22264381 Q3455774
SYSTEM
Tintin, Barbarella, Régis Renaud
Q25883159 Q3455774 Q1115859 Q52986 Q22264381 Q16451200 Q920224 Q27642997
(c(Q15850590)|c(Q571),P674,c(Q95074))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q95074
type Q571
action count
action filter_multi_types
action find_reverse
entity Q20822934
relation P674
type Q15850590
type Q571
[ANSWERS]
[[{'concept': 'Q15850590'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?b WHERE { ?v rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15850590 ) ( ontology:Q571 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P674 resource:Q20822934 . { { ?q rdf:type ontology:Q15850590 } UNION { ?q rdf:type ontology:Q571 } } } } . FILTER ( ?s > ?f ) }
Thompson Régis Renaud Horatius Cocles Tintin Barbarella Taras Bulba Gargamel Corto Maltese
Tintin Barbarella Régis Renaud
action greater
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type theatrical genre
action find_reverse_tuple_counts
relation characters
type fictional character
type book
action count
action filter_multi_types
action find_reverse
entity Mrs. Judson
relation characters
type theatrical genre
type book
[[{'concept': 'theatrical genre'}, {'concept': 'book'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?b WHERE { ?v rdf:type ?g . VALUES ( ?g ) { ( ontology:theatrical_genre ) ( ontology:book ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:characters resource:Mrs._Judson . { { ?q rdf:type ontology:theatrical_genre } UNION { ?q rdf:type ontology:book } } } } . FILTER ( ?s > ?f ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q52986 Q22264381 Q3455774
P1441
Q277759
USER
Which book series contain those fictional characters ?
(Q52986,P1441,c(Q277759)) (Q22264381,P1441,c(Q277759)) (Q3455774,P1441,c(Q277759))
action filter_type
action find
entity prev_answer
relation P1441
type Q277759
['Q52986', 'P1441', {'concept': 'Q277759'}] ['Q22264381', 'P1441', {'concept': 'Q277759'}] ['Q3455774', 'P1441', {'concept': 'Q277759'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q277759 . ?m property:P1441 ?h . VALUES ( ?m ) { ( resource:Q25883159 ) ( resource:Q3455774 ) ( resource:Q1115859 ) } }
Tintin Barbarella Régis Renaud
action filter_type
action find
entity prev_answer
relation present in work
type book series
['Tintin', 'present in work', {'concept': 'book series'}] ['Barbarella', 'present in work', {'concept': 'book series'}] ['Régis Renaud', 'present in work', {'concept': 'book series'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:book_series . ?m property:present_in_work ?h . VALUES ( ?m ) { ( resource:Thompson ) ( resource:Régis_Renaud ) ( resource:Horatius_Cocles ) } }
[]
book series
Q744536 Q91926 Q1214840
SYSTEM
The Adventures of Tintin, Barbarella, Les petits hommes
Q744536 Q91926 Q1214840
(Q52986,P1441,c(Q277759)) (Q22264381,P1441,c(Q277759)) (Q3455774,P1441,c(Q277759))
action filter_type
action find
entity prev_answer
relation P1441
type Q277759
[ANSWERS] contain those fictional characters
['Q52986', 'P1441', {'concept': 'Q277759'}] ['Q22264381', 'P1441', {'concept': 'Q277759'}] ['Q3455774', 'P1441', {'concept': 'Q277759'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q277759 . ?m property:P1441 ?h . VALUES ( ?m ) { ( resource:Q25883159 ) ( resource:Q3455774 ) ( resource:Q1115859 ) } }
The Adventures of Tintin Barbarella Les petits hommes
The Adventures of Tintin, Barbarella and Les petits hommes contain those fictional characters
The Adventures of Tintin Barbarella Les petits hommes
action filter_type
action find
entity prev_answer
relation present in work
type book series
['Tintin', 'present in work', {'concept': 'book series'}] ['Barbarella', 'present in work', {'concept': 'book series'}] ['Régis Renaud', 'present in work', {'concept': 'book series'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:book_series . ?m property:present_in_work ?h . VALUES ( ?m ) { ( resource:Thompson ) ( resource:Régis_Renaud ) ( resource:Horatius_Cocles ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1214840
P50
Q502895
USER
Who was the writer of that book series ?
(Q1214840,P50,c(Q502895))
action filter_type
action find
entity Q1214840
relation P50
type Q502895
['Q1214840', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q1214840 property:P50 ?z }
Les petits hommes
action filter_type
action find
entity Les petits hommes
relation author
type common name
['Les petits hommes', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Les_petits_hommes property:author ?z }
[]
common name
Clarification for simple ques.
Q744536
SYSTEM
Did you mean The Adventures of Tintin ?
Q744536 Q91926 Q1214840
(Q744536,P50,c(Q502895)) (Q91926,P50,c(Q502895)) (Q1214840,P50,c(Q502895))
[ANSWER]
['Q744536', 'P50', {'concept': 'Q502895'}] ['Q91926', 'P50', {'concept': 'Q502895'}] ['Q1214840', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q1214840 property:P50 ?z }
The Adventures of Tintin Barbarella Les petits hommes
Did you mean The Adventures of Tintin ?
The Adventures of Tintin
['The Adventures of Tintin', 'author', {'concept': 'common name'}] ['Barbarella', 'author', {'concept': 'common name'}] ['Les petits hommes', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Les_petits_hommes property:author ?z }
[]
Simple Question (Coreferenced)
USER
No, I meant Les petits hommes. Could you tell me the answer for that?
(Q1214840,P50,c(Q502895))
Q1214840
['Q1214840', 'P50', {'concept': 'Q502895'}]
['Les petits hommes', 'author', {'concept': 'common name'}]
[]
Q1331693
SYSTEM
Mittéï
Q1331693
(Q1214840,P50,c(Q502895))
action filter_type
action find
entity Q1214840
relation P50
type Q502895
The writer of that book series was [ANSWER]
['Q1214840', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q1214840 property:P50 ?z }
Mittéï
The writer of that book series was Mittéï
Mittéï
action filter_type
action find
entity Les petits hommes
relation author
type common name
['Les petits hommes', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Les_petits_hommes property:author ?z }
[]