Simple Question (Direct)
Simple Question
Q3837022
P641
Q349
USER
Which sport was Lorenzo Moretti a part of ?
(Q3837022,P641,c(Q349))
action filter_type
action find
entity Q3837022
relation P641
type Q349
['Q3837022', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q3837022 property:P641 ?i . ?i rdf:type ontology:Q349 }
Lorenzo Moretti
action filter_type
action find
entity Lorenzo Moretti
relation sport
type sport
['Lorenzo Moretti', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Lorenzo_Moretti property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3837022,P641,c(Q349))
action filter_type
action find
entity Q3837022
relation P641
type Q349
Lorenzo Moretti was in [ANSWER]
['Q3837022', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q3837022 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
Lorenzo Moretti was in association football
association football
action filter_type
action find
entity Lorenzo Moretti
relation sport
type sport
['Lorenzo Moretti', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Lorenzo_Moretti property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3837022
P54
Q1194951
USER
What is Lorenzo Moretti a member of ?
(Q3837022,P54,c(Q1194951))
action filter_type
action find
entity Q3837022
relation P54
type Q1194951
['Q3837022', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?h WHERE { resource:Q3837022 property:P54 ?h . ?h rdf:type ontology:Q1194951 }
Lorenzo Moretti
action filter_type
action find
entity Lorenzo Moretti
relation member of sports team
type national sports team
['Lorenzo Moretti', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?h WHERE { resource:Lorenzo_Moretti property:member_of_sports_team ?h . ?h rdf:type ontology:national_sports_team }
[]
national sports team
Q185350
SYSTEM
San Marino national football team
Q185350
(Q3837022,P54,c(Q1194951))
action filter_type
action find
entity Q3837022
relation P54
type Q1194951
Lorenzo Moretti is a member of the [ANSWER]
['Q3837022', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?h WHERE { resource:Q3837022 property:P54 ?h . ?h rdf:type ontology:Q1194951 }
San Marino national football team
Lorenzo Moretti is a member of the San Marino national football team
San Marino national football team
action filter_type
action find
entity Lorenzo Moretti
relation member of sports team
type national sports team
['Lorenzo Moretti', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?h WHERE { resource:Lorenzo_Moretti property:member_of_sports_team ?h . ?h rdf:type ontology:national_sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3810470
Q1194951
USER
And also tell me about José Loayza?
(Q3810470,P54,c(Q1194951))
action filter_type
action find
entity Q3810470
relation P54
type Q1194951
['Q3810470', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { resource:Q3810470 property:P54 ?p . ?p rdf:type ontology:Q1194951 }
José Loayza
action filter_type
action find
entity José Loayza
relation member of sports team
type national sports team
['José Loayza', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { resource:José_Loayza property:member_of_sports_team ?p . ?p rdf:type ontology:national_sports_team }
[]
national sports team
Q193386
SYSTEM
Bolivia national football team
Q193386
(Q3810470,P54,c(Q1194951))
action filter_type
action find
entity Q3810470
relation P54
type Q1194951
[ANSWER]
['Q3810470', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { resource:Q3810470 property:P54 ?p . ?p rdf:type ontology:Q1194951 }
Bolivia national football team
Bolivia national football team
action filter_type
action find
entity José Loayza
relation member of sports team
type national sports team
['José Loayza', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { resource:José_Loayza property:member_of_sports_team ?p . ?p rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q193386 Q7597039 Q48432
P1344
Q15275719
USER
Did that national sports team competited in Staines amateur regatta and 1930 FIFA World Cup ?
(Q193386,P1344,Q7597039) (Q193386,P1344,Q48432)
action is_in
entity Q193386
action intersection
action find_reverse
entity Q7597039
relation P1344
action find_reverse
entity Q48432
relation P1344
['Q193386', 'P1344', 'Q7597039'] ['Q193386', 'P1344', 'Q48432']
ASK WHERE { resource:Q193386 property:P1344 resource:Q7597039 . resource:Q193386 property:P1344 resource:Q48432 }
Bolivia national football team Staines amateur regatta 1930 FIFA World Cup
action is_in
entity Bolivia national football team
action intersection
action find_reverse
entity Staines amateur regatta
relation participant of
action find_reverse
entity 1930 FIFA World Cup
relation participant of
['Bolivia national football team', 'participant of', 'Staines amateur regatta'] ['Bolivia national football team', 'participant of', '1930 FIFA World Cup']
ASK WHERE { resource:Bolivia_national_football_team property:participant_of resource:Staines_amateur_regatta . resource:Bolivia_national_football_team property:participant_of resource:1930_FIFA_World_Cup }
[]
recurring event
SYSTEM
NO and YES respectively
(Q193386,P1344,Q7597039) (Q193386,P1344,Q48432)
action is_in
entity Q193386
action intersection
action find_reverse
entity Q7597039
relation P1344
action find_reverse
entity Q48432
relation P1344
[ANSWER]
['Q193386', 'P1344', 'Q7597039'] ['Q193386', 'P1344', 'Q48432']
ASK WHERE { resource:Q193386 property:P1344 resource:Q7597039 . resource:Q193386 property:P1344 resource:Q48432 }
NO and YES respectively
action is_in
entity Bolivia national football team
action intersection
action find_reverse
entity Staines amateur regatta
relation participant of
action find_reverse
entity 1930 FIFA World Cup
relation participant of
['Bolivia national football team', 'participant of', 'Staines amateur regatta'] ['Bolivia national football team', 'participant of', '1930 FIFA World Cup']
ASK WHERE { resource:Bolivia_national_football_team property:participant_of resource:Staines_amateur_regatta . resource:Bolivia_national_football_team property:participant_of resource:1930_FIFA_World_Cup }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q193386
P1923
Q15275719
USER
Which recurring events did that national sports team take part in ?
action filter_type
action find_reverse
entity Q193386
relation P1923
type Q15275719
SELECT DISTINCT ?t WHERE { ?t property:P1923 resource:Q193386 . ?t rdf:type ontology:Q15275719 }
Bolivia national football team
action filter_type
action find_reverse
entity Bolivia national football team
relation participating teams
type recurring event
SELECT DISTINCT ?t WHERE { ?t property:participating_teams resource:Bolivia_national_football_team . ?t rdf:type ontology:recurring_event }
[]
recurring event
Q48432 Q101751 Q132515
SYSTEM
1930 FIFA World Cup, 1994 FIFA World Cup, 1950 FIFA World Cup
Q48432 Q101751 Q132515
action filter_type
action find_reverse
entity Q193386
relation P1923
type Q15275719
[ANSWERS] that national sports team took in part
SELECT DISTINCT ?t WHERE { ?t property:P1923 resource:Q193386 . ?t rdf:type ontology:Q15275719 }
1930 FIFA World Cup 1994 FIFA World Cup 1950 FIFA World Cup
1930 FIFA World Cup, 1994 FIFA World Cup and 1950 FIFA World Cup that national sports team took in part
1930 FIFA World Cup 1994 FIFA World Cup 1950 FIFA World Cup
action filter_type
action find_reverse
entity Bolivia national football team
relation participating teams
type recurring event
SELECT DISTINCT ?t WHERE { ?t property:participating_teams resource:Bolivia_national_football_team . ?t rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q241864
P361
Q13406554
USER
What is a part of UEFA Euro 2008 ?
(c(Q13406554),P361,Q241864)
action filter_type
action find_reverse
entity Q241864
relation P361
type Q13406554
[{'concept': 'Q13406554'}, 'P361', 'Q241864']
SELECT DISTINCT ?v WHERE { ?v property:P361 resource:Q241864 . ?v rdf:type ontology:Q13406554 }
UEFA Euro 2008
action filter_type
action find_reverse
entity UEFA Euro 2008
relation part of
type sport competition
[{'concept': 'sport competition'}, 'part of', 'UEFA Euro 2008']
SELECT DISTINCT ?v WHERE { ?v property:part_of resource:UEFA_Euro_2008 . ?v rdf:type ontology:sport_competition }
[]
sport competition
Q752359
SYSTEM
UEFA Euro 2008 Final
Q752359
(c(Q13406554),P361,Q241864)
action filter_type
action find_reverse
entity Q241864
relation P361
type Q13406554
A part of UEFA Euro 2008 is called [ANSWER]
[{'concept': 'Q13406554'}, 'P361', 'Q241864']
SELECT DISTINCT ?v WHERE { ?v property:P361 resource:Q241864 . ?v rdf:type ontology:Q13406554 }
UEFA Euro 2008 Final
A part of UEFA Euro 2008 is called UEFA Euro 2008 Final
UEFA Euro 2008 Final
action filter_type
action find_reverse
entity UEFA Euro 2008
relation part of
type sport competition
[{'concept': 'sport competition'}, 'part of', 'UEFA Euro 2008']
SELECT DISTINCT ?v WHERE { ?v property:part_of resource:UEFA_Euro_2008 . ?v rdf:type ontology:sport_competition }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q241864
P1346
Q1194951
USER
Which national sports team was the champion of that European Championship ?
(Q752359,P1346,c(Q1194951))
action filter_type
action find
entity Q241864
relation P1346
type Q1194951
['Q752359', 'P1346', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { resource:Q241864 property:P1346 ?z . ?z rdf:type ontology:Q1194951 }
UEFA Euro 2008
action filter_type
action find
entity UEFA Euro 2008
relation winner
type national sports team
['UEFA Euro 2008 Final', 'winner', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { resource:UEFA_Euro_2008 property:winner ?z . ?z rdf:type ontology:national_sports_team }
[]
national sports team
Q42267
SYSTEM
Spain national football team
Q42267
(Q752359,P1346,c(Q1194951))
action filter_type
action find
entity Q241864
relation P1346
type Q1194951
[ANSWER] was the champion of that European Championship
['Q752359', 'P1346', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { resource:Q241864 property:P1346 ?z . ?z rdf:type ontology:Q1194951 }
Spain national football team
Spain national football team was the champion of that European Championship
Spain national football team
action filter_type
action find
entity UEFA Euro 2008
relation winner
type national sports team
['UEFA Euro 2008 Final', 'winner', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { resource:UEFA_Euro_2008 property:winner ?z . ?z rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q241864
P276
Q483110 Q1076486
USER
How many stadia or sports venues are the locations of UEFA Euro 2008 ?
(Q241864,P276,c(Q483110)) (Q241864,P276,c(Q1076486))
action count
action union
action filter_type
action find
entity Q241864
relation P276
type Q483110
action filter_type
action find
entity Q241864
relation P276
type Q1076486
['Q241864', 'P276', {'concept': 'Q483110'}] ['Q241864', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { resource:Q241864 property:P276 ?k . ?k rdf:type ontology:Q483110 } UNION { resource:Q241864 property:P276 ?k . ?k rdf:type ontology:Q1076486 } }
UEFA Euro 2008
action count
action union
action filter_type
action find
entity UEFA Euro 2008
relation location
type stadium
action filter_type
action find
entity UEFA Euro 2008
relation location
type sports venue
['UEFA Euro 2008', 'location', {'concept': 'stadium'}] ['UEFA Euro 2008', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { resource:UEFA_Euro_2008 property:location ?k . ?k rdf:type ontology:stadium } UNION { resource:UEFA_Euro_2008 property:location ?k . ?k rdf:type ontology:sports_venue } }
[]
stadium sports venue
SYSTEM
8
Q194479 Q207623 Q206135 Q215295 Q190010 Q204484 Q185741 Q216167
(Q241864,P276,c(Q483110)) (Q241864,P276,c(Q1076486))
action count
action union
action filter_type
action find
entity Q241864
relation P276
type Q483110
action filter_type
action find
entity Q241864
relation P276
type Q1076486
[ANSWER]
['Q241864', 'P276', {'concept': 'Q483110'}] ['Q241864', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { resource:Q241864 property:P276 ?k . ?k rdf:type ontology:Q483110 } UNION { resource:Q241864 property:P276 ?k . ?k rdf:type ontology:Q1076486 } }
Stade de Suisse Letzigrund Red Bull Arena Stade de Genève St. Jakob-Park Tivoli-Neu Ernst-Happel-Stadion Hypo-Arena
8
action count
action union
action filter_type
action find
entity UEFA Euro 2008
relation location
type stadium
action filter_type
action find
entity UEFA Euro 2008
relation location
type sports venue
['UEFA Euro 2008', 'location', {'concept': 'stadium'}] ['UEFA Euro 2008', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { resource:UEFA_Euro_2008 property:location ?k . ?k rdf:type ontology:stadium } UNION { resource:UEFA_Euro_2008 property:location ?k . ?k rdf:type ontology:sports_venue } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q21590651
P1923
Q1194951 Q13406554
USER
How many sport competitions did more number of national sports teams participate in than MLS Cup 2015 ?
(c(Q13406554),P1923,c(Q1194951))
action count
action greater
action find_tuple_counts
relation P1923
type Q13406554
type Q1194951
action count
action filter_type
action find
entity Q21590651
relation P1923
type Q13406554
[{'concept': 'Q13406554'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?h ) WHERE { ?o property:P1923 ?d . ?o rdf:type ontology:Q13406554 . ?d rdf:type ontology:Q1194951 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i rdf:type ontology:Q13406554 . resource:Q21590651 property:P1923 ?i } } . FILTER ( ?h > ?j ) }
MLS Cup 2015
action count
action greater
action find_tuple_counts
relation participating teams
type sport competition
type national sports team
action count
action filter_type
action find
entity MLS Cup 2015
relation participating teams
type sport competition
[{'concept': 'sport competition'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?h ) WHERE { ?o property:participating_teams ?d . ?o rdf:type ontology:sport_competition . ?d rdf:type ontology:national_sports_team } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i rdf:type ontology:sport_competition . resource:MLS_Cup_2015 property:participating_teams ?i } } . FILTER ( ?h > ?j ) }
[]
national sports team sport competition
SYSTEM
54
Q24202143 Q24202147 Q24202144 Q24201910 Q24201915 Q24201967 Q24201962 Q24201987 Q24201791 Q21715205 Q24201894 Q24201897 Q24201958 Q24201771 Q24201953 Q24202015 Q24202018 Q24202121 Q24202123 Q24202126 Q24202157 Q24202150 Q24201766 Q24201900 Q24202001 Q24202165 Q24202160 Q24201786 Q268567 Q17329128 Q24201948 Q24201944 Q24201761 Q24202007 Q24202003 Q24202138 Q24202131 Q24202134 Q24202135 Q24201905 Q24201886 Q24201934 Q24201939 Q576136 Q24201656 Q24201879 Q24201980 Q24201972 Q24201975 Q24201992 Q24201997 Q24201929 Q24201888 Q24201925
(c(Q13406554),P1923,c(Q1194951))
action count
action greater
action find_tuple_counts
relation P1923
type Q13406554
type Q1194951
action count
action filter_type
action find
entity Q21590651
relation P1923
type Q13406554
[ANSWER]
[{'concept': 'Q13406554'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?h ) WHERE { ?o property:P1923 ?d . ?o rdf:type ontology:Q13406554 . ?d rdf:type ontology:Q1194951 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i rdf:type ontology:Q13406554 . resource:Q21590651 property:P1923 ?i } } . FILTER ( ?h > ?j ) }
England v Iceland Wales vs. Belgium Poland vs. Portugal Germany v Ukraine Ukraine v Northern Ireland Republic of Ireland v Sweden Czech Republic v Turkey Sweden v Belgium Romania v Albania UEFA Euro 2016 Final: Portugal v France England v Wales Slovakia v England Croatia v Spain France v Albania Spain v Turkey Iceland v Austria Hungary v Portugal Switzerland v Poland Wales v Northern Ireland Croatia v Portugal France vs. Iceland Germany vs. Italy Romania v Switzerland Russia v Wales Portugal v Iceland Germany v France Portugal v Wales Switzerland v France 2006 FIFA World Cup Final Brazil v Germany Czech Republic v Croatia Spain v Czech Republic Albania v Switzerland Portugal v Austria Iceland v Hungary Italy v Spain France v Ireland Germany v Slovakia Hungary v Belgium Poland v Northern Ireland England v Russia Ukraine v Poland Turkey v Croatia Copa América Centenario France v Romania Wales v Slovakia Belgium v Republic of Ireland Belgium v Italy Italy v Sweden Italy v Republic of Ireland Austria v Hungary Northern Ireland v Germany Russia v Slovakia Germany v Poland
54
action count
action greater
action find_tuple_counts
relation participating teams
type sport competition
type national sports team
action count
action filter_type
action find
entity MLS Cup 2015
relation participating teams
type sport competition
[{'concept': 'sport competition'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?h ) WHERE { ?o property:participating_teams ?d . ?o rdf:type ontology:sport_competition . ?d rdf:type ontology:national_sports_team } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?i rdf:type ontology:sport_competition . resource:MLS_Cup_2015 property:participating_teams ?i } } . FILTER ( ?h > ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q752359
P710
Q1194951
USER
Who attended UEFA Euro 2008 Final ?
(Q752359,P710,c(Q1194951))
action filter_type
action find
entity Q752359
relation P710
type Q1194951
['Q752359', 'P710', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { resource:Q752359 property:P710 ?u . ?u rdf:type ontology:Q1194951 }
UEFA Euro 2008 Final
action filter_type
action find
entity UEFA Euro 2008 Final
relation participant
type national sports team
['UEFA Euro 2008 Final', 'participant', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { resource:UEFA_Euro_2008_Final property:participant ?u . ?u rdf:type ontology:national_sports_team }
[]
national sports team
Q43310 Q42267
SYSTEM
Germany national football team, Spain national football team
Q43310 Q42267
(Q752359,P710,c(Q1194951))
action filter_type
action find
entity Q752359
relation P710
type Q1194951
[ANSWERS] attended UEFA Euro 2008 Final
['Q752359', 'P710', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { resource:Q752359 property:P710 ?u . ?u rdf:type ontology:Q1194951 }
Germany national football team Spain national football team
Germany national football team and Spain national football team attended UEFA Euro 2008 Final
Germany national football team Spain national football team
action filter_type
action find
entity UEFA Euro 2008 Final
relation participant
type national sports team
['UEFA Euro 2008 Final', 'participant', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { resource:UEFA_Euro_2008_Final property:participant ?u . ?u rdf:type ontology:national_sports_team }
[]