Simple Question (Direct)
Simple Question
Q7815681
P106
Q12737077
USER
Which occupations are the professions of Tom Dutra ?
(Q7815681,P106,c(Q12737077))
action filter_type
action find
entity Q7815681
relation P106
type Q12737077
['Q7815681', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q7815681 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Tom Dutra
action filter_type
action find
entity Tom Dutra
relation occupation
type occupation
['Tom Dutra', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Tom_Dutra property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q7815681,P106,c(Q12737077))
action filter_type
action find
entity Q7815681
relation P106
type Q12737077
The professions of Tom Dutra are the [ANSWERS]
['Q7815681', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q7815681 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
association football manager association football player
The professions of Tom Dutra are the association football manager and association football player
association football manager association football player
action filter_type
action find
entity Tom Dutra
relation occupation
type occupation
['Tom Dutra', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Tom_Dutra property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q628099 Q937857
P425
Q349
USER
What sports have those ones as thier associated field of occupation ?
(Q628099,P425,c(Q349)) (Q937857,P425,c(Q349))
action filter_type
action find
entity prev_answer
relation P425
type Q349
['Q628099', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q349 . ?d property:P425 ?g . VALUES ( ?d ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
association football manager association football player
action filter_type
action find
entity prev_answer
relation field of this occupation
type sport
['association football manager', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sport . ?d property:field_of_this_occupation ?g . VALUES ( ?d ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
sport
Q2736 Q2736
SYSTEM
association football
Q2736 Q2736
(Q628099,P425,c(Q349)) (Q937857,P425,c(Q349))
action filter_type
action find
entity prev_answer
relation P425
type Q349
[ANSWER] and [ANSWER] have those ones as thier associated field of occupation
['Q628099', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q349 . ?d property:P425 ?g . VALUES ( ?d ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
association football association football
Association football and association football have those ones as thier associated field of occupation
association football association football
action filter_type
action find
entity prev_answer
relation field of this occupation
type sport
['association football manager', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sport . ?d property:field_of_this_occupation ?g . VALUES ( ?d ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7815681
P641
Q349
USER
What did Tom Dutra participate in ?
(Q7815681,P641,c(Q349))
action filter_type
action find
entity Q7815681
relation P641
type Q349
['Q7815681', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q7815681 property:P641 ?j . ?j rdf:type ontology:Q349 }
Tom Dutra
action filter_type
action find
entity Tom Dutra
relation sport
type sport
['Tom Dutra', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Tom_Dutra property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7815681,P641,c(Q349))
action filter_type
action find
entity Q7815681
relation P641
type Q349
Tom Dutra participated in [ANSWER]
['Q7815681', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q7815681 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
Tom Dutra participated in association football
association football
action filter_type
action find
entity Tom Dutra
relation sport
type sport
['Tom Dutra', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Tom_Dutra property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7815681
P21
Q290
USER
What is the sex of Tom Dutra ?
(Q7815681,P21,c(Q290))
action filter_type
action find
entity Q7815681
relation P21
type Q290
['Q7815681', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q7815681 property:P21 ?y . ?y rdf:type ontology:Q290 }
Tom Dutra
action filter_type
action find
entity Tom Dutra
relation gender
type sex
['Tom Dutra', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Tom_Dutra property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7815681,P21,c(Q290))
action filter_type
action find
entity Q7815681
relation P21
type Q290
The sex of Tom Dutra is the [ANSWER]
['Q7815681', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q7815681 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
The sex of Tom Dutra is the male
male
action filter_type
action find
entity Tom Dutra
relation gender
type sex
['Tom Dutra', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Tom_Dutra property:gender ?y . ?y rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1563758 Q7815681
P21
Q290
USER
Or Desirée Rogers?
OR((Q7815681,P21,c(Q290)), (Q1563758,P21,c(Q290)))
action filter_type
action union
action find
entity Q7815681
relation P21
action find
entity Q1563758
relation P21
type Q290
{'OR': [['Q7815681', 'P21', {'concept': 'Q290'}], ['Q1563758', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?f WHERE { { ?p property:P21 ?f . VALUES ( ?p ) { ( resource:Q7815681 ) ( resource:Q1563758 ) } } . ?f rdf:type ontology:Q290 }
Desirée Rogers Tom Dutra
action filter_type
action union
action find
entity Tom Dutra
relation gender
action find
entity Desirée Rogers
relation gender
type sex
{'OR': [['Tom Dutra', 'gender', {'concept': 'sex'}], ['Desirée Rogers', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?f WHERE { { ?p property:gender ?f . VALUES ( ?p ) { ( resource:Tom_Dutra ) ( resource:Desirée_Rogers ) } } . ?f rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
OR((Q7815681,P21,c(Q290)), (Q1563758,P21,c(Q290)))
action filter_type
action union
action find
entity Q7815681
relation P21
action find
entity Q1563758
relation P21
type Q290
[ANSWERS]
{'OR': [['Q7815681', 'P21', {'concept': 'Q290'}], ['Q1563758', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?f WHERE { { ?p property:P21 ?f . VALUES ( ?p ) { ( resource:Q7815681 ) ( resource:Q1563758 ) } } . ?f rdf:type ontology:Q290 }
male female
male female
action filter_type
action union
action find
entity Tom Dutra
relation gender
action find
entity Desirée Rogers
relation gender
type sex
{'OR': [['Tom Dutra', 'gender', {'concept': 'sex'}], ['Desirée Rogers', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?f WHERE { { ?p property:gender ?f . VALUES ( ?p ) { ( resource:Tom_Dutra ) ( resource:Desirée_Rogers ) } } . ?f rdf:type ontology:sex }
[]