Simple Question (Direct)
Simple Question
Q4502189
P21
Q290
USER
Which sex does Nina Savina have ?
(Q4502189,P21,c(Q290))
action filter_type
action find
entity Q4502189
relation P21
type Q290
['Q4502189', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q4502189 property:P21 ?k . ?k rdf:type ontology:Q290 }
Nina Savina
action filter_type
action find
entity Nina Savina
relation gender
type sex
['Nina Savina', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Nina_Savina property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q4502189,P21,c(Q290))
action filter_type
action find
entity Q4502189
relation P21
type Q290
Nina Savina has a [ANSWER]
['Q4502189', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q4502189 property:P21 ?k . ?k rdf:type ontology:Q290 }
female
Nina Savina has a female
female
action filter_type
action find
entity Nina Savina
relation gender
type sex
['Nina Savina', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Nina_Savina property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4502189
P27
Q7275
USER
Which state is the country of citizenship of Nina Savina ?
(Q4502189,P27,c(Q7275))
action filter_type
action find
entity Q4502189
relation P27
type Q7275
['Q4502189', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { resource:Q4502189 property:P27 ?r . ?r rdf:type ontology:Q7275 }
Nina Savina
action filter_type
action find
entity Nina Savina
relation country of citizenship
type state
['Nina Savina', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { resource:Nina_Savina property:country_of_citizenship ?r . ?r rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q4502189,P27,c(Q7275))
action filter_type
action find
entity Q4502189
relation P27
type Q7275
[ANSWER] is the country of citizenship of Nina Savina
['Q4502189', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { resource:Q4502189 property:P27 ?r . ?r rdf:type ontology:Q7275 }
Soviet Union
Soviet Union is the country of citizenship of Nina Savina
Soviet Union
action filter_type
action find
entity Nina Savina
relation country of citizenship
type state
['Nina Savina', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { resource:Nina_Savina property:country_of_citizenship ?r . ?r rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4502189
P106
Q12737077
USER
What is the profession of that person ?
(Q15180,P106,c(Q12737077))
action filter_type
action find
entity Q4502189
relation P106
type Q12737077
['Q15180', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q4502189 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Nina Savina
action filter_type
action find
entity Nina Savina
relation occupation
type occupation
['Soviet Union', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Nina_Savina property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q13382566
SYSTEM
canoer
Q13382566
(Q15180,P106,c(Q12737077))
action filter_type
action find
entity Q4502189
relation P106
type Q12737077
The profession of that person is the [ANSWER]
['Q15180', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q4502189 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
canoer
The profession of that person is the canoer
canoer
action filter_type
action find
entity Nina Savina
relation occupation
type occupation
['Soviet Union', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Nina_Savina property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4502189
P1344
Q16510064
USER
Which sporting event did that person participate in ?
(Q13382566,P1344,c(Q16510064))
action filter_type
action find
entity Q4502189
relation P1344
type Q16510064
['Q13382566', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?f WHERE { resource:Q4502189 property:P1344 ?f . ?f rdf:type ontology:Q16510064 }
Nina Savina
action filter_type
action find
entity Nina Savina
relation participant of
type sporting event
['canoer', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?f WHERE { resource:Nina_Savina property:participant_of ?f . ?f rdf:type ontology:sporting_event }
[]
sporting event
Q4353269
SYSTEM
Canoeing at the 1952 Summer Olympics – Women's K-1 500 metres
Q4353269
(Q13382566,P1344,c(Q16510064))
action filter_type
action find
entity Q4502189
relation P1344
type Q16510064
That person participated in [ANSWER]
['Q13382566', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?f WHERE { resource:Q4502189 property:P1344 ?f . ?f rdf:type ontology:Q16510064 }
Canoeing at the 1952 Summer Olympics – Women's K-1 500 metres
That person participated in Canoeing at the 1952 Summer Olympics – Women's K-1 500 metres
Canoeing at the 1952 Summer Olympics – Women's K-1 500 metres
action filter_type
action find
entity Nina Savina
relation participant of
type sporting event
['canoer', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?f WHERE { resource:Nina_Savina property:participant_of ?f . ?f rdf:type ontology:sporting_event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4353269
P1344
Q502895
USER
How many people participated in Canoeing at the 1952 Summer Olympics – Women's K-1 500 metres ?
(c(Q502895),P1344,Q4353269)
action count
action filter_type
action find_reverse
entity Q4353269
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q4353269']
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:P1344 resource:Q4353269 . ?m rdf:type ontology:Q502895 }
Canoeing at the 1952 Summer Olympics – Women's K-1 500 metres
action count
action filter_type
action find_reverse
entity Canoeing at the 1952 Summer Olympics – Women's K-1 500 metres
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "Canoeing at the 1952 Summer Olympics – Women's K-1 500 metres"]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:participant_of resource:Canoeing_at_the_1952_Summer_Olympics_–_Women's_K-1_500_metres . ?m rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q4502189 Q526608 Q116090
(c(Q502895),P1344,Q4353269)
action count
action filter_type
action find_reverse
entity Q4353269
relation P1344
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', 'Q4353269']
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:P1344 resource:Q4353269 . ?m rdf:type ontology:Q502895 }
Nina Savina Gertrude Liebhart Sylvi Saimo
3
action count
action filter_type
action find_reverse
entity Canoeing at the 1952 Summer Olympics – Women's K-1 500 metres
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "Canoeing at the 1952 Summer Olympics – Women's K-1 500 metres"]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:participant_of resource:Canoeing_at_the_1952_Summer_Olympics_–_Women's_K-1_500_metres . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8470
P17
Q15617994
USER
Which administrative territory is 1988 Summer Olympics situated in ?
(Q8470,P17,c(Q15617994))
action filter_type
action find
entity Q8470
relation P17
type Q15617994
['Q8470', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q8470 property:P17 ?k }
1988 Summer Olympics
action filter_type
action find
entity 1988 Summer Olympics
relation country
type designation for an administrative territorial entity
['1988 Summer Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:1988_Summer_Olympics property:country ?k }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q8470,P17,c(Q15617994))
action filter_type
action find
entity Q8470
relation P17
type Q15617994
1988 Summer Olympics is situated in [ANSWER]
['Q8470', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q8470 property:P17 ?k }
South Korea
1988 Summer Olympics is situated in South Korea
South Korea
action filter_type
action find
entity 1988 Summer Olympics
relation country
type designation for an administrative territorial entity
['1988 Summer Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:1988_Summer_Olympics property:country ?k }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19341084
Q15617994
USER
And how about Meergracht?
(Q19341084,P17,c(Q15617994))
action filter_type
action find
entity Q19341084
relation P17
type Q15617994
['Q19341084', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q19341084 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Meergracht
action filter_type
action find
entity Meergracht
relation country
type designation for an administrative territorial entity
['Meergracht', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Meergracht property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19341084,P17,c(Q15617994))
action filter_type
action find
entity Q19341084
relation P17
type Q15617994
[ANSWER]
['Q19341084', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q19341084 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Meergracht
relation country
type designation for an administrative territorial entity
['Meergracht', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Meergracht property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19341084
P276
Q56061
USER
Where is that road located ?
(Q55,P276,c(Q56061))
action filter_type
action find
entity Q19341084
relation P276
type Q56061
['Q55', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q19341084 property:P276 ?y . ?y rdf:type ontology:Q56061 }
Meergracht
action filter_type
action find
entity Meergracht
relation location
type administrative territorial entity
['Netherlands', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Meergracht property:location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q903595
SYSTEM
Volendam
Q903595
(Q55,P276,c(Q56061))
action filter_type
action find
entity Q19341084
relation P276
type Q56061
That road is located in [ANSWER]
['Q55', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q19341084 property:P276 ?y . ?y rdf:type ontology:Q56061 }
Volendam
That road is located in Volendam
Volendam
action filter_type
action find
entity Meergracht
relation location
type administrative territorial entity
['Netherlands', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Meergracht property:location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P115
Q811979 Q1076486 Q16510064
USER
Which sporting events have approximately 1 architectural structures and sports venues as their ground ?
(c(Q16510064),P115,c(Q811979)|c(Q1076486))
action approx
action union
action find_tuple_counts
relation P115
type Q16510064
type Q811979
action find_tuple_counts
relation P115
type Q16510064
type Q1076486
value 1
[{'concept': 'Q16510064'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?h WHERE { { ?h property:P115 ?c . ?c rdf:type ontology:Q811979 . ?h rdf:type ontology:Q16510064 } UNION { ?h property:P115 ?c . ?h rdf:type ontology:Q16510064 . ?c rdf:type ontology:Q1076486 } } GROUP BY ?h } . FILTER ( ?k = 1 ) }
action approx
action union
action find_tuple_counts
relation home venue
type sporting event
type architectural structure
action find_tuple_counts
relation home venue
type sporting event
type sports venue
value 1
[{'concept': 'sporting event'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?h WHERE { { ?h property:home_venue ?c . ?c rdf:type ontology:architectural_structure . ?h rdf:type ontology:sporting_event } UNION { ?h property:home_venue ?c . ?h rdf:type ontology:sporting_event . ?c rdf:type ontology:sports_venue } } GROUP BY ?h } . FILTER ( ?k = 1 ) }
[]
architectural structure sports venue sporting event
Q18355214 Q23058801 Q23776822
SYSTEM
Field hockey at the 2016 Summer Olympics – Men's tournament, Basketball at the 2016 Summer Olympics – Women's tournament, Water polo at the 2016 Summer Olympics – Men's tournament
Q18355236 Q25163142 Q23776822 Q23776821 Q7378331 Q16612104 Q23949489 Q23949488 Q24995398 Q18395725 Q18355214 Q24825467 Q18416654 Q23058801 Q25162542
(c(Q16510064),P115,c(Q811979)|c(Q1076486))
action approx
action union
action find_tuple_counts
relation P115
type Q16510064
type Q811979
action find_tuple_counts
relation P115
type Q16510064
type Q1076486
value 1
[ANSWERS] have approximately 1 architectural structures and sports venues as their ground
[{'concept': 'Q16510064'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?h WHERE { { ?h property:P115 ?c . ?c rdf:type ontology:Q811979 . ?h rdf:type ontology:Q16510064 } UNION { ?h property:P115 ?c . ?h rdf:type ontology:Q16510064 . ?c rdf:type ontology:Q1076486 } } GROUP BY ?h } . FILTER ( ?k = 1 ) }
Field hockey at the 2016 Summer Olympics – Women's tournament Rugby sevens at the 2016 Summer Olympics – Women's tournament Water polo at the 2016 Summer Olympics – Men's tournament Water polo at the 2016 Summer Olympics – Women's tournament rugby Sevens at the 2016 Summer Olympics Volleyball at the 2016 Summer Olympics – Men's tournament Handball at the 2016 Summer Olympics – Women's tournament Handball at the 2016 Summer Olympics – Men's tournament Beach volleyball at the 2016 Summer Olympics – Women's tournament Volleyball at the 2016 Summer Olympics – Women's tournament Field hockey at the 2016 Summer Olympics – Men's tournament Beach volleyball at the 2016 Summer Olympics – Men's tournament Basketball at the 2016 Summer Olympics – Men's tournament Basketball at the 2016 Summer Olympics – Women's tournament Rugby sevens at the 2016 Summer Olympics – Men's tournament
Field hockey at the 2016 Summer Olympics – Men's tournament, Basketball at the 2016 Summer Olympics – Women's tournament and Water polo at the 2016 Summer Olympics – Men's tournament have approximately 1 architectural structures and sports venues as their ground
Field hockey at the 2016 Summer Olympics – Men's tournament Basketball at the 2016 Summer Olympics – Women's tournament Water polo at the 2016 Summer Olympics – Men's tournament
action approx
action union
action find_tuple_counts
relation home venue
type sporting event
type architectural structure
action find_tuple_counts
relation home venue
type sporting event
type sports venue
value 1
[{'concept': 'sporting event'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?h WHERE { { ?h property:home_venue ?c . ?c rdf:type ontology:architectural_structure . ?h rdf:type ontology:sporting_event } UNION { ?h property:home_venue ?c . ?h rdf:type ontology:sporting_event . ?c rdf:type ontology:sports_venue } } GROUP BY ?h } . FILTER ( ?k = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23058801
P641
Q349
USER
Which sport did that sporting event participate in ?
(Q23058801,P641,c(Q349))
action filter_type
action find
entity Q23058801
relation P641
type Q349
['Q23058801', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q23058801 property:P641 ?l }
Basketball at the 2016 Summer Olympics – Women's tournament
action filter_type
action find
entity Basketball at the 2016 Summer Olympics – Women's tournament
relation sport
type sport
["Basketball at the 2016 Summer Olympics – Women's tournament", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:Basketball_at_the_2016_Summer_Olympics_–_Women's_tournament property:sport ?l }
[]
sport
Clarification for simple ques.
Q23776822
SYSTEM
Did you mean Water polo at the 2016 Summer Olympics – Men's tournament ?
Q18355214 Q23058801 Q23776822
(Q18355214,P641,c(Q349)) (Q23058801,P641,c(Q349)) (Q23776822,P641,c(Q349))
[ANSWER]
['Q18355214', 'P641', {'concept': 'Q349'}] ['Q23058801', 'P641', {'concept': 'Q349'}] ['Q23776822', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q23058801 property:P641 ?l }
Field hockey at the 2016 Summer Olympics – Men's tournament Basketball at the 2016 Summer Olympics – Women's tournament Water polo at the 2016 Summer Olympics – Men's tournament
Did you mean Water polo at the 2016 Summer Olympics – Men's tournament ?
Water polo at the 2016 Summer Olympics – Men's tournament
["Field hockey at the 2016 Summer Olympics – Men's tournament", 'sport', {'concept': 'sport'}] ["Basketball at the 2016 Summer Olympics – Women's tournament", 'sport', {'concept': 'sport'}] ["Water polo at the 2016 Summer Olympics – Men's tournament", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:Basketball_at_the_2016_Summer_Olympics_–_Women's_tournament property:sport ?l }
[]
Simple Question (Coreferenced)
USER
No, I meant Basketball at the 2016 Summer Olympics – Women's tournament. Could you tell me the answer for that?
(Q23058801,P641,c(Q349))
Q23058801
['Q23058801', 'P641', {'concept': 'Q349'}]
["Basketball at the 2016 Summer Olympics – Women's tournament", 'sport', {'concept': 'sport'}]
[]
Q5372
SYSTEM
basketball
Q5372
(Q23058801,P641,c(Q349))
action filter_type
action find
entity Q23058801
relation P641
type Q349
That sporting event participated in [ANSWER]
['Q23058801', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q23058801 property:P641 ?l }
basketball
That sporting event participated in basketball
basketball
action filter_type
action find
entity Basketball at the 2016 Summer Olympics – Women's tournament
relation sport
type sport
["Basketball at the 2016 Summer Olympics – Women's tournament", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:Basketball_at_the_2016_Summer_Olympics_–_Women's_tournament property:sport ?l }
[]