Simple Question (Direct)
Simple Question
Q11927581
P21
Q290
USER
Which sex does Joan Alavedra i Segurañas have ?
(Q11927581,P21,c(Q290))
action filter_type
action find
entity Q11927581
relation P21
type Q290
['Q11927581', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q11927581 property:P21 ?b . ?b rdf:type ontology:Q290 }
Joan Alavedra i Segurañas
action filter_type
action find
entity Joan Alavedra i Segurañas
relation gender
type sex
['Joan Alavedra i Segurañas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Joan_Alavedra_i_Segurañas property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11927581,P21,c(Q290))
action filter_type
action find
entity Q11927581
relation P21
type Q290
Joan Alavedra i Segurañas has been [ANSWER]
['Q11927581', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q11927581 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Joan Alavedra i Segurañas has been male
male
action filter_type
action find
entity Joan Alavedra i Segurañas
relation gender
type sex
['Joan Alavedra i Segurañas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Joan_Alavedra_i_Segurañas property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11927581
P106
Q12737077
USER
What are the professions of Joan Alavedra i Segurañas ?
(Q11927581,P106,c(Q12737077))
action filter_type
action find
entity Q11927581
relation P106
type Q12737077
['Q11927581', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q11927581 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Joan Alavedra i Segurañas
action filter_type
action find
entity Joan Alavedra i Segurañas
relation occupation
type occupation
['Joan Alavedra i Segurañas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Joan_Alavedra_i_Segurañas property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q1930187 Q36180 Q49757
SYSTEM
journalist, writer, poet
Q1930187 Q36180 Q49757
(Q11927581,P106,c(Q12737077))
action filter_type
action find
entity Q11927581
relation P106
type Q12737077
The professions of Joan Alavedra i Segurañas are a [ANSWERS]
['Q11927581', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q11927581 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
journalist writer poet
The professions of Joan Alavedra i Segurañas are a journalist, writer and poet
journalist writer poet
action filter_type
action find
entity Joan Alavedra i Segurañas
relation occupation
type occupation
['Joan Alavedra i Segurañas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Joan_Alavedra_i_Segurañas property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3770475
Q12737077
USER
And what about Giuseppe Dipasquale?
(Q3770475,P106,c(Q12737077))
action filter_type
action find
entity Q3770475
relation P106
type Q12737077
['Q3770475', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3770475 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Giuseppe Dipasquale
action filter_type
action find
entity Giuseppe Dipasquale
relation occupation
type occupation
['Giuseppe Dipasquale', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Giuseppe_Dipasquale property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q3770475,P106,c(Q12737077))
action filter_type
action find
entity Q3770475
relation P106
type Q12737077
[ANSWER]
['Q3770475', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3770475 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
writer
writer
action filter_type
action find
entity Giuseppe Dipasquale
relation occupation
type occupation
['Giuseppe Dipasquale', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Giuseppe_Dipasquale property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3770475
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q36180,P19,c(Q56061))
action filter_type
action find
entity Q3770475
relation P19
type Q56061
['Q36180', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3770475 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Giuseppe Dipasquale
action filter_type
action find
entity Giuseppe Dipasquale
relation place of birth
type administrative territorial entity
['writer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Giuseppe_Dipasquale property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1903
SYSTEM
Catania
Q1903
(Q36180,P19,c(Q56061))
action filter_type
action find
entity Q3770475
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q36180', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3770475 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Catania
Catania is the birthplace of that person
Catania
action filter_type
action find
entity Giuseppe Dipasquale
relation place of birth
type administrative territorial entity
['writer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Giuseppe_Dipasquale property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3770475
P27
Q15617994
USER
Which administrative territory is the native country of Giuseppe Dipasquale ?
(Q3770475,P27,c(Q15617994))
action filter_type
action find
entity Q3770475
relation P27
type Q15617994
['Q3770475', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q3770475 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Giuseppe Dipasquale
action filter_type
action find
entity Giuseppe Dipasquale
relation country of citizenship
type designation for an administrative territorial entity
['Giuseppe Dipasquale', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Giuseppe_Dipasquale property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3770475,P27,c(Q15617994))
action filter_type
action find
entity Q3770475
relation P27
type Q15617994
[ANSWER] is the native country of Giuseppe Dipasquale
['Q3770475', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q3770475 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Italy
Italy is the native country of Giuseppe Dipasquale
Italy
action filter_type
action find
entity Giuseppe Dipasquale
relation country of citizenship
type designation for an administrative territorial entity
['Giuseppe Dipasquale', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Giuseppe_Dipasquale property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3950926
Q15617994
USER
And also tell me about Sauro Taiti?
(Q3950926,P27,c(Q15617994))
action filter_type
action find
entity Q3950926
relation P27
type Q15617994
['Q3950926', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q3950926 property:P27 ?w }
Sauro Taiti
action filter_type
action find
entity Sauro Taiti
relation country of citizenship
type designation for an administrative territorial entity
['Sauro Taiti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sauro_Taiti property:country_of_citizenship ?w }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3950926,P27,c(Q15617994))
action filter_type
action find
entity Q3950926
relation P27
type Q15617994
[ANSWER]
['Q3950926', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q3950926 property:P27 ?w }
Italy
Italy
action filter_type
action find
entity Sauro Taiti
relation country of citizenship
type designation for an administrative territorial entity
['Sauro Taiti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sauro_Taiti property:country_of_citizenship ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q38 Q13564490
P495
Q838948
USER
Did Kochu Kochu Santhoshangal originate in that administrative territory ?
(Q13564490,P495,Q38)
action is_in
entity Q13564490
action find
entity Q38
relation P495
['Q13564490', 'P495', 'Q38']
ASK WHERE { resource:Q38 property:P495 resource:Q13564490 }
Italy Kochu Kochu Santhoshangal
action is_in
entity Kochu Kochu Santhoshangal
action find
entity Italy
relation country of origin
['Kochu Kochu Santhoshangal', 'country of origin', 'Italy']
ASK WHERE { resource:Italy property:country_of_origin resource:Kochu_Kochu_Santhoshangal }
[]
work of art
SYSTEM
NO
(Q13564490,P495,Q38)
action is_in
entity Q13564490
action find
entity Q38
relation P495
[ANSWER]
['Q13564490', 'P495', 'Q38']
ASK WHERE { resource:Q38 property:P495 resource:Q13564490 }
No
action is_in
entity Kochu Kochu Santhoshangal
action find
entity Italy
relation country of origin
['Kochu Kochu Santhoshangal', 'country of origin', 'Italy']
ASK WHERE { resource:Italy property:country_of_origin resource:Kochu_Kochu_Santhoshangal }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q14953721 Q11927581
P19 P915
Q56061
USER
Which administrative territories were Joan Alavedra i Segurañas born or were the locations of filming A Little Chaos ?
OR((Q11927581,P19,c(Q56061)), (Q14953721,P915,c(Q56061)))
action filter_type
action union
action find
entity Q11927581
relation P19
action find
entity Q14953721
relation P915
type Q56061
{'OR': [['Q11927581', 'P19', {'concept': 'Q56061'}], ['Q14953721', 'P915', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q11927581 property:P19 ?e } UNION { resource:Q14953721 property:P915 ?e } } . ?e rdf:type ontology:Q56061 }
A Little Chaos Joan Alavedra i Segurañas
action filter_type
action union
action find
entity Joan Alavedra i Segurañas
relation place of birth
action find
entity A Little Chaos
relation filming location
type administrative territorial entity
{'OR': [['Joan Alavedra i Segurañas', 'place of birth', {'concept': 'administrative territorial entity'}], ['A Little Chaos', 'filming location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Joan_Alavedra_i_Segurañas property:place_of_birth ?e } UNION { resource:A_Little_Chaos property:filming_location ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492 Q84
SYSTEM
Barcelona, London
Q1492 Q84
OR((Q11927581,P19,c(Q56061)), (Q14953721,P915,c(Q56061)))
action filter_type
action union
action find
entity Q11927581
relation P19
action find
entity Q14953721
relation P915
type Q56061
Joan Alavedra i Segurañas were born in [ANSWERS] or were the locations of filming A Little Chaos
{'OR': [['Q11927581', 'P19', {'concept': 'Q56061'}], ['Q14953721', 'P915', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q11927581 property:P19 ?e } UNION { resource:Q14953721 property:P915 ?e } } . ?e rdf:type ontology:Q56061 }
Barcelona London
Joan Alavedra i Segurañas were born in Barcelona and London or were the locations of filming A Little Chaos
Barcelona London
action filter_type
action union
action find
entity Joan Alavedra i Segurañas
relation place of birth
action find
entity A Little Chaos
relation filming location
type administrative territorial entity
{'OR': [['Joan Alavedra i Segurañas', 'place of birth', {'concept': 'administrative territorial entity'}], ['A Little Chaos', 'filming location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Joan_Alavedra_i_Segurañas property:place_of_birth ?e } UNION { resource:A_Little_Chaos property:filming_location ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]