Simple Question (Direct)
Simple Question
Q2778260
P54
Q1194951
USER
Which national sports team is Ousmane Berthé a member of ?
(Q2778260,P54,c(Q1194951))
action filter_type
action find
entity Q2778260
relation P54
type Q1194951
['Q2778260', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?w WHERE { resource:Q2778260 property:P54 ?w . ?w rdf:type ontology:Q1194951 }
Ousmane Berthé
action filter_type
action find
entity Ousmane Berthé
relation member of sports team
type national sports team
['Ousmane Berthé', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?w WHERE { resource:Ousmane_Berthé property:member_of_sports_team ?w . ?w rdf:type ontology:national_sports_team }
[]
national sports team
Q211733
SYSTEM
Mali national football team
Q211733
(Q2778260,P54,c(Q1194951))
action filter_type
action find
entity Q2778260
relation P54
type Q1194951
The [ANSWER] is Ousmane Berthé a member of
['Q2778260', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?w WHERE { resource:Q2778260 property:P54 ?w . ?w rdf:type ontology:Q1194951 }
Mali national football team
The Mali national football team is Ousmane Berthé a member of
Mali national football team
action filter_type
action find
entity Ousmane Berthé
relation member of sports team
type national sports team
['Ousmane Berthé', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?w WHERE { resource:Ousmane_Berthé property:member_of_sports_team ?w . ?w rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q211733
P641
Q349
USER
Which sport did that national sports team participate in ?
(Q211733,P641,c(Q349))
action filter_type
action find
entity Q211733
relation P641
type Q349
['Q211733', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q211733 property:P641 ?w . ?w rdf:type ontology:Q349 }
Mali national football team
action filter_type
action find
entity Mali national football team
relation sport
type sport
['Mali national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Mali_national_football_team property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q211733,P641,c(Q349))
action filter_type
action find
entity Q211733
relation P641
type Q349
That national sports team participated in [ANSWER]
['Q211733', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q211733 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
That national sports team participated in association football
association football
action filter_type
action find
entity Mali national football team
relation sport
type sport
['Mali national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Mali_national_football_team property:sport ?w . ?w rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q18881
P641
Q502895
USER
Does Aly Cissokho play that sport ?
(Q18881,P641,Q2736)
action is_in
entity Q2736
action find
entity Q18881
relation P641
['Q18881', 'P641', 'Q2736']
ASK WHERE { resource:Q18881 property:P641 resource:Q2736 }
association football Aly Cissokho
action is_in
entity association football
action find
entity Aly Cissokho
relation sport
['Aly Cissokho', 'sport', 'association football']
ASK WHERE { resource:Aly_Cissokho property:sport resource:association_football }
[]
common name
SYSTEM
YES
(Q18881,P641,Q2736)
action is_in
entity Q2736
action find
entity Q18881
relation P641
[ANSWER]
['Q18881', 'P641', 'Q2736']
ASK WHERE { resource:Q18881 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity Aly Cissokho
relation sport
['Aly Cissokho', 'sport', 'association football']
ASK WHERE { resource:Aly_Cissokho property:sport resource:association_football }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3886385 Q2778260
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Ousmane Berthé or Oscar Basualdo ?
OR((Q2778260,P27,c(Q15617994)), (Q3886385,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2778260
relation P27
action find
entity Q3886385
relation P27
type Q15617994
{'OR': [['Q2778260', 'P27', {'concept': 'Q15617994'}], ['Q3886385', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q2778260 property:P27 ?c } UNION { resource:Q3886385 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Oscar Basualdo Ousmane Berthé
action filter_type
action union
action find
entity Ousmane Berthé
relation country of citizenship
action find
entity Oscar Basualdo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ousmane Berthé', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oscar Basualdo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Ousmane_Berthé property:country_of_citizenship ?c } UNION { resource:Oscar_Basualdo property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q733 Q912
SYSTEM
Paraguay, Mali
Q733 Q912
OR((Q2778260,P27,c(Q15617994)), (Q3886385,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2778260
relation P27
action find
entity Q3886385
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Ousmane Berthé or Oscar Basualdo
{'OR': [['Q2778260', 'P27', {'concept': 'Q15617994'}], ['Q3886385', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q2778260 property:P27 ?c } UNION { resource:Q3886385 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Paraguay Mali
Paraguay and Mali are the countries of citizenship of Ousmane Berthé or Oscar Basualdo
Paraguay Mali
action filter_type
action union
action find
entity Ousmane Berthé
relation country of citizenship
action find
entity Oscar Basualdo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ousmane Berthé', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oscar Basualdo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Ousmane_Berthé property:country_of_citizenship ?c } UNION { resource:Oscar_Basualdo property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q604640
P530
Q1048835
USER
Do General Villegas Partido have tactful political relations with those administrative territories ?
(Q604640,P530,Q733) (Q604640,P530,Q912)
action is_in
entity prev_answer
action find
entity Q604640
relation P530
['Q604640', 'P530', 'Q733'] ['Q604640', 'P530', 'Q912']
ASK WHERE { VALUES ( ?g ) { ( resource:Q733 ) ( resource:Q912 ) } . resource:Q604640 property:P530 ?g }
General Villegas Partido
action is_in
entity prev_answer
action find
entity General Villegas Partido
relation diplomatic relation
['General Villegas Partido', 'diplomatic relation', 'Paraguay'] ['General Villegas Partido', 'diplomatic relation', 'Mali']
ASK WHERE { VALUES ( ?g ) { ( resource:Paraguay ) ( resource:Mali ) } . resource:General_Villegas_Partido property:diplomatic_relation ?g }
[]
political territorial entity
SYSTEM
NO
(Q604640,P530,Q733) (Q604640,P530,Q912)
action is_in
entity prev_answer
action find
entity Q604640
relation P530
[ANSWER]
['Q604640', 'P530', 'Q733'] ['Q604640', 'P530', 'Q912']
ASK WHERE { VALUES ( ?g ) { ( resource:Q733 ) ( resource:Q912 ) } . resource:Q604640 property:P530 ?g }
No
action is_in
entity prev_answer
action find
entity General Villegas Partido
relation diplomatic relation
['General Villegas Partido', 'diplomatic relation', 'Paraguay'] ['General Villegas Partido', 'diplomatic relation', 'Mali']
ASK WHERE { VALUES ( ?g ) { ( resource:Paraguay ) ( resource:Mali ) } . resource:General_Villegas_Partido property:diplomatic_relation ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q733
P840
Q2342494
USER
Which collectable has its narrative set in Paraguay ?
(c(Q2342494),P840,Q733)
action filter_type
action find_reverse
entity Q733
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q733']
SELECT DISTINCT ?b WHERE { ?b property:P840 resource:Q733 . ?b rdf:type ontology:Q2342494 }
Paraguay
action filter_type
action find_reverse
entity Paraguay
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Paraguay']
SELECT DISTINCT ?b WHERE { ?b property:narrative_location resource:Paraguay . ?b rdf:type ontology:collectable }
[]
collectable
Q215894
SYSTEM
Candide
Q215894
(c(Q2342494),P840,Q733)
action filter_type
action find_reverse
entity Q733
relation P840
type Q2342494
[ANSWER] has its narrative set in Paraguay
[{'concept': 'Q2342494'}, 'P840', 'Q733']
SELECT DISTINCT ?b WHERE { ?b property:P840 resource:Q733 . ?b rdf:type ontology:Q2342494 }
Candide
Candide has its narrative set in Paraguay
Candide
action filter_type
action find_reverse
entity Paraguay
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Paraguay']
SELECT DISTINCT ?b WHERE { ?b property:narrative_location resource:Paraguay . ?b rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q215894
P144
Q15850590
USER
Which theatrical genre is based on that collectable ?
(c(Q15850590),P144,Q215894)
action filter_type
action find_reverse
entity Q215894
relation P144
type Q15850590
[{'concept': 'Q15850590'}, 'P144', 'Q215894']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15850590 . ?c property:P144 resource:Q215894 }
Candide
action filter_type
action find_reverse
entity Candide
relation based on
type theatrical genre
[{'concept': 'theatrical genre'}, 'based on', 'Candide']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:theatrical_genre . ?c property:based_on resource:Candide }
[]
theatrical genre
Q1033015
SYSTEM
Candide
Q1033015
(c(Q15850590),P144,Q215894)
action filter_type
action find_reverse
entity Q215894
relation P144
type Q15850590
[ANSWER] is based on that collectable
[{'concept': 'Q15850590'}, 'P144', 'Q215894']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15850590 . ?c property:P144 resource:Q215894 }
Candide
Candide is based on that collectable
Candide
action filter_type
action find_reverse
entity Candide
relation based on
type theatrical genre
[{'concept': 'theatrical genre'}, 'based on', 'Candide']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:theatrical_genre . ?c property:based_on resource:Candide }
[]