Simple Question (Direct)
Simple Question
Q3500816
P54
Q12973014
USER
Which sports teams are Stuart Lane a member of ?
(Q3500816,P54,c(Q12973014))
action filter_type
action find
entity Q3500816
relation P54
type Q12973014
['Q3500816', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { resource:Q3500816 property:P54 ?s . ?s rdf:type ontology:Q12973014 }
Stuart Lane
action filter_type
action find
entity Stuart Lane
relation member of sports team
type sports team
['Stuart Lane', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { resource:Stuart_Lane property:member_of_sports_team ?s . ?s rdf:type ontology:sports_team }
[]
sports team
Q822877 Q842510 Q1521264
SYSTEM
Wales national rugby union team, Cardiff RFC, Newport RFC
Q822877 Q842510 Q1521264
(Q3500816,P54,c(Q12973014))
action filter_type
action find
entity Q3500816
relation P54
type Q12973014
Cardiff [ANSWERS] are Stuart Lane a member of
['Q3500816', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { resource:Q3500816 property:P54 ?s . ?s rdf:type ontology:Q12973014 }
Wales national rugby union team Cardiff RFC Newport RFC
Cardiff Wales national rugby union team, Cardiff RFC and Newport RFC are Stuart Lane a member of
Wales national rugby union team Cardiff RFC Newport RFC
action filter_type
action find
entity Stuart Lane
relation member of sports team
type sports team
['Stuart Lane', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { resource:Stuart_Lane property:member_of_sports_team ?s . ?s rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q842510
P466
Q811979
USER
What is occupied by Cardiff RFC ?
(c(Q811979),P466,Q842510)
action filter_type
action find_reverse
entity Q842510
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q842510']
SELECT DISTINCT ?m WHERE { ?m property:P466 resource:Q842510 . ?m rdf:type ontology:Q811979 }
Cardiff RFC
action filter_type
action find_reverse
entity Cardiff RFC
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Cardiff RFC']
SELECT DISTINCT ?m WHERE { ?m property:occupant resource:Cardiff_RFC . ?m rdf:type ontology:architectural_structure }
[]
architectural structure
Q432321
SYSTEM
Cardiff Arms Park
Q432321
(c(Q811979),P466,Q842510)
action filter_type
action find_reverse
entity Q842510
relation P466
type Q811979
[ANSWER] is occupied by Cardiff RFC
[{'concept': 'Q811979'}, 'P466', 'Q842510']
SELECT DISTINCT ?m WHERE { ?m property:P466 resource:Q842510 . ?m rdf:type ontology:Q811979 }
Cardiff Arms Park
Cardiff Arms Park is occupied by Cardiff RFC
Cardiff Arms Park
action filter_type
action find_reverse
entity Cardiff RFC
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Cardiff RFC']
SELECT DISTINCT ?m WHERE { ?m property:occupant resource:Cardiff_RFC . ?m rdf:type ontology:architectural_structure }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q842510
P17
Q15617994
USER
Which administrative territory is Cardiff RFC situated in ?
(Q842510,P17,c(Q15617994))
action filter_type
action find
entity Q842510
relation P17
type Q15617994
['Q842510', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q842510 property:P17 ?q }
Cardiff RFC
action filter_type
action find
entity Cardiff RFC
relation country
type designation for an administrative territorial entity
['Cardiff RFC', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cardiff_RFC property:country ?q }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q842510,P17,c(Q15617994))
action filter_type
action find
entity Q842510
relation P17
type Q15617994
Which administrative territory is Cardiff RFC situated in
['Q842510', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q842510 property:P17 ?q }
United Kingdom
Which administrative territory is Cardiff RFC situated in
United Kingdom
action filter_type
action find
entity Cardiff RFC
relation country
type designation for an administrative territorial entity
['Cardiff RFC', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cardiff_RFC property:country ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5721245
Q15617994
USER
And how about Henry Fisher House?
(Q5721245,P17,c(Q15617994))
action filter_type
action find
entity Q5721245
relation P17
type Q15617994
['Q5721245', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q5721245 property:P17 ?g }
Henry Fisher House
action filter_type
action find
entity Henry Fisher House
relation country
type designation for an administrative territorial entity
['Henry Fisher House', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Henry_Fisher_House property:country ?g }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5721245,P17,c(Q15617994))
action filter_type
action find
entity Q5721245
relation P17
type Q15617994
[ANSWER]
['Q5721245', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q5721245 property:P17 ?g }
United States of America
United States of America
action filter_type
action find
entity Henry Fisher House
relation country
type designation for an administrative territorial entity
['Henry Fisher House', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Henry_Fisher_House property:country ?g }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q1233002 Q207
P6
Q502895
USER
Does that administrative territory have Erwin Classen and George W. Bush as its administrative leader ?
(Q30,P6,Q1233002) (Q30,P6,Q207)
action is_in
entity Q30
action intersection
action find_reverse
entity Q1233002
relation P6
action find_reverse
entity Q207
relation P6
['Q30', 'P6', 'Q1233002'] ['Q30', 'P6', 'Q207']
ASK WHERE { resource:Q30 property:P6 resource:Q1233002 . resource:Q30 property:P6 resource:Q207 }
United States of America Erwin Classen George W. Bush
action is_in
entity United States of America
action intersection
action find_reverse
entity Erwin Classen
relation head of government
action find_reverse
entity George W. Bush
relation head of government
['United States of America', 'head of government', 'Erwin Classen'] ['United States of America', 'head of government', 'George W. Bush']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Erwin_Classen . resource:United_States_of_America property:head_of_government resource:George_W._Bush }
[]
common name
SYSTEM
NO and YES respectively
(Q30,P6,Q1233002) (Q30,P6,Q207)
action is_in
entity Q30
action intersection
action find_reverse
entity Q1233002
relation P6
action find_reverse
entity Q207
relation P6
[ANSWER]
['Q30', 'P6', 'Q1233002'] ['Q30', 'P6', 'Q207']
ASK WHERE { resource:Q30 property:P6 resource:Q1233002 . resource:Q30 property:P6 resource:Q207 }
NO and YES respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Erwin Classen
relation head of government
action find_reverse
entity George W. Bush
relation head of government
['United States of America', 'head of government', 'Erwin Classen'] ['United States of America', 'head of government', 'George W. Bush']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Erwin_Classen . resource:United_States_of_America property:head_of_government resource:George_W._Bush }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26556224 Q30
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relations with United States of America or are Ivy Cottage present in ?
OR((Q30,P530,c(Q15617994)), (Q26556224,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q26556224
relation P17
type Q15617994
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q26556224', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q30 property:P530 ?c } UNION { resource:Q26556224 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
Ivy Cottage United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Ivy Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ivy Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:United_States_of_America property:diplomatic_relation ?c } UNION { resource:Ivy_Cottage property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414 Q953 Q801 Q17 Q889 Q222 Q1011 Q145 Q148 Q155
SYSTEM
Some of them are Argentina, Zambia, Israel, Japan, Afghanistan, Albania, Cape Verde, United Kingdom, People's Republic of China, Brazil
Q805 Q38 Q159 Q222 Q801 Q145 Q155 Q148 Q1011 Q889 Q796 Q17 Q37 Q953 Q668 Q403 Q347 Q414
OR((Q30,P530,c(Q15617994)), (Q26556224,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q26556224
relation P17
type Q15617994
[ANSWERS] have diplomatic relations with United States of America or are Ivy Cottage present in
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q26556224', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q30 property:P530 ?c } UNION { resource:Q26556224 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
Yemen Italy Russia Albania Israel United Kingdom Brazil People's Republic of China Cape Verde Afghanistan Iraq Japan Lithuania Zambia India Serbia Liechtenstein Argentina
Argentina, Zambia, Israel, Japan, Afghanistan, Albania, Cape Verde, United Kingdom, People's Republic of China and Brazil have diplomatic relations with United States of America or are Ivy Cottage present in
Argentina Zambia Israel Japan Afghanistan Albania Cape Verde United Kingdom People's Republic of China Brazil
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Ivy Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ivy Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:United_States_of_America property:diplomatic_relation ?c } UNION { resource:Ivy_Cottage property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
Which administrative territories were more number of fictional locations inspired by than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|More/Less|Single entity type|Clarification
Q145
SYSTEM
Did you mean United Kingdom ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean United Kingdom ?
United Kingdom
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Afghanistan. Could you tell me the answer for that?
(c(Q3895768),P941,c(Q15617994))
Q889
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
Q668
SYSTEM
India
Q668
(c(Q3895768),P941,c(Q15617994))
[ANSWER] was more number of fictional locations inspired by than that administrative territory
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
India
India was more number of fictional locations inspired by than that administrative territory
India
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q964957
P115
Q811979 Q1076486 Q12973014
USER
How many sports teams have lesser number of architectural structures and sports venues as their home field than Castres Olympique ?
(c(Q12973014),P115,c(Q811979)|c(Q1076486))
action count
action less
action union
action find_tuple_counts
relation P115
type Q12973014
type Q811979
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
action count
action filter_multi_types
action find
entity Q964957
relation P115
type Q811979
type Q1076486
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?r WHERE { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } } GROUP BY ?r } . FILTER ( ?n < ?g ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { VALUES ( ?s ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } . ?i rdf:type ?s } . resource:Q964957 property:P115 ?i } } }
Castres Olympique
action count
action less
action union
action find_tuple_counts
relation home venue
type sports team
type architectural structure
action find_tuple_counts
relation home venue
type sports team
type sports venue
action count
action filter_multi_types
action find
entity Castres Olympique
relation home venue
type architectural structure
type sports venue
[{'concept': 'sports team'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?r WHERE { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } } GROUP BY ?r } . FILTER ( ?n < ?g ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { VALUES ( ?s ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } . ?i rdf:type ?s } . resource:Castres_Olympique property:home_venue ?i } } }
[]
architectural structure sports venue sports team
SYSTEM
165
Q5018221 Q466586 Q868082 Q1141306 Q463349 Q868101 Q19870761 Q3151359 Q157376 Q1251724 Q454764 Q692417 Q5416971 Q836109 Q7016620 Q12018770 Q54927 Q54922 Q131371 Q940641 Q8025768 Q498084 Q4841174 Q1019345 Q1130636 Q7074000 Q1901938 Q329816 Q868067 Q159729 Q521663 Q2085806 Q7009239 Q954798 Q656923 Q217601 Q583259 Q665920 Q388858 Q387496 Q825838 Q2104699 Q3400957 Q1270259 Q169138 Q2083283 Q213417 Q334634 Q3489807 Q867828 Q4938454 Q1564514 Q324589 Q5668261 Q643795 Q4993321 Q1518257 Q331650 Q916967 Q650840 Q246782 Q154053 Q2205512 Q1779406 Q15786 Q1568246 Q162289 Q10856994 Q1465192 Q1357204 Q1266000 Q1047634 Q5715626 Q4791331 Q1319827 Q848103 Q1419127 Q1420393 Q3960035 Q17236274 Q504339 Q7826440 Q974900 Q413568 Q688162 Q695825 Q7845058 Q2075122 Q838520 Q504309 Q36916 Q213959 Q611163 Q812713 Q3124782 Q16259354 Q684077 Q7914130 Q3124767 Q642553 Q1067358 Q1329633 Q7231881 Q2406877 Q766529 Q3041569 Q165127 Q650855 Q971676 Q1472697 Q922432 Q180950 Q12872831 Q7578867 Q3174673 Q169637 Q2975432 Q1753439 Q868098 Q12872691 Q848117 Q2725705 Q697902 Q3058749 Q192083 Q163480 Q704336 Q2740400 Q358191 Q650865 Q1498153 Q826751 Q267094 Q2979803 Q1566189 Q670376 Q5617449 Q169661 Q121783 Q12752453 Q461647 Q4701227 Q7534873 Q1019555 Q23979109 Q1541588 Q3124779 Q853056 Q389007 Q1562969 Q700366 Q15279091 Q1474850 Q4239555 Q162954 Q1788018 Q16331496 Q169941 Q7895746 Q756160 Q828527 Q650829 Q680599 Q20750295 Q686068
(c(Q12973014),P115,c(Q811979)|c(Q1076486))
action count
action less
action union
action find_tuple_counts
relation P115
type Q12973014
type Q811979
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
action count
action filter_multi_types
action find
entity Q964957
relation P115
type Q811979
type Q1076486
[ANSWER]
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?r WHERE { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } } GROUP BY ?r } . FILTER ( ?n < ?g ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { VALUES ( ?s ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } . ?i rdf:type ?s } . resource:Q964957 property:P115 ?i } } }
Cal State Fullerton Titans men's basketball Seattle Mariners Guerreros de Oaxaca KK Zadar Phoenix Hagen Acereros de Monclova Jaguares Inland Empire 66ers of San Bernardino Golden State Cavaliers Baltimore Monumentals TBB Trier New York Mets Everett AquaSox Skyliners Frankfurt Newark Bears HC Stadion Litoměřice Saski Baskonia Real Madrid Baloncesto Boston Celtics SK Horácká Slavia Třebíč Winnipeg Maroons Iserlohn Roosters Badureliya Sports Club Bærum SK Oulun Kärpät Oakland Golden Grizzlies men's basketball BC Ural Yekaterinburg Texas Rangers Saraperos de Saltillo San Antonio Spurs Mitteldeutscher BC Philadelphia Phantoms New Jersey Jackals HC Sareza Ostrava MT Melsungen Drøbak-Frogn IL Las Vegas 51s VfB Lübeck Colorado Rockies Tigres de Quintana Roo Washington Nationals Port Huron Border Cats Portland Power Piráti Chomutov Miami Heat Colorado Springs Sky Sox New York Yankees Los Angeles Dodgers Somerset County Cricket Club Rojos del Águila de Veracruz Boise Hawks New Haven Elm Citys C.A. Lanús Algodoneros de San Luis Alba Berlin Odense Håndbold Ospreys FBK Kaunas KK Cibona Philadelphia Phillies Chicago Cubs Eintracht Braunschweig SC Rasta Vechta Norfolk Tides 1. FC Nürnberg Altoona Mountain City 1. FC Köln Frauen ZJS Zbrojovka Spartak Brno Washington Mystics Jokerit Dunkerque Handball Grand Littoral Diablos Rojos del México BC Apollo Arizona League Angels US Dax Milwaukee Brewers Tappara Galatasaray Medical Park York Revolution Ottawa Champions Oakland Athletics Toronto Maple Leafs HK Alfa Ak Bars Kazan Eisbären Berlin ERC Ingolstadt Trois-Rivières Aigles Lowell Spinners HC Slezan Opava St. Louis Cardinals SC Bern Boston Red Sox Ethnikos Piraeus Water Polo Club Al-Wehda Club HC ZUBR Přerov Moors Sports Club Artland Dragons Vancouver Canadians HC Benátky nad Jizerou Cleveland Indians Charlotte Sting Los Angeles Sparks Portland Beavers HC Chelny AZ Havířov Durham County Cricket Club THW Kiel Detroit Tigers Sultanes de Monterrey San Antonio Silver Stars Olympiacos Water Polo Club Oklahoma City Thunder AEZ Zakakiou Spokane Indians UE Santboiana Milwaukee Bucks HK Orange 20 SaiPa Broncos de Reynosa Proteas Voulas B.C. Houston Astros Warwickshire County Cricket Club Kölner Haie Essex County Cricket Club Philadelphia Flyers Charlotte Hornets Düsseldorfer EG Tucson Padres Adler Mannheim Tampa Bay Rays Kalamazoo Wings Cincinnati Reds Hockey Club de Reims Alcobendas Rugby HYS The Hague Arizona Diamondbacks Gulf Coast League Red Sox Detroit Pistons Los Angeles Lakers KK Loznica Walter Tigers Tübingen Akita Northern Happinets Ski IL HC Bílí Tygři Liberec Atlas Aglandjias Sacramento Monarchs HC Tábor Metallurg Magnitogorsk CRC Madrid HC Slovan Ústečtí Lvi Brose Baskets El Paso Chihuahuas Minnesota Lynx BC Krasny Oktyabr Denver Nuggets Derbyshire County Cricket Club Elpida Astromeriti Cardiff Blues University of Miami Rugby Football Club Atlanta Dream RK 03 Berlin Toronto Blue Jays TuS Nettelstedt-Lübbecke E.S. Kadmos Thivas Vienna Capitals
165
action count
action less
action union
action find_tuple_counts
relation home venue
type sports team
type architectural structure
action find_tuple_counts
relation home venue
type sports team
type sports venue
action count
action filter_multi_types
action find
entity Castres Olympique
relation home venue
type architectural structure
type sports venue
[{'concept': 'sports team'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?r WHERE { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } } GROUP BY ?r } . FILTER ( ?n < ?g ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { VALUES ( ?s ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } . ?i rdf:type ?s } . resource:Castres_Olympique property:home_venue ?i } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q335169
P115
Q811979 Q1076486 Q12973014
USER
And also tell me about Chicago White Sox?
(c(Q12973014),P115,c(Q811979)|c(Q1076486))
action count
action less
action union
action find_tuple_counts
relation P115
type Q12973014
type Q811979
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
action count
action filter_multi_types
action find
entity Q335169
relation P115
type Q811979
type Q1076486
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?m WHERE { VALUES ( ?g ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } . ?t rdf:type ?g } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { resource:Q335169 property:P115 ?q . { { ?q rdf:type ontology:Q811979 } UNION { ?q rdf:type ontology:Q1076486 } } } } . FILTER ( ?d < ?l ) }
Chicago White Sox
action count
action less
action union
action find_tuple_counts
relation home venue
type sports team
type architectural structure
action find_tuple_counts
relation home venue
type sports team
type sports venue
action count
action filter_multi_types
action find
entity Chicago White Sox
relation home venue
type architectural structure
type sports venue
[{'concept': 'sports team'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?m WHERE { VALUES ( ?g ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } . ?t rdf:type ?g } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { resource:Chicago_White_Sox property:home_venue ?q . { { ?q rdf:type ontology:architectural_structure } UNION { ?q rdf:type ontology:sports_venue } } } } . FILTER ( ?d < ?l ) }
[]
architectural structure sports venue sports team
SYSTEM
165
Q5018221 Q466586 Q868082 Q1141306 Q463349 Q868101 Q19870761 Q3151359 Q157376 Q1251724 Q454764 Q692417 Q5416971 Q836109 Q7016620 Q12018770 Q54927 Q54922 Q131371 Q940641 Q8025768 Q498084 Q4841174 Q1019345 Q1130636 Q7074000 Q1901938 Q329816 Q868067 Q159729 Q521663 Q2085806 Q7009239 Q954798 Q656923 Q217601 Q583259 Q665920 Q388858 Q387496 Q825838 Q2104699 Q3400957 Q1270259 Q169138 Q2083283 Q213417 Q334634 Q3489807 Q867828 Q4938454 Q1564514 Q324589 Q5668261 Q643795 Q4993321 Q1518257 Q331650 Q916967 Q650840 Q246782 Q154053 Q2205512 Q1779406 Q15786 Q1568246 Q162289 Q10856994 Q1465192 Q1357204 Q1266000 Q1047634 Q5715626 Q4791331 Q1319827 Q848103 Q1419127 Q1420393 Q3960035 Q17236274 Q504339 Q7826440 Q974900 Q413568 Q688162 Q695825 Q7845058 Q2075122 Q838520 Q504309 Q36916 Q213959 Q611163 Q812713 Q3124782 Q16259354 Q684077 Q7914130 Q3124767 Q642553 Q1067358 Q1329633 Q7231881 Q2406877 Q766529 Q3041569 Q165127 Q650855 Q971676 Q1472697 Q922432 Q180950 Q12872831 Q7578867 Q3174673 Q169637 Q2975432 Q1753439 Q868098 Q12872691 Q848117 Q2725705 Q697902 Q3058749 Q192083 Q163480 Q704336 Q2740400 Q358191 Q650865 Q1498153 Q826751 Q267094 Q2979803 Q1566189 Q670376 Q5617449 Q169661 Q121783 Q12752453 Q461647 Q4701227 Q7534873 Q1019555 Q23979109 Q1541588 Q3124779 Q853056 Q389007 Q1562969 Q700366 Q15279091 Q1474850 Q4239555 Q162954 Q1788018 Q16331496 Q169941 Q7895746 Q756160 Q828527 Q650829 Q680599 Q20750295 Q686068
(c(Q12973014),P115,c(Q811979)|c(Q1076486))
action count
action less
action union
action find_tuple_counts
relation P115
type Q12973014
type Q811979
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
action count
action filter_multi_types
action find
entity Q335169
relation P115
type Q811979
type Q1076486
[ANSWER]
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?m WHERE { VALUES ( ?g ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } . ?t rdf:type ?g } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { resource:Q335169 property:P115 ?q . { { ?q rdf:type ontology:Q811979 } UNION { ?q rdf:type ontology:Q1076486 } } } } . FILTER ( ?d < ?l ) }
Cal State Fullerton Titans men's basketball Seattle Mariners Guerreros de Oaxaca KK Zadar Phoenix Hagen Acereros de Monclova Jaguares Inland Empire 66ers of San Bernardino Golden State Cavaliers Baltimore Monumentals TBB Trier New York Mets Everett AquaSox Skyliners Frankfurt Newark Bears HC Stadion Litoměřice Saski Baskonia Real Madrid Baloncesto Boston Celtics SK Horácká Slavia Třebíč Winnipeg Maroons Iserlohn Roosters Badureliya Sports Club Bærum SK Oulun Kärpät Oakland Golden Grizzlies men's basketball BC Ural Yekaterinburg Texas Rangers Saraperos de Saltillo San Antonio Spurs Mitteldeutscher BC Philadelphia Phantoms New Jersey Jackals HC Sareza Ostrava MT Melsungen Drøbak-Frogn IL Las Vegas 51s VfB Lübeck Colorado Rockies Tigres de Quintana Roo Washington Nationals Port Huron Border Cats Portland Power Piráti Chomutov Miami Heat Colorado Springs Sky Sox New York Yankees Los Angeles Dodgers Somerset County Cricket Club Rojos del Águila de Veracruz Boise Hawks New Haven Elm Citys C.A. Lanús Algodoneros de San Luis Alba Berlin Odense Håndbold Ospreys FBK Kaunas KK Cibona Philadelphia Phillies Chicago Cubs Eintracht Braunschweig SC Rasta Vechta Norfolk Tides 1. FC Nürnberg Altoona Mountain City 1. FC Köln Frauen ZJS Zbrojovka Spartak Brno Washington Mystics Jokerit Dunkerque Handball Grand Littoral Diablos Rojos del México BC Apollo Arizona League Angels US Dax Milwaukee Brewers Tappara Galatasaray Medical Park York Revolution Ottawa Champions Oakland Athletics Toronto Maple Leafs HK Alfa Ak Bars Kazan Eisbären Berlin ERC Ingolstadt Trois-Rivières Aigles Lowell Spinners HC Slezan Opava St. Louis Cardinals SC Bern Boston Red Sox Ethnikos Piraeus Water Polo Club Al-Wehda Club HC ZUBR Přerov Moors Sports Club Artland Dragons Vancouver Canadians HC Benátky nad Jizerou Cleveland Indians Charlotte Sting Los Angeles Sparks Portland Beavers HC Chelny AZ Havířov Durham County Cricket Club THW Kiel Detroit Tigers Sultanes de Monterrey San Antonio Silver Stars Olympiacos Water Polo Club Oklahoma City Thunder AEZ Zakakiou Spokane Indians UE Santboiana Milwaukee Bucks HK Orange 20 SaiPa Broncos de Reynosa Proteas Voulas B.C. Houston Astros Warwickshire County Cricket Club Kölner Haie Essex County Cricket Club Philadelphia Flyers Charlotte Hornets Düsseldorfer EG Tucson Padres Adler Mannheim Tampa Bay Rays Kalamazoo Wings Cincinnati Reds Hockey Club de Reims Alcobendas Rugby HYS The Hague Arizona Diamondbacks Gulf Coast League Red Sox Detroit Pistons Los Angeles Lakers KK Loznica Walter Tigers Tübingen Akita Northern Happinets Ski IL HC Bílí Tygři Liberec Atlas Aglandjias Sacramento Monarchs HC Tábor Metallurg Magnitogorsk CRC Madrid HC Slovan Ústečtí Lvi Brose Baskets El Paso Chihuahuas Minnesota Lynx BC Krasny Oktyabr Denver Nuggets Derbyshire County Cricket Club Elpida Astromeriti Cardiff Blues University of Miami Rugby Football Club Atlanta Dream RK 03 Berlin Toronto Blue Jays TuS Nettelstedt-Lübbecke E.S. Kadmos Thivas Vienna Capitals
165
action count
action less
action union
action find_tuple_counts
relation home venue
type sports team
type architectural structure
action find_tuple_counts
relation home venue
type sports team
type sports venue
action count
action filter_multi_types
action find
entity Chicago White Sox
relation home venue
type architectural structure
type sports venue
[{'concept': 'sports team'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?m WHERE { VALUES ( ?g ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } . ?t rdf:type ?g } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { resource:Chicago_White_Sox property:home_venue ?q . { { ?q rdf:type ontology:architectural_structure } UNION { ?q rdf:type ontology:sports_venue } } } } . FILTER ( ?d < ?l ) }
[]