Simple Question (Direct)
Simple Question
Q832733
P54
Q1194951
USER
Which national sports teams are Ernst Sabeditsch a member of ?
(Q832733,P54,c(Q1194951))
action filter_type
action find
entity Q832733
relation P54
type Q1194951
['Q832733', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?b WHERE { resource:Q832733 property:P54 ?b . ?b rdf:type ontology:Q1194951 }
Ernst Sabeditsch
action filter_type
action find
entity Ernst Sabeditsch
relation member of sports team
type national sports team
['Ernst Sabeditsch', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?b WHERE { resource:Ernst_Sabeditsch property:member_of_sports_team ?b . ?b rdf:type ontology:national_sports_team }
[]
national sports team
Q43310 Q163534
SYSTEM
Germany national football team, Austria national football team
Q43310 Q163534
(Q832733,P54,c(Q1194951))
action filter_type
action find
entity Q832733
relation P54
type Q1194951
The [ANSWERS] are Ernst Sabeditsch a member of
['Q832733', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?b WHERE { resource:Q832733 property:P54 ?b . ?b rdf:type ontology:Q1194951 }
Germany national football team Austria national football team
The Germany national football team and Austria national football team are Ernst Sabeditsch a member of
Germany national football team Austria national football team
action filter_type
action find
entity Ernst Sabeditsch
relation member of sports team
type national sports team
['Ernst Sabeditsch', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?b WHERE { resource:Ernst_Sabeditsch property:member_of_sports_team ?b . ?b rdf:type ontology:national_sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q163534
P466
Q1076486
USER
Which sports venue is inhabited by that national sports team ?
(c(Q1076486),P466,Q163534)
action filter_type
action find_reverse
entity Q163534
relation P466
type Q1076486
[{'concept': 'Q1076486'}, 'P466', 'Q163534']
SELECT DISTINCT ?b WHERE { ?b property:P466 resource:Q163534 . ?b rdf:type ontology:Q1076486 }
Austria national football team
action filter_type
action find_reverse
entity Austria national football team
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'Austria national football team']
SELECT DISTINCT ?b WHERE { ?b property:occupant resource:Austria_national_football_team . ?b rdf:type ontology:sports_venue }
[]
sports venue
Clarification for simple ques.
Q43310
SYSTEM
Did you mean Germany national football team ?
Q43310 Q163534
(c(Q1076486),P466,Q43310) (c(Q1076486),P466,Q163534)
[ANSWER]
[{'concept': 'Q1076486'}, 'P466', 'Q43310'] [{'concept': 'Q1076486'}, 'P466', 'Q163534']
SELECT DISTINCT ?b WHERE { ?b property:P466 resource:Q163534 . ?b rdf:type ontology:Q1076486 }
Germany national football team Austria national football team
Did you mean Germany national football team ?
Germany national football team
[{'concept': 'sports venue'}, 'occupant', 'Germany national football team'] [{'concept': 'sports venue'}, 'occupant', 'Austria national football team']
SELECT DISTINCT ?b WHERE { ?b property:occupant resource:Austria_national_football_team . ?b rdf:type ontology:sports_venue }
[]
Simple Question (Coreferenced)
USER
No, I meant Austria national football team. Could you tell me the answer for that?
(c(Q1076486),P466,Q163534)
Q163534
[{'concept': 'Q1076486'}, 'P466', 'Q163534']
[{'concept': 'sports venue'}, 'occupant', 'Austria national football team']
[]
Q185741
SYSTEM
Ernst-Happel-Stadion
Q185741
(c(Q1076486),P466,Q163534)
action filter_type
action find_reverse
entity Q163534
relation P466
type Q1076486
[ANSWER] is inhabited by that national sports team
[{'concept': 'Q1076486'}, 'P466', 'Q163534']
SELECT DISTINCT ?b WHERE { ?b property:P466 resource:Q163534 . ?b rdf:type ontology:Q1076486 }
Ernst-Happel-Stadion
Ernst-Happel-Stadion is inhabited by that national sports team
Ernst-Happel-Stadion
action filter_type
action find_reverse
entity Austria national football team
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'Austria national football team']
SELECT DISTINCT ?b WHERE { ?b property:occupant resource:Austria_national_football_team . ?b rdf:type ontology:sports_venue }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q185741 Q4395308 Q3303790
P17
Q1048835
USER
Is that sports venue present in Rivnopil and Breña ?
(Q185741,P17,Q4395308) (Q185741,P17,Q3303790)
action is_in
entity Q185741
action intersection
action find_reverse
entity Q4395308
relation P17
action find_reverse
entity Q3303790
relation P17
['Q185741', 'P17', 'Q4395308'] ['Q185741', 'P17', 'Q3303790']
ASK WHERE { resource:Q185741 property:P17 resource:Q4395308 . resource:Q185741 property:P17 resource:Q3303790 }
Ernst-Happel-Stadion Rivnopil Breña
action is_in
entity Ernst-Happel-Stadion
action intersection
action find_reverse
entity Rivnopil
relation country
action find_reverse
entity Breña
relation country
['Ernst-Happel-Stadion', 'country', 'Rivnopil'] ['Ernst-Happel-Stadion', 'country', 'Breña']
ASK WHERE { resource:Ernst-Happel-Stadion property:country resource:Rivnopil . resource:Ernst-Happel-Stadion property:country resource:Breña }
[]
political territorial entity
SYSTEM
NO
(Q185741,P17,Q4395308) (Q185741,P17,Q3303790)
action is_in
entity Q185741
action intersection
action find_reverse
entity Q4395308
relation P17
action find_reverse
entity Q3303790
relation P17
[ANSWER]
['Q185741', 'P17', 'Q4395308'] ['Q185741', 'P17', 'Q3303790']
ASK WHERE { resource:Q185741 property:P17 resource:Q4395308 . resource:Q185741 property:P17 resource:Q3303790 }
No
action is_in
entity Ernst-Happel-Stadion
action intersection
action find_reverse
entity Rivnopil
relation country
action find_reverse
entity Breña
relation country
['Ernst-Happel-Stadion', 'country', 'Rivnopil'] ['Ernst-Happel-Stadion', 'country', 'Breña']
ASK WHERE { resource:Ernst-Happel-Stadion property:country resource:Rivnopil . resource:Ernst-Happel-Stadion property:country resource:Breña }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q163534 Q4456040 Q40
P17
Q1048835
USER
Is Austria national football team situated in Ternove and Austria ?
(Q163534,P17,Q4456040) (Q163534,P17,Q40)
action is_in
entity Q163534
action intersection
action find_reverse
entity Q4456040
relation P17
action find_reverse
entity Q40
relation P17
['Q163534', 'P17', 'Q4456040'] ['Q163534', 'P17', 'Q40']
ASK WHERE { resource:Q163534 property:P17 resource:Q4456040 . resource:Q163534 property:P17 resource:Q40 }
Austria national football team Ternove Austria
action is_in
entity Austria national football team
action intersection
action find_reverse
entity Ternove
relation country
action find_reverse
entity Austria
relation country
['Austria national football team', 'country', 'Ternove'] ['Austria national football team', 'country', 'Austria']
ASK WHERE { resource:Austria_national_football_team property:country resource:Ternove . resource:Austria_national_football_team property:country resource:Austria }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q163534,P17,Q4456040) (Q163534,P17,Q40)
action is_in
entity Q163534
action intersection
action find_reverse
entity Q4456040
relation P17
action find_reverse
entity Q40
relation P17
[ANSWER]
['Q163534', 'P17', 'Q4456040'] ['Q163534', 'P17', 'Q40']
ASK WHERE { resource:Q163534 property:P17 resource:Q4456040 . resource:Q163534 property:P17 resource:Q40 }
NO and YES respectively
action is_in
entity Austria national football team
action intersection
action find_reverse
entity Ternove
relation country
action find_reverse
entity Austria
relation country
['Austria national football team', 'country', 'Ternove'] ['Austria national football team', 'country', 'Austria']
ASK WHERE { resource:Austria_national_football_team property:country resource:Ternove . resource:Austria_national_football_team property:country resource:Austria }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q185741 Q40 Q4513396
P17
Q1048835
USER
Is Ernst-Happel-Stadion present in Austria and Chernechchyna ?
(Q185741,P17,Q40) (Q185741,P17,Q4513396)
action is_in
entity Q185741
action intersection
action find_reverse
entity Q40
relation P17
action find_reverse
entity Q4513396
relation P17
['Q185741', 'P17', 'Q40'] ['Q185741', 'P17', 'Q4513396']
ASK WHERE { resource:Q185741 property:P17 resource:Q4513396 . resource:Q185741 property:P17 resource:Q40 }
Ernst-Happel-Stadion Austria Chernechchyna
action is_in
entity Ernst-Happel-Stadion
action intersection
action find_reverse
entity Austria
relation country
action find_reverse
entity Chernechchyna
relation country
['Ernst-Happel-Stadion', 'country', 'Austria'] ['Ernst-Happel-Stadion', 'country', 'Chernechchyna']
ASK WHERE { resource:Ernst-Happel-Stadion property:country resource:Chernechchyna . resource:Ernst-Happel-Stadion property:country resource:Austria }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q185741,P17,Q40) (Q185741,P17,Q4513396)
action is_in
entity Q185741
action intersection
action find_reverse
entity Q40
relation P17
action find_reverse
entity Q4513396
relation P17
[ANSWER]
['Q185741', 'P17', 'Q40'] ['Q185741', 'P17', 'Q4513396']
ASK WHERE { resource:Q185741 property:P17 resource:Q4513396 . resource:Q185741 property:P17 resource:Q40 }
YES and NO respectively
action is_in
entity Ernst-Happel-Stadion
action intersection
action find_reverse
entity Austria
relation country
action find_reverse
entity Chernechchyna
relation country
['Ernst-Happel-Stadion', 'country', 'Austria'] ['Ernst-Happel-Stadion', 'country', 'Chernechchyna']
ASK WHERE { resource:Ernst-Happel-Stadion property:country resource:Chernechchyna . resource:Ernst-Happel-Stadion property:country resource:Austria }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q832733 Q40
P27
Q1048835
USER
Is Austria the native country of Ernst Sabeditsch ?
(Q832733,P27,Q40)
action is_in
entity Q40
action find
entity Q832733
relation P27
['Q832733', 'P27', 'Q40']
ASK WHERE { resource:Q832733 property:P27 resource:Q40 }
Ernst Sabeditsch Austria
action is_in
entity Austria
action find
entity Ernst Sabeditsch
relation country of citizenship
['Ernst Sabeditsch', 'country of citizenship', 'Austria']
ASK WHERE { resource:Ernst_Sabeditsch property:country_of_citizenship resource:Austria }
[]
political territorial entity
SYSTEM
YES
(Q832733,P27,Q40)
action is_in
entity Q40
action find
entity Q832733
relation P27
[ANSWER]
['Q832733', 'P27', 'Q40']
ASK WHERE { resource:Q832733 property:P27 resource:Q40 }
Yes
action is_in
entity Austria
action find
entity Ernst Sabeditsch
relation country of citizenship
['Ernst Sabeditsch', 'country of citizenship', 'Austria']
ASK WHERE { resource:Ernst_Sabeditsch property:country_of_citizenship resource:Austria }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q832733
P641
Q349
USER
Which sport was that person a part of ?
action filter_type
action find
entity Q832733
relation P641
type Q349
SELECT DISTINCT ?j WHERE { resource:Q832733 property:P641 ?j . ?j rdf:type ontology:Q349 }
Ernst Sabeditsch
action filter_type
action find
entity Ernst Sabeditsch
relation sport
type sport
SELECT DISTINCT ?j WHERE { resource:Ernst_Sabeditsch property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
action filter_type
action find
entity Q832733
relation P641
type Q349
Football [ANSWER] was that person a part of
SELECT DISTINCT ?j WHERE { resource:Q832733 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Ernst Sabeditsch
relation sport
type sport
SELECT DISTINCT ?j WHERE { resource:Ernst_Sabeditsch property:sport ?j . ?j rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q163534
P1923
Q1375427 Q13406554
USER
How many European Championships and sport competitions did Austria national football team participate in ?
(c(Q1375427),P1923,Q163534) (c(Q13406554),P1923,Q163534)
action count
action union
action filter_type
action find_reverse
entity Q163534
relation P1923
type Q1375427
action filter_type
action find_reverse
entity Q163534
relation P1923
type Q13406554
[{'concept': 'Q1375427'}, 'P1923', 'Q163534'] [{'concept': 'Q13406554'}, 'P1923', 'Q163534']
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { ?e property:P1923 resource:Q163534 . ?e rdf:type ontology:Q1375427 } UNION { ?e property:P1923 resource:Q163534 . ?e rdf:type ontology:Q13406554 } }
Austria national football team
action count
action union
action filter_type
action find_reverse
entity Austria national football team
relation participating teams
type European Championship
action filter_type
action find_reverse
entity Austria national football team
relation participating teams
type sport competition
[{'concept': 'European Championship'}, 'participating teams', 'Austria national football team'] [{'concept': 'sport competition'}, 'participating teams', 'Austria national football team']
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { ?e property:participating_teams resource:Austria_national_football_team . ?e rdf:type ontology:European_Championship } UNION { ?e property:participating_teams resource:Austria_national_football_team . ?e rdf:type ontology:sport_competition } }
[]
European Championship sport competition
SYSTEM
2 European Championships and 3 sport competitions
Q24202015 Q24202007 Q241864 Q24201997 Q189571
(c(Q1375427),P1923,Q163534) (c(Q13406554),P1923,Q163534)
action count
action union
action filter_type
action find_reverse
entity Q163534
relation P1923
type Q1375427
action filter_type
action find_reverse
entity Q163534
relation P1923
type Q13406554
[ANSWER]
[{'concept': 'Q1375427'}, 'P1923', 'Q163534'] [{'concept': 'Q13406554'}, 'P1923', 'Q163534']
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { ?e property:P1923 resource:Q163534 . ?e rdf:type ontology:Q1375427 } UNION { ?e property:P1923 resource:Q163534 . ?e rdf:type ontology:Q13406554 } }
Iceland v Austria Portugal v Austria UEFA Euro 2008 Austria v Hungary UEFA Euro 2016
2 European Championships and 3 sport competitions
action count
action union
action filter_type
action find_reverse
entity Austria national football team
relation participating teams
type European Championship
action filter_type
action find_reverse
entity Austria national football team
relation participating teams
type sport competition
[{'concept': 'European Championship'}, 'participating teams', 'Austria national football team'] [{'concept': 'sport competition'}, 'participating teams', 'Austria national football team']
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { { ?e property:participating_teams resource:Austria_national_football_team . ?e rdf:type ontology:European_Championship } UNION { ?e property:participating_teams resource:Austria_national_football_team . ?e rdf:type ontology:sport_competition } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16904573 Q4395308
P17
Q15617994
USER
Which administrative territories are Rivnopil or Zirku Airport located in ?
OR((Q4395308,P17,c(Q15617994)), (Q16904573,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4395308
relation P17
action find
entity Q16904573
relation P17
type Q15617994
{'OR': [['Q4395308', 'P17', {'concept': 'Q15617994'}], ['Q16904573', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { VALUES ( ?n ) { ( resource:Q16904573 ) ( resource:Q4395308 ) } . ?n property:P17 ?w } }
Zirku Airport Rivnopil
action filter_type
action union
action find
entity Rivnopil
relation country
action find
entity Zirku Airport
relation country
type designation for an administrative territorial entity
{'OR': [['Rivnopil', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Zirku Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?n ) { ( resource:Zirku_Airport ) ( resource:Rivnopil ) } . ?n property:country ?w } }
[]
designation for an administrative territorial entity
Q212 Q878
SYSTEM
Ukraine, United Arab Emirates
Q212 Q878
OR((Q4395308,P17,c(Q15617994)), (Q16904573,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4395308
relation P17
action find
entity Q16904573
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q4395308', 'P17', {'concept': 'Q15617994'}], ['Q16904573', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { VALUES ( ?n ) { ( resource:Q16904573 ) ( resource:Q4395308 ) } . ?n property:P17 ?w } }
Ukraine United Arab Emirates
Which administrative territories are Rivnopil or Zirku Airport located in
Ukraine United Arab Emirates
action filter_type
action union
action find
entity Rivnopil
relation country
action find
entity Zirku Airport
relation country
type designation for an administrative territorial entity
{'OR': [['Rivnopil', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Zirku Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?n ) { ( resource:Zirku_Airport ) ( resource:Rivnopil ) } . ?n property:country ?w } }
[]