Simple Question (Direct)
Simple Question
Q3367458
P21
Q290
USER
Which sex does Pascal Itter possess ?
(Q3367458,P21,c(Q290))
action filter_type
action find
entity Q3367458
relation P21
type Q290
['Q3367458', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3367458 property:P21 ?h . ?h rdf:type ontology:Q290 }
Pascal Itter
action filter_type
action find
entity Pascal Itter
relation gender
type sex
['Pascal Itter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Pascal_Itter property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3367458,P21,c(Q290))
action filter_type
action find
entity Q3367458
relation P21
type Q290
Pascal Itter possesses un [ANSWER]
['Q3367458', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3367458 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Pascal Itter possesses un male
male
action filter_type
action find
entity Pascal Itter
relation gender
type sex
['Pascal Itter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Pascal_Itter property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3367458
P27
Q1048835
USER
Which political territory is Pascal Itter a civilian of ?
(Q3367458,P27,c(Q1048835))
action filter_type
action find
entity Q3367458
relation P27
type Q1048835
['Q3367458', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q3367458 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Pascal Itter
action filter_type
action find
entity Pascal Itter
relation country of citizenship
type political territorial entity
['Pascal Itter', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Pascal_Itter property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q3367458,P27,c(Q1048835))
action filter_type
action find
entity Q3367458
relation P27
type Q1048835
Which political territory is Pascal Itter a civilian of
['Q3367458', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q3367458 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Germany
Which political territory is Pascal Itter a civilian of
Germany
action filter_type
action find
entity Pascal Itter
relation country of citizenship
type political territorial entity
['Pascal Itter', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Pascal_Itter property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3367458
P54
Q12973014
USER
Which sports teams are that person a member of ?
(Q183,P54,c(Q12973014))
action filter_type
action find
entity Q3367458
relation P54
type Q12973014
['Q183', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { resource:Q3367458 property:P54 ?r . ?r rdf:type ontology:Q12973014 }
Pascal Itter
action filter_type
action find
entity Pascal Itter
relation member of sports team
type sports team
['Germany', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { resource:Pascal_Itter property:member_of_sports_team ?r . ?r rdf:type ontology:sports_team }
[]
sports team
Q324854 Q2016992 Q319699
SYSTEM
Germany national under-19 football team, Germany national under-18 football team, Germany national under-17 football team
Q324854 Q2016992 Q319699 Q4545849 Q1202759
(Q183,P54,c(Q12973014))
action filter_type
action find
entity Q3367458
relation P54
type Q12973014
[ANSWERS] are that person a member of
['Q183', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { resource:Q3367458 property:P54 ?r . ?r rdf:type ontology:Q12973014 }
Germany national under-19 football team Germany national under-18 football team Germany national under-17 football team 1. FC Nuremberg II Germany national under-16 football team
Germany national under-19 football team, Germany national under-18 football team and Germany national under-17 football team are that person a member of
Germany national under-19 football team Germany national under-18 football team Germany national under-17 football team
action filter_type
action find
entity Pascal Itter
relation member of sports team
type sports team
['Germany', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { resource:Pascal_Itter property:member_of_sports_team ?r . ?r rdf:type ontology:sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q319699
P1532
Q1048835
USER
Which political territory is played by that sports team ?
(Q319699,P1532,c(Q1048835))
action filter_type
action find
entity Q319699
relation P1532
type Q1048835
['Q319699', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q319699 property:P1532 ?a . ?a rdf:type ontology:Q1048835 }
Germany national under-17 football team
action filter_type
action find
entity Germany national under-17 football team
relation country for sport
type political territorial entity
['Germany national under-17 football team', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Germany_national_under-17_football_team property:country_for_sport ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q324854
SYSTEM
Did you mean Germany national under-19 football team ?
Q324854 Q2016992 Q319699
(Q324854,P1532,c(Q1048835)) (Q2016992,P1532,c(Q1048835)) (Q319699,P1532,c(Q1048835))
[ANSWER]
['Q324854', 'P1532', {'concept': 'Q1048835'}] ['Q2016992', 'P1532', {'concept': 'Q1048835'}] ['Q319699', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q319699 property:P1532 ?a . ?a rdf:type ontology:Q1048835 }
Germany national under-19 football team Germany national under-18 football team Germany national under-17 football team
Did you mean Germany national under-19 football team ?
Germany national under-19 football team
['Germany national under-19 football team', 'country for sport', {'concept': 'political territorial entity'}] ['Germany national under-18 football team', 'country for sport', {'concept': 'political territorial entity'}] ['Germany national under-17 football team', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Germany_national_under-17_football_team property:country_for_sport ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Germany national under-17 football team. Could you tell me the answer for that?
(Q319699,P1532,c(Q1048835))
Q319699
['Q319699', 'P1532', {'concept': 'Q1048835'}]
['Germany national under-17 football team', 'country for sport', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q319699,P1532,c(Q1048835))
action filter_type
action find
entity Q319699
relation P1532
type Q1048835
[ANSWER] is played by that sports team
['Q319699', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q319699 property:P1532 ?a . ?a rdf:type ontology:Q1048835 }
Germany
Germany is played by that sports team
Germany
action filter_type
action find
entity Germany national under-17 football team
relation country for sport
type political territorial entity
['Germany national under-17 football team', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Germany_national_under-17_football_team property:country_for_sport ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q35 Q40
P47
Q1048835
USER
Does that political territory have an adjacent border with Denmark and Austria ?
(Q183,P47,Q35) (Q183,P47,Q40)
action is_in
entity Q183
action intersection
action find_reverse
entity Q35
relation P47
action find_reverse
entity Q40
relation P47
['Q183', 'P47', 'Q35'] ['Q183', 'P47', 'Q40']
ASK WHERE { resource:Q183 property:P47 resource:Q40 . resource:Q183 property:P47 resource:Q35 }
Germany Denmark Austria
action is_in
entity Germany
action intersection
action find_reverse
entity Denmark
relation shares border with
action find_reverse
entity Austria
relation shares border with
['Germany', 'shares border with', 'Denmark'] ['Germany', 'shares border with', 'Austria']
ASK WHERE { resource:Germany property:shares_border_with resource:Austria . resource:Germany property:shares_border_with resource:Denmark }
[]
political territorial entity
SYSTEM
YES
(Q183,P47,Q35) (Q183,P47,Q40)
action is_in
entity Q183
action intersection
action find_reverse
entity Q35
relation P47
action find_reverse
entity Q40
relation P47
[ANSWER]
['Q183', 'P47', 'Q35'] ['Q183', 'P47', 'Q40']
ASK WHERE { resource:Q183 property:P47 resource:Q40 . resource:Q183 property:P47 resource:Q35 }
Yes
action is_in
entity Germany
action intersection
action find_reverse
entity Denmark
relation shares border with
action find_reverse
entity Austria
relation shares border with
['Germany', 'shares border with', 'Denmark'] ['Germany', 'shares border with', 'Austria']
ASK WHERE { resource:Germany property:shares_border_with resource:Austria . resource:Germany property:shares_border_with resource:Denmark }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P1532
Q6979593 Q502895
USER
How many national association football teams and people represent Germany ?
(c(Q6979593),P1532,Q183) (c(Q502895),P1532,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P1532
type Q6979593
action filter_type
action find_reverse
entity Q183
relation P1532
type Q502895
[{'concept': 'Q6979593'}, 'P1532', 'Q183'] [{'concept': 'Q502895'}, 'P1532', 'Q183']
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { ?k rdf:type ontology:Q6979593 . ?k property:P1532 resource:Q183 } UNION { ?k rdf:type ontology:Q502895 . ?k property:P1532 resource:Q183 } }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation country for sport
type national association football team
action filter_type
action find_reverse
entity Germany
relation country for sport
type common name
[{'concept': 'national association football team'}, 'country for sport', 'Germany'] [{'concept': 'common name'}, 'country for sport', 'Germany']
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { ?k rdf:type ontology:national_association_football_team . ?k property:country_for_sport resource:Germany } UNION { ?k rdf:type ontology:common_name . ?k property:country_for_sport resource:Germany } }
[]
national association football team common name
SYSTEM
3 national association football teams and 29 people
Q23933662 Q17517599 Q1331837 Q23480023 Q24442448 Q154408 Q3530137 Q23323661 Q14918196 Q24846847 Q22807080 Q23090951 Q11771919 Q25768269 Q22417389 Q23041689 Q24283241 Q17544413 Q1499347 Q5552186 Q16040122 Q21705952 Q1202757 Q23714989 Q23418556 Q1078224 Q25841177 Q1573540 Q24448038 Q22969617 Q25931172 Q9368268
(c(Q6979593),P1532,Q183) (c(Q502895),P1532,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P1532
type Q6979593
action filter_type
action find_reverse
entity Q183
relation P1532
type Q502895
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', 'Q183'] [{'concept': 'Q502895'}, 'P1532', 'Q183']
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { ?k rdf:type ontology:Q6979593 . ?k property:P1532 resource:Q183 } UNION { ?k rdf:type ontology:Q502895 . ?k property:P1532 resource:Q183 } }
Clemens Bleistein Timo Benitz Ellen Kiessling Martin Vogel  Lisa Mayer Germany women's national football team Tobias Giehl Tobias Dahm Anjuli Knäsche Rene Stauss Annika Drazek Alexandra Wester Maya Rehberg Laura Muller Julian Flügel Joachim Dehmel Friedelinde Petershofen Max Hess Max Hopp Germany women's national youth football team Harald Demuth Kai Karsten Germany Olympic football team Xenia Stolz Chantal Butzek Christa Wiese Nadine Gonska Ralf Jaros Anna Felzmann Konstanze Klosterhalfen Janina Kölsch Varg Königsmark
3 national association football teams and 29 people
action count
action union
action filter_type
action find_reverse
entity Germany
relation country for sport
type national association football team
action filter_type
action find_reverse
entity Germany
relation country for sport
type common name
[{'concept': 'national association football team'}, 'country for sport', 'Germany'] [{'concept': 'common name'}, 'country for sport', 'Germany']
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { ?k rdf:type ontology:national_association_football_team . ?k property:country_for_sport resource:Germany } UNION { ?k rdf:type ontology:common_name . ?k property:country_for_sport resource:Germany } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1923
Q12973014 Q22348500 Q15991303
USER
Which sports teams were participants in min number of cycling race classes or association football leagues ?
(c(Q22348500)|c(Q15991303),P1923,c(Q12973014))
action argmin
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
[[{'concept': 'Q22348500'}, {'concept': 'Q15991303'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?r WHERE { { ?c property:P1923 ?r . ?r rdf:type ontology:Q12973014 . ?c rdf:type ontology:Q22348500 } UNION { ?c rdf:type ontology:Q15991303 . ?r rdf:type ontology:Q12973014 . ?c property:P1923 ?r } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) ?t WHERE { { ?t rdf:type ontology:Q12973014 . ?m rdf:type ontology:Q22348500 . ?m property:P1923 ?t } UNION { ?t rdf:type ontology:Q12973014 . ?m rdf:type ontology:Q15991303 . ?m property:P1923 ?t } } GROUP BY ?t } . FILTER ( ?v = ?b ) }
action argmin
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type cycling race class defined by the International Cycling Union
action find_reverse_tuple_counts
relation participating teams
type sports team
type association football league
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'association football league'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?r WHERE { { ?c property:participating_teams ?r . ?r rdf:type ontology:sports_team . ?c rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } UNION { ?c rdf:type ontology:association_football_league . ?r rdf:type ontology:sports_team . ?c property:participating_teams ?r } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) ?t WHERE { { ?t rdf:type ontology:sports_team . ?m rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?m property:participating_teams ?t } UNION { ?t rdf:type ontology:sports_team . ?m rdf:type ontology:association_football_league . ?m property:participating_teams ?t } } GROUP BY ?t } . FILTER ( ?v = ?b ) }
[]
sports team cycling race class defined by the International Cycling Union association football league
Q27146522 Q12872831 Q23815600
SYSTEM
Switzerland national badminton team, AEZ Zakakiou, France national badminton team
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 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 Q27147139 Q1723502 Q1107146 Q5461394 Q2072673 Q1265173 Q27146526 Q27146525 Q334634 Q27146522 Q27147126 Q27146520 Q27146519 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)|c(Q15991303),P1923,c(Q12973014))
action argmin
action union
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q22348500
action find_reverse_tuple_counts
relation P1923
type Q12973014
type Q15991303
[ANSWERS] were participants in min number of cycling race classes or association football leagues
[[{'concept': 'Q22348500'}, {'concept': 'Q15991303'}], 'P1923', {'concept': 'Q12973014'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?r WHERE { { ?c property:P1923 ?r . ?r rdf:type ontology:Q12973014 . ?c rdf:type ontology:Q22348500 } UNION { ?c rdf:type ontology:Q15991303 . ?r rdf:type ontology:Q12973014 . ?c property:P1923 ?r } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) ?t WHERE { { ?t rdf:type ontology:Q12973014 . ?m rdf:type ontology:Q22348500 . ?m property:P1923 ?t } UNION { ?t rdf:type ontology:Q12973014 . ?m rdf:type ontology:Q15991303 . ?m property:P1923 ?t } } GROUP BY ?t } . FILTER ( ?v = ?b ) }
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 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 Norfolk Island national badminton team Canada national badminton team Indonesia national badminton team Florida Gators football 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 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
Switzerland national badminton team, AEZ Zakakiou and France national badminton team were participants in min number of cycling race classes or association football leagues
Switzerland national badminton team AEZ Zakakiou France national badminton team
action argmin
action union
action find_reverse_tuple_counts
relation participating teams
type sports team
type cycling race class defined by the International Cycling Union
action find_reverse_tuple_counts
relation participating teams
type sports team
type association football league
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'association football league'}], 'participating teams', {'concept': 'sports team'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?r WHERE { { ?c property:participating_teams ?r . ?r rdf:type ontology:sports_team . ?c rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } UNION { ?c rdf:type ontology:association_football_league . ?r rdf:type ontology:sports_team . ?c property:participating_teams ?r } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) ?t WHERE { { ?t rdf:type ontology:sports_team . ?m rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?m property:participating_teams ?t } UNION { ?t rdf:type ontology:sports_team . ?m rdf:type ontology:association_football_league . ?m property:participating_teams ?t } } GROUP BY ?t } . FILTER ( ?v = ?b ) }
[]