Simple Question (Direct)
Simple Question
Q4754104
P641
Q349
USER
What did Anderson José de Jesús Costa participate in ?
(Q4754104,P641,c(Q349))
action filter_type
action find
entity Q4754104
relation P641
type Q349
['Q4754104', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q4754104 property:P641 ?w . ?w rdf:type ontology:Q349 }
Anderson José de Jesús Costa
action filter_type
action find
entity Anderson José de Jesús Costa
relation sport
type sport
['Anderson José de Jesús Costa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Anderson_José_de_Jesús_Costa property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4754104,P641,c(Q349))
action filter_type
action find
entity Q4754104
relation P641
type Q349
Anderson José de Jesús Costa participated in [ANSWER]
['Q4754104', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q4754104 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
Anderson José de Jesús Costa participated in association football
association football
action filter_type
action find
entity Anderson José de Jesús Costa
relation sport
type sport
['Anderson José de Jesús Costa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Anderson_José_de_Jesús_Costa property:sport ?w . ?w rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4754104
P21
Q290
USER
Which sex does that person have ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q4754104
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q4754104 property:P21 ?f . ?f rdf:type ontology:Q290 }
Anderson José de Jesús Costa
action filter_type
action find
entity Anderson José de Jesús Costa
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Anderson_José_de_Jesús_Costa property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q4754104
relation P21
type Q290
That person has a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q4754104 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Anderson José de Jesús Costa
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Anderson_José_de_Jesús_Costa property:gender ?f . ?f rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q7051953 Q4754104
P21
Q290
USER
And also Norman Barrett
AND((Q4754104,P21,c(Q290)), (Q7051953,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q4754104
relation P21
action find
entity Q7051953
relation P21
type Q290
{'AND': [['Q4754104', 'P21', {'concept': 'Q290'}], ['Q7051953', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?o WHERE { resource:Q7051953 property:P21 ?o . resource:Q4754104 property:P21 ?o . ?o rdf:type ontology:Q290 }
Norman Barrett Anderson José de Jesús Costa
action filter_type
action intersection
action find
entity Anderson José de Jesús Costa
relation gender
action find
entity Norman Barrett
relation gender
type sex
{'AND': [['Anderson José de Jesús Costa', 'gender', {'concept': 'sex'}], ['Norman Barrett', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?o WHERE { resource:Norman_Barrett property:gender ?o . resource:Anderson_José_de_Jesús_Costa property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q4754104,P21,c(Q290)), (Q7051953,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q4754104
relation P21
action find
entity Q7051953
relation P21
type Q290
[ANSWER]
{'AND': [['Q4754104', 'P21', {'concept': 'Q290'}], ['Q7051953', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?o WHERE { resource:Q7051953 property:P21 ?o . resource:Q4754104 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Anderson José de Jesús Costa
relation gender
action find
entity Norman Barrett
relation gender
type sex
{'AND': [['Anderson José de Jesús Costa', 'gender', {'concept': 'sex'}], ['Norman Barrett', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?o WHERE { resource:Norman_Barrett property:gender ?o . resource:Anderson_José_de_Jesús_Costa property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7051953
P106
Q12737077
USER
What is the profession of Norman Barrett ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q7051953
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q7051953 property:P106 ?r }
Norman Barrett
action filter_type
action find
entity Norman Barrett
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Norman_Barrett property:occupation ?r }
[]
occupation
Q17307272
SYSTEM
circus performer
Q17307272
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q7051953
relation P106
type Q12737077
The profession of Norman Barrett is a [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q7051953 property:P106 ?r }
circus performer
The profession of Norman Barrett is a circus performer
circus performer
action filter_type
action find
entity Norman Barrett
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Norman_Barrett property:occupation ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5286374
Q12737077
USER
And what about Do You Remember Laurie Zimmer??
(Q5286374,P921,c(Q12737077))
action filter_type
action find
entity Q5286374
relation P921
type Q12737077
['Q5286374', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q5286374 property:P921 ?y . ?y rdf:type ontology:Q12737077 }
Do You Remember Laurie Zimmer?
action filter_type
action find
entity Do You Remember Laurie Zimmer?
relation main subject
type occupation
['Do You Remember Laurie Zimmer?', 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Do_You_Remember_Laurie_Zimmer? property:main_subject ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q5286374,P921,c(Q12737077))
action filter_type
action find
entity Q5286374
relation P921
type Q12737077
Laurie Zimmer And Zimmer [ANSWER] You about Remember Do
['Q5286374', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q5286374 property:P921 ?y . ?y rdf:type ontology:Q12737077 }
actor
Laurie Zimmer And Zimmer actor You about Remember Do
actor
action filter_type
action find
entity Do You Remember Laurie Zimmer?
relation main subject
type occupation
['Do You Remember Laurie Zimmer?', 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Do_You_Remember_Laurie_Zimmer? property:main_subject ?y . ?y rdf:type ontology:occupation }
[]