Simple Question (Direct)
Simple Question
Q2923181
P19
Q56061
USER
Which administrative territory is the birthplace of Juan Ramón López Muñiz ?
(Q2923181,P19,c(Q56061))
action filter_type
action find
entity Q2923181
relation P19
type Q56061
['Q2923181', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q2923181 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Juan Ramón López Muñiz
action filter_type
action find
entity Juan Ramón López Muñiz
relation place of birth
type administrative territorial entity
['Juan Ramón López Muñiz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Juan_Ramón_López_Muñiz property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12273
SYSTEM
Gijón
Q12273
(Q2923181,P19,c(Q56061))
action filter_type
action find
entity Q2923181
relation P19
type Q56061
[ANSWER] is the birthplace of Juan Ramón López Muñiz
['Q2923181', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q2923181 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Gijón
Gijón is the birthplace of Juan Ramón López Muñiz
Gijón
action filter_type
action find
entity Juan Ramón López Muñiz
relation place of birth
type administrative territorial entity
['Juan Ramón López Muñiz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Juan_Ramón_López_Muñiz property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12273
P551
Q502895
USER
Who reside at that administrative territory ?
(c(Q502895),P551,Q12273)
action filter_type
action find_reverse
entity Q12273
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q12273']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P551 resource:Q12273 }
Gijón
action filter_type
action find_reverse
entity Gijón
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Gijón']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:residence resource:Gijón }
[]
common name
Q4897422 Q4891703
SYSTEM
Evaristo Valle, Nicanor Piñole
Q4897422 Q4891703
(c(Q502895),P551,Q12273)
action filter_type
action find_reverse
entity Q12273
relation P551
type Q502895
[ANSWERS] reside at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q12273']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P551 resource:Q12273 }
Evaristo Valle Nicanor Piñole
Evaristo Valle and Nicanor Piñole reside at that administrative territory
Evaristo Valle Nicanor Piñole
action filter_type
action find_reverse
entity Gijón
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Gijón']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:residence resource:Gijón }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can approximately 3573 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3573
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 . ?o property:P1303 ?p } GROUP BY ?p } . FILTER ( ?t = 3573 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3573
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument . ?o property:instrument ?p } GROUP BY ?p } . FILTER ( ?t = 3573 ) }
[]
musical instrument common name
Q8355 Q1444
SYSTEM
violin, organ
Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3573
[ANSWERS] can approximately 3573 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 . ?o property:P1303 ?p } GROUP BY ?p } . FILTER ( ?t = 3573 ) }
violin organ
Violin and organ can approximately 3573 people perform with
violin organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3573
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?t ) WHERE { ?o rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument . ?o property:instrument ?p } GROUP BY ?p } . FILTER ( ?t = 3573 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q8355 Q1444
P870
Q188451
USER
Which music genres use those musical instruments as a musical instrument ?
(c(Q188451),P870,Q8355) (c(Q188451),P870,Q1444)
action filter_type
action find_reverse
entity prev_answer
relation P870
type Q188451
[{'concept': 'Q188451'}, 'P870', 'Q8355'] [{'concept': 'Q188451'}, 'P870', 'Q1444']
SELECT DISTINCT ?v WHERE { ?v property:P870 ?g . ?v rdf:type ontology:Q188451 . VALUES ( ?g ) { ( resource:Q8355 ) ( resource:Q1444 ) } }
violin organ
action filter_type
action find_reverse
entity prev_answer
relation instrumentation
type music genre
[{'concept': 'music genre'}, 'instrumentation', 'violin'] [{'concept': 'music genre'}, 'instrumentation', 'organ']
SELECT DISTINCT ?v WHERE { ?v property:instrumentation ?g . ?v rdf:type ontology:music_genre . VALUES ( ?g ) { ( resource:violin ) ( resource:organ ) } }
[]
music genre
Q1154601 Q669358 Q3490207
SYSTEM
Violin Sonata No. 9, Violin Sonata No. 5, Violin Sonata No. 2
Q20646569 Q20646570 Q2457349 Q550350 Q2375280 Q1635731 Q20646571 Q1300778 Q1271144 Q3490268 Q1635740 Q3490212 Q3490207 Q3490205 Q2270897 Q1635353 Q3490221 Q2252472 Q3069033 Q2719749 Q3069060 Q3069052 Q15632116 Q2269974 Q3490122 Q3073254 Q3490184 Q3490181 Q3490199 Q3490195 Q3133281 Q7933385 Q1067735 Q2352641 Q428956 Q2412736 Q4428775 Q1154601 Q669358 Q264268 Q3490251 Q2181451 Q3490213 Q1892808 Q1889947 Q1924064 Q1811459 Q1472748 Q1510137 Q1369413 Q205756 Q16952732 Q866713 Q1128394 Q2897278 Q176418 Q2724829 Q1423582
(c(Q188451),P870,Q8355) (c(Q188451),P870,Q1444)
action filter_type
action find_reverse
entity prev_answer
relation P870
type Q188451
[ANSWERS] use those musical instruments as a musical instrument
[{'concept': 'Q188451'}, 'P870', 'Q8355'] [{'concept': 'Q188451'}, 'P870', 'Q1444']
SELECT DISTINCT ?v WHERE { ?v property:P870 ?g . ?v rdf:type ontology:Q188451 . VALUES ( ?g ) { ( resource:Q8355 ) ( resource:Q1444 ) } }
Sonata No. 1 in G minor, BWV 1001 Sonata No. 2 in A minor, BWV 1003 Violin Sonata No. 1 Violin Sonata No. 28 Violin Sonata in F major (Mendelssohn) Violin Sonata No. 1 Sonata No. 3 in C major, BWV 1005 Violin Sonata No. 8 Violin Sonata No. 3 Violin Sonata in A Violin Sonata No. 4 Violin Sonata No. 3 Violin Sonata No. 2 Violin Sonata No. 1 F-A-E Sonata Violin Sonata No. 2 Violin Sonatas Violin Sonata No. 29 Violin Sonata No. 33 Violin Sonata Violin Sonata No. 35 Violin Sonata No. 27 Violin Sonata No. 25 Phantasy for Violin and Piano Violin Sonata Violin Sonata No. 1 Violin Sonata No. 24 Violin Sonata in F minor Violin Sonata Violin Sonata Violin Sonata No. 32 Violin sonata Violin Sonata No. 10 Violin Sonata No. 2 Violin Sonata No. 6 Violin Sonata in F major (Mendelssohn) Violin Sonata Violin Sonata No. 9 Violin Sonata No. 5 Violin Sonata No. 2 Rosary Sonatas Violin Sonata Violin Sonata No. 3 Violin Sonata No. 7 War Requiem Mass No. 1 Requiem Mass No. 3 Requiem Requiem Requiem Missa solemnis Mass No. 2 Requiem Berliner Messe Missa brevis Sancti Joannis de Deo Glagolitic Mass Messa per Rossini
Violin Sonata No. 9, Violin Sonata No. 5 and Violin Sonata No. 2 use those musical instruments as a musical instrument
Violin Sonata No. 9 Violin Sonata No. 5 Violin Sonata No. 2
action filter_type
action find_reverse
entity prev_answer
relation instrumentation
type music genre
[{'concept': 'music genre'}, 'instrumentation', 'violin'] [{'concept': 'music genre'}, 'instrumentation', 'organ']
SELECT DISTINCT ?v WHERE { ?v property:instrumentation ?g . ?v rdf:type ontology:music_genre . VALUES ( ?g ) { ( resource:violin ) ( resource:organ ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4891703
P802
Q502895
USER
Which people were Nicanor Piñole a student of ?
(c(Q502895),P802,Q4891703)
action filter_type
action find_reverse
entity Q4891703
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q4891703']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P802 resource:Q4891703 }
Nicanor Piñole
action filter_type
action find_reverse
entity Nicanor Piñole
relation student
type common name
[{'concept': 'common name'}, 'student', 'Nicanor Piñole']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:student resource:Nicanor_Piñole }
[]
common name
Q1043318 Q3296153 Q2595467
SYSTEM
Carlos de Haes, Antonio Muñoz Degrain, Alejandro Ferrant y Fischermans
Q1043318 Q3296153 Q2595467 Q5812003
(c(Q502895),P802,Q4891703)
action filter_type
action find_reverse
entity Q4891703
relation P802
type Q502895
[ANSWERS] were Nicanor Piñole a student of
[{'concept': 'Q502895'}, 'P802', 'Q4891703']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P802 resource:Q4891703 }
Carlos de Haes Antonio Muñoz Degrain Alejandro Ferrant y Fischermans Dióscoro Puebla
Carlos de Haes, Antonio Muñoz Degrain and Alejandro Ferrant y Fischermans were Nicanor Piñole a student of
Carlos de Haes Antonio Muñoz Degrain Alejandro Ferrant y Fischermans
action filter_type
action find_reverse
entity Nicanor Piñole
relation student
type common name
[{'concept': 'common name'}, 'student', 'Nicanor Piñole']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:student resource:Nicanor_Piñole }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1043318
P1066
Q502895
USER
Who are pupils of Carlos de Haes ?
(c(Q502895),P1066,Q1043318)
action filter_type
action find_reverse
entity Q1043318
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q1043318']
SELECT DISTINCT ?f WHERE { ?f property:P1066 resource:Q1043318 . ?f rdf:type ontology:Q502895 }
Carlos de Haes
action filter_type
action find_reverse
entity Carlos de Haes
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Carlos de Haes']
SELECT DISTINCT ?f WHERE { ?f property:student_of resource:Carlos_de_Haes . ?f rdf:type ontology:common_name }
[]
common name
Q10857968 Q4891703
SYSTEM
Jaume Morera i Galícia, Nicanor Piñole
Q10857968 Q4891703
(c(Q502895),P1066,Q1043318)
action filter_type
action find_reverse
entity Q1043318
relation P1066
type Q502895
Pupils of Carlos de Haes are born [ANSWERS]
[{'concept': 'Q502895'}, 'P1066', 'Q1043318']
SELECT DISTINCT ?f WHERE { ?f property:P1066 resource:Q1043318 . ?f rdf:type ontology:Q502895 }
Jaume Morera i Galícia Nicanor Piñole
Pupils of Carlos de Haes are born Jaume Morera i Galícia and Nicanor Piñole
Jaume Morera i Galícia Nicanor Piñole
action filter_type
action find_reverse
entity Carlos de Haes
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Carlos de Haes']
SELECT DISTINCT ?f WHERE { ?f property:student_of resource:Carlos_de_Haes . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q10857968 Q4891703
P1066
Q502895
USER
Which people were the professors of Jaume Morera i Galícia and Nicanor Piñole ?
(Q10857968,P1066,c(Q502895)) (Q4891703,P1066,c(Q502895))
action union
action filter_type
action find
entity Q10857968
relation P1066
type Q502895
action filter_type
action find
entity Q4891703
relation P1066
type Q502895
['Q10857968', 'P1066', {'concept': 'Q502895'}] ['Q4891703', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { resource:Q10857968 property:P1066 ?v . ?v rdf:type ontology:Q502895 } UNION { resource:Q4891703 property:P1066 ?v . ?v rdf:type ontology:Q502895 } }
Jaume Morera i Galícia Nicanor Piñole
action union
action filter_type
action find
entity Jaume Morera i Galícia
relation student of
type common name
action filter_type
action find
entity Nicanor Piñole
relation student of
type common name
['Jaume Morera i Galícia', 'student of', {'concept': 'common name'}] ['Nicanor Piñole', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { resource:Jaume_Morera_i_Galícia property:student_of ?v . ?v rdf:type ontology:common_name } UNION { resource:Nicanor_Piñole property:student_of ?v . ?v rdf:type ontology:common_name } }
[]
common name
Q1043318 Q1043318 Q3296153
SYSTEM
Carlos de Haes for 1st, 2nd, Antonio Muñoz Degrain for 3rd
Q1043318 Q1043318 Q3296153 Q2595467 Q5812003
(Q10857968,P1066,c(Q502895)) (Q4891703,P1066,c(Q502895))
action union
action filter_type
action find
entity Q10857968
relation P1066
type Q502895
action filter_type
action find
entity Q4891703
relation P1066
type Q502895
[ANSWERS]
['Q10857968', 'P1066', {'concept': 'Q502895'}] ['Q4891703', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { resource:Q10857968 property:P1066 ?v . ?v rdf:type ontology:Q502895 } UNION { resource:Q4891703 property:P1066 ?v . ?v rdf:type ontology:Q502895 } }
Carlos de Haes Carlos de Haes Antonio Muñoz Degrain Alejandro Ferrant y Fischermans Dióscoro Puebla
Carlos de Haes, Carlos de Haes and Antonio Muñoz Degrain were the professors of Jaume Morera i Galícia and Nicanor Piñole
Carlos de Haes Carlos de Haes Antonio Muñoz Degrain
action union
action filter_type
action find
entity Jaume Morera i Galícia
relation student of
type common name
action filter_type
action find
entity Nicanor Piñole
relation student of
type common name
['Jaume Morera i Galícia', 'student of', {'concept': 'common name'}] ['Nicanor Piñole', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { resource:Jaume_Morera_i_Galícia property:student_of ?v . ?v rdf:type ontology:common_name } UNION { resource:Nicanor_Piñole property:student_of ?v . ?v rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1043318
P106
Q12737077
USER
Which occupations have Carlos de Haes as his/her 's career ?
(Q1043318,P106,c(Q12737077))
action filter_type
action find
entity Q1043318
relation P106
type Q12737077
['Q1043318', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q1043318 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Carlos de Haes
action filter_type
action find
entity Carlos de Haes
relation occupation
type occupation
['Carlos de Haes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Carlos_de_Haes property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q1028181 Q1622272
SYSTEM
painter, university teacher
Q1028181 Q1622272
(Q1043318,P106,c(Q12737077))
action filter_type
action find
entity Q1043318
relation P106
type Q12737077
[ANSWERS] have Carlos de Haes as his/her 's career
['Q1043318', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q1043318 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
painter university teacher
Painter and university teacher have Carlos de Haes as his/her 's career
painter university teacher
action filter_type
action find
entity Carlos de Haes
relation occupation
type occupation
['Carlos de Haes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Carlos_de_Haes property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10857968
P119
Q56061
USER
Which administrative territory is the tomb of Jaume Morera i Galícia ?
(Q10857968,P119,c(Q56061))
action filter_type
action find
entity Q10857968
relation P119
type Q56061
['Q10857968', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q10857968 property:P119 ?o . ?o rdf:type ontology:Q56061 }
Jaume Morera i Galícia
action filter_type
action find
entity Jaume Morera i Galícia
relation place of burial
type administrative territorial entity
['Jaume Morera i Galícia', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Jaume_Morera_i_Galícia property:place_of_burial ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q29353
SYSTEM
Algorta
Q29353
(Q10857968,P119,c(Q56061))
action filter_type
action find
entity Q10857968
relation P119
type Q56061
[ANSWER] is the tomb of Jaume Morera i Galícia
['Q10857968', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q10857968 property:P119 ?o . ?o rdf:type ontology:Q56061 }
Algorta
Algorta is the tomb of Jaume Morera i Galícia
Algorta
action filter_type
action find
entity Jaume Morera i Galícia
relation place of burial
type administrative territorial entity
['Jaume Morera i Galícia', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Jaume_Morera_i_Galícia property:place_of_burial ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1317979
Q56061
USER
And also tell me about Lê Hoàn?
(Q1317979,P119,c(Q56061))
action filter_type
action find
entity Q1317979
relation P119
type Q56061
['Q1317979', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1317979 property:P119 ?y . ?y rdf:type ontology:Q56061 }
Lê Hoàn
action filter_type
action find
entity Lê Hoàn
relation place of burial
type administrative territorial entity
['Lê Hoàn', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Lê_Hoàn property:place_of_burial ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2421186
SYSTEM
Hoa Lu
Q2421186
(Q1317979,P119,c(Q56061))
action filter_type
action find
entity Q1317979
relation P119
type Q56061
[ANSWER]
['Q1317979', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1317979 property:P119 ?y . ?y rdf:type ontology:Q56061 }
Hoa Lu
Hoa Lu
action filter_type
action find
entity Lê Hoàn
relation place of burial
type administrative territorial entity
['Lê Hoàn', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Lê_Hoàn property:place_of_burial ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]