Simple Question (Direct)
Simple Question
Q4812241
P161
Q502895
USER
Which people are in Así es el tango ?
(Q4812241,P161,c(Q502895))
action filter_type
action find
entity Q4812241
relation P161
type Q502895
['Q4812241', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4812241 property:P161 ?h . ?h rdf:type ontology:Q502895 }
Así es el tango
action filter_type
action find
entity Así es el tango
relation cast member
type common name
['Así es el tango', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Así_es_el_tango property:cast_member ?h . ?h rdf:type ontology:common_name }
[]
common name
Q1209692 Q977827 Q6701333
SYSTEM
Tita Merello, Tito Lusiardo, Luisa Vehil
Q977827 Q9021286 Q3881748 Q6701333 Q5042036 Q16613433 Q1209692
(Q4812241,P161,c(Q502895))
action filter_type
action find
entity Q4812241
relation P161
type Q502895
[ANSWERS] are in Así es el tango
['Q4812241', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4812241 property:P161 ?h . ?h rdf:type ontology:Q502895 }
Tito Lusiardo Lely Morel Olinda Bozán Luisa Vehil Carlos Enríquez Olga Mom Tita Merello
Tita Merello, Tito Lusiardo and Luisa Vehil are in Así es el tango
Tita Merello Tito Lusiardo Luisa Vehil
action filter_type
action find
entity Así es el tango
relation cast member
type common name
['Así es el tango', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Así_es_el_tango property:cast_member ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4812241
P57
Q502895
USER
Which person directed that work of art ?
(Q1209692,P57,c(Q502895)) (Q977827,P57,c(Q502895)) (Q6701333,P57,c(Q502895))
action filter_type
action find
entity Q4812241
relation P57
type Q502895
['Q1209692', 'P57', {'concept': 'Q502895'}] ['Q977827', 'P57', {'concept': 'Q502895'}] ['Q6701333', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q4812241 property:P57 ?w }
Así es el tango
action filter_type
action find
entity Así es el tango
relation director
type common name
['Tita Merello', 'director', {'concept': 'common name'}] ['Tito Lusiardo', 'director', {'concept': 'common name'}] ['Luisa Vehil', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Así_es_el_tango property:director ?w }
[]
common name
Q5340703
SYSTEM
Eduardo Morera
Q5340703
(Q1209692,P57,c(Q502895)) (Q977827,P57,c(Q502895)) (Q6701333,P57,c(Q502895))
action filter_type
action find
entity Q4812241
relation P57
type Q502895
[ANSWER] directed that work of art
['Q1209692', 'P57', {'concept': 'Q502895'}] ['Q977827', 'P57', {'concept': 'Q502895'}] ['Q6701333', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q4812241 property:P57 ?w }
Eduardo Morera
Eduardo Morera directed that work of art
Eduardo Morera
action filter_type
action find
entity Así es el tango
relation director
type common name
['Tita Merello', 'director', {'concept': 'common name'}] ['Tito Lusiardo', 'director', {'concept': 'common name'}] ['Luisa Vehil', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Así_es_el_tango property:director ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P57
Q838948
USER
How many works of art are that person a director of ?
(c(Q838948),P57,Q5340703)
action count
action filter_type
action find_reverse
entity Q5340703
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q5340703']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ontology:Q838948 . ?b property:P57 resource:Q5340703 }
action count
action filter_type
action find_reverse
entity Eduardo Morera
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Eduardo Morera']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ontology:work_of_art . ?b property:director resource:Eduardo_Morera }
[]
work of art
SYSTEM
7
Q5275234 Q4812241 Q6009766 Q8053816 Q2883595 Q3462706 Q5810928
(c(Q838948),P57,Q5340703)
action count
action filter_type
action find_reverse
entity Q5340703
relation P57
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q5340703']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ontology:Q838948 . ?b property:P57 resource:Q5340703 }
Diez canciones de Gardel Así es el tango Melodies of America Yira, yira Viejo smoking Rosas de otoño Idols of the Radio
7
action count
action filter_type
action find_reverse
entity Eduardo Morera
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Eduardo Morera']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ontology:work_of_art . ?b property:director resource:Eduardo_Morera }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q166142
USER
How many applications did approximately 23 people dub for ?
(c(Q166142),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 23
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { FILTER ( ?x = 23 ) . { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?x ) WHERE { ?y rdf:type ontology:Q166142 . ?f rdf:type ontology:Q502895 . ?y property:P725 ?f } GROUP BY ?y } }
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
value 23
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { FILTER ( ?x = 23 ) . { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?x ) WHERE { ?y rdf:type ontology:application . ?f rdf:type ontology:common_name . ?y property:voice_actor ?f } GROUP BY ?y } }
[]
common name application
SYSTEM
3
Q1052131 Q1371603 Q2666042
(c(Q166142),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 23
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { FILTER ( ?x = 23 ) . { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?x ) WHERE { ?y rdf:type ontology:Q166142 . ?f rdf:type ontology:Q502895 . ?y property:P725 ?f } GROUP BY ?y } }
Super Smash Bros. Melee Star Fox 64 3D Star Fox: Assault
3
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
value 23
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { FILTER ( ?x = 23 ) . { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?x ) WHERE { ?y rdf:type ontology:application . ?f rdf:type ontology:common_name . ?y property:voice_actor ?f } GROUP BY ?y } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5340703
P19
Q515
USER
Which city was Eduardo Morera born in ?
(Q5340703,P19,c(Q515))
action filter_type
action find
entity Q5340703
relation P19
type Q515
['Q5340703', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q515 . resource:Q5340703 property:P19 ?s }
Eduardo Morera
action filter_type
action find
entity Eduardo Morera
relation place of birth
type city
['Eduardo Morera', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:city . resource:Eduardo_Morera property:place_of_birth ?s }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
(Q5340703,P19,c(Q515))
action filter_type
action find
entity Q5340703
relation P19
type Q515
Eduardo Morera was born in [ANSWER]
['Q5340703', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q515 . resource:Q5340703 property:P19 ?s }
Buenos Aires
Eduardo Morera was born in Buenos Aires
Buenos Aires
action filter_type
action find
entity Eduardo Morera
relation place of birth
type city
['Eduardo Morera', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:city . resource:Eduardo_Morera property:place_of_birth ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1376
Q15617994 Q7275
USER
How many administrative territories or states have that city as their capital ?
(Q1486,P1376,c(Q15617994)) (Q1486,P1376,c(Q7275)) (Q1486,P1376,c(Q15617994)) (Q1486,P1376,c(Q7275))
action count
action union
action filter_type
action find
entity Q1486
relation P1376
type Q15617994
action filter_type
action find
entity Q1486
relation P1376
type Q7275
['Q1486', 'P1376', {'concept': 'Q15617994'}] ['Q1486', 'P1376', {'concept': 'Q7275'}] ['Q1486', 'P1376', {'concept': 'Q15617994'}] ['Q1486', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { ?n rdf:type ontology:Q15617994 . resource:Q1486 property:P1376 ?n } UNION { resource:Q1486 property:P1376 ?n . ?n rdf:type ontology:Q7275 } }
action count
action union
action filter_type
action find
entity Buenos Aires
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Buenos Aires
relation capital of
type state
['Buenos Aires', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Buenos Aires', 'capital of', {'concept': 'state'}] ['Buenos Aires', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Buenos Aires', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Buenos_Aires property:capital_of ?n } UNION { resource:Buenos_Aires property:capital_of ?n . ?n rdf:type ontology:state } }
[]
designation for an administrative territorial entity state
SYSTEM
2
Q738144 Q414
(Q1486,P1376,c(Q15617994)) (Q1486,P1376,c(Q7275)) (Q1486,P1376,c(Q15617994)) (Q1486,P1376,c(Q7275))
action count
action union
action filter_type
action find
entity Q1486
relation P1376
type Q15617994
action filter_type
action find
entity Q1486
relation P1376
type Q7275
[ANSWER]
['Q1486', 'P1376', {'concept': 'Q15617994'}] ['Q1486', 'P1376', {'concept': 'Q7275'}] ['Q1486', 'P1376', {'concept': 'Q15617994'}] ['Q1486', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { ?n rdf:type ontology:Q15617994 . resource:Q1486 property:P1376 ?n } UNION { resource:Q1486 property:P1376 ?n . ?n rdf:type ontology:Q7275 } }
United Provinces of the Río de la Plata Argentina
2
action count
action union
action filter_type
action find
entity Buenos Aires
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Buenos Aires
relation capital of
type state
['Buenos Aires', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Buenos Aires', 'capital of', {'concept': 'state'}] ['Buenos Aires', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Buenos Aires', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Buenos_Aires property:capital_of ?n } UNION { resource:Buenos_Aires property:capital_of ?n . ?n rdf:type ontology:state } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1486
P36
Q7275
USER
Which state has Buenos Aires as its administrative centre ?
(c(Q7275),P36,Q1486)
action filter_type
action find_reverse
entity Q1486
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q1486']
SELECT DISTINCT ?z WHERE { ?z property:P36 resource:Q1486 . ?z rdf:type ontology:Q7275 }
Buenos Aires
action filter_type
action find_reverse
entity Buenos Aires
relation capital
type state
[{'concept': 'state'}, 'capital', 'Buenos Aires']
SELECT DISTINCT ?z WHERE { ?z property:capital resource:Buenos_Aires . ?z rdf:type ontology:state }
[]
state
Q738144
SYSTEM
United Provinces of the Río de la Plata
Q738144
(c(Q7275),P36,Q1486)
action filter_type
action find_reverse
entity Q1486
relation P36
type Q7275
The [ANSWER] has Buenos Aires as its administrative centre
[{'concept': 'Q7275'}, 'P36', 'Q1486']
SELECT DISTINCT ?z WHERE { ?z property:P36 resource:Q1486 . ?z rdf:type ontology:Q7275 }
United Provinces of the Río de la Plata
The United Provinces of the Río de la Plata has Buenos Aires as its administrative centre
United Provinces of the Río de la Plata
action filter_type
action find_reverse
entity Buenos Aires
relation capital
type state
[{'concept': 'state'}, 'capital', 'Buenos Aires']
SELECT DISTINCT ?z WHERE { ?z property:capital resource:Buenos_Aires . ?z rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6701333
P9
Q502895
USER
Whose sister is Luisa Vehil ?
(c(Q502895),P9,Q6701333)
action filter_type
action find_reverse
entity Q6701333
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q6701333']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P9 resource:Q6701333 }
Luisa Vehil
action filter_type
action find_reverse
entity Luisa Vehil
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Luisa Vehil']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:sister resource:Luisa_Vehil }
[]
common name
Q16585217
SYSTEM
Juan Vehil
Q16585217
(c(Q502895),P9,Q6701333)
action filter_type
action find_reverse
entity Q6701333
relation P9
type Q502895
[ANSWER] is Luisa Vehil
[{'concept': 'Q502895'}, 'P9', 'Q6701333']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P9 resource:Q6701333 }
Juan Vehil
Juan Vehil is Luisa Vehil
Juan Vehil
action filter_type
action find_reverse
entity Luisa Vehil
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Luisa Vehil']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:sister resource:Luisa_Vehil }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1209692
P119
Q43229
USER
Which organization is the place of burial of Tita Merello ?
(Q1209692,P119,c(Q43229))
action filter_type
action find
entity Q1209692
relation P119
type Q43229
['Q1209692', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q1209692 property:P119 ?e . ?e rdf:type ontology:Q43229 }
Tita Merello
action filter_type
action find
entity Tita Merello
relation place of burial
type organization
['Tita Merello', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:Tita_Merello property:place_of_burial ?e . ?e rdf:type ontology:organization }
[]
organization
Q831300
SYSTEM
La Chacarita Cemetery
Q831300
(Q1209692,P119,c(Q43229))
action filter_type
action find
entity Q1209692
relation P119
type Q43229
[ANSWER] is the place of burial of Tita Merello
['Q1209692', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q1209692 property:P119 ?e . ?e rdf:type ontology:Q43229 }
La Chacarita Cemetery
La Chacarita Cemetery is the place of burial of Tita Merello
La Chacarita Cemetery
action filter_type
action find
entity Tita Merello
relation place of burial
type organization
['Tita Merello', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:Tita_Merello property:place_of_burial ?e . ?e rdf:type ontology:organization }
[]