Simple Question (Direct)
Simple Question
Q5131350
P54
Q1194951
USER
Which national sports team is Clement Kafwafwa a member of ?
(Q5131350,P54,c(Q1194951))
action filter_type
action find
entity Q5131350
relation P54
type Q1194951
['Q5131350', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q5131350 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Clement Kafwafwa
action filter_type
action find
entity Clement Kafwafwa
relation member of sports team
type national sports team
['Clement Kafwafwa', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Clement_Kafwafwa property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
national sports team
Q365548
SYSTEM
Malawi national football team
Q365548
(Q5131350,P54,c(Q1194951))
action filter_type
action find
entity Q5131350
relation P54
type Q1194951
The [ANSWER] is Clement Kafwafwa a member of
['Q5131350', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q5131350 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Malawi national football team
The Malawi national football team is Clement Kafwafwa a member of
Malawi national football team
action filter_type
action find
entity Clement Kafwafwa
relation member of sports team
type national sports team
['Clement Kafwafwa', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Clement_Kafwafwa property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5131350
P27
Q15617994
USER
Which administrative territory does Clement Kafwafwa belong to ?
(Q5131350,P27,c(Q15617994))
action filter_type
action find
entity Q5131350
relation P27
type Q15617994
['Q5131350', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q5131350 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Clement Kafwafwa
action filter_type
action find
entity Clement Kafwafwa
relation country of citizenship
type designation for an administrative territorial entity
['Clement Kafwafwa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Clement_Kafwafwa property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1020
SYSTEM
Malawi
Q1020
(Q5131350,P27,c(Q15617994))
action filter_type
action find
entity Q5131350
relation P27
type Q15617994
Clement Kafwafwa belongs to [ANSWER]
['Q5131350', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q5131350 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Malawi
Clement Kafwafwa belongs to Malawi
Malawi
action filter_type
action find
entity Clement Kafwafwa
relation country of citizenship
type designation for an administrative territorial entity
['Clement Kafwafwa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Clement_Kafwafwa property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5131350
P641
Q349
USER
What did that person participate in ?
(Q1020,P641,c(Q349))
action filter_type
action find
entity Q5131350
relation P641
type Q349
['Q1020', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q5131350 property:P641 ?p . ?p rdf:type ontology:Q349 }
Clement Kafwafwa
action filter_type
action find
entity Clement Kafwafwa
relation sport
type sport
['Malawi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Clement_Kafwafwa property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1020,P641,c(Q349))
action filter_type
action find
entity Q5131350
relation P641
type Q349
That person participated in [ANSWER]
['Q1020', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q5131350 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Clement Kafwafwa
relation sport
type sport
['Malawi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Clement_Kafwafwa property:sport ?p . ?p rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1020 Q6500483
P85
Q484692
USER
How many hymns are the national anthems of Malawi or Nguyen dynasty ?
(Q1020,P85,c(Q484692)) (Q6500483,P85,c(Q484692))
action count
action union
action filter_type
action find
entity Q1020
relation P85
type Q484692
action filter_type
action find
entity Q6500483
relation P85
type Q484692
['Q1020', 'P85', {'concept': 'Q484692'}] ['Q6500483', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?n property:P85 ?m . VALUES ( ?n ) { ( resource:Q6500483 ) ( resource:Q1020 ) } }
Malawi Nguyen dynasty
action count
action union
action filter_type
action find
entity Malawi
relation anthem
type hymn
action filter_type
action find
entity Nguyen dynasty
relation anthem
type hymn
['Malawi', 'anthem', {'concept': 'hymn'}] ['Nguyen dynasty', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?n property:anthem ?m . VALUES ( ?n ) { ( resource:Nguyen_dynasty ) ( resource:Malawi ) } }
[]
hymn
SYSTEM
2
Q3113768 Q215077
(Q1020,P85,c(Q484692)) (Q6500483,P85,c(Q484692))
action count
action union
action filter_type
action find
entity Q1020
relation P85
type Q484692
action filter_type
action find
entity Q6500483
relation P85
type Q484692
[ANSWER]
['Q1020', 'P85', {'concept': 'Q484692'}] ['Q6500483', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?n property:P85 ?m . VALUES ( ?n ) { ( resource:Q6500483 ) ( resource:Q1020 ) } }
Đăng đàn cung Mulungu dalitsa Malaŵi
2
action count
action union
action filter_type
action find
entity Malawi
relation anthem
type hymn
action filter_type
action find
entity Nguyen dynasty
relation anthem
type hymn
['Malawi', 'anthem', {'concept': 'hymn'}] ['Nguyen dynasty', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { ?n property:anthem ?m . VALUES ( ?n ) { ( resource:Nguyen_dynasty ) ( resource:Malawi ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
What is the country of origin of association football ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?k WHERE { resource:Q2736 property:P495 ?k . ?k rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:association_football property:country_of_origin ?k . ?k rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The country of origin of association football is from [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?k WHERE { resource:Q2736 property:P495 ?k . ?k rdf:type ontology:Q1496967 }
England
The country of origin of association football is from England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:association_football property:country_of_origin ?k . ?k rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P30
Q2221906
USER
Which geographic location is that territory situated in ?
(Q21,P30,c(Q2221906))
action filter_type
action find
entity Q21
relation P30
type Q2221906
['Q21', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q21 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
England
action filter_type
action find
entity England
relation continent
type geographic location
['England', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:England property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q21,P30,c(Q2221906))
action filter_type
action find
entity Q21
relation P30
type Q2221906
That territory is situated in [ANSWER]
['Q21', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q21 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
Europe
That territory is situated in Europe
Europe
action filter_type
action find
entity England
relation continent
type geographic location
['England', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:England property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q676899
P1923
Q1194951 Q13406554 Q15275719
USER
Which national sports teams took part in approximately the same number of sport competitions and recurring events as Italy national football team ?
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action count
action filter_multi_types
action find_reverse
entity Q676899
relation P1923
type Q13406554
type Q15275719
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?v ) WHERE { ?g rdf:type ?b . VALUES ( ?b ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P1923 resource:Q676899 . { { ?p rdf:type ontology:Q13406554 } UNION { ?p rdf:type ontology:Q15275719 } } } } . FILTER ( ?v = ?a ) }
Italy national football team
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action count
action filter_multi_types
action find_reverse
entity Italy national football team
relation participating teams
type sport competition
type recurring event
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?v ) WHERE { ?g rdf:type ?b . VALUES ( ?b ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:participating_teams resource:Italy_national_football_team . { { ?p rdf:type ontology:sport_competition } UNION { ?p rdf:type ontology:recurring_event } } } } . FILTER ( ?v = ?a ) }
[]
national sports team sport competition recurring event
Q43310 Q83459 Q676899
SYSTEM
Germany national football team, Brazil national football team, Italy national football team
Q43310 Q83459 Q676899 Q47774
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action count
action filter_multi_types
action find_reverse
entity Q676899
relation P1923
type Q13406554
type Q15275719
[ANSWERS] took part in approximately the same number of sport competitions and recurring events as Italy national football team
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?v ) WHERE { ?g rdf:type ?b . VALUES ( ?b ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P1923 resource:Q676899 . { { ?p rdf:type ontology:Q13406554 } UNION { ?p rdf:type ontology:Q15275719 } } } } . FILTER ( ?v = ?a ) }
Germany national football team Brazil national football team Italy national football team France national football team
Germany national football team, Brazil national football team and Italy national football team took part in approximately the same number of sport competitions and recurring events as Italy national football team
Germany national football team Brazil national football team Italy national football team
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action count
action filter_multi_types
action find_reverse
entity Italy national football team
relation participating teams
type sport competition
type recurring event
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?v ) WHERE { ?g rdf:type ?b . VALUES ( ?b ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:participating_teams resource:Italy_national_football_team . { { ?p rdf:type ontology:sport_competition } UNION { ?p rdf:type ontology:recurring_event } } } } . FILTER ( ?v = ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q180857
P1923
Q1194951 Q13406554 Q15275719
USER
And what about Wales national football team?
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action count
action filter_multi_types
action find_reverse
entity Q180857
relation P1923
type Q13406554
type Q15275719
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?p WHERE { ?q rdf:type ?v . VALUES ( ?v ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P1923 resource:Q180857 . { { ?n rdf:type ontology:Q13406554 } UNION { ?n rdf:type ontology:Q15275719 } } } } . FILTER ( ?l = ?a ) }
Wales national football team
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action count
action filter_multi_types
action find_reverse
entity Wales national football team
relation participating teams
type sport competition
type recurring event
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?p WHERE { ?q rdf:type ?v . VALUES ( ?v ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:participating_teams resource:Wales_national_football_team . { { ?n rdf:type ontology:sport_competition } UNION { ?n rdf:type ontology:recurring_event } } } } . FILTER ( ?l = ?a ) }
[]
national sports team sport competition recurring event
Q166196 Q47050 Q164134
SYSTEM
Poland national football team, Netherlands national football team, United States men's national soccer team
Q170327 Q212166 Q34044 Q174512 Q193386 Q172014 Q180187 Q188228 Q190978 Q212564 Q180845 Q987584 Q180857 Q543842 Q726080 Q27971 Q170403 Q172025 Q172020 Q170566 Q268208 Q175315 Q186262 Q194387 Q172221 Q175145 Q134479 Q47050 Q181903 Q189275 Q166196 Q175309 Q207337 Q163534 Q188363 Q131785 Q184387 Q168397 Q235399 Q483856 Q189198 Q28089 Q163547 Q236006 Q182072 Q184602 Q164134 Q14132 Q483868 Q181930 Q189723 Q134925
(c(Q13406554)|c(Q15275719),P1923,c(Q1194951))
action approx
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action count
action filter_multi_types
action find_reverse
entity Q180857
relation P1923
type Q13406554
type Q15275719
[ANSWERS]
[[{'concept': 'Q13406554'}, {'concept': 'Q15275719'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?p WHERE { ?q rdf:type ?v . VALUES ( ?v ) { ( ontology:Q13406554 ) ( ontology:Q15275719 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P1923 resource:Q180857 . { { ?n rdf:type ontology:Q13406554 } UNION { ?n rdf:type ontology:Q15275719 } } } } . FILTER ( ?l = ?a ) }
South Africa national football team Peru national football team Scotland national football team Slovakia national football team Bolivia national football team Ghana national football team Honduras national football team El Salvador national football team Northern Ireland national football team Colombia national football team Bulgaria national football team Ecuador national football team Wales national football team South Korea national football team Russia national football team Tunisia national football team Ukraine national football team Chile national football team Paraguay national football team Japan national football team Australia national association football team New Zealand national football team Albania national football team Costa Rica national football team Slovenia national football team Ivory Coast national football team Croatia national football team Netherlands national football team Algeria national football team Soviet Union national football team Poland national football team Cameroon national football team Morocco national football team Austria national football team Yugoslavia national football team Denmark national football team Norway national football team Romania national football team Jamaica national football team Turkey national football team Iceland national football team Egypt national football team Republic of Ireland national football team Haiti national football team Czechoslovakia national football team Iran national football team United States men's national soccer team North Korea national football team Czech Republic national football team Nigeria national football team Saudi Arabia national football team Greece national football team
Poland national football team Netherlands national football team United States men's national soccer team
action approx
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action count
action filter_multi_types
action find_reverse
entity Wales national football team
relation participating teams
type sport competition
type recurring event
[[{'concept': 'sport competition'}, {'concept': 'recurring event'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?p WHERE { ?q rdf:type ?v . VALUES ( ?v ) { ( ontology:sport_competition ) ( ontology:recurring_event ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:participating_teams resource:Wales_national_football_team . { { ?n rdf:type ontology:sport_competition } UNION { ?n rdf:type ontology:recurring_event } } } } . FILTER ( ?l = ?a ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q37285
P1923
Q15275719
USER
Did those national sports teams participate in 2006 FIFA World Cup ?
(Q37285,P1923,Q166196) (Q37285,P1923,Q47050) (Q37285,P1923,Q164134)
action is_in
entity prev_answer
action find
entity Q37285
relation P1923
['Q37285', 'P1923', 'Q166196'] ['Q37285', 'P1923', 'Q47050'] ['Q37285', 'P1923', 'Q164134']
ASK WHERE { VALUES ( ?x ) { ( resource:Q170327 ) ( resource:Q212166 ) ( resource:Q34044 ) } . resource:Q37285 property:P1923 ?x }
2006 FIFA World Cup
action is_in
entity prev_answer
action find
entity 2006 FIFA World Cup
relation participating teams
['2006 FIFA World Cup', 'participating teams', 'Poland national football team'] ['2006 FIFA World Cup', 'participating teams', 'Netherlands national football team'] ['2006 FIFA World Cup', 'participating teams', "United States men's national soccer team"]
ASK WHERE { VALUES ( ?x ) { ( resource:South_Africa_national_football_team ) ( resource:Peru_national_football_team ) ( resource:Scotland_national_football_team ) } . resource:2006_FIFA_World_Cup property:participating_teams ?x }
[]
recurring event
SYSTEM
YES
(Q37285,P1923,Q166196) (Q37285,P1923,Q47050) (Q37285,P1923,Q164134)
action is_in
entity prev_answer
action find
entity Q37285
relation P1923
[ANSWER]
['Q37285', 'P1923', 'Q166196'] ['Q37285', 'P1923', 'Q47050'] ['Q37285', 'P1923', 'Q164134']
ASK WHERE { VALUES ( ?x ) { ( resource:Q170327 ) ( resource:Q212166 ) ( resource:Q34044 ) } . resource:Q37285 property:P1923 ?x }
Yes
action is_in
entity prev_answer
action find
entity 2006 FIFA World Cup
relation participating teams
['2006 FIFA World Cup', 'participating teams', 'Poland national football team'] ['2006 FIFA World Cup', 'participating teams', 'Netherlands national football team'] ['2006 FIFA World Cup', 'participating teams', "United States men's national soccer team"]
ASK WHERE { VALUES ( ?x ) { ( resource:South_Africa_national_football_team ) ( resource:Peru_national_football_team ) ( resource:Scotland_national_football_team ) } . resource:2006_FIFA_World_Cup property:participating_teams ?x }
[]