Simple Question (Direct)
Simple Question
Q559764
P364
Q34770
USER
Which language was used originally for the creation of Ash Wednesday ?
(Q559764,P364,c(Q34770))
action filter_type
action find
entity Q559764
relation P364
type Q34770
['Q559764', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q559764 property:P364 ?u . ?u rdf:type ontology:Q34770 }
Ash Wednesday
action filter_type
action find
entity Ash Wednesday
relation original language of work
type language
['Ash Wednesday', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Ash_Wednesday property:original_language_of_work ?u . ?u rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q559764,P364,c(Q34770))
action filter_type
action find
entity Q559764
relation P364
type Q34770
[ANSWER] was used originally for the creation of Ash Wednesday
['Q559764', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q559764 property:P364 ?u . ?u rdf:type ontology:Q34770 }
Spanish
Spanish was used originally for the creation of Ash Wednesday
Spanish
action filter_type
action find
entity Ash Wednesday
relation original language of work
type language
['Ash Wednesday', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Ash_Wednesday property:original_language_of_work ?u . ?u rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q559764
P161
Q502895
USER
Which people were casted in that work of art ?
(Q1321,P161,c(Q502895))
action filter_type
action find
entity Q559764
relation P161
type Q502895
['Q1321', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q559764 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Ash Wednesday
action filter_type
action find
entity Ash Wednesday
relation cast member
type common name
['Spanish', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Ash_Wednesday property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
common name
Q465189 Q2865963 Q5784836
SYSTEM
María Félix, Arturo de Córdova, Consuelo Guerrero de Luna
Q5784836 Q4801711 Q2865959 Q2865963 Q16326153 Q4755221 Q465189 Q5239014 Q2633619 Q7944660
(Q1321,P161,c(Q502895))
action filter_type
action find
entity Q559764
relation P161
type Q502895
[ANSWERS] were casted in that work of art
['Q1321', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q559764 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Consuelo Guerrero de Luna Arturo Castro Arturo Soto Rangel Arturo de Córdova María Rivas Andrea Palma María Félix David Reynoso Cuco Sánchez Víctor Junco
María Félix, Arturo de Córdova and Consuelo Guerrero de Luna were casted in that work of art
María Félix Arturo de Córdova Consuelo Guerrero de Luna
action filter_type
action find
entity Ash Wednesday
relation cast member
type common name
['Spanish', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Ash_Wednesday property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q465189
P1196
Q1931388
USER
What situation did that person die in ?
(Q465189,P1196,c(Q1931388))
action filter_type
action find
entity Q465189
relation P1196
type Q1931388
['Q465189', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?x WHERE { resource:Q465189 property:P1196 ?x . ?x rdf:type ontology:Q1931388 }
María Félix
action filter_type
action find
entity María Félix
relation manner of death
type cause of death
['María Félix', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?x WHERE { resource:María_Félix property:manner_of_death ?x . ?x rdf:type ontology:cause_of_death }
[]
cause of death
Clarification for simple ques.
Q5784836
SYSTEM
Did you mean Consuelo Guerrero de Luna ?
Q465189 Q2865963 Q5784836
(Q465189,P1196,c(Q1931388)) (Q2865963,P1196,c(Q1931388)) (Q5784836,P1196,c(Q1931388))
[ANSWER]
['Q465189', 'P1196', {'concept': 'Q1931388'}] ['Q2865963', 'P1196', {'concept': 'Q1931388'}] ['Q5784836', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?x WHERE { resource:Q465189 property:P1196 ?x . ?x rdf:type ontology:Q1931388 }
María Félix Arturo de Córdova Consuelo Guerrero de Luna
Did you mean Consuelo Guerrero de Luna ?
Consuelo Guerrero de Luna
['María Félix', 'manner of death', {'concept': 'cause of death'}] ['Arturo de Córdova', 'manner of death', {'concept': 'cause of death'}] ['Consuelo Guerrero de Luna', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?x WHERE { resource:María_Félix property:manner_of_death ?x . ?x rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
USER
No, I meant María Félix. Could you tell me the answer for that?
(Q465189,P1196,c(Q1931388))
Q465189
['Q465189', 'P1196', {'concept': 'Q1931388'}]
['María Félix', 'manner of death', {'concept': 'cause of death'}]
[]
Q3739104
SYSTEM
natural causes
Q3739104
(Q465189,P1196,c(Q1931388))
action filter_type
action find
entity Q465189
relation P1196
type Q1931388
That person died in [ANSWER]
['Q465189', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?x WHERE { resource:Q465189 property:P1196 ?x . ?x rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity María Félix
relation manner of death
type cause of death
['María Félix', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?x WHERE { resource:María_Félix property:manner_of_death ?x . ?x rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q465189
P161
Q838948
USER
How many works of art have María Félix in their star cast ?
(c(Q838948),P161,Q465189)
action count
action filter_type
action find_reverse
entity Q465189
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q465189']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P161 resource:Q465189 . ?f rdf:type ontology:Q838948 }
María Félix
action count
action filter_type
action find_reverse
entity María Félix
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'María Félix']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:cast_member resource:María_Félix . ?f rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
35
Q7314137 Q6465607 Q4263270 Q12155706 Q3797562 Q20002196 Q7739555 Q19572914 Q4185417 Q5438298 Q3071796 Q3821916 Q3855335 Q4747638 Q5351836 Q389168 Q3837835 Q947076 Q4185661 Q476225 Q7731986 Q4185639 Q20002376 Q5550480 Q723416 Q25208527 Q5966499 Q4747486 Q3881961 Q6165235 Q20649901 Q5825794 Q559764 Q1431511 Q24905639
(c(Q838948),P161,Q465189)
action count
action filter_type
action find_reverse
entity Q465189
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q465189']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P161 resource:Q465189 . ?f rdf:type ontology:Q838948 }
Reportaje La Valentina Enamorada Juana Gallo Incantesimo tragico María Eugenia The Hidden One Mare Nostrum Maclovia Faustina Tizoc The Black Crown Messaline Amor y sexo El Peñón de las Ánimas La bella Otero The Devil Is a Woman Río Escondido Doña Bárbara Heroes and Sinners The Empty Star La Mujer sin Alma Que Dios me perdone The Soldiers of Pancho Villa French Cancan Saturday Night The Kneeling Goddess Amok Beyond All Limits Dizziness The Rapture The White Monk Ash Wednesday La Fièvre Monte à El Pao Just Any Woman
35
action count
action filter_type
action find_reverse
entity María Félix
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'María Félix']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:cast_member resource:María_Félix . ?f rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q518369
P21
Q290
USER
What is the sex of Gianfranco Barra ?
(Q518369,P21,c(Q290))
action filter_type
action find
entity Q518369
relation P21
type Q290
['Q518369', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q518369 property:P21 ?j . ?j rdf:type ontology:Q290 }
Gianfranco Barra
action filter_type
action find
entity Gianfranco Barra
relation gender
type sex
['Gianfranco Barra', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Gianfranco_Barra property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q518369,P21,c(Q290))
action filter_type
action find
entity Q518369
relation P21
type Q290
The sex of Gianfranco Barra is the [ANSWER]
['Q518369', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q518369 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
The sex of Gianfranco Barra is the male
male
action filter_type
action find
entity Gianfranco Barra
relation gender
type sex
['Gianfranco Barra', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Gianfranco_Barra property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q512
Q290
USER
And also tell me about Vladimir Vysotsky?
(Q512,P21,c(Q290))
action filter_type
action find
entity Q512
relation P21
type Q290
['Q512', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q512 property:P21 ?o . ?o rdf:type ontology:Q290 }
Vladimir Vysotsky
action filter_type
action find
entity Vladimir Vysotsky
relation gender
type sex
['Vladimir Vysotsky', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Vladimir_Vysotsky property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q512,P21,c(Q290))
action filter_type
action find
entity Q512
relation P21
type Q290
[ANSWER]
['Q512', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q512 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Vladimir Vysotsky
relation gender
type sex
['Vladimir Vysotsky', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Vladimir_Vysotsky property:gender ?o . ?o rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q124843
P21
Q502895
USER
Does Bernhard Plettner have the gender as that sex ?
(Q124843,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q124843
relation P21
['Q124843', 'P21', 'Q6581097']
ASK WHERE { resource:Q124843 property:P21 resource:Q6581097 }
male Bernhard Plettner
action is_in
entity male
action find
entity Bernhard Plettner
relation gender
['Bernhard Plettner', 'gender', 'male']
ASK WHERE { resource:Bernhard_Plettner property:gender resource:male }
[]
common name
SYSTEM
YES
(Q124843,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q124843
relation P21
[ANSWER]
['Q124843', 'P21', 'Q6581097']
ASK WHERE { resource:Q124843 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Bernhard Plettner
relation gender
['Bernhard Plettner', 'gender', 'male']
ASK WHERE { resource:Bernhard_Plettner property:gender resource:male }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P669
Q34442 Q79007 Q838948
USER
Which works of art are located on exactly 4 roads and streets ?
(c(Q838948),P669,c(Q34442)|c(Q79007))
action equal
action union
action find_tuple_counts
relation P669
type Q838948
type Q34442
action find_tuple_counts
relation P669
type Q838948
type Q79007
value 4
[{'concept': 'Q838948'}, 'P669', [{'concept': 'Q34442'}, {'concept': 'Q79007'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) ?m WHERE { VALUES ( ?v ) { ( ontology:Q34442 ) ( ontology:Q79007 ) } . ?t rdf:type ?v } GROUP BY ?m } . FILTER ( ?i = 4 ) }
action equal
action union
action find_tuple_counts
relation located on street
type work of art
type road
action find_tuple_counts
relation located on street
type work of art
type street
value 4
[{'concept': 'work of art'}, 'located on street', [{'concept': 'road'}, {'concept': 'street'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) ?m WHERE { VALUES ( ?v ) { ( ontology:road ) ( ontology:street ) } . ?t rdf:type ?v } GROUP BY ?m } . FILTER ( ?i = 4 ) }
[]
road street work of art
Q3234796
SYSTEM
Les Poings d'eau
Q3234796
(c(Q838948),P669,c(Q34442)|c(Q79007))
action equal
action union
action find_tuple_counts
relation P669
type Q838948
type Q34442
action find_tuple_counts
relation P669
type Q838948
type Q79007
value 4
[ANSWER] is located on exactly 4 roads and streets
[{'concept': 'Q838948'}, 'P669', [{'concept': 'Q34442'}, {'concept': 'Q79007'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) ?m WHERE { VALUES ( ?v ) { ( ontology:Q34442 ) ( ontology:Q79007 ) } . ?t rdf:type ?v } GROUP BY ?m } . FILTER ( ?i = 4 ) }
Les Poings d'eau
Les Poings d'eau is located on exactly 4 roads and streets
Les Poings d'eau
action equal
action union
action find_tuple_counts
relation located on street
type work of art
type road
action find_tuple_counts
relation located on street
type work of art
type street
value 4
[{'concept': 'work of art'}, 'located on street', [{'concept': 'road'}, {'concept': 'street'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) ?m WHERE { VALUES ( ?v ) { ( ontology:road ) ( ontology:street ) } . ?t rdf:type ?v } GROUP BY ?m } . FILTER ( ?i = 4 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P669
Q34442
USER
How many roads can that work of art be located ?
(Q3234796,P669,c(Q34442))
action count
action filter_type
action find
entity Q3234796
relation P669
type Q34442
['Q3234796', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:Q34442 . resource:Q3234796 property:P669 ?q }
action count
action filter_type
action find
entity Les Poings d'eau
relation located on street
type road
["Les Poings d'eau", 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:road . resource:Les_Poings_d'eau property:located_on_street ?q }
[]
road
SYSTEM
4
Q3449360 Q3449845 Q3452027 Q3447411
(Q3234796,P669,c(Q34442))
action count
action filter_type
action find
entity Q3234796
relation P669
type Q34442
[ANSWER]
['Q3234796', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:Q34442 . resource:Q3234796 property:P669 ?q }
rue Paganini rue Saint-Blaise rue des Réglises rue Charles-et-Robert
4
action count
action filter_type
action find
entity Les Poings d'eau
relation located on street
type road
["Les Poings d'eau", 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:road . resource:Les_Poings_d'eau property:located_on_street ?q }
[]