Simple Question (Direct)
Simple Question
Q9030145
P1412
Q34770
USER
Which language does María Rey speak in ?
(Q9030145,P1412,c(Q34770))
action filter_type
action find
entity Q9030145
relation P1412
type Q34770
['Q9030145', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q34770 . resource:Q9030145 property:P1412 ?w }
María Rey
action filter_type
action find
entity María Rey
relation languages spoken, written or signed
type language
['María Rey', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:language . resource:María_Rey property:languages_spoken,_written_or_signed ?w }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q9030145,P1412,c(Q34770))
action filter_type
action find
entity Q9030145
relation P1412
type Q34770
María Rey speaks [ANSWER]
['Q9030145', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q34770 . resource:Q9030145 property:P1412 ?w }
Spanish
María Rey speaks Spanish
Spanish
action filter_type
action find
entity María Rey
relation languages spoken, written or signed
type language
['María Rey', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:language . resource:María_Rey property:languages_spoken,_written_or_signed ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9030145
P19
Q56061
USER
Where was María Rey born ?
(Q9030145,P19,c(Q56061))
action filter_type
action find
entity Q9030145
relation P19
type Q56061
['Q9030145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q9030145 property:P19 ?a . ?a rdf:type ontology:Q56061 }
María Rey
action filter_type
action find
entity María Rey
relation place of birth
type administrative territorial entity
['María Rey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:María_Rey property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8745
SYSTEM
Vigo
Q8745
(Q9030145,P19,c(Q56061))
action filter_type
action find
entity Q9030145
relation P19
type Q56061
María Rey was born in [ANSWER]
['Q9030145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q9030145 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Vigo
María Rey was born in Vigo
Vigo
action filter_type
action find
entity María Rey
relation place of birth
type administrative territorial entity
['María Rey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:María_Rey property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9030145
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q8745,P106,c(Q12737077))
action filter_type
action find
entity Q9030145
relation P106
type Q12737077
['Q8745', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q9030145 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
María Rey
action filter_type
action find
entity María Rey
relation occupation
type occupation
['Vigo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:María_Rey property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q1930187 Q947873
SYSTEM
journalist, television presenter
Q1930187 Q947873
(Q8745,P106,c(Q12737077))
action filter_type
action find
entity Q9030145
relation P106
type Q12737077
The [ANSWERS] have that person as his/her 's career
['Q8745', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q9030145 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
journalist television presenter
The journalist and television presenter have that person as his/her 's career
journalist television presenter
action filter_type
action find
entity María Rey
relation occupation
type occupation
['Vigo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:María_Rey property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9030145
P27
Q15617994
USER
How many administrative territories are María Rey an inhabitant of ?
(Q9030145,P27,c(Q15617994))
action count
action filter_type
action find
entity Q9030145
relation P27
type Q15617994
['Q9030145', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Q9030145 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
María Rey
action count
action filter_type
action find
entity María Rey
relation country of citizenship
type designation for an administrative territorial entity
['María Rey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:María_Rey property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q9030145,P27,c(Q15617994))
action count
action filter_type
action find
entity Q9030145
relation P27
type Q15617994
[ANSWER]
['Q9030145', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Q9030145 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity María Rey
relation country of citizenship
type designation for an administrative territorial entity
['María Rey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:María_Rey property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9030145
P21
Q290
USER
Which sex does that person possess ?
action filter_type
action find
entity Q9030145
relation P21
type Q290
SELECT DISTINCT ?f WHERE { resource:Q9030145 property:P21 ?f . ?f rdf:type ontology:Q290 }
María Rey
action filter_type
action find
entity María Rey
relation gender
type sex
SELECT DISTINCT ?f WHERE { resource:María_Rey property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
action filter_type
action find
entity Q9030145
relation P21
type Q290
That person possesses the [ANSWER]
SELECT DISTINCT ?f WHERE { resource:Q9030145 property:P21 ?f . ?f rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity María Rey
relation gender
type sex
SELECT DISTINCT ?f WHERE { resource:María_Rey property:gender ?f . ?f rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q18357755
P21
Q502895
USER
Does Helen Kelly have that sex as the sex ?
(Q18357755,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q18357755
relation P21
['Q18357755', 'P21', 'Q6581072']
ASK WHERE { resource:Q18357755 property:P21 resource:Q6581072 }
female Helen Kelly
action is_in
entity female
action find
entity Helen Kelly
relation gender
['Helen Kelly', 'gender', 'female']
ASK WHERE { resource:Helen_Kelly property:gender resource:female }
[]
common name
SYSTEM
YES
(Q18357755,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q18357755
relation P21
[ANSWER]
['Q18357755', 'P21', 'Q6581072']
ASK WHERE { resource:Q18357755 property:P21 resource:Q6581072 }
Yes
action is_in
entity female
action find
entity Helen Kelly
relation gender
['Helen Kelly', 'gender', 'female']
ASK WHERE { resource:Helen_Kelly property:gender resource:female }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8745
P551
Q502895
USER
Which person dwells at Vigo ?
(c(Q502895),P551,Q8745)
action filter_type
action find_reverse
entity Q8745
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q8745']
SELECT DISTINCT ?w WHERE { ?w property:P551 resource:Q8745 . ?w rdf:type ontology:Q502895 }
Vigo
action filter_type
action find_reverse
entity Vigo
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Vigo']
SELECT DISTINCT ?w WHERE { ?w property:residence resource:Vigo . ?w rdf:type ontology:common_name }
[]
common name
Q20532866
SYSTEM
Gloria Lago
Q20532866
(c(Q502895),P551,Q8745)
action filter_type
action find_reverse
entity Q8745
relation P551
type Q502895
[ANSWER] dwells at Vigo
[{'concept': 'Q502895'}, 'P551', 'Q8745']
SELECT DISTINCT ?w WHERE { ?w property:P551 resource:Q8745 . ?w rdf:type ontology:Q502895 }
Gloria Lago
Gloria Lago dwells at Vigo
Gloria Lago
action filter_type
action find_reverse
entity Vigo
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Vigo']
SELECT DISTINCT ?w WHERE { ?w property:residence resource:Vigo . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20532866
P937
Q56061
USER
Which administrative territory is the work location of that person ?
(Q20532866,P937,c(Q56061))
action filter_type
action find
entity Q20532866
relation P937
type Q56061
['Q20532866', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q20532866 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Gloria Lago
action filter_type
action find
entity Gloria Lago
relation work location
type administrative territorial entity
['Gloria Lago', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Gloria_Lago property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8745
SYSTEM
Vigo
Q8745
(Q20532866,P937,c(Q56061))
action filter_type
action find
entity Q20532866
relation P937
type Q56061
[ANSWER] is the work location of that person
['Q20532866', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q20532866 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Vigo
Vigo is the work location of that person
Vigo
action filter_type
action find
entity Gloria Lago
relation work location
type administrative territorial entity
['Gloria Lago', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Gloria_Lago property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]