Simple Question (Direct)
Simple Question
Q973725
P21
Q290
USER
Which sex does Helgi Daníelsson have ?
(Q973725,P21,c(Q290))
action filter_type
action find
entity Q973725
relation P21
type Q290
['Q973725', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q973725 property:P21 ?b }
Helgi Daníelsson
action filter_type
action find
entity Helgi Daníelsson
relation gender
type sex
['Helgi Daníelsson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Helgi_Daníelsson property:gender ?b }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q973725,P21,c(Q290))
action filter_type
action find
entity Q973725
relation P21
type Q290
Helgi Daníelsson has a [ANSWER]
['Q973725', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q973725 property:P21 ?b }
male
Helgi Daníelsson has a male
male
action filter_type
action find
entity Helgi Daníelsson
relation gender
type sex
['Helgi Daníelsson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Helgi_Daníelsson property:gender ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q973725
P54
Q1194951
USER
What is Helgi Daníelsson a member of ?
(Q973725,P54,c(Q1194951))
action filter_type
action find
entity Q973725
relation P54
type Q1194951
['Q973725', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?n WHERE { resource:Q973725 property:P54 ?n . ?n rdf:type ontology:Q1194951 }
Helgi Daníelsson
action filter_type
action find
entity Helgi Daníelsson
relation member of sports team
type national sports team
['Helgi Daníelsson', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?n WHERE { resource:Helgi_Daníelsson property:member_of_sports_team ?n . ?n rdf:type ontology:national_sports_team }
[]
national sports team
Q189198
SYSTEM
Iceland national football team
Q189198
(Q973725,P54,c(Q1194951))
action filter_type
action find
entity Q973725
relation P54
type Q1194951
Helgi Daníelsson a member of is [ANSWER]
['Q973725', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?n WHERE { resource:Q973725 property:P54 ?n . ?n rdf:type ontology:Q1194951 }
Iceland national football team
Helgi Daníelsson a member of is Iceland national football team
Iceland national football team
action filter_type
action find
entity Helgi Daníelsson
relation member of sports team
type national sports team
['Helgi Daníelsson', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?n WHERE { resource:Helgi_Daníelsson property:member_of_sports_team ?n . ?n rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q189198 Q189
P17
Q15617994
USER
Does Iceland national football team belong to Iceland ?
(Q189198,P17,Q189)
action is_in
entity Q189
action find
entity Q189198
relation P17
['Q189198', 'P17', 'Q189']
ASK WHERE { resource:Q189198 property:P17 resource:Q189 }
Iceland national football team Iceland
action is_in
entity Iceland
action find
entity Iceland national football team
relation country
['Iceland national football team', 'country', 'Iceland']
ASK WHERE { resource:Iceland_national_football_team property:country resource:Iceland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q189198,P17,Q189)
action is_in
entity Q189
action find
entity Q189198
relation P17
[ANSWER]
['Q189198', 'P17', 'Q189']
ASK WHERE { resource:Q189198 property:P17 resource:Q189 }
Yes
action is_in
entity Iceland
action find
entity Iceland national football team
relation country
['Iceland national football team', 'country', 'Iceland']
ASK WHERE { resource:Iceland_national_football_team property:country resource:Iceland }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q189198
P466
Q483110
USER
Which stadia are inhabited by that national sports team ?
action filter_type
action find_reverse
entity Q189198
relation P466
type Q483110
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q483110 . ?x property:P466 resource:Q189198 }
Iceland national football team
action filter_type
action find_reverse
entity Iceland national football team
relation occupant
type stadium
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:stadium . ?x property:occupant resource:Iceland_national_football_team }
[]
stadium
Q151212 Q1728656
SYSTEM
Laugardalsvöllur, Kaplakriki
Q151212 Q1728656
action filter_type
action find_reverse
entity Q189198
relation P466
type Q483110
[ANSWERS] are inhabited by that national sports team
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q483110 . ?x property:P466 resource:Q189198 }
Laugardalsvöllur Kaplakriki
Laugardalsvöllur and Kaplakriki are inhabited by that national sports team
Laugardalsvöllur Kaplakriki
action filter_type
action find_reverse
entity Iceland national football team
relation occupant
type stadium
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:stadium . ?x property:occupant resource:Iceland_national_football_team }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q151212 Q1728656
P466
Q1194951
USER
Which national sports teams are a tenants of those stadia ?
(Q151212,P466,c(Q1194951)) (Q1728656,P466,c(Q1194951))
action filter_type
action find
entity prev_answer
relation P466
type Q1194951
['Q151212', 'P466', {'concept': 'Q1194951'}] ['Q1728656', 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { ?w property:P466 ?q . ?q rdf:type ontology:Q1194951 . VALUES ( ?w ) { ( resource:Q151212 ) ( resource:Q1728656 ) } }
Laugardalsvöllur Kaplakriki
action filter_type
action find
entity prev_answer
relation occupant
type national sports team
['Laugardalsvöllur', 'occupant', {'concept': 'national sports team'}] ['Kaplakriki', 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { ?w property:occupant ?q . ?q rdf:type ontology:national_sports_team . VALUES ( ?w ) { ( resource:Laugardalsvöllur ) ( resource:Kaplakriki ) } }
[]
national sports team
Q189198 Q189198
SYSTEM
Iceland national football team
Q189198 Q189198
(Q151212,P466,c(Q1194951)) (Q1728656,P466,c(Q1194951))
action filter_type
action find
entity prev_answer
relation P466
type Q1194951
[ANSWER] and [ANSWER] are a tenants of those stadia
['Q151212', 'P466', {'concept': 'Q1194951'}] ['Q1728656', 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { ?w property:P466 ?q . ?q rdf:type ontology:Q1194951 . VALUES ( ?w ) { ( resource:Q151212 ) ( resource:Q1728656 ) } }
Iceland national football team Iceland national football team
Iceland national football team and Iceland national football team are a tenants of those stadia
Iceland national football team Iceland national football team
action filter_type
action find
entity prev_answer
relation occupant
type national sports team
['Laugardalsvöllur', 'occupant', {'concept': 'national sports team'}] ['Kaplakriki', 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { ?w property:occupant ?q . ?q rdf:type ontology:national_sports_team . VALUES ( ?w ) { ( resource:Laugardalsvöllur ) ( resource:Kaplakriki ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q189198
P1346
Q13406554
USER
Which sport competitions were Iceland national football team decalred as a champion of ?
(c(Q13406554),P1346,Q189198)
action filter_type
action find_reverse
entity Q189198
relation P1346
type Q13406554
[{'concept': 'Q13406554'}, 'P1346', 'Q189198']
SELECT DISTINCT ?d WHERE { ?d property:P1346 resource:Q189198 . ?d rdf:type ontology:Q13406554 }
Iceland national football team
action filter_type
action find_reverse
entity Iceland national football team
relation winner
type sport competition
[{'concept': 'sport competition'}, 'winner', 'Iceland national football team']
SELECT DISTINCT ?d WHERE { ?d property:winner resource:Iceland_national_football_team . ?d rdf:type ontology:sport_competition }
[]
sport competition
Q24202143 Q24202015
SYSTEM
England v Iceland, Iceland v Austria
Q24202143 Q24202015
(c(Q13406554),P1346,Q189198)
action filter_type
action find_reverse
entity Q189198
relation P1346
type Q13406554
[ANSWERS] as a champion of Iceland national football team were decalred
[{'concept': 'Q13406554'}, 'P1346', 'Q189198']
SELECT DISTINCT ?d WHERE { ?d property:P1346 resource:Q189198 . ?d rdf:type ontology:Q13406554 }
England v Iceland Iceland v Austria
England v Iceland and Iceland v Austria as a champion of Iceland national football team were decalred
England v Iceland Iceland v Austria
action filter_type
action find_reverse
entity Iceland national football team
relation winner
type sport competition
[{'concept': 'sport competition'}, 'winner', 'Iceland national football team']
SELECT DISTINCT ?d WHERE { ?d property:winner resource:Iceland_national_football_team . ?d rdf:type ontology:sport_competition }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q24202143 Q24202015
P1923
Q1194951
USER
Which national sports teams took part in England v Iceland and Iceland v Austria ?
(Q24202143,P1923,c(Q1194951)) (Q24202015,P1923,c(Q1194951))
action union
action filter_type
action find
entity Q24202143
relation P1923
type Q1194951
action filter_type
action find
entity Q24202015
relation P1923
type Q1194951
['Q24202143', 'P1923', {'concept': 'Q1194951'}] ['Q24202015', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { { resource:Q24202143 property:P1923 ?y . ?y rdf:type ontology:Q1194951 } UNION { resource:Q24202015 property:P1923 ?y . ?y rdf:type ontology:Q1194951 } }
England v Iceland Iceland v Austria
action union
action filter_type
action find
entity England v Iceland
relation participating teams
type national sports team
action filter_type
action find
entity Iceland v Austria
relation participating teams
type national sports team
['England v Iceland', 'participating teams', {'concept': 'national sports team'}] ['Iceland v Austria', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { { resource:England_v_Iceland property:participating_teams ?y . ?y rdf:type ontology:national_sports_team } UNION { resource:Iceland_v_Austria property:participating_teams ?y . ?y rdf:type ontology:national_sports_team } }
[]
national sports team
Q47762 Q163534 Q189198
SYSTEM
England national football team, Austria national football team, Iceland national football team
Q47762 Q189198 Q189198 Q163534
(Q24202143,P1923,c(Q1194951)) (Q24202015,P1923,c(Q1194951))
action union
action filter_type
action find
entity Q24202143
relation P1923
type Q1194951
action filter_type
action find
entity Q24202015
relation P1923
type Q1194951
[ANSWERS] took part in England v Iceland and Iceland v Austria
['Q24202143', 'P1923', {'concept': 'Q1194951'}] ['Q24202015', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { { resource:Q24202143 property:P1923 ?y . ?y rdf:type ontology:Q1194951 } UNION { resource:Q24202015 property:P1923 ?y . ?y rdf:type ontology:Q1194951 } }
England national football team Iceland national football team Iceland national football team Austria national football team
England national football team, Austria national football team and Iceland national football team took part in England v Iceland and Iceland v Austria
England national football team Austria national football team Iceland national football team
action union
action filter_type
action find
entity England v Iceland
relation participating teams
type national sports team
action filter_type
action find
entity Iceland v Austria
relation participating teams
type national sports team
['England v Iceland', 'participating teams', {'concept': 'national sports team'}] ['Iceland v Austria', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { { resource:England_v_Iceland property:participating_teams ?y . ?y rdf:type ontology:national_sports_team } UNION { resource:Iceland_v_Austria property:participating_teams ?y . ?y rdf:type ontology:national_sports_team } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q47762
P710
Q13406554
USER
Which sport competition was that national sports team a participant of ?
(c(Q13406554),P710,Q47762)
action filter_type
action find_reverse
entity Q47762
relation P710
type Q13406554
[{'concept': 'Q13406554'}, 'P710', 'Q47762']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q47762 . ?g rdf:type ontology:Q13406554 }
England national football team
action filter_type
action find_reverse
entity England national football team
relation participant
type sport competition
[{'concept': 'sport competition'}, 'participant', 'England national football team']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:England_national_football_team . ?g rdf:type ontology:sport_competition }
[]
sport competition
Clarification for simple ques.
Q163534
SYSTEM
Did you mean Austria national football team ?
Q47762 Q163534 Q189198
(c(Q13406554),P710,Q47762) (c(Q13406554),P710,Q163534) (c(Q13406554),P710,Q189198)
[ANSWER]
[{'concept': 'Q13406554'}, 'P710', 'Q47762'] [{'concept': 'Q13406554'}, 'P710', 'Q163534'] [{'concept': 'Q13406554'}, 'P710', 'Q189198']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q47762 . ?g rdf:type ontology:Q13406554 }
England national football team Austria national football team Iceland national football team
Did you mean Austria national football team ?
Austria national football team
[{'concept': 'sport competition'}, 'participant', 'England national football team'] [{'concept': 'sport competition'}, 'participant', 'Austria national football team'] [{'concept': 'sport competition'}, 'participant', 'Iceland national football team']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:England_national_football_team . ?g rdf:type ontology:sport_competition }
[]
Simple Question (Coreferenced)
USER
No, I meant England national football team. Could you tell me the answer for that?
(c(Q13406554),P710,Q47762)
Q47762
[{'concept': 'Q13406554'}, 'P710', 'Q47762']
[{'concept': 'sport competition'}, 'participant', 'England national football team']
[]
Q811012
SYSTEM
Battle of Highbury
Q811012
(c(Q13406554),P710,Q47762)
action filter_type
action find_reverse
entity Q47762
relation P710
type Q13406554
[ANSWER] was that national sports team a participant of
[{'concept': 'Q13406554'}, 'P710', 'Q47762']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q47762 . ?g rdf:type ontology:Q13406554 }
Battle of Highbury
Battle of Highbury was that national sports team a participant of
Battle of Highbury
action filter_type
action find_reverse
entity England national football team
relation participant
type sport competition
[{'concept': 'sport competition'}, 'participant', 'England national football team']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:England_national_football_team . ?g rdf:type ontology:sport_competition }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2522
Q13406554 Q502895
USER
How many people won atleast 2 sport competitions ?
(c(Q502895),P2522,c(Q13406554))
action count
action atleast
action find_tuple_counts
relation P2522
type Q502895
type Q13406554
value 2
[{'concept': 'Q502895'}, 'P2522', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { FILTER ( ?a >= 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?a ) WHERE { ?k rdf:type ontology:Q502895 . ?t rdf:type ontology:Q13406554 . ?k property:P2522 ?t } GROUP BY ?k } }
action count
action atleast
action find_tuple_counts
relation victory
type common name
type sport competition
value 2
[{'concept': 'common name'}, 'victory', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { FILTER ( ?a >= 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?a ) WHERE { ?k rdf:type ontology:common_name . ?t rdf:type ontology:sport_competition . ?k property:victory ?t } GROUP BY ?k } }
[]
sport competition common name
SYSTEM
1
Q2213222
(c(Q502895),P2522,c(Q13406554))
action count
action atleast
action find_tuple_counts
relation P2522
type Q502895
type Q13406554
value 2
[ANSWER]
[{'concept': 'Q502895'}, 'P2522', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { FILTER ( ?a >= 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?a ) WHERE { ?k rdf:type ontology:Q502895 . ?t rdf:type ontology:Q13406554 . ?k property:P2522 ?t } GROUP BY ?k } }
Romain Pitau
1
action count
action atleast
action find_tuple_counts
relation victory
type common name
type sport competition
value 2
[{'concept': 'common name'}, 'victory', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { FILTER ( ?a >= 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?a ) WHERE { ?k rdf:type ontology:common_name . ?t rdf:type ontology:sport_competition . ?k property:victory ?t } GROUP BY ?k } }
[]