Simple Question (Direct)
Simple Question
Q4795654
P495
Q15617994
USER
What is the origin of Around the World in Eighteen Days ?
(Q4795654,P495,c(Q15617994))
action filter_type
action find
entity Q4795654
relation P495
type Q15617994
['Q4795654', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q4795654 property:P495 ?i . ?i rdf:type ontology:Q15617994 }
Around the World in Eighteen Days
action filter_type
action find
entity Around the World in Eighteen Days
relation country of origin
type designation for an administrative territorial entity
['Around the World in Eighteen Days', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Around_the_World_in_Eighteen_Days property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q4795654,P495,c(Q15617994))
action filter_type
action find
entity Q4795654
relation P495
type Q15617994
The origin of Around the World in Eighteen Days is the [ANSWER]
['Q4795654', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q4795654 property:P495 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
The origin of Around the World in Eighteen Days is the United States of America
United States of America
action filter_type
action find
entity Around the World in Eighteen Days
relation country of origin
type designation for an administrative territorial entity
['Around the World in Eighteen Days', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Around_the_World_in_Eighteen_Days property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4795654
P793
Q838948
USER
Which significant event is that one associated with ?
(Q30,P793,c(Q838948))
action filter_type
action find
entity Q4795654
relation P793
type Q838948
['Q30', 'P793', {'concept': 'Q838948'}]
SELECT DISTINCT ?x WHERE { resource:Q4795654 property:P793 ?x . ?x rdf:type ontology:Q838948 }
Around the World in Eighteen Days
action filter_type
action find
entity Around the World in Eighteen Days
relation significant event
type work of art
['United States of America', 'significant event', {'concept': 'work of art'}]
SELECT DISTINCT ?x WHERE { resource:Around_the_World_in_Eighteen_Days property:significant_event ?x . ?x rdf:type ontology:work_of_art }
[]
work of art
Q1268687
SYSTEM
lost film
Q1268687
(Q30,P793,c(Q838948))
action filter_type
action find
entity Q4795654
relation P793
type Q838948
Which significant event is that one associated with
['Q30', 'P793', {'concept': 'Q838948'}]
SELECT DISTINCT ?x WHERE { resource:Q4795654 property:P793 ?x . ?x rdf:type ontology:Q838948 }
lost film
Which significant event is that one associated with
lost film
action filter_type
action find
entity Around the World in Eighteen Days
relation significant event
type work of art
['United States of America', 'significant event', {'concept': 'work of art'}]
SELECT DISTINCT ?x WHERE { resource:Around_the_World_in_Eighteen_Days property:significant_event ?x . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q838948 Q3305213 Q838948
USER
Which works of art are demonstrated in exactly 2 paintings or works of art ?
(c(Q3305213)|c(Q838948),P180,c(Q838948))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
value 2
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?m WHERE { VALUES ( ?a ) { ( ontology:Q3305213 ) ( ontology:Q838948 ) } . ?d rdf:type ?a } GROUP BY ?m } . FILTER ( ?h = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
value 2
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?m WHERE { VALUES ( ?a ) { ( ontology:painting ) ( ontology:work_of_art ) } . ?d rdf:type ?a } GROUP BY ?m } . FILTER ( ?h = 2 ) }
[]
work of art painting work of art
Q1519294 Q46847 Q17305006
SYSTEM
lagynos, ring, Galatea
Q1519294 Q46847 Q17305006
(c(Q3305213)|c(Q838948),P180,c(Q838948))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
value 2
[ANSWERS] are demonstrated in exactly 2 paintings or works of art
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?m WHERE { VALUES ( ?a ) { ( ontology:Q3305213 ) ( ontology:Q838948 ) } . ?d rdf:type ?a } GROUP BY ?m } . FILTER ( ?h = 2 ) }
lagynos ring Galatea
Lagynos, ring and Galatea are demonstrated in exactly 2 paintings or works of art
lagynos ring Galatea
action equal
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
value 2
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?m WHERE { VALUES ( ?a ) { ( ontology:painting ) ( ontology:work_of_art ) } . ?d rdf:type ?a } GROUP BY ?m } . FILTER ( ?h = 2 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17305006
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q17305006,P136,c(Q1792379))
action filter_type
action find
entity Q17305006
relation P136
type Q1792379
['Q17305006', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1792379 . resource:Q17305006 property:P136 ?w }
Galatea
action filter_type
action find
entity Galatea
relation genre
type art genre
['Galatea', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:art_genre . resource:Galatea property:genre ?w }
[]
art genre
Clarification for simple ques.
Q17305006
SYSTEM
Did you mean Galatea ?
Q1519294 Q46847 Q17305006
(Q1519294,P136,c(Q1792379)) (Q46847,P136,c(Q1792379)) (Q17305006,P136,c(Q1792379))
[ANSWER]
['Q1519294', 'P136', {'concept': 'Q1792379'}] ['Q46847', 'P136', {'concept': 'Q1792379'}] ['Q17305006', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1792379 . resource:Q17305006 property:P136 ?w }
lagynos ring Galatea
Did you mean Galatea ?
Galatea
['lagynos', 'genre', {'concept': 'art genre'}] ['ring', 'genre', {'concept': 'art genre'}] ['Galatea', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:art_genre . resource:Galatea property:genre ?w }
[]
Simple Question (Coreferenced)
USER
Yes
(Q17305006,P136,c(Q1792379))
['Q17305006', 'P136', {'concept': 'Q1792379'}]
['Galatea', 'genre', {'concept': 'art genre'}]
[]
Q179700
SYSTEM
statue
Q179700
(Q17305006,P136,c(Q1792379))
action filter_type
action find
entity Q17305006
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q17305006', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1792379 . resource:Q17305006 property:P136 ?w }
statue
Statue can be considered as category for that work of art
statue
action filter_type
action find
entity Galatea
relation genre
type art genre
['Galatea', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:art_genre . resource:Galatea property:genre ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q17305006 Q3801769
P21
Q290
USER
How many sexes do Galatea or Hypsenor belong to ?
(Q17305006,P21,c(Q290)) (Q3801769,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q17305006
relation P21
type Q290
action filter_type
action find
entity Q3801769
relation P21
type Q290
['Q17305006', 'P21', {'concept': 'Q290'}] ['Q3801769', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { resource:Q3801769 property:P21 ?f . ?f rdf:type ontology:Q290 } UNION { resource:Q17305006 property:P21 ?f . ?f rdf:type ontology:Q290 } }
Galatea Hypsenor
action count
action union
action filter_type
action find
entity Galatea
relation gender
type sex
action filter_type
action find
entity Hypsenor
relation gender
type sex
['Galatea', 'gender', {'concept': 'sex'}] ['Hypsenor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { resource:Hypsenor property:gender ?f . ?f rdf:type ontology:sex } UNION { resource:Galatea property:gender ?f . ?f rdf:type ontology:sex } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q17305006,P21,c(Q290)) (Q3801769,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q17305006
relation P21
type Q290
action filter_type
action find
entity Q3801769
relation P21
type Q290
[ANSWER]
['Q17305006', 'P21', {'concept': 'Q290'}] ['Q3801769', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { resource:Q3801769 property:P21 ?f . ?f rdf:type ontology:Q290 } UNION { resource:Q17305006 property:P21 ?f . ?f rdf:type ontology:Q290 } }
male female
2
action count
action union
action filter_type
action find
entity Galatea
relation gender
type sex
action filter_type
action find
entity Hypsenor
relation gender
type sex
['Galatea', 'gender', {'concept': 'sex'}] ['Hypsenor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { resource:Hypsenor property:gender ?f . ?f rdf:type ontology:sex } UNION { resource:Galatea property:gender ?f . ?f rdf:type ontology:sex } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q36479 Q4795654
P57 P725
Q502895
USER
Which people were the director of Around the World in Eighteen Days or were The Lion King dubbed by ?
OR((Q4795654,P57,c(Q502895)), (Q36479,P725,c(Q502895)))
action filter_type
action union
action find
entity Q4795654
relation P57
action find
entity Q36479
relation P725
type Q502895
{'OR': [['Q4795654', 'P57', {'concept': 'Q502895'}], ['Q36479', 'P725', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q36479 property:P725 ?q } UNION { resource:Q4795654 property:P57 ?q } } . ?q rdf:type ontology:Q502895 }
The Lion King Around the World in Eighteen Days
action filter_type
action union
action find
entity Around the World in Eighteen Days
relation director
action find
entity The Lion King
relation voice actor
type common name
{'OR': [['Around the World in Eighteen Days', 'director', {'concept': 'common name'}], ['The Lion King', 'voice actor', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:The_Lion_King property:voice_actor ?q } UNION { resource:Around_the_World_in_Eighteen_Days property:director ?q } } . ?q rdf:type ontology:common_name }
[]
common name
Q465442 Q957024 Q451833 Q73007 Q460882 Q2975586 Q28755 Q7405121 Q3163012 Q259737
SYSTEM
Some of them are Robert Guillaume, Joseph Williams, Ernie Sabella, Cheech Marin, Jonathan Taylor Thomas, Robert F. Hill, Matthew Broderick, Sally Dworsky, Jason Weaver, Madge Sinclair
Q491264 Q2975586 Q451833 Q957024 Q264707 Q28755 Q171745 Q237537 Q310292 Q3163012 Q4024627 Q49001 Q73007 Q460882 Q465442 Q1993004 Q7405121 Q259737 Q203960 Q23760
OR((Q4795654,P57,c(Q502895)), (Q36479,P725,c(Q502895)))
action filter_type
action union
action find
entity Q4795654
relation P57
action find
entity Q36479
relation P725
type Q502895
[ANSWERS] were the director of Around the World in Eighteen Days or were The Lion King dubbed by
{'OR': [['Q4795654', 'P57', {'concept': 'Q502895'}], ['Q36479', 'P725', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q36479 property:P725 ?q } UNION { resource:Q4795654 property:P57 ?q } } . ?q rdf:type ontology:Q502895 }
Nathan Lane Robert F. Hill Ernie Sabella Joseph Williams B. Reeves Eason Matthew Broderick Jeremy Irons Moira Kelly Jim Cummings Jason Weaver Zoe Leader Whoopi Goldberg Cheech Marin Jonathan Taylor Thomas Robert Guillaume Niketa Calame Sally Dworsky Madge Sinclair James Earl Jones Rowan Atkinson
Robert Guillaume, Joseph Williams, Ernie Sabella, Cheech Marin, Jonathan Taylor Thomas, Robert F. Hill, Matthew Broderick, Sally Dworsky, Jason Weaver and Madge Sinclair were the director of Around the World in Eighteen Days or were The Lion King dubbed by
Robert Guillaume Joseph Williams Ernie Sabella Cheech Marin Jonathan Taylor Thomas Robert F. Hill Matthew Broderick Sally Dworsky Jason Weaver Madge Sinclair
action filter_type
action union
action find
entity Around the World in Eighteen Days
relation director
action find
entity The Lion King
relation voice actor
type common name
{'OR': [['Around the World in Eighteen Days', 'director', {'concept': 'common name'}], ['The Lion King', 'voice actor', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:The_Lion_King property:voice_actor ?q } UNION { resource:Around_the_World_in_Eighteen_Days property:director ?q } } . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q465442 Q957024 Q451833 Q73007 Q460882 Q2975586 Q28755 Q7405121 Q3163012 Q259737
P21
Q290
USER
Which sexes do those people belong to ?
(Q465442,P21,c(Q290)) (Q957024,P21,c(Q290)) (Q451833,P21,c(Q290)) (Q73007,P21,c(Q290)) (Q460882,P21,c(Q290)) (Q2975586,P21,c(Q290)) (Q28755,P21,c(Q290)) (Q7405121,P21,c(Q290)) (Q3163012,P21,c(Q290)) (Q259737,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q465442', 'P21', {'concept': 'Q290'}] ['Q957024', 'P21', {'concept': 'Q290'}] ['Q451833', 'P21', {'concept': 'Q290'}] ['Q73007', 'P21', {'concept': 'Q290'}] ['Q460882', 'P21', {'concept': 'Q290'}] ['Q2975586', 'P21', {'concept': 'Q290'}] ['Q28755', 'P21', {'concept': 'Q290'}] ['Q7405121', 'P21', {'concept': 'Q290'}] ['Q3163012', 'P21', {'concept': 'Q290'}] ['Q259737', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?a property:P21 ?n . VALUES ( ?a ) { ( resource:Q491264 ) ( resource:Q2975586 ) ( resource:Q451833 ) } . ?n rdf:type ontology:Q290 }
Robert Guillaume Joseph Williams Ernie Sabella Cheech Marin Jonathan Taylor Thomas Robert F. Hill Matthew Broderick Sally Dworsky Jason Weaver Madge Sinclair
action filter_type
action find
entity prev_answer
relation gender
type sex
['Robert Guillaume', 'gender', {'concept': 'sex'}] ['Joseph Williams', 'gender', {'concept': 'sex'}] ['Ernie Sabella', 'gender', {'concept': 'sex'}] ['Cheech Marin', 'gender', {'concept': 'sex'}] ['Jonathan Taylor Thomas', 'gender', {'concept': 'sex'}] ['Robert F. Hill', 'gender', {'concept': 'sex'}] ['Matthew Broderick', 'gender', {'concept': 'sex'}] ['Sally Dworsky', 'gender', {'concept': 'sex'}] ['Jason Weaver', 'gender', {'concept': 'sex'}] ['Madge Sinclair', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?a property:gender ?n . VALUES ( ?a ) { ( resource:Nathan_Lane ) ( resource:Robert_F._Hill ) ( resource:Ernie_Sabella ) } . ?n rdf:type ontology:sex }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581072 Q6581097 Q6581072
(Q465442,P21,c(Q290)) (Q957024,P21,c(Q290)) (Q451833,P21,c(Q290)) (Q73007,P21,c(Q290)) (Q460882,P21,c(Q290)) (Q2975586,P21,c(Q290)) (Q28755,P21,c(Q290)) (Q7405121,P21,c(Q290)) (Q3163012,P21,c(Q290)) (Q259737,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q465442', 'P21', {'concept': 'Q290'}] ['Q957024', 'P21', {'concept': 'Q290'}] ['Q451833', 'P21', {'concept': 'Q290'}] ['Q73007', 'P21', {'concept': 'Q290'}] ['Q460882', 'P21', {'concept': 'Q290'}] ['Q2975586', 'P21', {'concept': 'Q290'}] ['Q28755', 'P21', {'concept': 'Q290'}] ['Q7405121', 'P21', {'concept': 'Q290'}] ['Q3163012', 'P21', {'concept': 'Q290'}] ['Q259737', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?a property:P21 ?n . VALUES ( ?a ) { ( resource:Q491264 ) ( resource:Q2975586 ) ( resource:Q451833 ) } . ?n rdf:type ontology:Q290 }
male male male male male male male female male female
Those people belong to male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Robert Guillaume', 'gender', {'concept': 'sex'}] ['Joseph Williams', 'gender', {'concept': 'sex'}] ['Ernie Sabella', 'gender', {'concept': 'sex'}] ['Cheech Marin', 'gender', {'concept': 'sex'}] ['Jonathan Taylor Thomas', 'gender', {'concept': 'sex'}] ['Robert F. Hill', 'gender', {'concept': 'sex'}] ['Matthew Broderick', 'gender', {'concept': 'sex'}] ['Sally Dworsky', 'gender', {'concept': 'sex'}] ['Jason Weaver', 'gender', {'concept': 'sex'}] ['Madge Sinclair', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?a property:gender ?n . VALUES ( ?a ) { ( resource:Nathan_Lane ) ( resource:Robert_F._Hill ) ( resource:Ernie_Sabella ) } . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28755
P26
Q502895
USER
Which person is the life partner of Matthew Broderick ?
(Q28755,P26,c(Q502895))
action filter_type
action find
entity Q28755
relation P26
type Q502895
['Q28755', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q28755 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Matthew Broderick
action filter_type
action find
entity Matthew Broderick
relation spouse
type common name
['Matthew Broderick', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Matthew_Broderick property:spouse ?y . ?y rdf:type ontology:common_name }
[]
common name
Q170530
SYSTEM
Sarah Jessica Parker
Q170530
(Q28755,P26,c(Q502895))
action filter_type
action find
entity Q28755
relation P26
type Q502895
[ANSWER] is the life partner of Matthew Broderick
['Q28755', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q28755 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Sarah Jessica Parker
Sarah Jessica Parker is the life partner of Matthew Broderick
Sarah Jessica Parker
action filter_type
action find
entity Matthew Broderick
relation spouse
type common name
['Matthew Broderick', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Matthew_Broderick property:spouse ?y . ?y rdf:type ontology:common_name }
[]