Simple Question (Direct)
Simple Question
Q1187488
P54
Q12973014
USER
Which sports team is Denis Lapaczinski a member of ?
(Q1187488,P54,c(Q12973014))
action filter_type
action find
entity Q1187488
relation P54
type Q12973014
['Q1187488', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12973014 . resource:Q1187488 property:P54 ?q }
Denis Lapaczinski
action filter_type
action find
entity Denis Lapaczinski
relation member of sports team
type sports team
['Denis Lapaczinski', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sports_team . resource:Denis_Lapaczinski property:member_of_sports_team ?q }
[]
sports team
Q314851
SYSTEM
Germany national under-21 football team
Q314851
(Q1187488,P54,c(Q12973014))
action filter_type
action find
entity Q1187488
relation P54
type Q12973014
The [ANSWER] is Denis Lapaczinski a member of
['Q1187488', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12973014 . resource:Q1187488 property:P54 ?q }
Germany national under-21 football team
The Germany national under-21 football team is Denis Lapaczinski a member of
Germany national under-21 football team
action filter_type
action find
entity Denis Lapaczinski
relation member of sports team
type sports team
['Denis Lapaczinski', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sports_team . resource:Denis_Lapaczinski property:member_of_sports_team ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1187488
P641
Q349
USER
What was the sport that Denis Lapaczinski was a part of ?
(Q1187488,P641,c(Q349))
action filter_type
action find
entity Q1187488
relation P641
type Q349
['Q1187488', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q1187488 property:P641 ?b . ?b rdf:type ontology:Q349 }
Denis Lapaczinski
action filter_type
action find
entity Denis Lapaczinski
relation sport
type sport
['Denis Lapaczinski', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Denis_Lapaczinski property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1187488,P641,c(Q349))
action filter_type
action find
entity Q1187488
relation P641
type Q349
The sport that Denis Lapaczinski was a part of was the [ANSWER]
['Q1187488', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q1187488 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
The sport that Denis Lapaczinski was a part of was the association football
association football
action filter_type
action find
entity Denis Lapaczinski
relation sport
type sport
['Denis Lapaczinski', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Denis_Lapaczinski property:sport ?b . ?b rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P641
Q349 Q12973014
USER
Which sports did around 208 sports teams participate in ?
(c(Q12973014),P641,c(Q349))
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 208
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P641 ?e . ?e rdf:type ontology:Q349 . ?f rdf:type ontology:Q12973014 } GROUP BY ?e } . FILTER ( ?n = 208 ) }
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 208
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:sport ?e . ?e rdf:type ontology:sport . ?f rdf:type ontology:sports_team } GROUP BY ?e } . FILTER ( ?n = 208 ) }
[]
sport sports team
Q136851 Q10962 Q847
SYSTEM
curling, rugby league, tennis
Q10962 Q847 Q7291 Q136851 Q5375 Q1455 Q1734 Q2736 Q210778
(c(Q12973014),P641,c(Q349))
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 208
Around 208 sports teams participated in [ANSWERS]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P641 ?e . ?e rdf:type ontology:Q349 . ?f rdf:type ontology:Q12973014 } GROUP BY ?e } . FILTER ( ?n = 208 ) }
rugby league tennis badminton curling cricket field hockey volleyball association football beach soccer
Around 208 sports teams participated in curling, rugby league and tennis
curling rugby league tennis
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 208
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:sport ?e . ?e rdf:type ontology:sport . ?f rdf:type ontology:sports_team } GROUP BY ?e } . FILTER ( ?n = 208 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P641
Q349
USER
How many sports did that sport participate in ?
(Q136851,P641,c(Q349))
['Q136851', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q136851 property:Q1567764 ?z . ?z rdf:type ontology:Q1567764 }
['curling', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:curling property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Quantitative|Count|Single entity type|Clarification
Q136851
SYSTEM
Did you mean curling ?
(Q136851,P641,c(Q349)) (Q10962,P641,c(Q349)) (Q847,P641,c(Q349))
[ANSWER]
['Q136851', 'P641', {'concept': 'Q349'}] ['Q10962', 'P641', {'concept': 'Q349'}] ['Q847', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q136851 property:Q1567764 ?z . ?z rdf:type ontology:Q1567764 }
Did you mean curling ?
curling
['curling', 'sport', {'concept': 'sport'}] ['rugby league', 'sport', {'concept': 'sport'}] ['tennis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:curling property:sport ?z . ?z rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q136851,P641,c(Q349))
['Q136851', 'P641', {'concept': 'Q349'}]
['curling', 'sport', {'concept': 'sport'}]
[]
SYSTEM
1
Q5369
(Q136851,P641,c(Q349))
[ANSWER]
['Q136851', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q136851 property:Q1567764 ?z . ?z rdf:type ontology:Q1567764 }
baseball
1
['curling', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:curling property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q847
P101
Q502895
USER
Which person has his/her area as tennis ?
(c(Q502895),P101,Q847)
action filter_type
action find_reverse
entity Q847
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q847']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P101 resource:Q847 }
tennis
action filter_type
action find_reverse
entity tennis
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'tennis']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:field_of_work resource:tennis }
[]
common name
Q16231455
SYSTEM
Kgothatso Montjane
Q16231455
(c(Q502895),P101,Q847)
action filter_type
action find_reverse
entity Q847
relation P101
type Q502895
[ANSWER] has his/her area as tennis
[{'concept': 'Q502895'}, 'P101', 'Q847']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P101 resource:Q847 }
Kgothatso Montjane
Kgothatso Montjane has his/her area as tennis
Kgothatso Montjane
action filter_type
action find_reverse
entity tennis
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'tennis']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:field_of_work resource:tennis }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q847
P921
Q2342494
USER
Which collectables have tennis as their principal topic ?
(c(Q2342494),P921,Q847)
action filter_type
action find_reverse
entity Q847
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q847']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q847 . ?m rdf:type ontology:Q2342494 }
tennis
action filter_type
action find_reverse
entity tennis
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'tennis']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:tennis . ?m rdf:type ontology:collectable }
[]
collectable
Q13415851 Q13410659 Q21014398
SYSTEM
The Bud Collins History of Tennis, 100 years of Wimbledon, World of Tennis 1985
Q13415851 Q13410659 Q21014398 Q23978365
(c(Q2342494),P921,Q847)
action filter_type
action find_reverse
entity Q847
relation P921
type Q2342494
[ANSWERS] have tennis as their principal topic
[{'concept': 'Q2342494'}, 'P921', 'Q847']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q847 . ?m rdf:type ontology:Q2342494 }
The Bud Collins History of Tennis 100 years of Wimbledon World of Tennis 1985 Who's Who in International Tennis
The Bud Collins History of Tennis, 100 years of Wimbledon and World of Tennis 1985 have tennis as their principal topic
The Bud Collins History of Tennis 100 years of Wimbledon World of Tennis 1985
action filter_type
action find_reverse
entity tennis
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'tennis']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:tennis . ?m rdf:type ontology:collectable }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13415851
P291
Q56061
USER
Which administrative territory is the place of publication of that collectable ?
(Q13415851,P291,c(Q56061))
action filter_type
action find
entity Q13415851
relation P291
type Q56061
['Q13415851', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q13415851 property:P291 ?k . ?k rdf:type ontology:Q56061 }
The Bud Collins History of Tennis
action filter_type
action find
entity The Bud Collins History of Tennis
relation place of publication
type administrative territorial entity
['The Bud Collins History of Tennis', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:The_Bud_Collins_History_of_Tennis property:place_of_publication ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q13410659
SYSTEM
Did you mean 100 years of Wimbledon ?
Q13415851 Q13410659 Q21014398
(Q13415851,P291,c(Q56061)) (Q13410659,P291,c(Q56061)) (Q21014398,P291,c(Q56061))
[ANSWER]
['Q13415851', 'P291', {'concept': 'Q56061'}] ['Q13410659', 'P291', {'concept': 'Q56061'}] ['Q21014398', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q13415851 property:P291 ?k . ?k rdf:type ontology:Q56061 }
The Bud Collins History of Tennis 100 years of Wimbledon World of Tennis 1985
Did you mean 100 years of Wimbledon ?
100 years of Wimbledon
['The Bud Collins History of Tennis', 'place of publication', {'concept': 'administrative territorial entity'}] ['100 years of Wimbledon', 'place of publication', {'concept': 'administrative territorial entity'}] ['World of Tennis 1985', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:The_Bud_Collins_History_of_Tennis property:place_of_publication ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant The Bud Collins History of Tennis. Could you tell me the answer for that?
(Q13415851,P291,c(Q56061))
Q13415851
['Q13415851', 'P291', {'concept': 'Q56061'}]
['The Bud Collins History of Tennis', 'place of publication', {'concept': 'administrative territorial entity'}]
[]
Q60
SYSTEM
New York City
Q60
(Q13415851,P291,c(Q56061))
action filter_type
action find
entity Q13415851
relation P291
type Q56061
[ANSWER] is the place of publication of that collectable
['Q13415851', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q13415851 property:P291 ?k . ?k rdf:type ontology:Q56061 }
New York City
New York City is the place of publication of that collectable
New York City
action filter_type
action find
entity The Bud Collins History of Tennis
relation place of publication
type administrative territorial entity
['The Bud Collins History of Tennis', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:The_Bud_Collins_History_of_Tennis property:place_of_publication ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q60 Q2807
P190
Q56061
USER
Is Madrid twin town of New York City ?
(Q60,P190,Q2807)
action is_in
entity Q2807
action find
entity Q60
relation P190
['Q60', 'P190', 'Q2807']
ASK WHERE { resource:Q60 property:P190 resource:Q2807 }
New York City Madrid
action is_in
entity Madrid
action find
entity New York City
relation sister city
['New York City', 'sister city', 'Madrid']
ASK WHERE { resource:New_York_City property:sister_city resource:Madrid }
[]
administrative territorial entity
SYSTEM
YES
(Q60,P190,Q2807)
action is_in
entity Q2807
action find
entity Q60
relation P190
[ANSWER]
['Q60', 'P190', 'Q2807']
ASK WHERE { resource:Q60 property:P190 resource:Q2807 }
Yes
action is_in
entity Madrid
action find
entity New York City
relation sister city
['New York City', 'sister city', 'Madrid']
ASK WHERE { resource:New_York_City property:sister_city resource:Madrid }
[]