Simple Question (Direct)
Simple Question
Q1138521
P641
Q349
USER
Which sport was Craig Conroy a part of ?
(Q1138521,P641,c(Q349))
action filter_type
action find
entity Q1138521
relation P641
type Q349
['Q1138521', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q1138521 property:P641 ?y . ?y rdf:type ontology:Q349 }
Craig Conroy
action filter_type
action find
entity Craig Conroy
relation sport
type sport
['Craig Conroy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Craig_Conroy property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q1138521,P641,c(Q349))
action filter_type
action find
entity Q1138521
relation P641
type Q349
Craig Conroy was in [ANSWER]
['Q1138521', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q1138521 property:P641 ?y . ?y rdf:type ontology:Q349 }
ice hockey
Craig Conroy was in ice hockey
ice hockey
action filter_type
action find
entity Craig Conroy
relation sport
type sport
['Craig Conroy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Craig_Conroy property:sport ?y . ?y rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1138521
P1344
Q15900616
USER
Which event sequence did Craig Conroy participate in ?
(Q1138521,P1344,c(Q15900616))
action filter_type
action find
entity Q1138521
relation P1344
type Q15900616
['Q1138521', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?t WHERE { resource:Q1138521 property:P1344 ?t . ?t rdf:type ontology:Q15900616 }
Craig Conroy
action filter_type
action find
entity Craig Conroy
relation participant of
type event sequence
['Craig Conroy', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?t WHERE { resource:Craig_Conroy property:participant_of ?t . ?t rdf:type ontology:event_sequence }
[]
event sequence
Q9672
SYSTEM
2006 Winter Olympics
Q9672
(Q1138521,P1344,c(Q15900616))
action filter_type
action find
entity Q1138521
relation P1344
type Q15900616
Craig Conroy participated in [ANSWER]
['Q1138521', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?t WHERE { resource:Q1138521 property:P1344 ?t . ?t rdf:type ontology:Q15900616 }
2006 Winter Olympics
Craig Conroy participated in 2006 Winter Olympics
2006 Winter Olympics
action filter_type
action find
entity Craig Conroy
relation participant of
type event sequence
['Craig Conroy', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?t WHERE { resource:Craig_Conroy property:participant_of ?t . ?t rdf:type ontology:event_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1138521
P54
Q12973014
USER
Which sports teams are that person a member of ?
(Q9672,P54,c(Q12973014))
action filter_type
action find
entity Q1138521
relation P54
type Q12973014
['Q9672', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?l WHERE { resource:Q1138521 property:P54 ?l . ?l rdf:type ontology:Q12973014 }
Craig Conroy
action filter_type
action find
entity Craig Conroy
relation member of sports team
type sports team
['2006 Winter Olympics', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?l WHERE { resource:Craig_Conroy property:member_of_sports_team ?l . ?l rdf:type ontology:sports_team }
[]
sports team
Q188143 Q194126 Q203008
SYSTEM
Montreal Canadiens, Calgary Flames, Los Angeles Kings
Q203008 Q194126 Q207735 Q188143
(Q9672,P54,c(Q12973014))
action filter_type
action find
entity Q1138521
relation P54
type Q12973014
[ANSWERS] are that person a member of
['Q9672', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?l WHERE { resource:Q1138521 property:P54 ?l . ?l rdf:type ontology:Q12973014 }
Los Angeles Kings Calgary Flames St. Louis Blues Montreal Canadiens
Montreal Canadiens, Calgary Flames and Los Angeles Kings are that person a member of
Montreal Canadiens Calgary Flames Los Angeles Kings
action filter_type
action find
entity Craig Conroy
relation member of sports team
type sports team
['2006 Winter Olympics', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?l WHERE { resource:Craig_Conroy property:member_of_sports_team ?l . ?l rdf:type ontology:sports_team }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q1048835
USER
How many political territories are that sports team located in ?
(Q188143,P17,c(Q1048835))
['Q188143', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q188143 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
['Montreal Canadiens', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Montreal_Canadiens property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q194126
SYSTEM
Did you mean Calgary Flames ?
(Q188143,P17,c(Q1048835)) (Q194126,P17,c(Q1048835)) (Q203008,P17,c(Q1048835))
[ANSWER]
['Q188143', 'P17', {'concept': 'Q1048835'}] ['Q194126', 'P17', {'concept': 'Q1048835'}] ['Q203008', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q188143 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean Calgary Flames ?
Calgary Flames
['Montreal Canadiens', 'country', {'concept': 'political territorial entity'}] ['Calgary Flames', 'country', {'concept': 'political territorial entity'}] ['Los Angeles Kings', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Montreal_Canadiens property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Montreal Canadiens. Could you tell me the answer for that?
(Q188143,P17,c(Q1048835))
Q188143
['Q188143', 'P17', {'concept': 'Q1048835'}]
['Montreal Canadiens', 'country', {'concept': 'political territorial entity'}]
[]
SYSTEM
1
Q16
(Q188143,P17,c(Q1048835))
[ANSWER]
['Q188143', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q188143 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
Canada
1
['Montreal Canadiens', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Montreal_Canadiens property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q188143
P17
Q1048835
USER
How many political territories are Montreal Canadiens a part of ?
(Q188143,P17,c(Q1048835))
action count
action filter_type
action find
entity Q188143
relation P17
type Q1048835
['Q188143', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:Q1048835 . resource:Q188143 property:P17 ?w }
Montreal Canadiens
action count
action filter_type
action find
entity Montreal Canadiens
relation country
type political territorial entity
['Montreal Canadiens', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:political_territorial_entity . resource:Montreal_Canadiens property:country ?w }
[]
political territorial entity
SYSTEM
1
Q16
(Q188143,P17,c(Q1048835))
action count
action filter_type
action find
entity Q188143
relation P17
type Q1048835
[ANSWER]
['Q188143', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:Q1048835 . resource:Q188143 property:P17 ?w }
Canada
1
action count
action filter_type
action find
entity Montreal Canadiens
relation country
type political territorial entity
['Montreal Canadiens', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:political_territorial_entity . resource:Montreal_Canadiens property:country ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q4975929
P17
Q1048835
USER
And how about Brown's Corners, York Regional Municipality, Ontario?
(Q4975929,P17,c(Q1048835))
action count
action filter_type
action find
entity Q4975929
relation P17
type Q1048835
['Q4975929', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q4975929 property:P17 ?p . ?p rdf:type ontology:Q1048835 }
Brown's Corners, York Regional Municipality, Ontario
action count
action filter_type
action find
entity Brown's Corners, York Regional Municipality, Ontario
relation country
type political territorial entity
["Brown's Corners, York Regional Municipality, Ontario", 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Brown's_Corners,_York_Regional_Municipality,_Ontario property:country ?p . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q16
(Q4975929,P17,c(Q1048835))
action count
action filter_type
action find
entity Q4975929
relation P17
type Q1048835
[ANSWER]
['Q4975929', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q4975929 property:P17 ?p . ?p rdf:type ontology:Q1048835 }
Canada
1
action count
action filter_type
action find
entity Brown's Corners, York Regional Municipality, Ontario
relation country
type political territorial entity
["Brown's Corners, York Regional Municipality, Ontario", 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Brown's_Corners,_York_Regional_Municipality,_Ontario property:country ?p . ?p rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q21907605
Q1048835
USER
And also tell me about Little River?
(Q21907605,P17,c(Q1048835))
action count
action filter_type
action find
entity Q21907605
relation P17
type Q1048835
['Q21907605', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q21907605 property:P17 ?f . ?f rdf:type ontology:Q1048835 }
Little River
action count
action filter_type
action find
entity Little River
relation country
type political territorial entity
['Little River', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Little_River property:country ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q21907605,P17,c(Q1048835))
action count
action filter_type
action find
entity Q21907605
relation P17
type Q1048835
[ANSWER]
['Q21907605', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q21907605 property:P17 ?f . ?f rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Little River
relation country
type political territorial entity
['Little River', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Little_River property:country ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q500834 Q12973014
USER
Which sports did around 1210 tournaments and sports teams participate in ?
(c(Q500834)|c(Q12973014),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 1210
[[{'concept': 'Q500834'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?t ) WHERE { VALUES ( ?l ) { ( ontology:Q500834 ) ( ontology:Q12973014 ) } . ?o rdf:type ?l } GROUP BY ?f } . FILTER ( ?t = 1210 ) }
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 1210
[[{'concept': 'tournament'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?t ) WHERE { VALUES ( ?l ) { ( ontology:tournament ) ( ontology:sports_team ) } . ?o rdf:type ?l } GROUP BY ?f } . FILTER ( ?t = 1210 ) }
[]
sport tournament sports team
Q5372 Q41466
SYSTEM
basketball, ice hockey
Q5372 Q41466
(c(Q500834)|c(Q12973014),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 1210
[ANSWERS] around 1210 tournaments and sports teams participated in
[[{'concept': 'Q500834'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?t ) WHERE { VALUES ( ?l ) { ( ontology:Q500834 ) ( ontology:Q12973014 ) } . ?o rdf:type ?l } GROUP BY ?f } . FILTER ( ?t = 1210 ) }
basketball ice hockey
Basketball and ice hockey around 1210 tournaments and sports teams participated in
basketball ice hockey
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 1210
[[{'concept': 'tournament'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?t ) WHERE { VALUES ( ?l ) { ( ontology:tournament ) ( ontology:sports_team ) } . ?o rdf:type ?l } GROUP BY ?f } . FILTER ( ?t = 1210 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P641
Q31629 Q12973014
USER
Which types of sport were exactly 1 sports team a part of ?
(c(Q12973014),P641,c(Q31629))
action equal
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
value 1
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P641 ?p . ?p rdf:type ontology:Q31629 . ?x rdf:type ontology:Q12973014 } GROUP BY ?p } . FILTER ( ?r = 1 ) }
action equal
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
value 1
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:sport ?p . ?p rdf:type ontology:type_of_sport . ?x rdf:type ontology:sports_team } GROUP BY ?p } . FILTER ( ?r = 1 ) }
[]
type of sport sports team
Q216613 Q7735 Q29358
SYSTEM
Nordic skiing, diving, orienteering
Q29358 Q216613 Q272460 Q14554839 Q186222 Q7735
(c(Q12973014),P641,c(Q31629))
action equal
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
value 1
[ANSWERS] were exactly 1 sports team a part of
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P641 ?p . ?p rdf:type ontology:Q31629 . ?x rdf:type ontology:Q12973014 } GROUP BY ?p } . FILTER ( ?r = 1 ) }
orienteering Nordic skiing Pilates competitive fencing alpine skiing diving
Nordic skiing, diving and orienteering were exactly 1 sports team a part of
Nordic skiing diving orienteering
action equal
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
value 1
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:sport ?p . ?p rdf:type ontology:type_of_sport . ?x rdf:type ontology:sports_team } GROUP BY ?p } . FILTER ( ?r = 1 ) }
[]