Simple Question (Direct)
Simple Question
Q8961370
P20
Q56061
USER
Where did Fernando O. Assunção die ?
(Q8961370,P20,c(Q56061))
action filter_type
action find
entity Q8961370
relation P20
type Q56061
['Q8961370', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q8961370 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Fernando O. Assunção
action filter_type
action find
entity Fernando O. Assunção
relation place of death
type administrative territorial entity
['Fernando O. Assunção', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Fernando_O._Assunção property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q174
SYSTEM
São Paulo
Q174
(Q8961370,P20,c(Q56061))
action filter_type
action find
entity Q8961370
relation P20
type Q56061
Fernando O. Assunção died in [ANSWER]
['Q8961370', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q8961370 property:P20 ?v . ?v rdf:type ontology:Q56061 }
São Paulo
Fernando O. Assunção died in São Paulo
São Paulo
action filter_type
action find
entity Fernando O. Assunção
relation place of death
type administrative territorial entity
['Fernando O. Assunção', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Fernando_O._Assunção property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8961370
P106
Q12737077
USER
What are the professions of that person ?
(Q174,P106,c(Q12737077))
action filter_type
action find
entity Q8961370
relation P106
type Q12737077
['Q174', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q8961370 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Fernando O. Assunção
action filter_type
action find
entity Fernando O. Assunção
relation occupation
type occupation
['São Paulo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Fernando_O._Assunção property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q201788 Q4773904 Q36180
SYSTEM
historian, anthropologist, writer
Q201788 Q4773904 Q36180
(Q174,P106,c(Q12737077))
action filter_type
action find
entity Q8961370
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q174', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q8961370 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
historian anthropologist writer
The professions of that person are historian, anthropologist and writer
historian anthropologist writer
action filter_type
action find
entity Fernando O. Assunção
relation occupation
type occupation
['São Paulo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Fernando_O._Assunção property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
How many occupations are the fields of work of less number of collectables than that occupation ?
(c(Q2342494),P101,c(Q12737077))
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
occupation collectable
Comparative|Count over More/Less|Single entity type|Clarification
Q201788
SYSTEM
Did you mean historian ?
(c(Q2342494),P101,c(Q12737077))
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
Did you mean historian ?
historian
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant writer. Could you tell me the answer for that?
(c(Q2342494),P101,c(Q12737077))
Q36180
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
[]
SYSTEM
0
(c(Q2342494),P101,c(Q12737077))
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
0
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]