Simple Question (Direct)
Simple Question
Q5564235
P58
Q502895
USER
Which person wrote the script for Giri ?
(Q5564235,P58,c(Q502895))
action filter_type
action find
entity Q5564235
relation P58
type Q502895
['Q5564235', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q5564235 property:P58 ?f . ?f rdf:type ontology:Q502895 }
Giri
action filter_type
action find
entity Giri
relation screenwriter
type common name
['Giri', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Giri property:screenwriter ?f . ?f rdf:type ontology:common_name }
[]
common name
Q7639214
SYSTEM
Sundar C.
Q7639214
(Q5564235,P58,c(Q502895))
action filter_type
action find
entity Q5564235
relation P58
type Q502895
[ANSWER] wrote the script for Giri
['Q5564235', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q5564235 property:P58 ?f . ?f rdf:type ontology:Q502895 }
Sundar C.
Sundar C. wrote the script for Giri
Sundar C.
action filter_type
action find
entity Giri
relation screenwriter
type common name
['Giri', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Giri property:screenwriter ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5564235
P86
Q502895
USER
Who wrote the music for that work of art ?
(Q7639214,P86,c(Q502895))
action filter_type
action find
entity Q5564235
relation P86
type Q502895
['Q7639214', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q5564235 property:P86 ?l . ?l rdf:type ontology:Q502895 }
Giri
action filter_type
action find
entity Giri
relation composer
type common name
['Sundar C.', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Giri property:composer ?l . ?l rdf:type ontology:common_name }
[]
common name
Q5203634
SYSTEM
D. Imman
Q5203634
(Q7639214,P86,c(Q502895))
action filter_type
action find
entity Q5564235
relation P86
type Q502895
[ANSWER] wrote the music for that work of art
['Q7639214', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q5564235 property:P86 ?l . ?l rdf:type ontology:Q502895 }
D. Imman
D. Imman wrote the music for that work of art
D. Imman
action filter_type
action find
entity Giri
relation composer
type common name
['Sundar C.', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Giri property:composer ?l . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15619164
USER
Which abstract beings have been dubbed by max number of people ?
(c(Q15619164),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15619164
type Q502895
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?u ) { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?s ) WHERE { ?m property:P725 ?o . ?m rdf:type ontology:Q15619164 . ?o rdf:type ontology:Q502895 } GROUP BY ?m } } . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:Q502895 . ?r rdf:type ontology:Q15619164 . ?r property:P725 ?v } GROUP BY ?r } . FILTER ( ?t = ?u ) }
action argmax
action find_tuple_counts
relation voice actor
type abstract being
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?u ) { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?s ) WHERE { ?m property:voice_actor ?o . ?m rdf:type ontology:abstract_being . ?o rdf:type ontology:common_name } GROUP BY ?m } } . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:common_name . ?r rdf:type ontology:abstract_being . ?r property:voice_actor ?v } GROUP BY ?r } . FILTER ( ?t = ?u ) }
[]
common name abstract being
Q5409355
SYSTEM
Fluttershy
Q5409355
(c(Q15619164),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15619164
type Q502895
[ANSWER] have been dubbed by max number of people
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?u ) { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?s ) WHERE { ?m property:P725 ?o . ?m rdf:type ontology:Q15619164 . ?o rdf:type ontology:Q502895 } GROUP BY ?m } } . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:Q502895 . ?r rdf:type ontology:Q15619164 . ?r property:P725 ?v } GROUP BY ?r } . FILTER ( ?t = ?u ) }
Fluttershy
Fluttershy have been dubbed by max number of people
Fluttershy
action argmax
action find_tuple_counts
relation voice actor
type abstract being
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?u ) { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?s ) WHERE { ?m property:voice_actor ?o . ?m rdf:type ontology:abstract_being . ?o rdf:type ontology:common_name } GROUP BY ?m } } . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:common_name . ?r rdf:type ontology:abstract_being . ?r property:voice_actor ?v } GROUP BY ?r } . FILTER ( ?t = ?u ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5409355 Q19880548
P674
Q36649
USER
Is that abstract being a character of I Alone ?
(Q19880548,P674,Q5409355)
action is_in
entity Q19880548
action find
entity Q5409355
relation P674
['Q19880548', 'P674', 'Q5409355']
ASK WHERE { resource:Q5409355 property:P674 resource:Q19880548 }
Fluttershy I Alone
action is_in
entity I Alone
action find
entity Fluttershy
relation characters
['I Alone', 'characters', 'Fluttershy']
ASK WHERE { resource:Fluttershy property:characters resource:I_Alone }
[]
visual arts
SYSTEM
NO
(Q19880548,P674,Q5409355)
action is_in
entity Q19880548
action find
entity Q5409355
relation P674
[ANSWER]
['Q19880548', 'P674', 'Q5409355']
ASK WHERE { resource:Q5409355 property:P674 resource:Q19880548 }
No
action is_in
entity I Alone
action find
entity Fluttershy
relation characters
['I Alone', 'characters', 'Fluttershy']
ASK WHERE { resource:Fluttershy property:characters resource:I_Alone }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5203634 Q668
P27
Q15617994
USER
Is India the country of citizenship of that person ?
(Q5203634,P27,Q668)
action is_in
entity Q668
action find
entity Q5203634
relation P27
['Q5203634', 'P27', 'Q668']
ASK WHERE { resource:Q5203634 property:P27 resource:Q668 }
D. Imman India
action is_in
entity India
action find
entity D. Imman
relation country of citizenship
['D. Imman', 'country of citizenship', 'India']
ASK WHERE { resource:D._Imman property:country_of_citizenship resource:India }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5203634,P27,Q668)
action is_in
entity Q668
action find
entity Q5203634
relation P27
[ANSWER]
['Q5203634', 'P27', 'Q668']
ASK WHERE { resource:Q5203634 property:P27 resource:Q668 }
Yes
action is_in
entity India
action find
entity D. Imman
relation country of citizenship
['D. Imman', 'country of citizenship', 'India']
ASK WHERE { resource:D._Imman property:country_of_citizenship resource:India }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5409355 Q12000509 Q1997085
P725
Q502895
USER
Has Fluttershy been dubbed by Simen Sand and Norbert Pallua ?
(Q5409355,P725,Q12000509) (Q5409355,P725,Q1997085)
action is_in
entity Q5409355
action intersection
action find_reverse
entity Q12000509
relation P725
action find_reverse
entity Q1997085
relation P725
['Q5409355', 'P725', 'Q12000509'] ['Q5409355', 'P725', 'Q1997085']
ASK WHERE { resource:Q5409355 property:P725 resource:Q12000509 . resource:Q5409355 property:P725 resource:Q1997085 }
Fluttershy Simen Sand Norbert Pallua
action is_in
entity Fluttershy
action intersection
action find_reverse
entity Simen Sand
relation voice actor
action find_reverse
entity Norbert Pallua
relation voice actor
['Fluttershy', 'voice actor', 'Simen Sand'] ['Fluttershy', 'voice actor', 'Norbert Pallua']
ASK WHERE { resource:Fluttershy property:voice_actor resource:Simen_Sand . resource:Fluttershy property:voice_actor resource:Norbert_Pallua }
[]
common name
SYSTEM
YES and NO respectively
(Q5409355,P725,Q12000509) (Q5409355,P725,Q1997085)
action is_in
entity Q5409355
action intersection
action find_reverse
entity Q12000509
relation P725
action find_reverse
entity Q1997085
relation P725
[ANSWER]
['Q5409355', 'P725', 'Q12000509'] ['Q5409355', 'P725', 'Q1997085']
ASK WHERE { resource:Q5409355 property:P725 resource:Q12000509 . resource:Q5409355 property:P725 resource:Q1997085 }
YES and NO respectively
action is_in
entity Fluttershy
action intersection
action find_reverse
entity Simen Sand
relation voice actor
action find_reverse
entity Norbert Pallua
relation voice actor
['Fluttershy', 'voice actor', 'Simen Sand'] ['Fluttershy', 'voice actor', 'Norbert Pallua']
ASK WHERE { resource:Fluttershy property:voice_actor resource:Simen_Sand . resource:Fluttershy property:voice_actor resource:Norbert_Pallua }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5564235 Q4791550
P161
Q502895
USER
Is Arjun in Giri ?
(Q5564235,P161,Q4791550)
action is_in
entity Q4791550
action find
entity Q5564235
relation P161
['Q5564235', 'P161', 'Q4791550']
ASK WHERE { resource:Q5564235 property:P161 resource:Q4791550 }
Giri Arjun
action is_in
entity Arjun
action find
entity Giri
relation cast member
['Giri', 'cast member', 'Arjun']
ASK WHERE { resource:Giri property:cast_member resource:Arjun }
[]
common name
SYSTEM
YES
(Q5564235,P161,Q4791550)
action is_in
entity Q4791550
action find
entity Q5564235
relation P161
[ANSWER]
['Q5564235', 'P161', 'Q4791550']
ASK WHERE { resource:Q5564235 property:P161 resource:Q4791550 }
Yes
action is_in
entity Arjun
action find
entity Giri
relation cast member
['Giri', 'cast member', 'Arjun']
ASK WHERE { resource:Giri property:cast_member resource:Arjun }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5203634
P735
Q82799
USER
Which name is D. Imman known by ?
(Q5203634,P735,c(Q82799))
action filter_type
action find
entity Q5203634
relation P735
type Q82799
['Q5203634', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q5203634 property:P735 ?a }
D. Imman
action filter_type
action find
entity D. Imman
relation given name
type name
['D. Imman', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:D._Imman property:given_name ?a }
[]
name
Q19803500
SYSTEM
D.
Q19803500
(Q5203634,P735,c(Q82799))
action filter_type
action find
entity Q5203634
relation P735
type Q82799
[ANSWER] Imman is known as [ANSWER]
['Q5203634', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q5203634 property:P735 ?a }
D.
D. Imman is known as D.
D.
action filter_type
action find
entity D. Imman
relation given name
type name
['D. Imman', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:D._Imman property:given_name ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5203634
P21
Q290
USER
What is the sex of that person ?
(Q19803500,P21,c(Q290))
action filter_type
action find
entity Q5203634
relation P21
type Q290
['Q19803500', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5203634 property:P21 ?r . ?r rdf:type ontology:Q290 }
D. Imman
action filter_type
action find
entity D. Imman
relation gender
type sex
['D.', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:D._Imman property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19803500,P21,c(Q290))
action filter_type
action find
entity Q5203634
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q19803500', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5203634 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity D. Imman
relation gender
type sex
['D.', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:D._Imman property:gender ?r . ?r rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15619164 Q15709879 Q2342494
USER
How many abstract beings are depicted in atleast 1 artwork series or collectables ?
(c(Q15709879)|c(Q2342494),P180,c(Q15619164))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q2342494
value 1
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?s WHERE { { ?x property:P180 ?s . ?s rdf:type ontology:Q15619164 . ?x rdf:type ontology:Q15709879 } UNION { ?x property:P180 ?s . ?x rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q15619164 } } GROUP BY ?s } . FILTER ( ?o >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type abstract being
type artwork series
action find_reverse_tuple_counts
relation depicts
type abstract being
type collectable
value 1
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?s WHERE { { ?x property:depicts ?s . ?s rdf:type ontology:abstract_being . ?x rdf:type ontology:artwork_series } UNION { ?x property:depicts ?s . ?x rdf:type ontology:collectable . ?s rdf:type ontology:abstract_being } } GROUP BY ?s } . FILTER ( ?o >= 1 ) }
[]
abstract being artwork series collectable
SYSTEM
3
Q302 Q165170 Q654361
(c(Q15709879)|c(Q2342494),P180,c(Q15619164))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q2342494
value 1
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?s WHERE { { ?x property:P180 ?s . ?s rdf:type ontology:Q15619164 . ?x rdf:type ontology:Q15709879 } UNION { ?x property:P180 ?s . ?x rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q15619164 } } GROUP BY ?s } . FILTER ( ?o >= 1 ) }
Jesus Christ Europa genius
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type abstract being
type artwork series
action find_reverse_tuple_counts
relation depicts
type abstract being
type collectable
value 1
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) ?s WHERE { { ?x property:depicts ?s . ?s rdf:type ontology:abstract_being . ?x rdf:type ontology:artwork_series } UNION { ?x property:depicts ?s . ?x rdf:type ontology:collectable . ?s rdf:type ontology:abstract_being } } GROUP BY ?s } . FILTER ( ?o >= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1601061 Q5203634
P19 P20
Q56061
USER
Which administrative territories are the birthplace of D. Imman or did the expiration of Heinz Thomas occur ?
OR((Q5203634,P19,c(Q56061)), (Q1601061,P20,c(Q56061)))
action filter_type
action union
action find
entity Q5203634
relation P19
action find
entity Q1601061
relation P20
type Q56061
{'OR': [['Q5203634', 'P19', {'concept': 'Q56061'}], ['Q1601061', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . { { resource:Q5203634 property:P19 ?w } UNION { resource:Q1601061 property:P20 ?w } } }
Heinz Thomas D. Imman
action filter_type
action union
action find
entity D. Imman
relation place of birth
action find
entity Heinz Thomas
relation place of death
type administrative territorial entity
{'OR': [['D. Imman', 'place of birth', {'concept': 'administrative territorial entity'}], ['Heinz Thomas', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . { { resource:D._Imman property:place_of_birth ?w } UNION { resource:Heinz_Thomas property:place_of_death ?w } } }
[]
administrative territorial entity
Q1726 Q1352
SYSTEM
Munich, Chennai
Q1726 Q1352
OR((Q5203634,P19,c(Q56061)), (Q1601061,P20,c(Q56061)))
action filter_type
action union
action find
entity Q5203634
relation P19
action find
entity Q1601061
relation P20
type Q56061
[ANSWERS] are the birthplace of D. Imman or did the expiration of Heinz Thomas occur
{'OR': [['Q5203634', 'P19', {'concept': 'Q56061'}], ['Q1601061', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . { { resource:Q5203634 property:P19 ?w } UNION { resource:Q1601061 property:P20 ?w } } }
Munich Chennai
Munich and Chennai are the birthplace of D. Imman or did the expiration of Heinz Thomas occur
Munich Chennai
action filter_type
action union
action find
entity D. Imman
relation place of birth
action find
entity Heinz Thomas
relation place of death
type administrative territorial entity
{'OR': [['D. Imman', 'place of birth', {'concept': 'administrative territorial entity'}], ['Heinz Thomas', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . { { resource:D._Imman property:place_of_birth ?w } UNION { resource:Heinz_Thomas property:place_of_death ?w } } }
[]