Simple Question (Direct)
Simple Question
Q1709487
P1412
Q34770
USER
Which language is spoken by José Matías Delgado ?
(Q1709487,P1412,c(Q34770))
action filter_type
action find
entity Q1709487
relation P1412
type Q34770
['Q1709487', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q1709487 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
José Matías Delgado
action filter_type
action find
entity José Matías Delgado
relation languages spoken, written or signed
type language
['José Matías Delgado', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:José_Matías_Delgado property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1709487,P1412,c(Q34770))
action filter_type
action find
entity Q1709487
relation P1412
type Q34770
Is [ANSWER] is spoken by José Matías Delgado
['Q1709487', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q1709487 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Spanish
Is Spanish is spoken by José Matías Delgado
Spanish
action filter_type
action find
entity José Matías Delgado
relation languages spoken, written or signed
type language
['José Matías Delgado', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:José_Matías_Delgado property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1709487
P21
Q290
USER
Which sex does José Matías Delgado possess ?
(Q1709487,P21,c(Q290))
action filter_type
action find
entity Q1709487
relation P21
type Q290
['Q1709487', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1709487 property:P21 ?j . ?j rdf:type ontology:Q290 }
José Matías Delgado
action filter_type
action find
entity José Matías Delgado
relation gender
type sex
['José Matías Delgado', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:José_Matías_Delgado property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1709487,P21,c(Q290))
action filter_type
action find
entity Q1709487
relation P21
type Q290
José Matías Delgado possesses un [ANSWER]
['Q1709487', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1709487 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
José Matías Delgado possesses un male
male
action filter_type
action find
entity José Matías Delgado
relation gender
type sex
['José Matías Delgado', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:José_Matías_Delgado property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q382936
Q290
USER
And what about Tsering Shakya?
(Q382936,P21,c(Q290))
action filter_type
action find
entity Q382936
relation P21
type Q290
['Q382936', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q382936 property:P21 ?a }
Tsering Shakya
action filter_type
action find
entity Tsering Shakya
relation gender
type sex
['Tsering Shakya', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:Tsering_Shakya property:gender ?a }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q382936,P21,c(Q290))
action filter_type
action find
entity Q382936
relation P21
type Q290
[ANSWER]
['Q382936', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q382936 property:P21 ?a }
male
male
action filter_type
action find
entity Tsering Shakya
relation gender
type sex
['Tsering Shakya', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:Tsering_Shakya property:gender ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1709487
P106
Q12737077
USER
What does José Matías Delgado do for a living ?
(Q1709487,P106,c(Q12737077))
action filter_type
action find
entity Q1709487
relation P106
type Q12737077
['Q1709487', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1709487 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
José Matías Delgado
action filter_type
action find
entity José Matías Delgado
relation occupation
type occupation
['José Matías Delgado', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:José_Matías_Delgado property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1709487,P106,c(Q12737077))
action filter_type
action find
entity Q1709487
relation P106
type Q12737077
José Matías Delgado does a [ANSWER] for a living
['Q1709487', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1709487 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
politician
José Matías Delgado does a politician for a living
politician
action filter_type
action find
entity José Matías Delgado
relation occupation
type occupation
['José Matías Delgado', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:José_Matías_Delgado property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1709487
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q82955,P19,c(Q56061))
action filter_type
action find
entity Q1709487
relation P19
type Q56061
['Q82955', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1709487 property:P19 ?l . ?l rdf:type ontology:Q56061 }
José Matías Delgado
action filter_type
action find
entity José Matías Delgado
relation place of birth
type administrative territorial entity
['politician', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:José_Matías_Delgado property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3110
SYSTEM
San Salvador
Q3110
(Q82955,P19,c(Q56061))
action filter_type
action find
entity Q1709487
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q82955', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1709487 property:P19 ?l . ?l rdf:type ontology:Q56061 }
San Salvador
San Salvador is the place of birth of that person
San Salvador
action filter_type
action find
entity José Matías Delgado
relation place of birth
type administrative territorial entity
['politician', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:José_Matías_Delgado property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q3110
P19 P21
Q502895
USER
Which people have place of birth as San Salvador and are a female ?
AND((c(Q502895),P19,Q3110), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q3110
relation P19
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q3110'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P19 resource:Q3110 . ?b property:P21 resource:Q6581072 }
female San Salvador
action filter_type
action intersection
action find_reverse
entity San Salvador
relation place of birth
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'San Salvador'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:place_of_birth resource:San_Salvador . ?b property:gender resource:female }
[]
common name
Q16528519 Q5668683 Q2232850 Q2301551 Q5976355 Q5043517 Q16527894 Q3847678 Q3931213 Q3614867
SYSTEM
Some of them are Alexandra Vela, Alice Lardé de Venturino, Paulina Gálvez, Sonia Zepeda, Lilian Serpas, Carmen María Gallardo Hernández, Alba Delgado, Marianella García Villas, Rebeca Moreno, Ana Yancy Clavel
Q6369621 Q3847678 Q3609423 Q3379311 Q16732829 Q5479126 Q5752539 Q5043517 Q8198846 Q6044733 Q2884663 Q3157091 Q5668683 Q2888606 Q19989065 Q3964762 Q20748116 Q6003945 Q2301551 Q3853208 Q4272340 Q3931213 Q3371554 Q5936356 Q5829192 Q2607083 Q5998065 Q2232850 Q7145516 Q5982071 Q20018222 Q16527894 Q2861214 Q5359139 Q24005010 Q5976355 Q16210687 Q16528519 Q3614867
AND((c(Q502895),P19,Q3110), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q3110
relation P19
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] have place of birth as San Salvador and are a female
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q3110'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P19 resource:Q3110 . ?b property:P21 resource:Q6581072 }
Karen Elizabeth Landaverde Marianella García Villas Alejandra Ochoa Eva Dimas Julia Mora Francesca Miranda Carmen González Huguet Carmen María Gallardo Hernández Andrea Torre Nora Méndez Mercedes Durand Jacinta Escudos Alice Lardé de Venturino Lil Milagro Ramírez Alicia Nash Sonia Cruz Maria Cristina Villanova de Árbenz María Isabel Rodríguez Sonia Zepeda Mayra Aldana Ana Vilma de Escobar Rebeca Moreno Melissa Mikec Jorgelina Cerritos Elena Gallegos Rosales Matilde Elena López Maribel Arrieta Paulina Gálvez Patricia Chica Luciana Sandoval Lorena Guadalupe Peña Alba Delgado Ariane de Rothschild Elena Tedesco Patricia Rivas Lilian Serpas Luisa Maida Alexandra Vela Ana Yancy Clavel
Alexandra Vela, Alice Lardé de Venturino, Paulina Gálvez, Sonia Zepeda, Lilian Serpas, Carmen María Gallardo Hernández, Alba Delgado, Marianella García Villas, Rebeca Moreno and Ana Yancy Clavel have place of birth as San Salvador and are a female
Alexandra Vela Alice Lardé de Venturino Paulina Gálvez Sonia Zepeda Lilian Serpas Carmen María Gallardo Hernández Alba Delgado Marianella García Villas Rebeca Moreno Ana Yancy Clavel
action filter_type
action intersection
action find_reverse
entity San Salvador
relation place of birth
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'San Salvador'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:place_of_birth resource:San_Salvador . ?b property:gender resource:female }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 3566 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3566
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?b = 3566 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3566
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?b = 3566 ) }
[]
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 3566
[ANSWERS] are played by around 3566 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?b = 3566 ) }
violin organ
Violin and organ are played by around 3566 people
violin organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3566
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?b = 3566 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16137278
P1303
Q502895
USER
Does Rahn Coleman know to play those musical instruments ?
(Q16137278,P1303,Q8355) (Q16137278,P1303,Q1444)
action is_in
entity prev_answer
action find
entity Q16137278
relation P1303
['Q16137278', 'P1303', 'Q8355'] ['Q16137278', 'P1303', 'Q1444']
ASK WHERE { resource:Q16137278 property:P1303 ?e . VALUES ( ?e ) { ( resource:Q8355 ) ( resource:Q1444 ) } }
Rahn Coleman
action is_in
entity prev_answer
action find
entity Rahn Coleman
relation instrument
['Rahn Coleman', 'instrument', 'violin'] ['Rahn Coleman', 'instrument', 'organ']
ASK WHERE { resource:Rahn_Coleman property:instrument ?e . VALUES ( ?e ) { ( resource:violin ) ( resource:organ ) } }
[]
common name
SYSTEM
YES
(Q16137278,P1303,Q8355) (Q16137278,P1303,Q1444)
action is_in
entity prev_answer
action find
entity Q16137278
relation P1303
[ANSWER]
['Q16137278', 'P1303', 'Q8355'] ['Q16137278', 'P1303', 'Q1444']
ASK WHERE { resource:Q16137278 property:P1303 ?e . VALUES ( ?e ) { ( resource:Q8355 ) ( resource:Q1444 ) } }
Yes
action is_in
entity prev_answer
action find
entity Rahn Coleman
relation instrument
['Rahn Coleman', 'instrument', 'violin'] ['Rahn Coleman', 'instrument', 'organ']
ASK WHERE { resource:Rahn_Coleman property:instrument ?e . VALUES ( ?e ) { ( resource:violin ) ( resource:organ ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3931213 Q622560
P27
Q15617994
USER
Is Rebeca Moreno a civilian of Ehrenberg ?
(Q3931213,P27,Q622560)
action is_in
entity Q622560
action find
entity Q3931213
relation P27
['Q3931213', 'P27', 'Q622560']
ASK WHERE { resource:Q3931213 property:P27 resource:Q622560 }
Rebeca Moreno Ehrenberg
action is_in
entity Ehrenberg
action find
entity Rebeca Moreno
relation country of citizenship
['Rebeca Moreno', 'country of citizenship', 'Ehrenberg']
ASK WHERE { resource:Rebeca_Moreno property:country_of_citizenship resource:Ehrenberg }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3931213,P27,Q622560)
action is_in
entity Q622560
action find
entity Q3931213
relation P27
[ANSWER]
['Q3931213', 'P27', 'Q622560']
ASK WHERE { resource:Q3931213 property:P27 resource:Q622560 }
No
action is_in
entity Ehrenberg
action find
entity Rebeca Moreno
relation country of citizenship
['Rebeca Moreno', 'country of citizenship', 'Ehrenberg']
ASK WHERE { resource:Rebeca_Moreno property:country_of_citizenship resource:Ehrenberg }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2232850 Q656121 Q4166640
P27
Q15617994
USER
Is Paulina Gálvez a native of Musweiler and Dorka ?
(Q2232850,P27,Q656121) (Q2232850,P27,Q4166640)
action is_in
entity Q2232850
action intersection
action find_reverse
entity Q656121
relation P27
action find_reverse
entity Q4166640
relation P27
['Q2232850', 'P27', 'Q656121'] ['Q2232850', 'P27', 'Q4166640']
ASK WHERE { resource:Q2232850 property:P27 resource:Q4166640 . resource:Q2232850 property:P27 resource:Q656121 }
Paulina Gálvez Musweiler Dorka
action is_in
entity Paulina Gálvez
action intersection
action find_reverse
entity Musweiler
relation country of citizenship
action find_reverse
entity Dorka
relation country of citizenship
['Paulina Gálvez', 'country of citizenship', 'Musweiler'] ['Paulina Gálvez', 'country of citizenship', 'Dorka']
ASK WHERE { resource:Paulina_Gálvez property:country_of_citizenship resource:Dorka . resource:Paulina_Gálvez property:country_of_citizenship resource:Musweiler }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2232850,P27,Q656121) (Q2232850,P27,Q4166640)
action is_in
entity Q2232850
action intersection
action find_reverse
entity Q656121
relation P27
action find_reverse
entity Q4166640
relation P27
[ANSWER]
['Q2232850', 'P27', 'Q656121'] ['Q2232850', 'P27', 'Q4166640']
ASK WHERE { resource:Q2232850 property:P27 resource:Q4166640 . resource:Q2232850 property:P27 resource:Q656121 }
No
action is_in
entity Paulina Gálvez
action intersection
action find_reverse
entity Musweiler
relation country of citizenship
action find_reverse
entity Dorka
relation country of citizenship
['Paulina Gálvez', 'country of citizenship', 'Musweiler'] ['Paulina Gálvez', 'country of citizenship', 'Dorka']
ASK WHERE { resource:Paulina_Gálvez property:country_of_citizenship resource:Dorka . resource:Paulina_Gálvez property:country_of_citizenship resource:Musweiler }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2232850
P161
Q838948
USER
What are the name of works of art staring that person ?
action filter_type
action find_reverse
entity Q2232850
relation P161
type Q838948
SELECT DISTINCT ?s WHERE { ?s property:P161 resource:Q2232850 . ?s rdf:type ontology:Q838948 }
Paulina Gálvez
action filter_type
action find_reverse
entity Paulina Gálvez
relation cast member
type work of art
SELECT DISTINCT ?s WHERE { ?s property:cast_member resource:Paulina_Gálvez . ?s rdf:type ontology:work_of_art }
[]
work of art
Q651006 Q519548
SYSTEM
Honolulu Baby, The Nun
Q651006 Q519548
action filter_type
action find_reverse
entity Q2232850
relation P161
type Q838948
The name of works of art staring that person are the [ANSWERS]
SELECT DISTINCT ?s WHERE { ?s property:P161 resource:Q2232850 . ?s rdf:type ontology:Q838948 }
Honolulu Baby The Nun
The name of works of art staring that person are the Honolulu Baby and The Nun
Honolulu Baby The Nun
action filter_type
action find_reverse
entity Paulina Gálvez
relation cast member
type work of art
SELECT DISTINCT ?s WHERE { ?s property:cast_member resource:Paulina_Gálvez . ?s rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q200092 Q2232850
P136 P161
Q838948
USER
Which works of art do Paulina Gálvez star in and have horror film as their category ?
AND((c(Q838948),P161,Q2232850), (c(Q838948),P136,Q200092))
action filter_type
action intersection
action find_reverse
entity Q2232850
relation P161
action find_reverse
entity Q200092
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q2232850'], [{'concept': 'Q838948'}, 'P136', 'Q200092']]}
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q2232850 . ?d property:P136 resource:Q200092 . ?d rdf:type ontology:Q838948 }
horror film Paulina Gálvez
action filter_type
action intersection
action find_reverse
entity Paulina Gálvez
relation cast member
action find_reverse
entity horror film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Paulina Gálvez'], [{'concept': 'work of art'}, 'genre', 'horror film']]}
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Paulina_Gálvez . ?d property:genre resource:horror_film . ?d rdf:type ontology:work_of_art }
[]
work of art
Q519548
SYSTEM
The Nun
Q519548
AND((c(Q838948),P161,Q2232850), (c(Q838948),P136,Q200092))
action filter_type
action intersection
action find_reverse
entity Q2232850
relation P161
action find_reverse
entity Q200092
relation P136
type Q838948
Paulina Gálvez star in film [ANSWER]
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q2232850'], [{'concept': 'Q838948'}, 'P136', 'Q200092']]}
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q2232850 . ?d property:P136 resource:Q200092 . ?d rdf:type ontology:Q838948 }
The Nun
Paulina Gálvez star in film The Nun
The Nun
action filter_type
action intersection
action find_reverse
entity Paulina Gálvez
relation cast member
action find_reverse
entity horror film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Paulina Gálvez'], [{'concept': 'work of art'}, 'genre', 'horror film']]}
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Paulina_Gálvez . ?d property:genre resource:horror_film . ?d rdf:type ontology:work_of_art }
[]