Simple Question (Direct)
Simple Question
Q19560660
P54
Q1194951
USER
What is Habib Sharifi a member of ?
(Q19560660,P54,c(Q1194951))
action filter_type
action find
entity Q19560660
relation P54
type Q1194951
['Q19560660', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?k WHERE { resource:Q19560660 property:P54 ?k . ?k rdf:type ontology:Q1194951 }
Habib Sharifi
action filter_type
action find
entity Habib Sharifi
relation member of sports team
type national sports team
['Habib Sharifi', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?k WHERE { resource:Habib_Sharifi property:member_of_sports_team ?k . ?k rdf:type ontology:national_sports_team }
[]
national sports team
Q184602
SYSTEM
Iran national football team
Q184602
(Q19560660,P54,c(Q1194951))
action filter_type
action find
entity Q19560660
relation P54
type Q1194951
Habib Sharifi a member of is h [ANSWER]
['Q19560660', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?k WHERE { resource:Q19560660 property:P54 ?k . ?k rdf:type ontology:Q1194951 }
Iran national football team
Habib Sharifi a member of is h Iran national football team
Iran national football team
action filter_type
action find
entity Habib Sharifi
relation member of sports team
type national sports team
['Habib Sharifi', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?k WHERE { resource:Habib_Sharifi property:member_of_sports_team ?k . ?k rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19560660
P19
Q1344695
USER
Which province of Iran was that person born in ?
(Q184602,P19,c(Q1344695))
action filter_type
action find
entity Q19560660
relation P19
type Q1344695
['Q184602', 'P19', {'concept': 'Q1344695'}]
SELECT DISTINCT ?r WHERE { resource:Q19560660 property:P19 ?r . ?r rdf:type ontology:Q1344695 }
Habib Sharifi
action filter_type
action find
entity Habib Sharifi
relation place of birth
type province of Iran
['Iran national football team', 'place of birth', {'concept': 'province of Iran'}]
SELECT DISTINCT ?r WHERE { resource:Habib_Sharifi property:place_of_birth ?r . ?r rdf:type ontology:province_of_Iran }
[]
province of Iran
Q241119
SYSTEM
Khuzestan Province
Q241119
(Q184602,P19,c(Q1344695))
action filter_type
action find
entity Q19560660
relation P19
type Q1344695
Which province of Iran was that person born in
['Q184602', 'P19', {'concept': 'Q1344695'}]
SELECT DISTINCT ?r WHERE { resource:Q19560660 property:P19 ?r . ?r rdf:type ontology:Q1344695 }
Khuzestan Province
Which province of Iran was that person born in
Khuzestan Province
action filter_type
action find
entity Habib Sharifi
relation place of birth
type province of Iran
['Iran national football team', 'place of birth', {'concept': 'province of Iran'}]
SELECT DISTINCT ?r WHERE { resource:Habib_Sharifi property:place_of_birth ?r . ?r rdf:type ontology:province_of_Iran }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q182072
P1923
Q1194951 Q15275719 Q13406554
USER
Which national sports teams took part in more number of recurring events or sport competitions than Czechoslovakia national football team ?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q182072
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?f > ?i ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { ?s rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } . ?s property:P1923 resource:Q182072 } } . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } GROUP BY ?e } }
Czechoslovakia national football team
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Czechoslovakia national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?f > ?i ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { ?s rdf:type ?c . VALUES ( ?c ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } . ?s property:participating_teams resource:Czechoslovakia_national_football_team } } . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ?d . VALUES ( ?d ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } GROUP BY ?e } }
[]
national sports team recurring event sport competition
Q166196 Q43310 Q83459
SYSTEM
Poland national football team, Germany national football team, Brazil national football team
Q43310 Q267245 Q166776 Q160826 Q543842 Q170561 Q172025 Q172020 Q47050 Q42267 Q166196 Q83459 Q164089 Q163534 Q188363 Q676899 Q168397 Q165141 Q47774 Q164134 Q79800 Q134916 Q47762
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q182072
relation P1923
type Q15275719
type Q13406554
[ANSWERS] took part in more number of recurring events or sport competitions than Czechoslovakia national football team
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?f > ?i ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { ?s rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } . ?s property:P1923 resource:Q182072 } } . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } } GROUP BY ?e } }
Germany national football team Portugal national football team Belgium national football team Sweden national football team South Korea national football team Hungary national football team Chile national football team Paraguay national football team Netherlands national football team Spain national football team Poland national football team Brazil national football team Mexico national football team Austria national football team Yugoslavia national football team Italy national football team Romania national football team Swiss national football team France national football team United States men's national soccer team Argentina national football team Uruguay national football team England national football team
Poland national football team, Germany national football team and Brazil national football team took part in more number of recurring events or sport competitions than Czechoslovakia national football team
Poland national football team Germany national football team Brazil national football team
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Czechoslovakia national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?f > ?i ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { ?s rdf:type ?c . VALUES ( ?c ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } . ?s property:participating_teams resource:Czechoslovakia_national_football_team } } . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ?d . VALUES ( ?d ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } } GROUP BY ?e } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q189723
P1923
Q1194951 Q15275719 Q13406554
USER
And what about Saudi Arabia national football team?
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q189723
relation P1923
type Q15275719
type Q13406554
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { { ?b rdf:type ontology:Q15275719 } UNION { ?b rdf:type ontology:Q13406554 } } . ?b property:P1923 resource:Q189723 } } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) ?r WHERE { { ?d property:P1923 ?r . ?r rdf:type ontology:Q1194951 . ?d rdf:type ontology:Q15275719 } UNION { ?d property:P1923 ?r . ?r rdf:type ontology:Q1194951 . ?d rdf:type ontology:Q13406554 } } GROUP BY ?r } }
Saudi Arabia national football team
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Saudi Arabia national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { { ?b rdf:type ontology:recurring_event } UNION { ?b rdf:type ontology:sport_competition } } . ?b property:participating_teams resource:Saudi_Arabia_national_football_team } } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) ?r WHERE { { ?d property:participating_teams ?r . ?r rdf:type ontology:national_sports_team . ?d rdf:type ontology:recurring_event } UNION { ?d property:participating_teams ?r . ?r rdf:type ontology:national_sports_team . ?d rdf:type ontology:sport_competition } } GROUP BY ?r } }
[]
national sports team recurring event sport competition
Q166196 Q43310 Q83459
SYSTEM
Poland national football team, Germany national football team, Brazil national football team
Q212166 Q34044 Q174512 Q190978 Q43310 Q212564 Q180845 Q267245 Q166776 Q160826 Q180857 Q543842 Q726080 Q170561 Q172025 Q172020 Q170566 Q194387 Q134479 Q47050 Q42267 Q189275 Q166196 Q83459 Q175309 Q164089 Q163534 Q188363 Q676899 Q168397 Q483856 Q165141 Q47774 Q189198 Q163547 Q182072 Q164134 Q79800 Q134916 Q47762 Q181930
(c(Q15275719)|c(Q13406554),P1923,c(Q1194951))
action greater
action union
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q15275719
action find_reverse_tuple_counts
relation P1923
type Q1194951
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q189723
relation P1923
type Q15275719
type Q13406554
[ANSWERS]
[[{'concept': 'Q15275719'}, {'concept': 'Q13406554'}], 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { { ?b rdf:type ontology:Q15275719 } UNION { ?b rdf:type ontology:Q13406554 } } . ?b property:P1923 resource:Q189723 } } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) ?r WHERE { { ?d property:P1923 ?r . ?r rdf:type ontology:Q1194951 . ?d rdf:type ontology:Q15275719 } UNION { ?d property:P1923 ?r . ?r rdf:type ontology:Q1194951 . ?d rdf:type ontology:Q13406554 } } GROUP BY ?r } }
Peru national football team Scotland national football team Slovakia national football team Northern Ireland national football team Germany national football team Colombia national football team Bulgaria national football team Portugal national football team Belgium national football team Sweden national football team Wales national football team South Korea national football team Russia national football team Hungary national football team Chile national football team Paraguay national football team Japan national football team Costa Rica national football team Croatia national football team Netherlands national football team Spain national football team Soviet Union national football team Poland national football team Brazil national football team Cameroon national football team Mexico national football team Austria national football team Yugoslavia national football team Italy national football team Romania national football team Turkey national football team Swiss national football team France national football team Iceland national football team Republic of Ireland national football team Czechoslovakia national football team United States men's national soccer team Argentina national football team Uruguay national football team England national football team Nigeria national football team
Poland national football team Germany national football team Brazil national football team
action greater
action union
action find_reverse_tuple_counts
relation participating teams
type national sports team
type recurring event
action find_reverse_tuple_counts
relation participating teams
type national sports team
type sport competition
action count
action filter_multi_types
action find_reverse
entity Saudi Arabia national football team
relation participating teams
type recurring event
type sport competition
[[{'concept': 'recurring event'}, {'concept': 'sport competition'}], 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { { ?b rdf:type ontology:recurring_event } UNION { ?b rdf:type ontology:sport_competition } } . ?b property:participating_teams resource:Saudi_Arabia_national_football_team } } . FILTER ( ?s > ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) ?r WHERE { { ?d property:participating_teams ?r . ?r rdf:type ontology:national_sports_team . ?d rdf:type ontology:recurring_event } UNION { ?d property:participating_teams ?r . ?r rdf:type ontology:national_sports_team . ?d rdf:type ontology:sport_competition } } GROUP BY ?r } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1149324
P1923
Q15275719
USER
Did those national sports teams take part in Czech International Badminton Championships ?
(Q1149324,P1923,Q166196) (Q1149324,P1923,Q43310) (Q1149324,P1923,Q83459)
action is_in
entity prev_answer
action find
entity Q1149324
relation P1923
['Q1149324', 'P1923', 'Q166196'] ['Q1149324', 'P1923', 'Q43310'] ['Q1149324', 'P1923', 'Q83459']
ASK WHERE { VALUES ( ?m ) { ( resource:Q212166 ) ( resource:Q34044 ) ( resource:Q174512 ) } . resource:Q1149324 property:P1923 ?m }
Czech International Badminton Championships
action is_in
entity prev_answer
action find
entity Czech International Badminton Championships
relation participating teams
['Czech International Badminton Championships', 'participating teams', 'Poland national football team'] ['Czech International Badminton Championships', 'participating teams', 'Germany national football team'] ['Czech International Badminton Championships', 'participating teams', 'Brazil national football team']
ASK WHERE { VALUES ( ?m ) { ( resource:Peru_national_football_team ) ( resource:Scotland_national_football_team ) ( resource:Slovakia_national_football_team ) } . resource:Czech_International_Badminton_Championships property:participating_teams ?m }
[]
recurring event
SYSTEM
NO
(Q1149324,P1923,Q166196) (Q1149324,P1923,Q43310) (Q1149324,P1923,Q83459)
action is_in
entity prev_answer
action find
entity Q1149324
relation P1923
[ANSWER]
['Q1149324', 'P1923', 'Q166196'] ['Q1149324', 'P1923', 'Q43310'] ['Q1149324', 'P1923', 'Q83459']
ASK WHERE { VALUES ( ?m ) { ( resource:Q212166 ) ( resource:Q34044 ) ( resource:Q174512 ) } . resource:Q1149324 property:P1923 ?m }
No
action is_in
entity prev_answer
action find
entity Czech International Badminton Championships
relation participating teams
['Czech International Badminton Championships', 'participating teams', 'Poland national football team'] ['Czech International Badminton Championships', 'participating teams', 'Germany national football team'] ['Czech International Badminton Championships', 'participating teams', 'Brazil national football team']
ASK WHERE { VALUES ( ?m ) { ( resource:Peru_national_football_team ) ( resource:Scotland_national_football_team ) ( resource:Slovakia_national_football_team ) } . resource:Czech_International_Badminton_Championships property:participating_teams ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q83459
P1532
Q15617994
USER
Which administrative territory does Brazil national football team play for ?
(Q83459,P1532,c(Q15617994))
action filter_type
action find
entity Q83459
relation P1532
type Q15617994
['Q83459', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q83459 property:P1532 ?m }
Brazil national football team
action filter_type
action find
entity Brazil national football team
relation country for sport
type designation for an administrative territorial entity
['Brazil national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brazil_national_football_team property:country_for_sport ?m }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q83459,P1532,c(Q15617994))
action filter_type
action find
entity Q83459
relation P1532
type Q15617994
[ANSWER] national football team plays in [ANSWER]
['Q83459', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q83459 property:P1532 ?m }
Brazil
Brazil national football team plays in Brazil
Brazil
action filter_type
action find
entity Brazil national football team
relation country for sport
type designation for an administrative territorial entity
['Brazil national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brazil_national_football_team property:country_for_sport ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q155 Q1811382
P530
Q1048835
USER
Does Cariús have diplomatic relationships with that administrative territory ?
(Q155,P530,Q1811382)
action is_in
entity Q1811382
action find
entity Q155
relation P530
['Q155', 'P530', 'Q1811382']
ASK WHERE { resource:Q155 property:P530 resource:Q1811382 }
Brazil Cariús
action is_in
entity Cariús
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Cariús']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Cariús }
[]
political territorial entity
SYSTEM
NO
(Q155,P530,Q1811382)
action is_in
entity Q1811382
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q1811382']
ASK WHERE { resource:Q155 property:P530 resource:Q1811382 }
No
action is_in
entity Cariús
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Cariús']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Cariús }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q541952 Q83459
P1344
Q15275719
USER
Which recurring events did Brazil national football team and Marcelo Balboa participate in ?
AND((Q83459,P1344,c(Q15275719)), (Q541952,P1344,c(Q15275719)))
action filter_type
action intersection
action find
entity Q83459
relation P1344
action find
entity Q541952
relation P1344
type Q15275719
{'AND': [['Q83459', 'P1344', {'concept': 'Q15275719'}], ['Q541952', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?u WHERE { resource:Q83459 property:P1344 ?u . resource:Q541952 property:P1344 ?u . ?u rdf:type ontology:Q15275719 }
Marcelo Balboa Brazil national football team
action filter_type
action intersection
action find
entity Brazil national football team
relation participant of
action find
entity Marcelo Balboa
relation participant of
type recurring event
{'AND': [['Brazil national football team', 'participant of', {'concept': 'recurring event'}], ['Marcelo Balboa', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?u WHERE { resource:Brazil_national_football_team property:participant_of ?u . resource:Marcelo_Balboa property:participant_of ?u . ?u rdf:type ontology:recurring_event }
[]
recurring event
Q132529 Q101751 Q101730
SYSTEM
1990 FIFA World Cup, 1994 FIFA World Cup, 1998 FIFA World Cup
Q132529 Q101751 Q101730
AND((Q83459,P1344,c(Q15275719)), (Q541952,P1344,c(Q15275719)))
action filter_type
action intersection
action find
entity Q83459
relation P1344
action find
entity Q541952
relation P1344
type Q15275719
Brazil national football team and Marcelo Balboa participated in [ANSWERS]
{'AND': [['Q83459', 'P1344', {'concept': 'Q15275719'}], ['Q541952', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?u WHERE { resource:Q83459 property:P1344 ?u . resource:Q541952 property:P1344 ?u . ?u rdf:type ontology:Q15275719 }
1990 FIFA World Cup 1994 FIFA World Cup 1998 FIFA World Cup
Brazil national football team and Marcelo Balboa participated in 1990 FIFA World Cup, 1994 FIFA World Cup and 1998 FIFA World Cup
1990 FIFA World Cup 1994 FIFA World Cup 1998 FIFA World Cup
action filter_type
action intersection
action find
entity Brazil national football team
relation participant of
action find
entity Marcelo Balboa
relation participant of
type recurring event
{'AND': [['Brazil national football team', 'participant of', {'concept': 'recurring event'}], ['Marcelo Balboa', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?u WHERE { resource:Brazil_national_football_team property:participant_of ?u . resource:Marcelo_Balboa property:participant_of ?u . ?u rdf:type ontology:recurring_event }
[]