Simple Question (Direct)
Simple Question
Q770796
P27
Q15617994
USER
Which administrative territory is Adryan an inhabitant of ?
(Q770796,P27,c(Q15617994))
action filter_type
action find
entity Q770796
relation P27
type Q15617994
['Q770796', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q770796 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Adryan
action filter_type
action find
entity Adryan
relation country of citizenship
type designation for an administrative territorial entity
['Adryan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Adryan property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q770796,P27,c(Q15617994))
action filter_type
action find
entity Q770796
relation P27
type Q15617994
[ANSWER] is Adryan an inhabitant of
['Q770796', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q770796 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Brazil
Brazil is Adryan an inhabitant of
Brazil
action filter_type
action find
entity Adryan
relation country of citizenship
type designation for an administrative territorial entity
['Adryan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Adryan property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q770796
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q155,P19,c(Q56061))
action filter_type
action find
entity Q770796
relation P19
type Q56061
['Q155', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q770796 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Adryan
action filter_type
action find
entity Adryan
relation place of birth
type administrative territorial entity
['Brazil', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Adryan property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678
SYSTEM
Rio de Janeiro
Q8678
(Q155,P19,c(Q56061))
action filter_type
action find
entity Q770796
relation P19
type Q56061
That person was born in [ANSWER]
['Q155', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q770796 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Rio de Janeiro
That person was born in Rio de Janeiro
Rio de Janeiro
action filter_type
action find
entity Adryan
relation place of birth
type administrative territorial entity
['Brazil', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Adryan property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q155 Q28513
P27
Q502895
USER
How many people are civilians of Brazil and Austria-Hungary ?
(c(Q502895),P27,Q155) (c(Q502895),P27,Q28513)
action count
action intersection
action filter_type
action find_reverse
entity Q155
relation P27
type Q502895
action filter_type
action find_reverse
entity Q28513
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q155'] [{'concept': 'Q502895'}, 'P27', 'Q28513']
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P27 resource:Q155 . ?y rdf:type ontology:Q502895 . ?y property:P27 resource:Q28513 . ?y rdf:type ontology:Q502895 }
Brazil Austria-Hungary
action count
action intersection
action filter_type
action find_reverse
entity Brazil
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Austria-Hungary
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Brazil'] [{'concept': 'common name'}, 'country of citizenship', 'Austria-Hungary']
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:country_of_citizenship resource:Brazil . ?y rdf:type ontology:common_name . ?y property:country_of_citizenship resource:Austria-Hungary . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q15740229 Q2601698
(c(Q502895),P27,Q155) (c(Q502895),P27,Q28513)
action count
action intersection
action filter_type
action find_reverse
entity Q155
relation P27
type Q502895
action filter_type
action find_reverse
entity Q28513
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q155'] [{'concept': 'Q502895'}, 'P27', 'Q28513']
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P27 resource:Q155 . ?y rdf:type ontology:Q502895 . ?y property:P27 resource:Q28513 . ?y rdf:type ontology:Q502895 }
Johann Rick Adolpho Ducke
2
action count
action intersection
action filter_type
action find_reverse
entity Brazil
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Austria-Hungary
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Brazil'] [{'concept': 'common name'}, 'country of citizenship', 'Austria-Hungary']
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:country_of_citizenship resource:Brazil . ?y rdf:type ontology:common_name . ?y property:country_of_citizenship resource:Austria-Hungary . ?y rdf:type ontology:common_name }
[]