Simple Question (Direct)
Simple Question
Q2784206
P641
Q349
USER
Which sport did Aleksei Sabanov participate in ?
(Q2784206,P641,c(Q349))
action filter_type
action find
entity Q2784206
relation P641
type Q349
['Q2784206', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q2784206 property:P641 ?l . ?l rdf:type ontology:Q349 }
Aleksei Sabanov
action filter_type
action find
entity Aleksei Sabanov
relation sport
type sport
['Aleksei Sabanov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Aleksei_Sabanov property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2784206,P641,c(Q349))
action filter_type
action find
entity Q2784206
relation P641
type Q349
Aleksei Sabanov participated in [ANSWER]
['Q2784206', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q2784206 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
Aleksei Sabanov participated in association football
association football
action filter_type
action find
entity Aleksei Sabanov
relation sport
type sport
['Aleksei Sabanov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Aleksei_Sabanov property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2784206
P21
Q290
USER
Which sex does Aleksei Sabanov belong to ?
(Q2784206,P21,c(Q290))
action filter_type
action find
entity Q2784206
relation P21
type Q290
['Q2784206', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q2784206 property:P21 ?n . ?n rdf:type ontology:Q290 }
Aleksei Sabanov
action filter_type
action find
entity Aleksei Sabanov
relation gender
type sex
['Aleksei Sabanov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Aleksei_Sabanov property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2784206,P21,c(Q290))
action filter_type
action find
entity Q2784206
relation P21
type Q290
Aleksei Sabanov belongs to [ANSWER]
['Q2784206', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q2784206 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Aleksei Sabanov belongs to male
male
action filter_type
action find
entity Aleksei Sabanov
relation gender
type sex
['Aleksei Sabanov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Aleksei_Sabanov property:gender ?n . ?n rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q18131024
P21
Q502895
USER
Does Erich Bloch have that sex as the sex ?
(Q18131024,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q18131024
relation P21
['Q18131024', 'P21', 'Q6581097']
ASK WHERE { resource:Q18131024 property:P21 resource:Q6581097 }
male Erich Bloch
action is_in
entity male
action find
entity Erich Bloch
relation gender
['Erich Bloch', 'gender', 'male']
ASK WHERE { resource:Erich_Bloch property:gender resource:male }
[]
common name
SYSTEM
YES
(Q18131024,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q18131024
relation P21
[ANSWER]
['Q18131024', 'P21', 'Q6581097']
ASK WHERE { resource:Q18131024 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Erich Bloch
relation gender
['Erich Bloch', 'gender', 'male']
ASK WHERE { resource:Erich_Bloch property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2784206
P106
Q12737077
USER
Which occupation is the profession of Aleksei Sabanov ?
(Q2784206,P106,c(Q12737077))
action filter_type
action find
entity Q2784206
relation P106
type Q12737077
['Q2784206', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q2784206 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Aleksei Sabanov
action filter_type
action find
entity Aleksei Sabanov
relation occupation
type occupation
['Aleksei Sabanov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Aleksei_Sabanov property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2784206,P106,c(Q12737077))
action filter_type
action find
entity Q2784206
relation P106
type Q12737077
Player [ANSWER] is the profession of Aleksei Sabanov
['Q2784206', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q2784206 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Aleksei Sabanov
association football player
action filter_type
action find
entity Aleksei Sabanov
relation occupation
type occupation
['Aleksei Sabanov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Aleksei_Sabanov property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q9014418 Q2784206
P106
Q12737077
USER
Or José María Hernández Garnica?
OR((Q2784206,P106,c(Q12737077)), (Q9014418,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2784206
relation P106
action find
entity Q9014418
relation P106
type Q12737077
{'OR': [['Q2784206', 'P106', {'concept': 'Q12737077'}], ['Q9014418', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2784206 property:P106 ?q } UNION { resource:Q9014418 property:P106 ?q } } . ?q rdf:type ontology:Q12737077 }
José María Hernández Garnica Aleksei Sabanov
action filter_type
action union
action find
entity Aleksei Sabanov
relation occupation
action find
entity José María Hernández Garnica
relation occupation
type occupation
{'OR': [['Aleksei Sabanov', 'occupation', {'concept': 'occupation'}], ['José María Hernández Garnica', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Aleksei_Sabanov property:occupation ?q } UNION { resource:José_María_Hernández_Garnica property:occupation ?q } } . ?q rdf:type ontology:occupation }
[]
occupation
Q42603 Q937857
SYSTEM
priest, association football player
Q42603 Q937857
OR((Q2784206,P106,c(Q12737077)), (Q9014418,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2784206
relation P106
action find
entity Q9014418
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q2784206', 'P106', {'concept': 'Q12737077'}], ['Q9014418', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2784206 property:P106 ?q } UNION { resource:Q9014418 property:P106 ?q } } . ?q rdf:type ontology:Q12737077 }
priest association football player
priest association football player
action filter_type
action union
action find
entity Aleksei Sabanov
relation occupation
action find
entity José María Hernández Garnica
relation occupation
type occupation
{'OR': [['Aleksei Sabanov', 'occupation', {'concept': 'occupation'}], ['José María Hernández Garnica', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Aleksei_Sabanov property:occupation ?q } UNION { resource:José_María_Hernández_Garnica property:occupation ?q } } . ?q rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q8008691
P106
Q502895
USER
Do William Evans have those occupations as his/her means of employment ?
(Q8008691,P106,Q42603) (Q8008691,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q8008691
relation P106
['Q8008691', 'P106', 'Q42603'] ['Q8008691', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?m ) { ( resource:Q42603 ) ( resource:Q937857 ) } . resource:Q8008691 property:P106 ?m }
William Evans
action is_in
entity prev_answer
action find
entity William Evans
relation occupation
['William Evans', 'occupation', 'priest'] ['William Evans', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?m ) { ( resource:priest ) ( resource:association_football_player ) } . resource:William_Evans property:occupation ?m }
[]
common name
SYSTEM
YES
(Q8008691,P106,Q42603) (Q8008691,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q8008691
relation P106
[ANSWER]
['Q8008691', 'P106', 'Q42603'] ['Q8008691', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?m ) { ( resource:Q42603 ) ( resource:Q937857 ) } . resource:Q8008691 property:P106 ?m }
Yes
action is_in
entity prev_answer
action find
entity William Evans
relation occupation
['William Evans', 'occupation', 'priest'] ['William Evans', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?m ) { ( resource:priest ) ( resource:association_football_player ) } . resource:William_Evans property:occupation ?m }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q937857 Q17019717 Q2736
P425
Q349
USER
Does association football player have women's mixed martial arts and association football as thier field of occupation ?
(Q937857,P425,Q17019717) (Q937857,P425,Q2736)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q17019717
relation P425
action find_reverse
entity Q2736
relation P425
['Q937857', 'P425', 'Q17019717'] ['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q17019717 }
association football player women's mixed martial arts association football
action is_in
entity association football player
action intersection
action find_reverse
entity women's mixed martial arts
relation field of this occupation
action find_reverse
entity association football
relation field of this occupation
['association football player', 'field of this occupation', "women's mixed martial arts"] ['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:women's_mixed_martial_arts }
[]
sport
SYSTEM
NO and YES respectively
(Q937857,P425,Q17019717) (Q937857,P425,Q2736)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q17019717
relation P425
action find_reverse
entity Q2736
relation P425
[ANSWER]
['Q937857', 'P425', 'Q17019717'] ['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q17019717 }
NO and YES respectively
action is_in
entity association football player
action intersection
action find_reverse
entity women's mixed martial arts
relation field of this occupation
action find_reverse
entity association football
relation field of this occupation
['association football player', 'field of this occupation', "women's mixed martial arts"] ['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:women's_mixed_martial_arts }
[]