Simple Question (Direct)
Simple Question
Q24565359
P136
Q151885
USER
What is the genre of Lisa Lopez ?
(Q24565359,P136,c(Q151885))
action filter_type
action find
entity Q24565359
relation P136
type Q151885
['Q24565359', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q151885 . resource:Q24565359 property:P136 ?b }
Lisa Lopez
action filter_type
action find
entity Lisa Lopez
relation genre
type concept
['Lisa Lopez', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:concept . resource:Lisa_Lopez property:genre ?b }
[]
concept
Q431415
SYSTEM
Tejano music
Q431415
(Q24565359,P136,c(Q151885))
action filter_type
action find
entity Q24565359
relation P136
type Q151885
The genre of Lisa Lopez is of [ANSWER]
['Q24565359', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q151885 . resource:Q24565359 property:P136 ?b }
Tejano music
The genre of Lisa Lopez is of Tejano music
Tejano music
action filter_type
action find
entity Lisa Lopez
relation genre
type concept
['Lisa Lopez', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:concept . resource:Lisa_Lopez property:genre ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24565359
P734
Q82799
USER
Which name is associated with Lisa Lopez ?
(Q24565359,P734,c(Q82799))
action filter_type
action find
entity Q24565359
relation P734
type Q82799
['Q24565359', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q24565359 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Lisa Lopez
action filter_type
action find
entity Lisa Lopez
relation family name
type name
['Lisa Lopez', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Lisa_Lopez property:family_name ?s . ?s rdf:type ontology:name }
[]
name
Q1158701
SYSTEM
López
Q1158701
(Q24565359,P734,c(Q82799))
action filter_type
action find
entity Q24565359
relation P734
type Q82799
Was [ANSWER] is associated with Lisa Lopez
['Q24565359', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q24565359 property:P734 ?s . ?s rdf:type ontology:Q82799 }
López
Was López is associated with Lisa Lopez
López
action filter_type
action find
entity Lisa Lopez
relation family name
type name
['Lisa Lopez', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Lisa_Lopez property:family_name ?s . ?s rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24565359
P21
Q290
USER
Which sex does Lisa Lopez have ?
(Q24565359,P21,c(Q290))
action filter_type
action find
entity Q24565359
relation P21
type Q290
['Q24565359', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q24565359 property:P21 ?z . ?z rdf:type ontology:Q290 }
Lisa Lopez
action filter_type
action find
entity Lisa Lopez
relation gender
type sex
['Lisa Lopez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Lisa_Lopez property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q24565359,P21,c(Q290))
action filter_type
action find
entity Q24565359
relation P21
type Q290
Lisa Lopez has a [ANSWER]
['Q24565359', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q24565359 property:P21 ?z . ?z rdf:type ontology:Q290 }
female
Lisa Lopez has a female
female
action filter_type
action find
entity Lisa Lopez
relation gender
type sex
['Lisa Lopez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Lisa_Lopez property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18984334
Q290
USER
And how about Vladimir Ivanovich Dorofeev?
(Q18984334,P21,c(Q290))
action filter_type
action find
entity Q18984334
relation P21
type Q290
['Q18984334', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q18984334 property:P21 ?i . ?i rdf:type ontology:Q290 }
Vladimir Ivanovich Dorofeev
action filter_type
action find
entity Vladimir Ivanovich Dorofeev
relation gender
type sex
['Vladimir Ivanovich Dorofeev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Vladimir_Ivanovich_Dorofeev property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18984334,P21,c(Q290))
action filter_type
action find
entity Q18984334
relation P21
type Q290
[ANSWER]
['Q18984334', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q18984334 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Vladimir Ivanovich Dorofeev
relation gender
type sex
['Vladimir Ivanovich Dorofeev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Vladimir_Ivanovich_Dorofeev property:gender ?i . ?i rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q11225099
P21
Q502895
USER
Does Juan Carlos Lama Basas have that sex as the sex ?
(Q11225099,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q11225099
relation P21
['Q11225099', 'P21', 'Q6581097']
ASK WHERE { resource:Q11225099 property:P21 resource:Q6581097 }
male Juan Carlos Lama Basas
action is_in
entity male
action find
entity Juan Carlos Lama Basas
relation gender
['Juan Carlos Lama Basas', 'gender', 'male']
ASK WHERE { resource:Juan_Carlos_Lama_Basas property:gender resource:male }
[]
common name
SYSTEM
YES
(Q11225099,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q11225099
relation P21
[ANSWER]
['Q11225099', 'P21', 'Q6581097']
ASK WHERE { resource:Q11225099 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Juan Carlos Lama Basas
relation gender
['Juan Carlos Lama Basas', 'gender', 'male']
ASK WHERE { resource:Juan_Carlos_Lama_Basas property:gender resource:male }
[]