Simple Question (Direct)
Simple Question
Q18618625
P27
Q15617994
USER
Which administrative territory is Ángel Durández Adeva an inhabitant of ?
(Q18618625,P27,c(Q15617994))
action filter_type
action find
entity Q18618625
relation P27
type Q15617994
['Q18618625', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q18618625 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Ángel Durández Adeva
action filter_type
action find
entity Ángel Durández Adeva
relation country of citizenship
type designation for an administrative territorial entity
['Ángel Durández Adeva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Ángel_Durández_Adeva property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q18618625,P27,c(Q15617994))
action filter_type
action find
entity Q18618625
relation P27
type Q15617994
[ANSWER] is Ángel Durández Adeva an inhabitant of
['Q18618625', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q18618625 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Spain
Spain is Ángel Durández Adeva an inhabitant of
Spain
action filter_type
action find
entity Ángel Durández Adeva
relation country of citizenship
type designation for an administrative territorial entity
['Ángel Durández Adeva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Ángel_Durández_Adeva property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18618625
P1431
Q838948
USER
Which work of art did that person produce ?
(c(Q838948),P1431,Q29)
action filter_type
action find_reverse
entity Q18618625
relation P1431
type Q838948
[{'concept': 'Q838948'}, 'P1431', 'Q29']
SELECT DISTINCT ?j WHERE { ?j property:P1431 resource:Q18618625 . ?j rdf:type ontology:Q838948 }
Ángel Durández Adeva
action filter_type
action find_reverse
entity Ángel Durández Adeva
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'Spain']
SELECT DISTINCT ?j WHERE { ?j property:executive_producer resource:Ángel_Durández_Adeva . ?j rdf:type ontology:work_of_art }
[]
work of art
Q1589300
SYSTEM
Blancanieves
Q1589300
(c(Q838948),P1431,Q29)
action filter_type
action find_reverse
entity Q18618625
relation P1431
type Q838948
That person produced by [ANSWER]
[{'concept': 'Q838948'}, 'P1431', 'Q29']
SELECT DISTINCT ?j WHERE { ?j property:P1431 resource:Q18618625 . ?j rdf:type ontology:Q838948 }
Blancanieves
That person produced by Blancanieves
Blancanieves
action filter_type
action find_reverse
entity Ángel Durández Adeva
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'Spain']
SELECT DISTINCT ?j WHERE { ?j property:executive_producer resource:Ángel_Durández_Adeva . ?j rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P161
Q502895
USER
How many people were casted in that work of art ?
(Q1589300,P161,c(Q502895))
action count
action filter_type
action find
entity Q1589300
relation P161
type Q502895
['Q1589300', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q1589300 property:P161 ?r . ?r rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Blancanieves
relation cast member
type common name
['Blancanieves', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Blancanieves property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
13
Q16300518 Q5371871 Q728797 Q1160853 Q5988676 Q235391 Q6052959 Q6072259 Q18406 Q5916287 Q16543299 Q106791 Q6142616
(Q1589300,P161,c(Q502895))
action count
action filter_type
action find
entity Q1589300
relation P161
type Q502895
[ANSWER]
['Q1589300', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q1589300 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Carmen Belloch Emilio Gavira Josep Maria Pou Daniel Giménez Cacho Macarena García Maribel Verdú Oriol Vila Pere Ponce Ramón Barea Inma Cuesta Carlos Lasarte Ángela Molina Teresa Soria Ruano
13
action count
action filter_type
action find
entity Blancanieves
relation cast member
type common name
['Blancanieves', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Blancanieves property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1589300
P136
Q1792379
USER
What can be considered as category for Blancanieves ?
(Q1589300,P136,c(Q1792379))
action filter_type
action find
entity Q1589300
relation P136
type Q1792379
['Q1589300', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { resource:Q1589300 property:P136 ?j . ?j rdf:type ontology:Q1792379 }
Blancanieves
action filter_type
action find
entity Blancanieves
relation genre
type art genre
['Blancanieves', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { resource:Blancanieves property:genre ?j . ?j rdf:type ontology:art_genre }
[]
art genre
Q157394 Q130232
SYSTEM
fantasy film, drama film
Q157394 Q130232
(Q1589300,P136,c(Q1792379))
action filter_type
action find
entity Q1589300
relation P136
type Q1792379
The [ANSWERS] can be considered as category for Blancanieves
['Q1589300', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { resource:Q1589300 property:P136 ?j . ?j rdf:type ontology:Q1792379 }
fantasy film drama film
The fantasy film and drama film can be considered as category for Blancanieves
fantasy film drama film
action filter_type
action find
entity Blancanieves
relation genre
type art genre
['Blancanieves', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { resource:Blancanieves property:genre ?j . ?j rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7232336
Q1792379
USER
And how about Portrait of a Young Man?
(Q7232336,P136,c(Q1792379))
action filter_type
action find
entity Q7232336
relation P136
type Q1792379
['Q7232336', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?i WHERE { resource:Q7232336 property:P136 ?i . ?i rdf:type ontology:Q1792379 }
Portrait of a Young Man
action filter_type
action find
entity Portrait of a Young Man
relation genre
type art genre
['Portrait of a Young Man', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?i WHERE { resource:Portrait_of_a_Young_Man property:genre ?i . ?i rdf:type ontology:art_genre }
[]
art genre
Q1400853
SYSTEM
portrait painting
Q1400853
(Q7232336,P136,c(Q1792379))
action filter_type
action find
entity Q7232336
relation P136
type Q1792379
[ANSWER]
['Q7232336', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?i WHERE { resource:Q7232336 property:P136 ?i . ?i rdf:type ontology:Q1792379 }
portrait painting
portrait painting
action filter_type
action find
entity Portrait of a Young Man
relation genre
type art genre
['Portrait of a Young Man', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?i WHERE { resource:Portrait_of_a_Young_Man property:genre ?i . ?i rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13114403 Q1589300
P161
Q502895
USER
Which people were casted in Blancanieves or Ramji Rao Speaking ?
OR((Q1589300,P161,c(Q502895)), (Q13114403,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1589300
relation P161
action find
entity Q13114403
relation P161
type Q502895
{'OR': [['Q1589300', 'P161', {'concept': 'Q502895'}], ['Q13114403', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1589300 property:P161 ?j } UNION { resource:Q13114403 property:P161 ?j } } . ?j rdf:type ontology:Q502895 }
Ramji Rao Speaking Blancanieves
action filter_type
action union
action find
entity Blancanieves
relation cast member
action find
entity Ramji Rao Speaking
relation cast member
type common name
{'OR': [['Blancanieves', 'cast member', {'concept': 'common name'}], ['Ramji Rao Speaking', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Blancanieves property:cast_member ?j } UNION { resource:Ramji_Rao_Speaking property:cast_member ?j } } . ?j rdf:type ontology:common_name }
[]
common name
Q5988676 Q3530961 Q3595266 Q235391 Q277422 Q1160853 Q6142616 Q106791 Q728797 Q6035995
SYSTEM
Some of them are Macarena García, Saikumar, Rekha, Maribel Verdú, Mukesh, Daniel Giménez Cacho, Teresa Soria Ruano, Ángela Molina, Josep Maria Pou, Innocent
Q6035995 Q256155 Q16300518 Q5371871 Q16543299 Q5916287 Q277422 Q728797 Q1160853 Q5988676 Q235391 Q3530961 Q6072259 Q18406 Q3595266 Q6052959 Q106791 Q6142616
OR((Q1589300,P161,c(Q502895)), (Q13114403,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1589300
relation P161
action find
entity Q13114403
relation P161
type Q502895
[ANSWERS] were casted in Blancanieves or Ramji Rao Speaking
{'OR': [['Q1589300', 'P161', {'concept': 'Q502895'}], ['Q13114403', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1589300 property:P161 ?j } UNION { resource:Q13114403 property:P161 ?j } } . ?j rdf:type ontology:Q502895 }
Innocent Devan Carmen Belloch Emilio Gavira Carlos Lasarte Inma Cuesta Mukesh Josep Maria Pou Daniel Giménez Cacho Macarena García Maribel Verdú Saikumar Pere Ponce Ramón Barea Rekha Oriol Vila Ángela Molina Teresa Soria Ruano
Macarena García, Saikumar, Rekha, Maribel Verdú, Mukesh, Daniel Giménez Cacho, Teresa Soria Ruano, Ángela Molina, Josep Maria Pou and Innocent were casted in Blancanieves or Ramji Rao Speaking
Macarena García Saikumar Rekha Maribel Verdú Mukesh Daniel Giménez Cacho Teresa Soria Ruano Ángela Molina Josep Maria Pou Innocent
action filter_type
action union
action find
entity Blancanieves
relation cast member
action find
entity Ramji Rao Speaking
relation cast member
type common name
{'OR': [['Blancanieves', 'cast member', {'concept': 'common name'}], ['Ramji Rao Speaking', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Blancanieves property:cast_member ?j } UNION { resource:Ramji_Rao_Speaking property:cast_member ?j } } . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29
P127
Q473972 Q337567
USER
How many protected areas or still waterss are owned by Spain ?
(c(Q473972),P127,Q29) (c(Q337567),P127,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P127
type Q473972
action filter_type
action find_reverse
entity Q29
relation P127
type Q337567
[{'concept': 'Q473972'}, 'P127', 'Q29'] [{'concept': 'Q337567'}, 'P127', 'Q29']
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { ?h property:P127 resource:Q29 . ?h rdf:type ontology:Q473972 } UNION { ?h rdf:type ontology:Q337567 . ?h property:P127 resource:Q29 } }
Spain
action count
action union
action filter_type
action find_reverse
entity Spain
relation owned by
type protected area
action filter_type
action find_reverse
entity Spain
relation owned by
type still waters
[{'concept': 'protected area'}, 'owned by', 'Spain'] [{'concept': 'still waters'}, 'owned by', 'Spain']
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { ?h property:owned_by resource:Spain . ?h rdf:type ontology:protected_area } UNION { ?h rdf:type ontology:still_waters . ?h property:owned_by resource:Spain } }
[]
protected area still waters
SYSTEM
2
Q9055108 Q5430333
(c(Q473972),P127,Q29) (c(Q337567),P127,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P127
type Q473972
action filter_type
action find_reverse
entity Q29
relation P127
type Q337567
[ANSWER]
[{'concept': 'Q473972'}, 'P127', 'Q29'] [{'concept': 'Q337567'}, 'P127', 'Q29']
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { ?h property:P127 resource:Q29 . ?h rdf:type ontology:Q473972 } UNION { ?h rdf:type ontology:Q337567 . ?h property:P127 resource:Q29 } }
Cubillas Reservoir Fairfield Osborn Preserve
2
action count
action union
action filter_type
action find_reverse
entity Spain
relation owned by
type protected area
action filter_type
action find_reverse
entity Spain
relation owned by
type still waters
[{'concept': 'protected area'}, 'owned by', 'Spain'] [{'concept': 'still waters'}, 'owned by', 'Spain']
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { ?h property:owned_by resource:Spain . ?h rdf:type ontology:protected_area } UNION { ?h rdf:type ontology:still_waters . ?h property:owned_by resource:Spain } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6035995
P69
Q2385804
USER
Which educational institution was Innocent educated at ?
(Q6035995,P69,c(Q2385804))
action filter_type
action find
entity Q6035995
relation P69
type Q2385804
['Q6035995', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?u WHERE { resource:Q6035995 property:P69 ?u . ?u rdf:type ontology:Q2385804 }
Innocent
action filter_type
action find
entity Innocent
relation educated at
type educational institution
['Innocent', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?u WHERE { resource:Innocent property:educated_at ?u . ?u rdf:type ontology:educational_institution }
[]
educational institution
Q5292274
SYSTEM
Don Bosco Higher Secondary School, Irinjalakuda
Q5292274
(Q6035995,P69,c(Q2385804))
action filter_type
action find
entity Q6035995
relation P69
type Q2385804
Which educational institution was Innocent educated at
['Q6035995', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?u WHERE { resource:Q6035995 property:P69 ?u . ?u rdf:type ontology:Q2385804 }
Don Bosco Higher Secondary School, Irinjalakuda
Which educational institution was Innocent educated at
Don Bosco Higher Secondary School, Irinjalakuda
action filter_type
action find
entity Innocent
relation educated at
type educational institution
['Innocent', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?u WHERE { resource:Innocent property:educated_at ?u . ?u rdf:type ontology:educational_institution }
[]