Simple Question (Direct)
Simple Question
Q668031
P54
Q12973014
USER
What is Laurent Courtois a member of ?
(Q668031,P54,c(Q12973014))
action filter_type
action find
entity Q668031
relation P54
type Q12973014
['Q668031', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { resource:Q668031 property:P54 ?q . ?q rdf:type ontology:Q12973014 }
Laurent Courtois
action filter_type
action find
entity Laurent Courtois
relation member of sports team
type sports team
['Laurent Courtois', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { resource:Laurent_Courtois property:member_of_sports_team ?q . ?q rdf:type ontology:sports_team }
[]
sports team
Q16842924
SYSTEM
LA Galaxy II
Q16842924
(Q668031,P54,c(Q12973014))
action filter_type
action find
entity Q668031
relation P54
type Q12973014
Laurent Courtois a member of is the [ANSWER]
['Q668031', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { resource:Q668031 property:P54 ?q . ?q rdf:type ontology:Q12973014 }
LA Galaxy II
Laurent Courtois a member of is the LA Galaxy II
LA Galaxy II
action filter_type
action find
entity Laurent Courtois
relation member of sports team
type sports team
['Laurent Courtois', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { resource:Laurent_Courtois property:member_of_sports_team ?q . ?q rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16842924
P17
Q15617994
USER
Which administrative territory is that sports team located in ?
(Q16842924,P17,c(Q15617994))
action filter_type
action find
entity Q16842924
relation P17
type Q15617994
['Q16842924', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q16842924 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
LA Galaxy II
action filter_type
action find
entity LA Galaxy II
relation country
type designation for an administrative territorial entity
['LA Galaxy II', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:LA_Galaxy_II property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q16842924,P17,c(Q15617994))
action filter_type
action find
entity Q16842924
relation P17
type Q15617994
That sports team is located in [ANSWER]
['Q16842924', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q16842924 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
That sports team is located in United States of America
United States of America
action filter_type
action find
entity LA Galaxy II
relation country
type designation for an administrative territorial entity
['LA Galaxy II', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:LA_Galaxy_II property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16842924
P641
Q349
USER
Which sport did that sports team participate in ?
(Q30,P641,c(Q349))
action filter_type
action find
entity Q16842924
relation P641
type Q349
['Q30', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q16842924 property:P641 ?c }
LA Galaxy II
action filter_type
action find
entity LA Galaxy II
relation sport
type sport
['United States of America', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:LA_Galaxy_II property:sport ?c }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q30,P641,c(Q349))
action filter_type
action find
entity Q16842924
relation P641
type Q349
That sports team participated in [ANSWER]
['Q30', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q16842924 property:P641 ?c }
association football
That sports team participated in association football
association football
action filter_type
action find
entity LA Galaxy II
relation sport
type sport
['United States of America', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:LA_Galaxy_II property:sport ?c }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6409394 Q668031
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Laurent Courtois or Kim Soo-Whan ?
OR((Q668031,P27,c(Q15617994)), (Q6409394,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q668031
relation P27
action find
entity Q6409394
relation P27
type Q15617994
{'OR': [['Q668031', 'P27', {'concept': 'Q15617994'}], ['Q6409394', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q668031 property:P27 ?j } UNION { resource:Q6409394 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Kim Soo-Whan Laurent Courtois
action filter_type
action union
action find
entity Laurent Courtois
relation country of citizenship
action find
entity Kim Soo-Whan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Laurent Courtois', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kim Soo-Whan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Laurent_Courtois property:country_of_citizenship ?j } UNION { resource:Kim_Soo-Whan property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q884
SYSTEM
France, South Korea
Q142 Q884
OR((Q668031,P27,c(Q15617994)), (Q6409394,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q668031
relation P27
action find
entity Q6409394
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Laurent Courtois or Kim Soo-Whan
{'OR': [['Q668031', 'P27', {'concept': 'Q15617994'}], ['Q6409394', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q668031 property:P27 ?j } UNION { resource:Q6409394 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
France South Korea
France and South Korea are the countries of citizenship of Laurent Courtois or Kim Soo-Whan
France South Korea
action filter_type
action union
action find
entity Laurent Courtois
relation country of citizenship
action find
entity Kim Soo-Whan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Laurent Courtois', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kim Soo-Whan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Laurent_Courtois property:country_of_citizenship ?j } UNION { resource:Kim_Soo-Whan property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13021800 Q6409394
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Kim Soo-Whan or are Huai Sai Nua Railway Station located in ?
OR((Q6409394,P27,c(Q15617994)), (Q13021800,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6409394
relation P27
action find
entity Q13021800
relation P17
type Q15617994
{'OR': [['Q6409394', 'P27', {'concept': 'Q15617994'}], ['Q13021800', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q13021800 property:P17 ?h } UNION { resource:Q6409394 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Huai Sai Nua Railway Station Kim Soo-Whan
action filter_type
action union
action find
entity Kim Soo-Whan
relation country of citizenship
action find
entity Huai Sai Nua Railway Station
relation country
type designation for an administrative territorial entity
{'OR': [['Kim Soo-Whan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Huai Sai Nua Railway Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Huai_Sai_Nua_Railway_Station property:country ?h } UNION { resource:Kim_Soo-Whan property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869 Q884
SYSTEM
Thailand, South Korea
Q869 Q884
OR((Q6409394,P27,c(Q15617994)), (Q13021800,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6409394
relation P27
action find
entity Q13021800
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Kim Soo-Whan or are Huai Sai Nua Railway Station located in
{'OR': [['Q6409394', 'P27', {'concept': 'Q15617994'}], ['Q13021800', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q13021800 property:P17 ?h } UNION { resource:Q6409394 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Thailand South Korea
Thailand and South Korea are the countries of citizenship of Kim Soo-Whan or are Huai Sai Nua Railway Station located in
Thailand South Korea
action filter_type
action union
action find
entity Kim Soo-Whan
relation country of citizenship
action find
entity Huai Sai Nua Railway Station
relation country
type designation for an administrative territorial entity
{'OR': [['Kim Soo-Whan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Huai Sai Nua Railway Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Huai_Sai_Nua_Railway_Station property:country ?h } UNION { resource:Kim_Soo-Whan property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q869
P137
Q2424752
USER
Which product can be described as service operator of that administrative territory ?
(c(Q2424752),P137,Q869)
action filter_type
action find_reverse
entity Q869
relation P137
type Q2424752
[{'concept': 'Q2424752'}, 'P137', 'Q869']
SELECT DISTINCT ?h WHERE { ?h property:P137 resource:Q869 . ?h rdf:type ontology:Q2424752 }
Thailand
action filter_type
action find_reverse
entity Thailand
relation operator
type product
[{'concept': 'product'}, 'operator', 'Thailand']
SELECT DISTINCT ?h WHERE { ?h property:operator resource:Thailand . ?h rdf:type ontology:product }
[]
product
Clarification for simple ques.
Q869
SYSTEM
Did you mean Thailand ?
Q869 Q884
(c(Q2424752),P137,Q869) (c(Q2424752),P137,Q884)
[ANSWER]
[{'concept': 'Q2424752'}, 'P137', 'Q869'] [{'concept': 'Q2424752'}, 'P137', 'Q884']
SELECT DISTINCT ?h WHERE { ?h property:P137 resource:Q869 . ?h rdf:type ontology:Q2424752 }
Thailand South Korea
Did you mean Thailand ?
Thailand
[{'concept': 'product'}, 'operator', 'Thailand'] [{'concept': 'product'}, 'operator', 'South Korea']
SELECT DISTINCT ?h WHERE { ?h property:operator resource:Thailand . ?h rdf:type ontology:product }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2424752),P137,Q869)
[{'concept': 'Q2424752'}, 'P137', 'Q869']
[{'concept': 'product'}, 'operator', 'Thailand']
[]
Q20026814
SYSTEM
OV-10C Bronco
Q20026814
(c(Q2424752),P137,Q869)
action filter_type
action find_reverse
entity Q869
relation P137
type Q2424752
[ANSWER] can be described as service operator of that administrative territory
[{'concept': 'Q2424752'}, 'P137', 'Q869']
SELECT DISTINCT ?h WHERE { ?h property:P137 resource:Q869 . ?h rdf:type ontology:Q2424752 }
OV-10C Bronco
OV-10C Bronco can be described as service operator of that administrative territory
OV-10C Bronco
action filter_type
action find_reverse
entity Thailand
relation operator
type product
[{'concept': 'product'}, 'operator', 'Thailand']
SELECT DISTINCT ?h WHERE { ?h property:operator resource:Thailand . ?h rdf:type ontology:product }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q20026814 Q869 Q928
P137
Q15617994
USER
Was that product managed by Thailand and Philippines ?
(Q20026814,P137,Q869) (Q20026814,P137,Q928)
action is_in
entity Q20026814
action intersection
action find_reverse
entity Q869
relation P137
action find_reverse
entity Q928
relation P137
['Q20026814', 'P137', 'Q869'] ['Q20026814', 'P137', 'Q928']
ASK WHERE { resource:Q20026814 property:P137 resource:Q869 . resource:Q20026814 property:P137 resource:Q928 }
OV-10C Bronco Thailand Philippines
action is_in
entity OV-10C Bronco
action intersection
action find_reverse
entity Thailand
relation operator
action find_reverse
entity Philippines
relation operator
['OV-10C Bronco', 'operator', 'Thailand'] ['OV-10C Bronco', 'operator', 'Philippines']
ASK WHERE { resource:OV-10C_Bronco property:operator resource:Thailand . resource:OV-10C_Bronco property:operator resource:Philippines }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q20026814,P137,Q869) (Q20026814,P137,Q928)
action is_in
entity Q20026814
action intersection
action find_reverse
entity Q869
relation P137
action find_reverse
entity Q928
relation P137
[ANSWER]
['Q20026814', 'P137', 'Q869'] ['Q20026814', 'P137', 'Q928']
ASK WHERE { resource:Q20026814 property:P137 resource:Q869 . resource:Q20026814 property:P137 resource:Q928 }
Yes
action is_in
entity OV-10C Bronco
action intersection
action find_reverse
entity Thailand
relation operator
action find_reverse
entity Philippines
relation operator
['OV-10C Bronco', 'operator', 'Thailand'] ['OV-10C Bronco', 'operator', 'Philippines']
ASK WHERE { resource:OV-10C_Bronco property:operator resource:Thailand . resource:OV-10C_Bronco property:operator resource:Philippines }
[]