Simple Question (Direct)
Simple Question
Q624276
P27
Q15617994
USER
Which administrative territory does Kim Hak-Beom belong to ?
(Q624276,P27,c(Q15617994))
action filter_type
action find
entity Q624276
relation P27
type Q15617994
['Q624276', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q624276 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Kim Hak-Beom
action filter_type
action find
entity Kim Hak-Beom
relation country of citizenship
type designation for an administrative territorial entity
['Kim Hak-Beom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Kim_Hak-Beom property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q624276,P27,c(Q15617994))
action filter_type
action find
entity Q624276
relation P27
type Q15617994
Kim Hak-Beom belongs to [ANSWER]
['Q624276', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q624276 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
South Korea
Kim Hak-Beom belongs to South Korea
South Korea
action filter_type
action find
entity Kim Hak-Beom
relation country of citizenship
type designation for an administrative territorial entity
['Kim Hak-Beom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Kim_Hak-Beom property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q624276
P19
Q15617994
USER
Which administrative territory is the place of birth of that person ?
(Q884,P19,c(Q15617994))
action filter_type
action find
entity Q624276
relation P19
type Q15617994
['Q884', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q624276 property:P19 ?g . ?g rdf:type ontology:Q15617994 }
Kim Hak-Beom
action filter_type
action find
entity Kim Hak-Beom
relation place of birth
type designation for an administrative territorial entity
['South Korea', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Kim_Hak-Beom property:place_of_birth ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q884,P19,c(Q15617994))
action filter_type
action find
entity Q624276
relation P19
type Q15617994
[ANSWER] is the place of birth of that person
['Q884', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q624276 property:P19 ?g . ?g rdf:type ontology:Q15617994 }
South Korea
South Korea is the place of birth of that person
South Korea
action filter_type
action find
entity Kim Hak-Beom
relation place of birth
type designation for an administrative territorial entity
['South Korea', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Kim_Hak-Beom property:place_of_birth ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P36
Q515 Q56061 Q15617994
USER
Which administrative territories have max number of cities and administrative territories as their capital ?
(c(Q15617994),P36,c(Q515)|c(Q56061))
action argmax
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?t WHERE { VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q515 ) } . ?q rdf:type ?v } GROUP BY ?t } . FILTER ( ?g = ?c ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?h WHERE { { ?h property:P36 ?z . ?h rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q56061 } UNION { ?h property:P36 ?z . ?z rdf:type ontology:Q515 . ?h rdf:type ontology:Q15617994 } } GROUP BY ?h } } }
action argmax
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?t WHERE { VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } . ?q rdf:type ?v } GROUP BY ?t } . FILTER ( ?g = ?c ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?h WHERE { { ?h property:capital ?z . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:administrative_territorial_entity } UNION { ?h property:capital ?z . ?z rdf:type ontology:city . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } } }
[]
city administrative territorial entity designation for an administrative territorial entity
Q17 Q258 Q252
SYSTEM
Japan, South Africa, Indonesia
Q252 Q258 Q12536 Q17 Q160307
(c(Q15617994),P36,c(Q515)|c(Q56061))
action argmax
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q56061
[ANSWERS] have max number of cities and administrative territories as their capital
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?t WHERE { VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q515 ) } . ?q rdf:type ?v } GROUP BY ?t } . FILTER ( ?g = ?c ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?h WHERE { { ?h property:P36 ?z . ?h rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q56061 } UNION { ?h property:P36 ?z . ?z rdf:type ontology:Q515 . ?h rdf:type ontology:Q15617994 } } GROUP BY ?h } } }
Indonesia South Africa Abbasid caliphate Japan Fatimid caliphate
Japan, South Africa and Indonesia have max number of cities and administrative territories as their capital
Japan South Africa Indonesia
action argmax
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?t WHERE { VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:city ) } . ?q rdf:type ?v } GROUP BY ?t } . FILTER ( ?g = ?c ) . { SELECT DISTINCT ( MAX ( ?u ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?h WHERE { { ?h property:capital ?z . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:administrative_territorial_entity } UNION { ?h property:capital ?z . ?z rdf:type ontology:city . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q17 Q258 Q252
P36
Q56061
USER
Which administrative territories are associated to Japan, South Africa and Indonesia as the capital ?
(Q17,P36,c(Q56061)) (Q258,P36,c(Q56061)) (Q252,P36,c(Q56061))
action union
action filter_type
action find
entity Q17
relation P36
type Q56061
action filter_type
action find
entity Q258
relation P36
type Q56061
action filter_type
action find
entity Q252
relation P36
type Q56061
['Q17', 'P36', {'concept': 'Q56061'}] ['Q258', 'P36', {'concept': 'Q56061'}] ['Q252', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { resource:Q17 property:P36 ?j . ?j rdf:type ontology:Q56061 } UNION { resource:Q258 property:P36 ?j . ?j rdf:type ontology:Q56061 } }
Japan South Africa Indonesia
action union
action filter_type
action find
entity Japan
relation capital
type administrative territorial entity
action filter_type
action find
entity South Africa
relation capital
type administrative territorial entity
action filter_type
action find
entity Indonesia
relation capital
type administrative territorial entity
['Japan', 'capital', {'concept': 'administrative territorial entity'}] ['South Africa', 'capital', {'concept': 'administrative territorial entity'}] ['Indonesia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { resource:Japan property:capital ?j . ?j rdf:type ontology:administrative_territorial_entity } UNION { resource:South_Africa property:capital ?j . ?j rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q3630 Q1490 Q5465
SYSTEM
Jakarta, Tokyo, Cape Town
Q215646 Q1490 Q5465 Q37701 Q3630
(Q17,P36,c(Q56061)) (Q258,P36,c(Q56061)) (Q252,P36,c(Q56061))
action union
action filter_type
action find
entity Q17
relation P36
type Q56061
action filter_type
action find
entity Q258
relation P36
type Q56061
action filter_type
action find
entity Q252
relation P36
type Q56061
[ANSWERS] are associated to Japan, South Africa and Indonesia as the capital
['Q17', 'P36', {'concept': 'Q56061'}] ['Q258', 'P36', {'concept': 'Q56061'}] ['Q252', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { resource:Q17 property:P36 ?j . ?j rdf:type ontology:Q56061 } UNION { resource:Q258 property:P36 ?j . ?j rdf:type ontology:Q56061 } }
Edo Tokyo Cape Town Bloemfontein Jakarta
Jakarta, Tokyo and Cape Town are associated to Japan, South Africa and Indonesia as the capital
Jakarta Tokyo Cape Town
action union
action filter_type
action find
entity Japan
relation capital
type administrative territorial entity
action filter_type
action find
entity South Africa
relation capital
type administrative territorial entity
action filter_type
action find
entity Indonesia
relation capital
type administrative territorial entity
['Japan', 'capital', {'concept': 'administrative territorial entity'}] ['South Africa', 'capital', {'concept': 'administrative territorial entity'}] ['Indonesia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { resource:Japan property:capital ?j . ?j rdf:type ontology:administrative_territorial_entity } UNION { resource:South_Africa property:capital ?j . ?j rdf:type ontology:administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3630
P127
Q483110
USER
Which stadium belongs to that administrative territory ?
(c(Q483110),P127,Q3630)
action filter_type
action find_reverse
entity Q3630
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q3630']
SELECT DISTINCT ?j WHERE { ?j property:P127 resource:Q3630 . ?j rdf:type ontology:Q483110 }
Jakarta
action filter_type
action find_reverse
entity Jakarta
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Jakarta']
SELECT DISTINCT ?j WHERE { ?j property:owned_by resource:Jakarta . ?j rdf:type ontology:stadium }
[]
stadium
Clarification for simple ques.
Q3630
SYSTEM
Did you mean Jakarta ?
Q3630 Q1490 Q5465
(c(Q483110),P127,Q3630) (c(Q483110),P127,Q1490) (c(Q483110),P127,Q5465)
[ANSWER]
[{'concept': 'Q483110'}, 'P127', 'Q3630'] [{'concept': 'Q483110'}, 'P127', 'Q1490'] [{'concept': 'Q483110'}, 'P127', 'Q5465']
SELECT DISTINCT ?j WHERE { ?j property:P127 resource:Q3630 . ?j rdf:type ontology:Q483110 }
Jakarta Tokyo Cape Town
Did you mean Jakarta ?
Jakarta
[{'concept': 'stadium'}, 'owned by', 'Jakarta'] [{'concept': 'stadium'}, 'owned by', 'Tokyo'] [{'concept': 'stadium'}, 'owned by', 'Cape Town']
SELECT DISTINCT ?j WHERE { ?j property:owned_by resource:Jakarta . ?j rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q483110),P127,Q3630)
[{'concept': 'Q483110'}, 'P127', 'Q3630']
[{'concept': 'stadium'}, 'owned by', 'Jakarta']
[]
Q1068044
SYSTEM
Gelora Bung Karno Stadium
Q1068044
(c(Q483110),P127,Q3630)
action filter_type
action find_reverse
entity Q3630
relation P127
type Q483110
[ANSWER] belongs to that administrative territory
[{'concept': 'Q483110'}, 'P127', 'Q3630']
SELECT DISTINCT ?j WHERE { ?j property:P127 resource:Q3630 . ?j rdf:type ontology:Q483110 }
Gelora Bung Karno Stadium
Gelora Bung Karno Stadium belongs to that administrative territory
Gelora Bung Karno Stadium
action filter_type
action find_reverse
entity Jakarta
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Jakarta']
SELECT DISTINCT ?j WHERE { ?j property:owned_by resource:Jakarta . ?j rdf:type ontology:stadium }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q668 Q17
P495
Q838948
USER
Which works of art originated in Japan and India ?
AND((c(Q838948),P495,Q17), (c(Q838948),P495,Q668))
action filter_type
action intersection
action find_reverse
entity Q17
relation P495
action find_reverse
entity Q668
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P495', 'Q17'], [{'concept': 'Q838948'}, 'P495', 'Q668']]}
SELECT DISTINCT ?k WHERE { ?k property:P495 resource:Q668 . ?k property:P495 resource:Q17 . ?k rdf:type ontology:Q838948 }
India Japan
action filter_type
action intersection
action find_reverse
entity Japan
relation country of origin
action find_reverse
entity India
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'country of origin', 'Japan'], [{'concept': 'work of art'}, 'country of origin', 'India']]}
SELECT DISTINCT ?k WHERE { ?k property:country_of_origin resource:India . ?k property:country_of_origin resource:Japan . ?k rdf:type ontology:work_of_art }
[]
work of art
Q3418385
SYSTEM
Ramayana: The Legend of Prince Rama
Q3418385
AND((c(Q838948),P495,Q17), (c(Q838948),P495,Q668))
action filter_type
action intersection
action find_reverse
entity Q17
relation P495
action find_reverse
entity Q668
relation P495
type Q838948
[ANSWER] originated in Japan and India
{'AND': [[{'concept': 'Q838948'}, 'P495', 'Q17'], [{'concept': 'Q838948'}, 'P495', 'Q668']]}
SELECT DISTINCT ?k WHERE { ?k property:P495 resource:Q668 . ?k property:P495 resource:Q17 . ?k rdf:type ontology:Q838948 }
Ramayana: The Legend of Prince Rama
Ramayana: The Legend of Prince Rama originated in Japan and India
Ramayana: The Legend of Prince Rama
action filter_type
action intersection
action find_reverse
entity Japan
relation country of origin
action find_reverse
entity India
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'country of origin', 'Japan'], [{'concept': 'work of art'}, 'country of origin', 'India']]}
SELECT DISTINCT ?k WHERE { ?k property:country_of_origin resource:India . ?k property:country_of_origin resource:Japan . ?k rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3418385 Q639034 Q15058930
P840
Q15617994
USER
Does that work of art have its narrative set in Gottesgabe and Trewethen ?
(Q3418385,P840,Q639034) (Q3418385,P840,Q15058930)
action is_in
entity Q3418385
action intersection
action find_reverse
entity Q639034
relation P840
action find_reverse
entity Q15058930
relation P840
['Q3418385', 'P840', 'Q639034'] ['Q3418385', 'P840', 'Q15058930']
ASK WHERE { resource:Q3418385 property:P840 resource:Q639034 . resource:Q3418385 property:P840 resource:Q15058930 }
Ramayana: The Legend of Prince Rama Gottesgabe Trewethen
action is_in
entity Ramayana: The Legend of Prince Rama
action intersection
action find_reverse
entity Gottesgabe
relation narrative location
action find_reverse
entity Trewethen
relation narrative location
['Ramayana: The Legend of Prince Rama', 'narrative location', 'Gottesgabe'] ['Ramayana: The Legend of Prince Rama', 'narrative location', 'Trewethen']
ASK WHERE { resource:Ramayana:_The_Legend_of_Prince_Rama property:narrative_location resource:Gottesgabe . resource:Ramayana:_The_Legend_of_Prince_Rama property:narrative_location resource:Trewethen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3418385,P840,Q639034) (Q3418385,P840,Q15058930)
action is_in
entity Q3418385
action intersection
action find_reverse
entity Q639034
relation P840
action find_reverse
entity Q15058930
relation P840
[ANSWER]
['Q3418385', 'P840', 'Q639034'] ['Q3418385', 'P840', 'Q15058930']
ASK WHERE { resource:Q3418385 property:P840 resource:Q639034 . resource:Q3418385 property:P840 resource:Q15058930 }
No
action is_in
entity Ramayana: The Legend of Prince Rama
action intersection
action find_reverse
entity Gottesgabe
relation narrative location
action find_reverse
entity Trewethen
relation narrative location
['Ramayana: The Legend of Prince Rama', 'narrative location', 'Gottesgabe'] ['Ramayana: The Legend of Prince Rama', 'narrative location', 'Trewethen']
ASK WHERE { resource:Ramayana:_The_Legend_of_Prince_Rama property:narrative_location resource:Gottesgabe . resource:Ramayana:_The_Legend_of_Prince_Rama property:narrative_location resource:Trewethen }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1068044 Q2267921 Q2923615
P127
Q56061
USER
Does Gelora Bung Karno Stadium belong to Rabotrath and Brajkovac, Lazarevac ?
(Q1068044,P127,Q2267921) (Q1068044,P127,Q2923615)
action is_in
entity Q1068044
action intersection
action find_reverse
entity Q2267921
relation P127
action find_reverse
entity Q2923615
relation P127
['Q1068044', 'P127', 'Q2267921'] ['Q1068044', 'P127', 'Q2923615']
ASK WHERE { resource:Q1068044 property:P127 resource:Q2267921 . resource:Q1068044 property:P127 resource:Q2923615 }
Gelora Bung Karno Stadium Rabotrath Brajkovac, Lazarevac
action is_in
entity Gelora Bung Karno Stadium
action intersection
action find_reverse
entity Rabotrath
relation owned by
action find_reverse
entity Brajkovac, Lazarevac
relation owned by
['Gelora Bung Karno Stadium', 'owned by', 'Rabotrath'] ['Gelora Bung Karno Stadium', 'owned by', 'Brajkovac, Lazarevac']
ASK WHERE { resource:Gelora_Bung_Karno_Stadium property:owned_by resource:Rabotrath . resource:Gelora_Bung_Karno_Stadium property:owned_by resource:Brajkovac,_Lazarevac }
[]
administrative territorial entity
SYSTEM
NO
(Q1068044,P127,Q2267921) (Q1068044,P127,Q2923615)
action is_in
entity Q1068044
action intersection
action find_reverse
entity Q2267921
relation P127
action find_reverse
entity Q2923615
relation P127
[ANSWER]
['Q1068044', 'P127', 'Q2267921'] ['Q1068044', 'P127', 'Q2923615']
ASK WHERE { resource:Q1068044 property:P127 resource:Q2267921 . resource:Q1068044 property:P127 resource:Q2923615 }
No
action is_in
entity Gelora Bung Karno Stadium
action intersection
action find_reverse
entity Rabotrath
relation owned by
action find_reverse
entity Brajkovac, Lazarevac
relation owned by
['Gelora Bung Karno Stadium', 'owned by', 'Rabotrath'] ['Gelora Bung Karno Stadium', 'owned by', 'Brajkovac, Lazarevac']
ASK WHERE { resource:Gelora_Bung_Karno_Stadium property:owned_by resource:Rabotrath . resource:Gelora_Bung_Karno_Stadium property:owned_by resource:Brajkovac,_Lazarevac }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1068044
P466
Q1194951
USER
Who was the tenant of that stadium ?
action filter_type
action find
entity Q1068044
relation P466
type Q1194951
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1194951 . resource:Q1068044 property:P466 ?a }
Gelora Bung Karno Stadium
action filter_type
action find
entity Gelora Bung Karno Stadium
relation occupant
type national sports team
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:national_sports_team . resource:Gelora_Bung_Karno_Stadium property:occupant ?a }
[]
national sports team
Q657451
SYSTEM
Indonesia national football team
Q657451
action filter_type
action find
entity Q1068044
relation P466
type Q1194951
The tenant of that stadium was [ANSWER]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1194951 . resource:Q1068044 property:P466 ?a }
Indonesia national football team
The tenant of that stadium was Indonesia national football team
Indonesia national football team
action filter_type
action find
entity Gelora Bung Karno Stadium
relation occupant
type national sports team
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:national_sports_team . resource:Gelora_Bung_Karno_Stadium property:occupant ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884
P17
Q13406554
USER
Which sport competitions are present in South Korea ?
(c(Q13406554),P17,Q884)
action filter_type
action find_reverse
entity Q884
relation P17
type Q13406554
[{'concept': 'Q13406554'}, 'P17', 'Q884']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q13406554 . ?g property:P17 resource:Q884 }
South Korea
action filter_type
action find_reverse
entity South Korea
relation country
type sport competition
[{'concept': 'sport competition'}, 'country', 'South Korea']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sport_competition . ?g property:country resource:South_Korea }
[]
sport competition
Q333198 Q18510628 Q13482130
SYSTEM
2011 Korea Open Grand Prix, 2014 Korea Open Grand Prix, 2013 Korea Open Super Series – Qualification
Q333198 Q18510628 Q13482130 Q21152475 Q20903346 Q657726 Q15097911 Q18643366 Q642110
(c(Q13406554),P17,Q884)
action filter_type
action find_reverse
entity Q884
relation P17
type Q13406554
[ANSWERS] are present in South Korea
[{'concept': 'Q13406554'}, 'P17', 'Q884']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q13406554 . ?g property:P17 resource:Q884 }
2011 Korea Open Grand Prix 2014 Korea Open Grand Prix 2013 Korea Open Super Series – Qualification 2015 Korea Masters Grand Prix Gold 2015 Korea Open Superseries – Qualification 2012 Korea Open Grand Prix 2013 Korea Open Grand Prix Gold 2014 Korean Junior International Badminton Championships 2010 Korea Open Grand Prix
2011 Korea Open Grand Prix, 2014 Korea Open Grand Prix and 2013 Korea Open Super Series – Qualification are present in South Korea
2011 Korea Open Grand Prix 2014 Korea Open Grand Prix 2013 Korea Open Super Series – Qualification
action filter_type
action find_reverse
entity South Korea
relation country
type sport competition
[{'concept': 'sport competition'}, 'country', 'South Korea']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sport_competition . ?g property:country resource:South_Korea }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q333198 Q18510628 Q13482130
P17
Q15617994
USER
Which administrative territories are 2011 Korea Open Grand Prix, 2014 Korea Open Grand Prix and 2013 Korea Open Super Series – Qualification a part of ?
(Q333198,P17,c(Q15617994)) (Q18510628,P17,c(Q15617994)) (Q13482130,P17,c(Q15617994))
action union
action filter_type
action find
entity Q333198
relation P17
type Q15617994
action filter_type
action find
entity Q18510628
relation P17
type Q15617994
action filter_type
action find
entity Q13482130
relation P17
type Q15617994
['Q333198', 'P17', {'concept': 'Q15617994'}] ['Q18510628', 'P17', {'concept': 'Q15617994'}] ['Q13482130', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { resource:Q333198 property:P17 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q18510628 property:P17 ?f . ?f rdf:type ontology:Q15617994 } }
2011 Korea Open Grand Prix 2014 Korea Open Grand Prix 2013 Korea Open Super Series – Qualification
action union
action filter_type
action find
entity 2011 Korea Open Grand Prix
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity 2014 Korea Open Grand Prix
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity 2013 Korea Open Super Series – Qualification
relation country
type designation for an administrative territorial entity
['2011 Korea Open Grand Prix', 'country', {'concept': 'designation for an administrative territorial entity'}] ['2014 Korea Open Grand Prix', 'country', {'concept': 'designation for an administrative territorial entity'}] ['2013 Korea Open Super Series – Qualification', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { resource:2011_Korea_Open_Grand_Prix property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:2014_Korea_Open_Grand_Prix property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q884 Q884 Q884
SYSTEM
South Korea
Q884 Q884 Q884
(Q333198,P17,c(Q15617994)) (Q18510628,P17,c(Q15617994)) (Q13482130,P17,c(Q15617994))
action union
action filter_type
action find
entity Q333198
relation P17
type Q15617994
action filter_type
action find
entity Q18510628
relation P17
type Q15617994
action filter_type
action find
entity Q13482130
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are 2011 Korea Open Grand Prix, 2014 Korea Open Grand Prix and 2013 Korea Open Super Series – Qualification a part of
['Q333198', 'P17', {'concept': 'Q15617994'}] ['Q18510628', 'P17', {'concept': 'Q15617994'}] ['Q13482130', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { resource:Q333198 property:P17 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q18510628 property:P17 ?f . ?f rdf:type ontology:Q15617994 } }
South Korea South Korea South Korea
South Korea, South Korea and South Korea are 2011 Korea Open Grand Prix, 2014 Korea Open Grand Prix and 2013 Korea Open Super Series – Qualification a part of
South Korea South Korea South Korea
action union
action filter_type
action find
entity 2011 Korea Open Grand Prix
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity 2014 Korea Open Grand Prix
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity 2013 Korea Open Super Series – Qualification
relation country
type designation for an administrative territorial entity
['2011 Korea Open Grand Prix', 'country', {'concept': 'designation for an administrative territorial entity'}] ['2014 Korea Open Grand Prix', 'country', {'concept': 'designation for an administrative territorial entity'}] ['2013 Korea Open Super Series – Qualification', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { resource:2011_Korea_Open_Grand_Prix property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:2014_Korea_Open_Grand_Prix property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884
P1376
Q515
USER
Which city is the capital of South Korea ?
(c(Q515),P1376,Q884)
action filter_type
action find_reverse
entity Q884
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q884']
SELECT DISTINCT ?k WHERE { ?k property:P1376 resource:Q884 . ?k rdf:type ontology:Q515 }
South Korea
action filter_type
action find_reverse
entity South Korea
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'South Korea']
SELECT DISTINCT ?k WHERE { ?k property:capital_of resource:South_Korea . ?k rdf:type ontology:city }
[]
city
Q8684
SYSTEM
Seoul
Q8684
(c(Q515),P1376,Q884)
action filter_type
action find_reverse
entity Q884
relation P1376
type Q515
The capital of South Korea is in [ANSWER]
[{'concept': 'Q515'}, 'P1376', 'Q884']
SELECT DISTINCT ?k WHERE { ?k property:P1376 resource:Q884 . ?k rdf:type ontology:Q515 }
Seoul
The capital of South Korea is in Seoul
Seoul
action filter_type
action find_reverse
entity South Korea
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'South Korea']
SELECT DISTINCT ?k WHERE { ?k property:capital_of resource:South_Korea . ?k rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1490
P1444
Q22348500
USER
Which cycling race class finishes the journey at Tokyo ?
(c(Q22348500),P1444,Q1490)
action filter_type
action find_reverse
entity Q1490
relation P1444
type Q22348500
[{'concept': 'Q22348500'}, 'P1444', 'Q1490']
SELECT DISTINCT ?b WHERE { ?b property:P1444 resource:Q1490 . ?b rdf:type ontology:Q22348500 }
Tokyo
action filter_type
action find_reverse
entity Tokyo
relation destination point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', 'Tokyo']
SELECT DISTINCT ?b WHERE { ?b property:destination_point resource:Tokyo . ?b rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
cycling race class defined by the International Cycling Union
Q20898706
SYSTEM
2015 Tour of Japan
Q20898706
(c(Q22348500),P1444,Q1490)
action filter_type
action find_reverse
entity Q1490
relation P1444
type Q22348500
The [ANSWER] finishes the journey at Tokyo
[{'concept': 'Q22348500'}, 'P1444', 'Q1490']
SELECT DISTINCT ?b WHERE { ?b property:P1444 resource:Q1490 . ?b rdf:type ontology:Q22348500 }
2015 Tour of Japan
The 2015 Tour of Japan finishes the journey at Tokyo
2015 Tour of Japan
action filter_type
action find_reverse
entity Tokyo
relation destination point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', 'Tokyo']
SELECT DISTINCT ?b WHERE { ?b property:destination_point resource:Tokyo . ?b rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]