Simple Question (Direct)
Simple Question
Q2641517
P19
Q56061
USER
Which administrative territory was Alex Singer born at ?
(Q2641517,P19,c(Q56061))
action filter_type
action find
entity Q2641517
relation P19
type Q56061
['Q2641517', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q2641517 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Alex Singer
action filter_type
action find
entity Alex Singer
relation place of birth
type administrative territorial entity
['Alex Singer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Alex_Singer property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q2641517,P19,c(Q56061))
action filter_type
action find
entity Q2641517
relation P19
type Q56061
Alex Singer was born in [ANSWER]
['Q2641517', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q2641517 property:P19 ?a . ?a rdf:type ontology:Q56061 }
New York City
Alex Singer was born in New York City
New York City
action filter_type
action find
entity Alex Singer
relation place of birth
type administrative territorial entity
['Alex Singer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Alex_Singer property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q60
P1001
Q1752346
USER
Which assembly has jurisdiction over that administrative territory ?
(c(Q1752346),P1001,Q60)
action filter_type
action find_reverse
entity Q60
relation P1001
type Q1752346
[{'concept': 'Q1752346'}, 'P1001', 'Q60']
SELECT DISTINCT ?r WHERE { ?r property:P1001 resource:Q60 . ?r rdf:type ontology:Q1752346 }
New York City
action filter_type
action find_reverse
entity New York City
relation applies to jurisdiction
type assembly
[{'concept': 'assembly'}, 'applies to jurisdiction', 'New York City']
SELECT DISTINCT ?r WHERE { ?r property:applies_to_jurisdiction resource:New_York_City . ?r rdf:type ontology:assembly }
[]
assembly
Q645195
SYSTEM
New York City Council
Q645195
(c(Q1752346),P1001,Q60)
action filter_type
action find_reverse
entity Q60
relation P1001
type Q1752346
[ANSWER] has jurisdiction over that administrative territory
[{'concept': 'Q1752346'}, 'P1001', 'Q60']
SELECT DISTINCT ?r WHERE { ?r property:P1001 resource:Q60 . ?r rdf:type ontology:Q1752346 }
New York City Council
New York City Council has jurisdiction over that administrative territory
New York City Council
action filter_type
action find_reverse
entity New York City
relation applies to jurisdiction
type assembly
[{'concept': 'assembly'}, 'applies to jurisdiction', 'New York City']
SELECT DISTINCT ?r WHERE { ?r property:applies_to_jurisdiction resource:New_York_City . ?r rdf:type ontology:assembly }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1957
P194
Q1752346 Q56061
USER
How many administrative territories have more number of assemblies as their legislative body than Vologda ?
(c(Q56061),P194,c(Q1752346))
action count
action greater
action find_tuple_counts
relation P194
type Q56061
type Q1752346
action count
action filter_type
action find
entity Q1957
relation P194
type Q56061
[{'concept': 'Q56061'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?t ) WHERE { ?o rdf:type ontology:Q56061 . ?h rdf:type ontology:Q1752346 . ?o property:P194 ?h } GROUP BY ?o } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Q1957 property:P194 ?w . ?w rdf:type ontology:Q56061 } } }
Vologda
action count
action greater
action find_tuple_counts
relation legislative body
type administrative territorial entity
type assembly
action count
action filter_type
action find
entity Vologda
relation legislative body
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?t ) WHERE { ?o rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:assembly . ?o property:legislative_body ?h } GROUP BY ?o } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Vologda property:legislative_body ?w . ?w rdf:type ontology:administrative_territorial_entity } } }
[]
assembly administrative territorial entity
SYSTEM
29
Q16555 Q623589 Q34183 Q649 Q126195 Q49256 Q100 Q1297 Q12439 Q266510 Q5083 Q23556 Q5689 Q34218 Q13896 Q37320 Q35775 Q1930 Q172 Q42308 Q334 Q5092 Q72 Q41262 Q16556 Q64 Q65 Q60 Q16557
(c(Q56061),P194,c(Q1752346))
action count
action greater
action find_tuple_counts
relation P194
type Q56061
type Q1752346
action count
action filter_type
action find
entity Q1957
relation P194
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?t ) WHERE { ?o rdf:type ontology:Q56061 . ?h rdf:type ontology:Q1752346 . ?o property:P194 ?h } GROUP BY ?o } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Q1957 property:P194 ?w . ?w rdf:type ontology:Q56061 } } }
Houston Kingdom of Slavonia Barrie Moscow Plymouth Colony Bakersfield Boston Chicago Detroit Triptis Seattle Atlanta Åland Islands Burlington Markgröningen Cleveland Boise Ottawa Toronto Kharkiv Singapore Baltimore Zürich Nottingham Phoenix Berlin Los Angeles New York City Dallas
29
action count
action greater
action find_tuple_counts
relation legislative body
type administrative territorial entity
type assembly
action count
action filter_type
action find
entity Vologda
relation legislative body
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?t ) WHERE { ?o rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:assembly . ?o property:legislative_body ?h } GROUP BY ?o } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Vologda property:legislative_body ?w . ?w rdf:type ontology:administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1027659
P194
Q1752346 Q56061
USER
And also tell me about Strabane?
(c(Q56061),P194,c(Q1752346))
action count
action greater
action find_tuple_counts
relation P194
type Q56061
type Q1752346
action count
action filter_type
action find
entity Q1027659
relation P194
type Q56061
[{'concept': 'Q56061'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?p ) WHERE { ?q property:P194 ?r . ?q rdf:type ontology:Q56061 . ?r rdf:type ontology:Q1752346 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Q1027659 property:P194 ?c . ?c rdf:type ontology:Q56061 } } . FILTER ( ?p > ?y ) }
Strabane
action count
action greater
action find_tuple_counts
relation legislative body
type administrative territorial entity
type assembly
action count
action filter_type
action find
entity Strabane
relation legislative body
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?p ) WHERE { ?q property:legislative_body ?r . ?q rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:assembly } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Strabane property:legislative_body ?c . ?c rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?p > ?y ) }
[]
assembly administrative territorial entity
SYSTEM
29
Q16555 Q623589 Q34183 Q649 Q126195 Q49256 Q100 Q1297 Q12439 Q266510 Q5083 Q23556 Q5689 Q34218 Q13896 Q37320 Q35775 Q1930 Q172 Q42308 Q334 Q5092 Q72 Q41262 Q16556 Q64 Q65 Q60 Q16557
(c(Q56061),P194,c(Q1752346))
action count
action greater
action find_tuple_counts
relation P194
type Q56061
type Q1752346
action count
action filter_type
action find
entity Q1027659
relation P194
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?p ) WHERE { ?q property:P194 ?r . ?q rdf:type ontology:Q56061 . ?r rdf:type ontology:Q1752346 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Q1027659 property:P194 ?c . ?c rdf:type ontology:Q56061 } } . FILTER ( ?p > ?y ) }
Houston Kingdom of Slavonia Barrie Moscow Plymouth Colony Bakersfield Boston Chicago Detroit Triptis Seattle Atlanta Åland Islands Burlington Markgröningen Cleveland Boise Ottawa Toronto Kharkiv Singapore Baltimore Zürich Nottingham Phoenix Berlin Los Angeles New York City Dallas
29
action count
action greater
action find_tuple_counts
relation legislative body
type administrative territorial entity
type assembly
action count
action filter_type
action find
entity Strabane
relation legislative body
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?p ) WHERE { ?q property:legislative_body ?r . ?q rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:assembly } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Strabane property:legislative_body ?c . ?c rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?p > ?y ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6842990 Q2641517
P54
Q12973014
USER
Which sports teams have Alex Singer or Midre Cummings as their member ?
OR((Q2641517,P54,c(Q12973014)), (Q6842990,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q2641517
relation P54
action find
entity Q6842990
relation P54
type Q12973014
{'OR': [['Q2641517', 'P54', {'concept': 'Q12973014'}], ['Q6842990', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q2641517 property:P54 ?g } UNION { resource:Q6842990 property:P54 ?g } } . ?g rdf:type ontology:Q12973014 }
Midre Cummings Alex Singer
action filter_type
action union
action find
entity Alex Singer
relation member of sports team
action find
entity Midre Cummings
relation member of sports team
type sports team
{'OR': [['Alex Singer', 'member of sports team', {'concept': 'sports team'}], ['Midre Cummings', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Alex_Singer property:member_of_sports_team ?g } UNION { resource:Midre_Cummings property:member_of_sports_team ?g } } . ?g rdf:type ontology:sports_team }
[]
sports team
Q650840 Q670376 Q604879 Q4827520 Q653772 Q650816 Q213959
SYSTEM
Philadelphia Phillies, Arizona Diamondbacks, Minnesota Twins, Avaldsnes IL, Pittsburgh Pirates, Baltimore Orioles, Boston Red Sox
Q650840 Q670376 Q604879 Q4827520 Q653772 Q650816 Q213959
OR((Q2641517,P54,c(Q12973014)), (Q6842990,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q2641517
relation P54
action find
entity Q6842990
relation P54
type Q12973014
The [ANSWERS] have Alex Singer or Midre Cummings as their member
{'OR': [['Q2641517', 'P54', {'concept': 'Q12973014'}], ['Q6842990', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q2641517 property:P54 ?g } UNION { resource:Q6842990 property:P54 ?g } } . ?g rdf:type ontology:Q12973014 }
Philadelphia Phillies Arizona Diamondbacks Minnesota Twins Avaldsnes IL Pittsburgh Pirates Baltimore Orioles Boston Red Sox
The Philadelphia Phillies, Arizona Diamondbacks, Minnesota Twins, Avaldsnes IL, Pittsburgh Pirates, Baltimore Orioles and Boston Red Sox have Alex Singer or Midre Cummings as their member
Philadelphia Phillies Arizona Diamondbacks Minnesota Twins Avaldsnes IL Pittsburgh Pirates Baltimore Orioles Boston Red Sox
action filter_type
action union
action find
entity Alex Singer
relation member of sports team
action find
entity Midre Cummings
relation member of sports team
type sports team
{'OR': [['Alex Singer', 'member of sports team', {'concept': 'sports team'}], ['Midre Cummings', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Alex_Singer property:member_of_sports_team ?g } UNION { resource:Midre_Cummings property:member_of_sports_team ?g } } . ?g rdf:type ontology:sports_team }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1923
Q12973014 Q22348500
USER
How many sports teams were participants in around the same number of cycling race classes as that sports team ?
(c(Q22348500),P1923,c(Q12973014))
[{'concept': 'Q22348500'}, 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1923 ?y . ?z rdf:type ontology:Q22348500 . ?y rdf:type ontology:Q12973014 }
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:participating_teams ?y . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?y rdf:type ontology:sports_team }
[]
sports team cycling race class defined by the International Cycling Union
Comparative|Count over More/Less|Single entity type|Clarification
Q604879
SYSTEM
Did you mean Minnesota Twins ?
(c(Q22348500),P1923,c(Q12973014))
[ANSWER]
[{'concept': 'Q22348500'}, 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1923 ?y . ?z rdf:type ontology:Q22348500 . ?y rdf:type ontology:Q12973014 }
Did you mean Minnesota Twins ?
Minnesota Twins
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:participating_teams ?y . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?y rdf:type ontology:sports_team }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Arizona Diamondbacks. Could you tell me the answer for that?
(c(Q22348500),P1923,c(Q12973014))
Q670376
[{'concept': 'Q22348500'}, 'P1923', {'concept': 'Q12973014'}]
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'participating teams', {'concept': 'sports team'}]
[]
SYSTEM
154
Q23674523 Q27146481 Q27146483 Q27146485 Q27146486 Q3421766 Q16295654 Q1981530 Q23887716 Q27147065 Q27147067 Q27660052 Q27146793 Q27159856 Q22956606 Q23674434 Q12872831 Q20725930 Q3500017 Q661160 Q461595 Q22132404 Q2254900 Q604617 Q22939728 Q27146762 Q27147077 Q21520147 Q22955635 Q26722120 Q27146296 Q27146511 Q747368 Q213417 Q17483961 Q812812 Q834461 Q799663 Q1342530 Q27146479 Q27146478 Q27146475 Q27146772 Q27147044 Q27147041 Q27147111 Q26722119 Q22956043 Q384639 Q750016 Q645934 Q3217856 Q1090946 Q670376 Q1107477 Q27147052 Q27147054 Q27146294 Q27147108 Q1772900 Q2177038 Q27146507 Q27146508 Q27159842 Q27147107 Q23887469 Q966632 Q15809074 Q1988831 Q957525 Q22939172 Q27146320 Q23953473 Q18171104 Q27147026 Q27147020 Q23664286 Q653772 Q27146510 Q23887753 Q22958235 Q23979109 Q23681177 Q27146516 Q721134 Q27147134 Q23663718 Q27147131 Q1395532 Q154053 Q27147139 Q1723502 Q1107146 Q5461394 Q15786 Q2072673 Q1265173 Q27146526 Q27146525 Q334634 Q27146522 Q27147126 Q27146520 Q27146519 Q22117386 Q27146529 Q335169 Q650855 Q23664320 Q27146543 Q22978787 Q16331496 Q22978783 Q15742001 Q27146539 Q372930 Q27146304 Q22940028 Q27146301 Q27146500 Q27147245 Q27146531 Q23900171 Q815514 Q27146788 Q2473436 Q19826622 Q23815600 Q27146307 Q22950181 Q27146496 Q27146494 Q899152 Q27146490 Q19599054 Q27146783 Q21772601 Q27146310 Q27146313 Q27146314 Q15293849 Q27146317 Q27147016 Q1270077 Q652879 Q16883477 Q491924 Q27147099 Q27147140 Q15733441 Q27146782 Q15623981 Q27146786 Q27147093
(c(Q22348500),P1923,c(Q12973014))
[ANSWER]
[{'concept': 'Q22348500'}, 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1923 ?y . ?z rdf:type ontology:Q22348500 . ?y rdf:type ontology:Q12973014 }
Cheng-Tung-Panciatici Hungary national badminton team Iceland national badminton team Israel national badminton team Italy national badminton team Rebellion Racing Australia national badminton team New Zealand national badminton team Gulf Racing Suriname national badminton team Trinidad and Tobago national badminton team Northern Ireland national badminton team Sri Lanka national badminton team Jersey badminton team Lotterer-Tréluyer-Fässler ByKolles AEZ Zakakiou G-Drive Racing Strakka Racing Netherlands men's national field hockey team Atlanta Braves Manor Racing Sweden national badminton team Spain men's national field hockey team Bernhard-Webber-Hartley Brunei national badminton team Botswana national badminton team AMEK Kapsalou di Grassi-Duval-Jarvis Bulgaria national badminton team Austria national badminton team Romania national badminton team Germany men's national field hockey team New York Yankees Singapore national badminton team Be Pink Germany national badminton team GDR national badminton team England national badminton team Greenland national badminton team Greece national badminton team Gibraltar national badminton team Kazakhstan national badminton team Guatemala national badminton team Falkland Islands national badminton team Seychelles national badminton team Ireland national badminton team Toyota Gazoo Racing China national badminton team Aston Martin Racing Argentina men's national field hockey team Larbre Compétition Japan national badminton team Arizona Diamondbacks Malaysia national badminton team Jamaica national badminton team Mexico national badminton team Armenia national badminton team Morocco national badminton team Nigeria national badminton team Russia national badminton team Norway national badminton team Poland national badminton team Guernsey badminton team Mauritius national badminton team RGR Sport by Morand Taiwan national badminton team Extreme Speed Motorsports AF Corse Netherlands national badminton team Porsche Team Finland national badminton team EAS Ayios Dhometios Scotland national badminton team Chile national badminton team Barbados national badminton team Ford Chip Ganassi Team UK Pittsburgh Pirates Portugal national badminton team Abu Dhabi-Proton Racing Conway-Sarrazin-Wurz Atlas Aglandjias Signatech #36 Slovakia national badminton team San Diego Padres Fiji national badminton team Audi Sport Team Joest Zimbabwe national badminton team Thailand national badminton team Eintracht Braunschweig Norfolk Island national badminton team Canada national badminton team Indonesia national badminton team Florida Gators football 1. FC Nürnberg Peru national badminton team India national badminton team Wales national badminton team Turkey national badminton team Los Angeles Dodgers Switzerland national badminton team Uganda national badminton team Spain national badminton team Slovenia national badminton team UniSA-Australia 2016 Vietnam national badminton team Chicago White Sox Detroit Tigers Dempsey-Proton Racing Yugoslavia national badminton team G-Drive Racing #28 Elpida Astromeriti G-Drive Racing #26 North Korea national badminton team Czechoslovakia national badminton team United States national badminton team Belgium national badminton team Dumas-Jani-Lieb Belarus national badminton team Malta national badminton team Isle of Man national badminton team USSR national badminton team Parnassos Strovolou Belgium men's national field hockey team Pakistan national badminton team Fortec Motorsport Ukraine national badminton team France national badminton team Croatia national badminton team Davidson-Buemi-Nakajima Luxembourg national badminton team Lithuania national badminton team Brazil national badminton team Latvia national badminton team KC Motorgroup Mongolia national badminton team Thiella Dromolaxia Cyprus national badminton team Czech national badminton team Estonia national badminton team Hong Kong national badminton team Faroe Islands national badminton team Argentina national badminton team Denmark national badminton team Miami Marlins SMP Racing South Korea national badminton team Kenya national badminton team Samoa national badminton team Philippines national badminton team Maldives national badminton team South Africa national badminton team Nepal national badminton team Ghana national badminton team
154
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:participating_teams ?y . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?y rdf:type ontology:sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P115
Q483110 Q1076486 Q12973014
USER
How many sports teams have exactly 1 stadia or sports venues as their home ground ?
(c(Q12973014),P115,c(Q483110)|c(Q1076486))
action count
action equal
action union
action find_tuple_counts
relation P115
type Q12973014
type Q483110
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
value 1
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q483110'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?m WHERE { { ?m property:P115 ?x . ?x rdf:type ontology:Q483110 . ?m rdf:type ontology:Q12973014 } UNION { ?m property:P115 ?x . ?m rdf:type ontology:Q12973014 . ?x rdf:type ontology:Q1076486 } } GROUP BY ?m } }
action count
action equal
action union
action find_tuple_counts
relation home venue
type sports team
type stadium
action find_tuple_counts
relation home venue
type sports team
type sports venue
value 1
[{'concept': 'sports team'}, 'home venue', [{'concept': 'stadium'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?m WHERE { { ?m property:home_venue ?x . ?x rdf:type ontology:stadium . ?m rdf:type ontology:sports_team } UNION { ?m property:home_venue ?x . ?m rdf:type ontology:sports_team . ?x rdf:type ontology:sports_venue } } GROUP BY ?m } }
[]
stadium sports venue sports team
SYSTEM
103
Q16959086 Q743309 Q3013412 Q1417287 Q16969278 Q19870761 Q3151359 Q1251724 Q5416971 Q7016620 Q5617444 Q431412 Q2937449 Q721134 Q3106580 Q193643 Q3555221 Q2276590 Q5461409 Q1090574 Q1136066 Q7009239 Q7425627 Q744636 Q604879 Q665920 Q964957 Q521129 Q387496 Q132880 Q2083283 Q1562933 Q867828 Q867822 Q3844332 Q324589 Q1518257 Q331650 Q16957588 Q154053 Q128109 Q4289724 Q15786 Q1568246 Q1148233 Q4791331 Q1319827 Q10865306 Q152572 Q3960035 Q17236274 Q7826440 Q739613 Q1197407 Q1193020 Q7845058 Q2075122 Q213959 Q812713 Q7914130 Q33699 Q653772 Q7231881 Q681072 Q1324392 Q127635 Q2300859 Q636019 Q4816008 Q7912570 Q180950 Q7578867 Q885646 Q7419313 Q868093 Q5461423 Q5461422 Q4959020 Q3041096 Q655240 Q5254272 Q2740400 Q670376 Q7839677 Q308966 Q5617449 Q249612 Q7534873 Q23979109 Q5461411 Q5461413 Q5461416 Q5461418 Q5461394 Q2825666 Q15279091 Q1788018 Q16331496 Q169941 Q2740096 Q650829 Q744530 Q1433297
(c(Q12973014),P115,c(Q483110)|c(Q1076486))
action count
action equal
action union
action find_tuple_counts
relation P115
type Q12973014
type Q483110
action find_tuple_counts
relation P115
type Q12973014
type Q1076486
value 1
[ANSWER]
[{'concept': 'Q12973014'}, 'P115', [{'concept': 'Q483110'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?m WHERE { { ?m property:P115 ?x . ?x rdf:type ontology:Q483110 . ?m rdf:type ontology:Q12973014 } UNION { ?m property:P115 ?x . ?m rdf:type ontology:Q12973014 . ?x rdf:type ontology:Q1076486 } } GROUP BY ?m } }
Connecticut Huskies football Los Angeles Angels of Anaheim Dandenong Rangers Panserraikos F.C. Sochinskiye Leopardy Jaguares Inland Empire 66ers of San Bernardino Baltimore Monumentals Everett AquaSox Newark Bears Gulf Coast League Orioles Stade Toulousain Québec Capitales San Diego Padres Fresno Grizzlies Pittsburgh Penguins Pinar del Río Vegueros Iowa Cubs Florida Gators men's golf Vancouver Whitecaps Victoria cricket team New Jersey Jackals Saskatchewan Silver Sox Natal Sharks Minnesota Twins VfB Lübeck Castres Olympique Benetton Rugby Treviso Tigres de Quintana Roo Toronto Raptors Colorado Springs Sky Sox HC Lev Poprad Rojos del Águila de Veracruz Leones de Yucatán Daiei Unions C.A. Lanús Ospreys FBK Kaunas Florida Gators cross country Eintracht Braunschweig Chicago Bulls Melbourne Cricket Club 1. FC Nürnberg Altoona Mountain City Montreal Expos Arizona League Angels US Dax SC Magdeburg Al-Muharraq SC York Revolution Ottawa Champions Toronto Maple Leafs Edinburgh Rugby Yomiuri Giants London Irish Trois-Rivières Aigles Lowell Spinners Boston Red Sox Al-Wehda Club Vancouver Canadians HC Fribourg-Gottéron Pittsburgh Pirates Portland Beavers EHC Olten Tokyo Yakult Swallows Hanshin Tigers Western Province Oyonnax Rugby Atlanta Beat Valparaiso Crusaders men's basketball Oklahoma City Thunder Spokane Indians Blue Bulls Santa Clara Broncos football Olmecas de Tabasco Florida Gators women's tennis Florida Gators women's soccer Brazos Valley Bombers Albuquerque Dukes Calgary Expos Delmarva Shorebirds Tucson Padres Arizona Diamondbacks Tri-City Dust Devils San Francisco Giants Gulf Coast League Red Sox Club Sport Emelec Ski IL Atlas Aglandjias Florida Gators men's tennis Florida Gators softball Florida Gators track and field Florida Gators women's golf Florida Gators football Akron RubberDucks El Paso Chihuahuas Derbyshire County Cricket Club Elpida Astromeriti Cardiff Blues Tacoma Rainiers Toronto Blue Jays Kansas City Royals Hokki
103
action count
action equal
action union
action find_tuple_counts
relation home venue
type sports team
type stadium
action find_tuple_counts
relation home venue
type sports team
type sports venue
value 1
[{'concept': 'sports team'}, 'home venue', [{'concept': 'stadium'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?m WHERE { { ?m property:home_venue ?x . ?x rdf:type ontology:stadium . ?m rdf:type ontology:sports_team } UNION { ?m property:home_venue ?x . ?m rdf:type ontology:sports_team . ?x rdf:type ontology:sports_venue } } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P1408
Q4830453
USER
Which business enterprises have procured license for broadcasting to New York City ?
(c(Q4830453),P1408,Q60)
action filter_type
action find_reverse
entity Q60
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q60']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q4830453 . ?i property:P1408 resource:Q60 }
New York City
action filter_type
action find_reverse
entity New York City
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'New York City']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:business_enterprise . ?i property:licensed_to_broadcast_to resource:New_York_City }
[]
business enterprise
Q1551068 Q2731065 Q1106511
SYSTEM
WNYC, WNBC, WFAN
Q1551068 Q1106511 Q3564667 Q2731065 Q1651267 Q3564779 Q3431439 Q7958380 Q1450606 Q7957811 Q7949166 Q3564690 Q7957424 Q3564725 Q3564618 Q7947634 Q7952248 Q3564763 Q7949008 Q7954358 Q7957237 Q7947274 Q7951590 Q7952516 Q1630673
(c(Q4830453),P1408,Q60)
action filter_type
action find_reverse
entity Q60
relation P1408
type Q4830453
[ANSWERS] have procured license for broadcasting to New York City
[{'concept': 'Q4830453'}, 'P1408', 'Q60']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q4830453 . ?i property:P1408 resource:Q60 }
WNYC WFAN WEPN WNBC WBAI WFME WBMP WZRC WCBS WXNY-FM WFAN-FM WINS WWPR-FM WMCA WAXQ WCBS-FM WLIB WOR WEPN-FM WPLJ WNEW-FM WBLS WKDM WLTW WQHT
WNYC, WNBC and WFAN have procured license for broadcasting to New York City
WNYC WNBC WFAN
action filter_type
action find_reverse
entity New York City
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'New York City']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:business_enterprise . ?i property:licensed_to_broadcast_to resource:New_York_City }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P144
Q3895768
USER
Which fictional location is derived from New York City ?
(c(Q3895768),P144,Q60)
action filter_type
action find_reverse
entity Q60
relation P144
type Q3895768
[{'concept': 'Q3895768'}, 'P144', 'Q60']
SELECT DISTINCT ?b WHERE { ?b property:P144 resource:Q60 . ?b rdf:type ontology:Q3895768 }
New York City
action filter_type
action find_reverse
entity New York City
relation based on
type fictional location
[{'concept': 'fictional location'}, 'based on', 'New York City']
SELECT DISTINCT ?b WHERE { ?b property:based_on resource:New_York_City . ?b rdf:type ontology:fictional_location }
[]
fictional location
Q18030290
SYSTEM
New New York
Q18030290
(c(Q3895768),P144,Q60)
action filter_type
action find_reverse
entity Q60
relation P144
type Q3895768
[ANSWER] is derived from New York City
[{'concept': 'Q3895768'}, 'P144', 'Q60']
SELECT DISTINCT ?b WHERE { ?b property:P144 resource:Q60 . ?b rdf:type ontology:Q3895768 }
New New York
New New York is derived from New York City
New New York
action filter_type
action find_reverse
entity New York City
relation based on
type fictional location
[{'concept': 'fictional location'}, 'based on', 'New York City']
SELECT DISTINCT ?b WHERE { ?b property:based_on resource:New_York_City . ?b rdf:type ontology:fictional_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q653772
P108
Q502895
USER
Who works for Pittsburgh Pirates ?
(c(Q502895),P108,Q653772)
action filter_type
action find_reverse
entity Q653772
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q653772']
SELECT DISTINCT ?z WHERE { ?z property:P108 resource:Q653772 . ?z rdf:type ontology:Q502895 }
Pittsburgh Pirates
action filter_type
action find_reverse
entity Pittsburgh Pirates
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Pittsburgh Pirates']
SELECT DISTINCT ?z WHERE { ?z property:employer resource:Pittsburgh_Pirates . ?z rdf:type ontology:common_name }
[]
common name
Q23310063
SYSTEM
John Gruber
Q23310063
(c(Q502895),P108,Q653772)
action filter_type
action find_reverse
entity Q653772
relation P108
type Q502895
[ANSWER] works for Pittsburgh Pirates
[{'concept': 'Q502895'}, 'P108', 'Q653772']
SELECT DISTINCT ?z WHERE { ?z property:P108 resource:Q653772 . ?z rdf:type ontology:Q502895 }
John Gruber
John Gruber works for Pittsburgh Pirates
John Gruber
action filter_type
action find_reverse
entity Pittsburgh Pirates
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Pittsburgh Pirates']
SELECT DISTINCT ?z WHERE { ?z property:employer resource:Pittsburgh_Pirates . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q653772
P137
Q811430
USER
Which construction is the administrator of Pittsburgh Pirates ?
(c(Q811430),P137,Q653772)
action filter_type
action find_reverse
entity Q653772
relation P137
type Q811430
[{'concept': 'Q811430'}, 'P137', 'Q653772']
SELECT DISTINCT ?u WHERE { ?u property:P137 resource:Q653772 . ?u rdf:type ontology:Q811430 }
Pittsburgh Pirates
action filter_type
action find_reverse
entity Pittsburgh Pirates
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'Pittsburgh Pirates']
SELECT DISTINCT ?u WHERE { ?u property:operator resource:Pittsburgh_Pirates . ?u rdf:type ontology:construction }
[]
construction
Q1151177
SYSTEM
PNC Park
Q1151177
(c(Q811430),P137,Q653772)
action filter_type
action find_reverse
entity Q653772
relation P137
type Q811430
[ANSWER] is the administrator of Pittsburgh Pirates
[{'concept': 'Q811430'}, 'P137', 'Q653772']
SELECT DISTINCT ?u WHERE { ?u property:P137 resource:Q653772 . ?u rdf:type ontology:Q811430 }
PNC Park
PNC Park is the administrator of Pittsburgh Pirates
PNC Park
action filter_type
action find_reverse
entity Pittsburgh Pirates
relation operator
type construction
[{'concept': 'construction'}, 'operator', 'Pittsburgh Pirates']
SELECT DISTINCT ?u WHERE { ?u property:operator resource:Pittsburgh_Pirates . ?u rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1151177
P466
Q12973014
USER
Which sports team is a tenant of that construction ?
(Q1151177,P466,c(Q12973014))
action filter_type
action find
entity Q1151177
relation P466
type Q12973014
['Q1151177', 'P466', {'concept': 'Q12973014'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12973014 . resource:Q1151177 property:P466 ?a }
PNC Park
action filter_type
action find
entity PNC Park
relation occupant
type sports team
['PNC Park', 'occupant', {'concept': 'sports team'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sports_team . resource:PNC_Park property:occupant ?a }
[]
sports team
Q653772
SYSTEM
Pittsburgh Pirates
Q653772
(Q1151177,P466,c(Q12973014))
action filter_type
action find
entity Q1151177
relation P466
type Q12973014
[ANSWER] is a tenant of that construction
['Q1151177', 'P466', {'concept': 'Q12973014'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12973014 . resource:Q1151177 property:P466 ?a }
Pittsburgh Pirates
Pittsburgh Pirates is a tenant of that construction
Pittsburgh Pirates
action filter_type
action find
entity PNC Park
relation occupant
type sports team
['PNC Park', 'occupant', {'concept': 'sports team'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sports_team . resource:PNC_Park property:occupant ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1151177
P641
Q349
USER
Which sport was PNC Park a part of ?
(Q1151177,P641,c(Q349))
action filter_type
action find
entity Q1151177
relation P641
type Q349
['Q1151177', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q1151177 property:P641 ?i . ?i rdf:type ontology:Q349 }
PNC Park
action filter_type
action find
entity PNC Park
relation sport
type sport
['PNC Park', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:PNC_Park property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q5369
SYSTEM
baseball
Q5369
(Q1151177,P641,c(Q349))
action filter_type
action find
entity Q1151177
relation P641
type Q349
PNC Park was a [ANSWER]
['Q1151177', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q1151177 property:P641 ?i . ?i rdf:type ontology:Q349 }
baseball
PNC Park was a baseball
baseball
action filter_type
action find
entity PNC Park
relation sport
type sport
['PNC Park', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:PNC_Park property:sport ?i . ?i rdf:type ontology:sport }
[]