Simple Question (Direct)
Simple Question
Q217558
P54
Q1194951
USER
What is Mohd Farisham Ismail a member of ?
(Q217558,P54,c(Q1194951))
action filter_type
action find
entity Q217558
relation P54
type Q1194951
['Q217558', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1194951 . resource:Q217558 property:P54 ?o }
Mohd Farisham Ismail
action filter_type
action find
entity Mohd Farisham Ismail
relation member of sports team
type national sports team
['Mohd Farisham Ismail', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:national_sports_team . resource:Mohd_Farisham_Ismail property:member_of_sports_team ?o }
[]
national sports team
Q318922
SYSTEM
Malaysia national football team
Q318922
(Q217558,P54,c(Q1194951))
action filter_type
action find
entity Q217558
relation P54
type Q1194951
Mohd Farisham Ismail a member of is [ANSWER]
['Q217558', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1194951 . resource:Q217558 property:P54 ?o }
Malaysia national football team
Mohd Farisham Ismail a member of is Malaysia national football team
Malaysia national football team
action filter_type
action find
entity Mohd Farisham Ismail
relation member of sports team
type national sports team
['Mohd Farisham Ismail', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:national_sports_team . resource:Mohd_Farisham_Ismail property:member_of_sports_team ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q318922
P641
Q349
USER
What did that national sports team participate in ?
(Q318922,P641,c(Q349))
action filter_type
action find
entity Q318922
relation P641
type Q349
['Q318922', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q318922 property:P641 ?c . ?c rdf:type ontology:Q349 }
Malaysia national football team
action filter_type
action find
entity Malaysia national football team
relation sport
type sport
['Malaysia national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Malaysia_national_football_team property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q318922,P641,c(Q349))
action filter_type
action find
entity Q318922
relation P641
type Q349
That national sports team participated in [ANSWER]
['Q318922', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q318922 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
That national sports team participated in association football
association football
action filter_type
action find
entity Malaysia national football team
relation sport
type sport
['Malaysia national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Malaysia_national_football_team property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q205033
P115
Q1076486
USER
Which sports venue is the arena of Chicago Bears ?
(Q205033,P115,c(Q1076486))
action filter_type
action find
entity Q205033
relation P115
type Q1076486
['Q205033', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?k WHERE { resource:Q205033 property:P115 ?k . ?k rdf:type ontology:Q1076486 }
Chicago Bears
action filter_type
action find
entity Chicago Bears
relation home venue
type sports venue
['Chicago Bears', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?k WHERE { resource:Chicago_Bears property:home_venue ?k . ?k rdf:type ontology:sports_venue }
[]
sports venue
Q1132413
SYSTEM
Soldier Field
Q1132413
(Q205033,P115,c(Q1076486))
action filter_type
action find
entity Q205033
relation P115
type Q1076486
Stadium [ANSWER] is the arena of Chicago Bears
['Q205033', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?k WHERE { resource:Q205033 property:P115 ?k . ?k rdf:type ontology:Q1076486 }
Soldier Field
Stadium Soldier Field is the arena of Chicago Bears
Soldier Field
action filter_type
action find
entity Chicago Bears
relation home venue
type sports venue
['Chicago Bears', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?k WHERE { resource:Chicago_Bears property:home_venue ?k . ?k rdf:type ontology:sports_venue }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q597980
Q1076486
USER
And how about OJC Rosmalen?
(Q597980,P115,c(Q1076486))
action filter_type
action find
entity Q597980
relation P115
type Q1076486
['Q597980', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?z WHERE { resource:Q597980 property:P115 ?z . ?z rdf:type ontology:Q1076486 }
OJC Rosmalen
action filter_type
action find
entity OJC Rosmalen
relation home venue
type sports venue
['OJC Rosmalen', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?z WHERE { resource:OJC_Rosmalen property:home_venue ?z . ?z rdf:type ontology:sports_venue }
[]
sports venue
Q14378302
SYSTEM
Sportpark De Groote Wielen
Q14378302
(Q597980,P115,c(Q1076486))
action filter_type
action find
entity Q597980
relation P115
type Q1076486
[ANSWER]
['Q597980', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?z WHERE { resource:Q597980 property:P115 ?z . ?z rdf:type ontology:Q1076486 }
Sportpark De Groote Wielen
Sportpark De Groote Wielen
action filter_type
action find
entity OJC Rosmalen
relation home venue
type sports venue
['OJC Rosmalen', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?z WHERE { resource:OJC_Rosmalen property:home_venue ?z . ?z rdf:type ontology:sports_venue }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q597980
P118
Q623109
USER
Which sports league does that association football club participate in ?
(Q14378302,P118,c(Q623109))
action filter_type
action find
entity Q597980
relation P118
type Q623109
['Q14378302', 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ?k WHERE { resource:Q597980 property:P118 ?k . ?k rdf:type ontology:Q623109 }
OJC Rosmalen
action filter_type
action find
entity OJC Rosmalen
relation league
type sports league
['Sportpark De Groote Wielen', 'league', {'concept': 'sports league'}]
SELECT DISTINCT ?k WHERE { resource:OJC_Rosmalen property:league ?k . ?k rdf:type ontology:sports_league }
[]
sports league
Q1788088
SYSTEM
Derde Divisie
Q1788088
(Q14378302,P118,c(Q623109))
action filter_type
action find
entity Q597980
relation P118
type Q623109
That association football club participates in the [ANSWER]
['Q14378302', 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ?k WHERE { resource:Q597980 property:P118 ?k . ?k rdf:type ontology:Q623109 }
Derde Divisie
That association football club participates in the Derde Divisie
Derde Divisie
action filter_type
action find
entity OJC Rosmalen
relation league
type sports league
['Sportpark De Groote Wielen', 'league', {'concept': 'sports league'}]
SELECT DISTINCT ?k WHERE { resource:OJC_Rosmalen property:league ?k . ?k rdf:type ontology:sports_league }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q325819
P118
Q623109 Q12973014
USER
How many sports teams play in greater number of sports leagues than Saitama Seibu Lions ?
(c(Q12973014),P118,c(Q623109))
action count
action greater
action find_tuple_counts
relation P118
type Q12973014
type Q623109
action count
action filter_type
action find
entity Q325819
relation P118
type Q12973014
[{'concept': 'Q12973014'}, 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Q325819 property:P118 ?h . ?h rdf:type ontology:Q12973014 } } . FILTER ( ?j > ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?j ) WHERE { ?z rdf:type ontology:Q12973014 . ?r rdf:type ontology:Q623109 . ?z property:P118 ?r } GROUP BY ?z } }
Saitama Seibu Lions
action count
action greater
action find_tuple_counts
relation league
type sports team
type sports league
action count
action filter_type
action find
entity Saitama Seibu Lions
relation league
type sports team
[{'concept': 'sports team'}, 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Saitama_Seibu_Lions property:league ?h . ?h rdf:type ontology:sports_team } } . FILTER ( ?j > ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?j ) WHERE { ?z rdf:type ontology:sports_team . ?r rdf:type ontology:sports_league . ?z property:league ?r } GROUP BY ?z } }
[]
sports league sports team
SYSTEM
45
Q1857064 Q1417287 Q6133550 Q1865460 Q4349700 Q1019345 Q4827520 Q431412 Q1022912 Q596985 Q1090574 Q2383402 Q217601 Q665920 Q1071691 Q2735937 Q964957 Q325238 Q297901 Q521129 Q331650 Q154053 Q15786 Q162289 Q5425090 Q1387142 Q1140373 Q7879955 Q1126167 Q15055309 Q812713 Q636019 Q4816008 Q1473374 Q1422627 Q2483534 Q21189793 Q374981 Q4683227 Q538747 Q5971834 Q17182219 Q3625508 Q1361449 Q1361000
(c(Q12973014),P118,c(Q623109))
action count
action greater
action find_tuple_counts
relation P118
type Q12973014
type Q623109
action count
action filter_type
action find
entity Q325819
relation P118
type Q12973014
[ANSWER]
[{'concept': 'Q12973014'}, 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Q325819 property:P118 ?h . ?h rdf:type ontology:Q12973014 } } . FILTER ( ?j > ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?j ) WHERE { ?z rdf:type ontology:Q12973014 . ?r rdf:type ontology:Q623109 . ?z property:P118 ?r } GROUP BY ?z } }
RC Toulonnais Panserraikos F.C. Sri Lanka Air Force Sports Club Union Bordeaux Bègles Grankulla IFK Bærum SK Avaldsnes IL Stade Toulousain CA Brive Montpellier Hérault Rugby Vancouver Whitecaps Íþróttafélagið Grótta Drøbak-Frogn IL VfB Lübeck Leicester Tigers Libertad de Sunchales Castres Olympique TSV Altenholz ASM Clermont Auvergne Benetton Rugby Treviso FBK Kaunas Eintracht Braunschweig 1. FC Nürnberg 1. FC Köln Frauen FC Oțelul II Galați FC Grenoble Munster Rugby Ulster F.C. Connacht Rugby Section Paloise Al-Wehda Club Oyonnax Rugby Atlanta Beat Leinster Rugby SU Agen Lot-et-Garonne IF Fram Larvik Swope Park Rangers Glasgow Warriors FC Rapid II București Scarlets IL Flint Louisville City FC 9 de Julio de Río Tercero HIFK Montauban ,Stade Français,racing clubnarbonne FCC Auch
45
action count
action greater
action find_tuple_counts
relation league
type sports team
type sports league
action count
action filter_type
action find
entity Saitama Seibu Lions
relation league
type sports team
[{'concept': 'sports team'}, 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Saitama_Seibu_Lions property:league ?h . ?h rdf:type ontology:sports_team } } . FILTER ( ?j > ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?j ) WHERE { ?z rdf:type ontology:sports_team . ?r rdf:type ontology:sports_league . ?z property:league ?r } GROUP BY ?z } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q19749407
P118
Q623109 Q12973014
USER
And what about Arizona League Diamondbacks?
(c(Q12973014),P118,c(Q623109))
action count
action greater
action find_tuple_counts
relation P118
type Q12973014
type Q623109
action count
action filter_type
action find
entity Q19749407
relation P118
type Q12973014
[{'concept': 'Q12973014'}, 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?a ) WHERE { ?n property:P118 ?e . ?n rdf:type ontology:Q12973014 . ?e rdf:type ontology:Q623109 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Q19749407 property:P118 ?y . ?y rdf:type ontology:Q12973014 } } . FILTER ( ?a > ?c ) }
Arizona League Diamondbacks
action count
action greater
action find_tuple_counts
relation league
type sports team
type sports league
action count
action filter_type
action find
entity Arizona League Diamondbacks
relation league
type sports team
[{'concept': 'sports team'}, 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?a ) WHERE { ?n property:league ?e . ?n rdf:type ontology:sports_team . ?e rdf:type ontology:sports_league } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Arizona_League_Diamondbacks property:league ?y . ?y rdf:type ontology:sports_team } } . FILTER ( ?a > ?c ) }
[]
sports league sports team
SYSTEM
45
Q1857064 Q1417287 Q6133550 Q1865460 Q4349700 Q1019345 Q4827520 Q431412 Q1022912 Q596985 Q1090574 Q2383402 Q217601 Q665920 Q1071691 Q2735937 Q964957 Q325238 Q297901 Q521129 Q331650 Q154053 Q15786 Q162289 Q5425090 Q1387142 Q1140373 Q7879955 Q1126167 Q15055309 Q812713 Q636019 Q4816008 Q1473374 Q1422627 Q2483534 Q21189793 Q374981 Q4683227 Q538747 Q5971834 Q17182219 Q3625508 Q1361449 Q1361000
(c(Q12973014),P118,c(Q623109))
action count
action greater
action find_tuple_counts
relation P118
type Q12973014
type Q623109
action count
action filter_type
action find
entity Q19749407
relation P118
type Q12973014
[ANSWER]
[{'concept': 'Q12973014'}, 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?a ) WHERE { ?n property:P118 ?e . ?n rdf:type ontology:Q12973014 . ?e rdf:type ontology:Q623109 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Q19749407 property:P118 ?y . ?y rdf:type ontology:Q12973014 } } . FILTER ( ?a > ?c ) }
RC Toulonnais Panserraikos F.C. Sri Lanka Air Force Sports Club Union Bordeaux Bègles Grankulla IFK Bærum SK Avaldsnes IL Stade Toulousain CA Brive Montpellier Hérault Rugby Vancouver Whitecaps Íþróttafélagið Grótta Drøbak-Frogn IL VfB Lübeck Leicester Tigers Libertad de Sunchales Castres Olympique TSV Altenholz ASM Clermont Auvergne Benetton Rugby Treviso FBK Kaunas Eintracht Braunschweig 1. FC Nürnberg 1. FC Köln Frauen FC Oțelul II Galați FC Grenoble Munster Rugby Ulster F.C. Connacht Rugby Section Paloise Al-Wehda Club Oyonnax Rugby Atlanta Beat Leinster Rugby SU Agen Lot-et-Garonne IF Fram Larvik Swope Park Rangers Glasgow Warriors FC Rapid II București Scarlets IL Flint Louisville City FC 9 de Julio de Río Tercero HIFK Montauban ,Stade Français,racing clubnarbonne FCC Auch
45
action count
action greater
action find_tuple_counts
relation league
type sports team
type sports league
action count
action filter_type
action find
entity Arizona League Diamondbacks
relation league
type sports team
[{'concept': 'sports team'}, 'league', {'concept': 'sports league'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?a ) WHERE { ?n property:league ?e . ?n rdf:type ontology:sports_team . ?e rdf:type ontology:sports_league } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Arizona_League_Diamondbacks property:league ?y . ?y rdf:type ontology:sports_team } } . FILTER ( ?a > ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6338466 Q1788088
P17
Q15617994
USER
Which administrative territories are Derde Divisie or KTAK located in ?
OR((Q1788088,P17,c(Q15617994)), (Q6338466,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1788088
relation P17
action find
entity Q6338466
relation P17
type Q15617994
{'OR': [['Q1788088', 'P17', {'concept': 'Q15617994'}], ['Q6338466', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?v ) { ( resource:Q6338466 ) ( resource:Q1788088 ) } . ?v property:P17 ?g } . ?g rdf:type ontology:Q15617994 }
KTAK Derde Divisie
action filter_type
action union
action find
entity Derde Divisie
relation country
action find
entity KTAK
relation country
type designation for an administrative territorial entity
{'OR': [['Derde Divisie', 'country', {'concept': 'designation for an administrative territorial entity'}], ['KTAK', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?v ) { ( resource:KTAK ) ( resource:Derde_Divisie ) } . ?v property:country ?g } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q55
SYSTEM
United States of America, Netherlands
Q30 Q55
OR((Q1788088,P17,c(Q15617994)), (Q6338466,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1788088
relation P17
action find
entity Q6338466
relation P17
type Q15617994
Derde Divisie or KTAK are located in [ANSWERS]
{'OR': [['Q1788088', 'P17', {'concept': 'Q15617994'}], ['Q6338466', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?v ) { ( resource:Q6338466 ) ( resource:Q1788088 ) } . ?v property:P17 ?g } . ?g rdf:type ontology:Q15617994 }
United States of America Netherlands
Derde Divisie or KTAK are located in United States of America and Netherlands
United States of America Netherlands
action filter_type
action union
action find
entity Derde Divisie
relation country
action find
entity KTAK
relation country
type designation for an administrative territorial entity
{'OR': [['Derde Divisie', 'country', {'concept': 'designation for an administrative territorial entity'}], ['KTAK', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?v ) { ( resource:KTAK ) ( resource:Derde_Divisie ) } . ?v property:country ?g } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]