Simple Question (Direct)
Simple Question
Q6744189
P166
Q618779
USER
What was received by Mallika Srinivasan ?
(Q6744189,P166,c(Q618779))
action filter_type
action find
entity Q6744189
relation P166
type Q618779
['Q6744189', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q618779 . resource:Q6744189 property:P166 ?l }
Mallika Srinivasan
action filter_type
action find
entity Mallika Srinivasan
relation award received
type award
['Mallika Srinivasan', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:award . resource:Mallika_Srinivasan property:award_received ?l }
[]
award
Q949193
SYSTEM
Padma Shri
Q949193
(Q6744189,P166,c(Q618779))
action filter_type
action find
entity Q6744189
relation P166
type Q618779
[ANSWER] was received by Mallika Srinivasan
['Q6744189', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q618779 . resource:Q6744189 property:P166 ?l }
Padma Shri
Padma Shri was received by Mallika Srinivasan
Padma Shri
action filter_type
action find
entity Mallika Srinivasan
relation award received
type award
['Mallika Srinivasan', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:award . resource:Mallika_Srinivasan property:award_received ?l }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P674
Q502895 Q15850590 Q838948
USER
Which people plays a role in max number of theatrical genres and works of art ?
(c(Q15850590)|c(Q838948),P674,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
[[{'concept': 'Q15850590'}, {'concept': 'Q838948'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:Q838948 ) ( ontology:Q15850590 ) } } GROUP BY ?f } } . FILTER ( ?t = ?j ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?t ) WHERE { { ?n property:P674 ?z . ?z rdf:type ontology:Q502895 . ?n rdf:type ontology:Q838948 } UNION { ?n property:P674 ?z . ?z rdf:type ontology:Q502895 . ?n rdf:type ontology:Q15850590 } } GROUP BY ?z } }
action argmax
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type work of art
[[{'concept': 'theatrical genre'}, {'concept': 'work of art'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:work_of_art ) ( ontology:theatrical_genre ) } } GROUP BY ?f } } . FILTER ( ?t = ?j ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?t ) WHERE { { ?n property:characters ?z . ?z rdf:type ontology:common_name . ?n rdf:type ontology:work_of_art } UNION { ?n property:characters ?z . ?z rdf:type ontology:common_name . ?n rdf:type ontology:theatrical_genre } } GROUP BY ?z } }
[]
common name theatrical genre work of art
Q7322
SYSTEM
Christopher Columbus
Q7322
(c(Q15850590)|c(Q838948),P674,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
[ANSWER] plays a role in max number of theatrical genres and works of art
[[{'concept': 'Q15850590'}, {'concept': 'Q838948'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:Q838948 ) ( ontology:Q15850590 ) } } GROUP BY ?f } } . FILTER ( ?t = ?j ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?t ) WHERE { { ?n property:P674 ?z . ?z rdf:type ontology:Q502895 . ?n rdf:type ontology:Q838948 } UNION { ?n property:P674 ?z . ?z rdf:type ontology:Q502895 . ?n rdf:type ontology:Q15850590 } } GROUP BY ?z } }
Christopher Columbus
Christopher Columbus plays a role in max number of theatrical genres and works of art
Christopher Columbus
action argmax
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type work of art
[[{'concept': 'theatrical genre'}, {'concept': 'work of art'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:work_of_art ) ( ontology:theatrical_genre ) } } GROUP BY ?f } } . FILTER ( ?t = ?j ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?t ) WHERE { { ?n property:characters ?z . ?z rdf:type ontology:common_name . ?n rdf:type ontology:work_of_art } UNION { ?n property:characters ?z . ?z rdf:type ontology:common_name . ?n rdf:type ontology:theatrical_genre } } GROUP BY ?z } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7322
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q7322)
action filter_type
action find
entity Q7322
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q7322']
SELECT DISTINCT ?m WHERE { resource:Q7322 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Christopher Columbus
action filter_type
action find
entity Christopher Columbus
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Christopher Columbus']
SELECT DISTINCT ?m WHERE { resource:Christopher_Columbus property:spouse ?m . ?m rdf:type ontology:common_name }
[]
common name
Q2410239
SYSTEM
Filipa Moniz Perestrelo
Q2410239
(c(Q502895),P26,Q7322)
action filter_type
action find
entity Q7322
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q7322']
SELECT DISTINCT ?m WHERE { resource:Q7322 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Filipa Moniz Perestrelo
Filipa Moniz Perestrelo is married to that one
Filipa Moniz Perestrelo
action filter_type
action find
entity Christopher Columbus
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Christopher Columbus']
SELECT DISTINCT ?m WHERE { resource:Christopher_Columbus property:spouse ?m . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q6619679
USER
Which fictional humanoids have been dubbed by around 3 people ?
(c(Q6619679),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 3
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?d ) WHERE { ?h property:P725 ?p . ?h rdf:type ontology:Q6619679 . ?p rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?d = 3 ) }
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 3
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?d ) WHERE { ?h property:voice_actor ?p . ?h rdf:type ontology:fictional_humanoid . ?p rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?d = 3 ) }
[]
common name fictional humanoid
Q15707554 Q994344 Q716636
SYSTEM
Apple Bloom, Ezio Auditore da Firenze, Mr. Burns
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q718965 Q3784876 Q1148698 Q11382982 Q18073923 Q18156023 Q6989902 Q11514862 Q15726744 Q601978 Q19796729 Q931 Q716636
(c(Q6619679),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 3
[ANSWERS] have been dubbed by around 3 people
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?d ) WHERE { ?h property:P725 ?p . ?h rdf:type ontology:Q6619679 . ?p rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?d = 3 ) }
Apple Bloom Sayaka Miki Diamond Tiara Mami Tomoe Ezio Auditore da Firenze Madoka Kaname Hinata Hyuga Henrietta Ai Haibara Kyoko Sakura Sunset Shimmer Maud Pie Neku Sakuraba Homura Akemi Silver Spoon Kyon Michelle Naruto Uzumaki Mr. Burns
Apple Bloom, Ezio Auditore da Firenze and Mr. Burns have been dubbed by around 3 people
Apple Bloom Ezio Auditore da Firenze Mr. Burns
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 3
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?d ) WHERE { ?h property:voice_actor ?p . ?h rdf:type ontology:fictional_humanoid . ?p rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?d = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7322
P101
Q502895
USER
Who works in the domain of Christopher Columbus ?
(c(Q502895),P101,Q7322)
action filter_type
action find_reverse
entity Q7322
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q7322']
SELECT DISTINCT ?z WHERE { ?z property:P101 resource:Q7322 . ?z rdf:type ontology:Q502895 }
Christopher Columbus
action filter_type
action find_reverse
entity Christopher Columbus
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Christopher Columbus']
SELECT DISTINCT ?z WHERE { ?z property:field_of_work resource:Christopher_Columbus . ?z rdf:type ontology:common_name }
[]
common name
Q9050264
SYSTEM
Nito Verdera
Q9050264
(c(Q502895),P101,Q7322)
action filter_type
action find_reverse
entity Q7322
relation P101
type Q502895
[ANSWER] works in the domain of Christopher Columbus
[{'concept': 'Q502895'}, 'P101', 'Q7322']
SELECT DISTINCT ?z WHERE { ?z property:P101 resource:Q7322 . ?z rdf:type ontology:Q502895 }
Nito Verdera
Nito Verdera works in the domain of Christopher Columbus
Nito Verdera
action filter_type
action find_reverse
entity Christopher Columbus
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Christopher Columbus']
SELECT DISTINCT ?z WHERE { ?z property:field_of_work resource:Christopher_Columbus . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9050264
P19
Q271669
USER
Where was that person born ?
(Q9050264,P19,c(Q271669))
action filter_type
action find
entity Q9050264
relation P19
type Q271669
['Q9050264', 'P19', {'concept': 'Q271669'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q271669 . resource:Q9050264 property:P19 ?t }
Nito Verdera
action filter_type
action find
entity Nito Verdera
relation place of birth
type landform
['Nito Verdera', 'place of birth', {'concept': 'landform'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:landform . resource:Nito_Verdera property:place_of_birth ?t }
[]
landform
Q52631
SYSTEM
Ibiza
Q52631
(Q9050264,P19,c(Q271669))
action filter_type
action find
entity Q9050264
relation P19
type Q271669
That person was born in [ANSWER]
['Q9050264', 'P19', {'concept': 'Q271669'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q271669 . resource:Q9050264 property:P19 ?t }
Ibiza
That person was born in Ibiza
Ibiza
action filter_type
action find
entity Nito Verdera
relation place of birth
type landform
['Nito Verdera', 'place of birth', {'concept': 'landform'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:landform . resource:Nito_Verdera property:place_of_birth ?t }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q15707554 Q15726738
P674
Q36649
USER
How many visual artss are Apple Bloom and Snips a character of ?
(c(Q36649),P674,Q15707554) (c(Q36649),P674,Q15726738)
action count
action intersection
action filter_type
action find_reverse
entity Q15707554
relation P674
type Q36649
action filter_type
action find_reverse
entity Q15726738
relation P674
type Q36649
[{'concept': 'Q36649'}, 'P674', 'Q15707554'] [{'concept': 'Q36649'}, 'P674', 'Q15726738']
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n rdf:type ontology:Q36649 . ?n property:P674 resource:Q15707554 . ?n property:P674 resource:Q15726738 . ?n rdf:type ontology:Q36649 }
Apple Bloom Snips
action count
action intersection
action filter_type
action find_reverse
entity Apple Bloom
relation characters
type visual arts
action filter_type
action find_reverse
entity Snips
relation characters
type visual arts
[{'concept': 'visual arts'}, 'characters', 'Apple Bloom'] [{'concept': 'visual arts'}, 'characters', 'Snips']
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n rdf:type ontology:visual_arts . ?n property:characters resource:Apple_Bloom . ?n property:characters resource:Snips . ?n rdf:type ontology:visual_arts }
[]
visual arts
SYSTEM
3
Q15723614 Q15889942 Q15720633
(c(Q36649),P674,Q15707554) (c(Q36649),P674,Q15726738)
action count
action intersection
action filter_type
action find_reverse
entity Q15707554
relation P674
type Q36649
action filter_type
action find_reverse
entity Q15726738
relation P674
type Q36649
[ANSWER]
[{'concept': 'Q36649'}, 'P674', 'Q15707554'] [{'concept': 'Q36649'}, 'P674', 'Q15726738']
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n rdf:type ontology:Q36649 . ?n property:P674 resource:Q15707554 . ?n property:P674 resource:Q15726738 . ?n rdf:type ontology:Q36649 }
Magic Duel For Whom the Sweetie Belle Toils Ponyville Confidential
3
action count
action intersection
action filter_type
action find_reverse
entity Apple Bloom
relation characters
type visual arts
action filter_type
action find_reverse
entity Snips
relation characters
type visual arts
[{'concept': 'visual arts'}, 'characters', 'Apple Bloom'] [{'concept': 'visual arts'}, 'characters', 'Snips']
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n rdf:type ontology:visual_arts . ?n property:characters resource:Apple_Bloom . ?n property:characters resource:Snips . ?n rdf:type ontology:visual_arts }
[]