Simple Question (Direct)
Simple Question
Q213911
P674
Q95074
USER
Who plays a role in The Legend of Zelda: Ocarina of Time ?
(Q213911,P674,c(Q95074))
action filter_type
action find
entity Q213911
relation P674
type Q95074
['Q213911', 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?h WHERE { resource:Q213911 property:P674 ?h . ?h rdf:type ontology:Q95074 }
The Legend of Zelda: Ocarina of Time
action filter_type
action find
entity The Legend of Zelda: Ocarina of Time
relation characters
type fictional character
['The Legend of Zelda: Ocarina of Time', 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?h WHERE { resource:The_Legend_of_Zelda:_Ocarina_of_Time property:characters ?h . ?h rdf:type ontology:fictional_character }
[]
fictional character
Q1067046
SYSTEM
Princess Zelda
Q1067046
(Q213911,P674,c(Q95074))
action filter_type
action find
entity Q213911
relation P674
type Q95074
[ANSWER] plays a role in The Legend of Zelda: Ocarina of Time
['Q213911', 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?h WHERE { resource:Q213911 property:P674 ?h . ?h rdf:type ontology:Q95074 }
Princess Zelda
Princess Zelda plays a role in The Legend of Zelda: Ocarina of Time
Princess Zelda
action filter_type
action find
entity The Legend of Zelda: Ocarina of Time
relation characters
type fictional character
['The Legend of Zelda: Ocarina of Time', 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?h WHERE { resource:The_Legend_of_Zelda:_Ocarina_of_Time property:characters ?h . ?h rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1067046
P138
Q502895
USER
Which person is the eponym of that fictional character ?
(c(Q502895),P138,Q1067046)
action filter_type
action find_reverse
entity Q1067046
relation P138
type Q502895
[{'concept': 'Q502895'}, 'P138', 'Q1067046']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P138 resource:Q1067046 }
Princess Zelda
action filter_type
action find_reverse
entity Princess Zelda
relation named after
type common name
[{'concept': 'common name'}, 'named after', 'Princess Zelda']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:named_after resource:Princess_Zelda }
[]
common name
Q187337
SYSTEM
Zelda Williams
Q187337
(c(Q502895),P138,Q1067046)
action filter_type
action find_reverse
entity Q1067046
relation P138
type Q502895
[ANSWER] is the eponym of that fictional character
[{'concept': 'Q502895'}, 'P138', 'Q1067046']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P138 resource:Q1067046 }
Zelda Williams
Zelda Williams is the eponym of that fictional character
Zelda Williams
action filter_type
action find_reverse
entity Princess Zelda
relation named after
type common name
[{'concept': 'common name'}, 'named after', 'Princess Zelda']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:named_after resource:Princess_Zelda }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q6619679
USER
Which fictional humanoids did min number of people do the dubbing for ?
(c(Q6619679),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?m ) WHERE { ?w rdf:type ontology:Q6619679 . ?j rdf:type ontology:Q502895 . ?w property:P725 ?j } GROUP BY ?w } . FILTER ( ?m = ?n ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?n ) { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?y ) WHERE { ?x rdf:type ontology:Q6619679 . ?d rdf:type ontology:Q502895 . ?x property:P725 ?d } GROUP BY ?x } } }
action argmin
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?m ) WHERE { ?w rdf:type ontology:fictional_humanoid . ?j rdf:type ontology:common_name . ?w property:voice_actor ?j } GROUP BY ?w } . FILTER ( ?m = ?n ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?n ) { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?y ) WHERE { ?x rdf:type ontology:fictional_humanoid . ?d rdf:type ontology:common_name . ?x property:voice_actor ?d } GROUP BY ?x } } }
[]
common name fictional humanoid
Q1623086 Q1205263 Q3149148
SYSTEM
Hector Barbossa, Eli Vance, Imoen
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q4006757 Q15614636 Q1056953 Q250221 Q3149148 Q757015 Q15620419 Q13471616 Q12879 Q1154920
(c(Q6619679),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q6619679
type Q502895
Min number of people did the dubbing for [ANSWERS]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?m ) WHERE { ?w rdf:type ontology:Q6619679 . ?j rdf:type ontology:Q502895 . ?w property:P725 ?j } GROUP BY ?w } . FILTER ( ?m = ?n ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?n ) { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?y ) WHERE { ?x rdf:type ontology:Q6619679 . ?d rdf:type ontology:Q502895 . ?x property:P725 ?d } GROUP BY ?x } } }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Utena Tenjo Anna (Disney) Minsc Alyx Vance Imoen Sailor Moon Elsa Mr. Bean Toph Beifong Father Grigori
Min number of people did the dubbing for Hector Barbossa, Eli Vance and Imoen
Hector Barbossa Eli Vance Imoen
action argmin
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?m ) WHERE { ?w rdf:type ontology:fictional_humanoid . ?j rdf:type ontology:common_name . ?w property:voice_actor ?j } GROUP BY ?w } . FILTER ( ?m = ?n ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?n ) { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?y ) WHERE { ?x rdf:type ontology:fictional_humanoid . ?d rdf:type ontology:common_name . ?x property:voice_actor ?d } GROUP BY ?x } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1205263 Q26769586
P734
Q82799
USER
How many names are associated with the name Eli Vance or Zombie Marie Curie ?
(Q1205263,P734,c(Q82799)) (Q26769586,P734,c(Q82799))
action count
action union
action filter_type
action find
entity Q1205263
relation P734
type Q82799
action filter_type
action find
entity Q26769586
relation P734
type Q82799
['Q1205263', 'P734', {'concept': 'Q82799'}] ['Q26769586', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { resource:Q1205263 property:P734 ?g . ?g rdf:type ontology:Q82799 } UNION { resource:Q26769586 property:P734 ?g . ?g rdf:type ontology:Q82799 } }
Eli Vance Zombie Marie Curie
action count
action union
action filter_type
action find
entity Eli Vance
relation family name
type name
action filter_type
action find
entity Zombie Marie Curie
relation family name
type name
['Eli Vance', 'family name', {'concept': 'name'}] ['Zombie Marie Curie', 'family name', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { resource:Eli_Vance property:family_name ?g . ?g rdf:type ontology:name } UNION { resource:Zombie_Marie_Curie property:family_name ?g . ?g rdf:type ontology:name } }
[]
name
SYSTEM
2
Q21429443 Q17126254
(Q1205263,P734,c(Q82799)) (Q26769586,P734,c(Q82799))
action count
action union
action filter_type
action find
entity Q1205263
relation P734
type Q82799
action filter_type
action find
entity Q26769586
relation P734
type Q82799
[ANSWER]
['Q1205263', 'P734', {'concept': 'Q82799'}] ['Q26769586', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { resource:Q1205263 property:P734 ?g . ?g rdf:type ontology:Q82799 } UNION { resource:Q26769586 property:P734 ?g . ?g rdf:type ontology:Q82799 } }
Curie Vance
2
action count
action union
action filter_type
action find
entity Eli Vance
relation family name
type name
action filter_type
action find
entity Zombie Marie Curie
relation family name
type name
['Eli Vance', 'family name', {'concept': 'name'}] ['Zombie Marie Curie', 'family name', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { resource:Eli_Vance property:family_name ?g . ?g rdf:type ontology:name } UNION { resource:Zombie_Marie_Curie property:family_name ?g . ?g rdf:type ontology:name } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P157
Q6619679 Q95074
USER
Which fictional characters were killed by exactly 1 fictional humanoid ?
(c(Q95074),P157,c(Q6619679))
action equal
action find_tuple_counts
relation P157
type Q95074
type Q6619679
value 1
[{'concept': 'Q95074'}, 'P157', {'concept': 'Q6619679'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?a ) WHERE { ?v property:P157 ?o . ?o rdf:type ontology:Q6619679 . ?v rdf:type ontology:Q95074 } GROUP BY ?v } . FILTER ( ?a = 1 ) }
action equal
action find_tuple_counts
relation killed by
type fictional character
type fictional humanoid
value 1
[{'concept': 'fictional character'}, 'killed by', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?a ) WHERE { ?v property:killed_by ?o . ?o rdf:type ontology:fictional_humanoid . ?v rdf:type ontology:fictional_character } GROUP BY ?v } . FILTER ( ?a = 1 ) }
[]
fictional humanoid fictional character
Q2552079
SYSTEM
Tara Maclay
Q2552079
(c(Q95074),P157,c(Q6619679))
action equal
action find_tuple_counts
relation P157
type Q95074
type Q6619679
value 1
[ANSWER] was killed by exactly 1 fictional humanoid
[{'concept': 'Q95074'}, 'P157', {'concept': 'Q6619679'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?a ) WHERE { ?v property:P157 ?o . ?o rdf:type ontology:Q6619679 . ?v rdf:type ontology:Q95074 } GROUP BY ?v } . FILTER ( ?a = 1 ) }
Tara Maclay
Tara Maclay was killed by exactly 1 fictional humanoid
Tara Maclay
action equal
action find_tuple_counts
relation killed by
type fictional character
type fictional humanoid
value 1
[{'concept': 'fictional character'}, 'killed by', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?a ) WHERE { ?v property:killed_by ?o . ?o rdf:type ontology:fictional_humanoid . ?v rdf:type ontology:fictional_character } GROUP BY ?v } . FILTER ( ?a = 1 ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2552079 Q42389 Q30
P27
Q15617994
USER
Is that fictional character a citizen of Felonica and United States of America ?
(Q2552079,P27,Q42389) (Q2552079,P27,Q30)
action is_in
entity Q2552079
action intersection
action find_reverse
entity Q42389
relation P27
action find_reverse
entity Q30
relation P27
['Q2552079', 'P27', 'Q42389'] ['Q2552079', 'P27', 'Q30']
ASK WHERE { resource:Q2552079 property:P27 resource:Q30 . resource:Q2552079 property:P27 resource:Q42389 }
Tara Maclay Felonica United States of America
action is_in
entity Tara Maclay
action intersection
action find_reverse
entity Felonica
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Tara Maclay', 'country of citizenship', 'Felonica'] ['Tara Maclay', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Tara_Maclay property:country_of_citizenship resource:United_States_of_America . resource:Tara_Maclay property:country_of_citizenship resource:Felonica }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q2552079,P27,Q42389) (Q2552079,P27,Q30)
action is_in
entity Q2552079
action intersection
action find_reverse
entity Q42389
relation P27
action find_reverse
entity Q30
relation P27
[ANSWER]
['Q2552079', 'P27', 'Q42389'] ['Q2552079', 'P27', 'Q30']
ASK WHERE { resource:Q2552079 property:P27 resource:Q30 . resource:Q2552079 property:P27 resource:Q42389 }
NO and YES respectively
action is_in
entity Tara Maclay
action intersection
action find_reverse
entity Felonica
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Tara Maclay', 'country of citizenship', 'Felonica'] ['Tara Maclay', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Tara_Maclay property:country_of_citizenship resource:United_States_of_America . resource:Tara_Maclay property:country_of_citizenship resource:Felonica }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2552079
P21
Q290
USER
Which sex does that fictional character have ?
action filter_type
action find
entity Q2552079
relation P21
type Q290
SELECT DISTINCT ?m WHERE { resource:Q2552079 property:P21 ?m . ?m rdf:type ontology:Q290 }
Tara Maclay
action filter_type
action find
entity Tara Maclay
relation gender
type sex
SELECT DISTINCT ?m WHERE { resource:Tara_Maclay property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
action filter_type
action find
entity Q2552079
relation P21
type Q290
That fictional character has a [ANSWER]
SELECT DISTINCT ?m WHERE { resource:Q2552079 property:P21 ?m . ?m rdf:type ontology:Q290 }
female
That fictional character has a female
female
action filter_type
action find
entity Tara Maclay
relation gender
type sex
SELECT DISTINCT ?m WHERE { resource:Tara_Maclay property:gender ?m . ?m rdf:type ontology:sex }
[]