Simple Question (Direct)
Simple Question
Q1353867
P106
Q12737077
USER
What are the job of Erik Bo Andersen ?
(Q1353867,P106,c(Q12737077))
action filter_type
action find
entity Q1353867
relation P106
type Q12737077
['Q1353867', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1353867 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Erik Bo Andersen
action filter_type
action find
entity Erik Bo Andersen
relation occupation
type occupation
['Erik Bo Andersen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Erik_Bo_Andersen property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q1353867,P106,c(Q12737077))
action filter_type
action find
entity Q1353867
relation P106
type Q12737077
The job of Erik Bo Andersen are both [ANSWERS]
['Q1353867', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1353867 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
association football manager association football player
The job of Erik Bo Andersen are both association football manager and association football player
association football manager association football player
action filter_type
action find
entity Erik Bo Andersen
relation occupation
type occupation
['Erik Bo Andersen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Erik_Bo_Andersen property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1353867
P641
Q349
USER
Which sport did Erik Bo Andersen participate in ?
(Q1353867,P641,c(Q349))
action filter_type
action find
entity Q1353867
relation P641
type Q349
['Q1353867', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q1353867 property:P641 ?n . ?n rdf:type ontology:Q349 }
Erik Bo Andersen
action filter_type
action find
entity Erik Bo Andersen
relation sport
type sport
['Erik Bo Andersen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Erik_Bo_Andersen property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1353867,P641,c(Q349))
action filter_type
action find
entity Q1353867
relation P641
type Q349
Erik Bo Andersen participated in [ANSWER]
['Q1353867', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q1353867 property:P641 ?n . ?n rdf:type ontology:Q349 }
association football
Erik Bo Andersen participated in association football
association football
action filter_type
action find
entity Erik Bo Andersen
relation sport
type sport
['Erik Bo Andersen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Erik_Bo_Andersen property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3601447
Q349
USER
And also tell me about 1990 Bordeaux Open?
(Q3601447,P641,c(Q349))
action filter_type
action find
entity Q3601447
relation P641
type Q349
['Q3601447', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q3601447 property:P641 ?k . ?k rdf:type ontology:Q349 }
1990 Bordeaux Open
action filter_type
action find
entity 1990 Bordeaux Open
relation sport
type sport
['1990 Bordeaux Open', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:1990_Bordeaux_Open property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q847
SYSTEM
tennis
Q847
(Q3601447,P641,c(Q349))
action filter_type
action find
entity Q3601447
relation P641
type Q349
[ANSWER]
['Q3601447', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q3601447 property:P641 ?k . ?k rdf:type ontology:Q349 }
tennis
tennis
action filter_type
action find
entity 1990 Bordeaux Open
relation sport
type sport
['1990 Bordeaux Open', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:1990_Bordeaux_Open property:sport ?k . ?k rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q349 Q2342494 Q502895
USER
How many sports do less number of collectables or people belong to than that sport ?
(c(Q2342494)|c(Q502895),P101,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q847
relation P101
type Q2342494
type Q502895
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?l WHERE { { ?d property:P101 ?l . ?l rdf:type ontology:Q349 . ?d rdf:type ontology:Q2342494 } UNION { ?d property:P101 ?l . ?l rdf:type ontology:Q349 . ?d rdf:type ontology:Q502895 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P101 resource:Q847 . { { ?c rdf:type ontology:Q2342494 } UNION { ?c rdf:type ontology:Q502895 } } } } . FILTER ( ?u < ?w ) }
action count
action less
action union
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity tennis
relation field of work
type collectable
type common name
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?l WHERE { { ?d property:field_of_work ?l . ?l rdf:type ontology:sport . ?d rdf:type ontology:collectable } UNION { ?d property:field_of_work ?l . ?l rdf:type ontology:sport . ?d rdf:type ontology:common_name } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:field_of_work resource:tennis . { { ?c rdf:type ontology:collectable } UNION { ?c rdf:type ontology:common_name } } } } . FILTER ( ?u < ?w ) }
[]
sport collectable common name
SYSTEM
4
Q14300548 Q130949 Q114466 Q131359
(c(Q2342494)|c(Q502895),P101,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q847
relation P101
type Q2342494
type Q502895
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?l WHERE { { ?d property:P101 ?l . ?l rdf:type ontology:Q349 . ?d rdf:type ontology:Q2342494 } UNION { ?d property:P101 ?l . ?l rdf:type ontology:Q349 . ?d rdf:type ontology:Q502895 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P101 resource:Q847 . { { ?c rdf:type ontology:Q2342494 } UNION { ?c rdf:type ontology:Q502895 } } } } . FILTER ( ?u < ?w ) }
skating skiing mixed martial arts professional wrestling
4
action count
action less
action union
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity tennis
relation field of work
type collectable
type common name
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?l WHERE { { ?d property:field_of_work ?l . ?l rdf:type ontology:sport . ?d rdf:type ontology:collectable } UNION { ?d property:field_of_work ?l . ?l rdf:type ontology:sport . ?d rdf:type ontology:common_name } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:field_of_work resource:tennis . { { ?c rdf:type ontology:collectable } UNION { ?c rdf:type ontology:common_name } } } } . FILTER ( ?u < ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1353867
P734
Q82799
USER
Who has the surname Erik Bo Andersen ?
(Q1353867,P734,c(Q82799))
action filter_type
action find
entity Q1353867
relation P734
type Q82799
['Q1353867', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q1353867 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Erik Bo Andersen
action filter_type
action find
entity Erik Bo Andersen
relation family name
type name
['Erik Bo Andersen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Erik_Bo_Andersen property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q21501893
SYSTEM
Andersen
Q21501893
(Q1353867,P734,c(Q82799))
action filter_type
action find
entity Q1353867
relation P734
type Q82799
The [ANSWER] has the surname Erik Bo [ANSWER]
['Q1353867', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q1353867 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Andersen
The Andersen has the surname Erik Bo Andersen
Andersen
action filter_type
action find
entity Erik Bo Andersen
relation family name
type name
['Erik Bo Andersen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Erik_Bo_Andersen property:family_name ?p . ?p rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1353867
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q21501893,P54,c(Q1194951))
action filter_type
action find
entity Q1353867
relation P54
type Q1194951
['Q21501893', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1194951 . resource:Q1353867 property:P54 ?j }
Erik Bo Andersen
action filter_type
action find
entity Erik Bo Andersen
relation member of sports team
type national sports team
['Andersen', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:national_sports_team . resource:Erik_Bo_Andersen property:member_of_sports_team ?j }
[]
national sports team
Q131785
SYSTEM
Denmark national football team
Q131785
(Q21501893,P54,c(Q1194951))
action filter_type
action find
entity Q1353867
relation P54
type Q1194951
The [ANSWER] is that person a member of
['Q21501893', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1194951 . resource:Q1353867 property:P54 ?j }
Denmark national football team
The Denmark national football team is that person a member of
Denmark national football team
action filter_type
action find
entity Erik Bo Andersen
relation member of sports team
type national sports team
['Andersen', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:national_sports_team . resource:Erik_Bo_Andersen property:member_of_sports_team ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q131785
P1532
Q1048835
USER
Which political territory is represented by that national sports team ?
(Q131785,P1532,c(Q1048835))
action filter_type
action find
entity Q131785
relation P1532
type Q1048835
['Q131785', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q131785 property:P1532 ?z . ?z rdf:type ontology:Q1048835 }
Denmark national football team
action filter_type
action find
entity Denmark national football team
relation country for sport
type political territorial entity
['Denmark national football team', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Denmark_national_football_team property:country_for_sport ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q131785,P1532,c(Q1048835))
action filter_type
action find
entity Q131785
relation P1532
type Q1048835
The [ANSWER] is represented by that national sports team
['Q131785', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q131785 property:P1532 ?z . ?z rdf:type ontology:Q1048835 }
Denmark
The Denmark is represented by that national sports team
Denmark
action filter_type
action find
entity Denmark national football team
relation country for sport
type political territorial entity
['Denmark national football team', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Denmark_national_football_team property:country_for_sport ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q131785
P466
Q1076486
USER
Which sports venue is occupied by that national sports team ?
(c(Q1076486),P466,Q35)
action filter_type
action find_reverse
entity Q131785
relation P466
type Q1076486
[{'concept': 'Q1076486'}, 'P466', 'Q35']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1076486 . ?y property:P466 resource:Q131785 }
Denmark national football team
action filter_type
action find_reverse
entity Denmark national football team
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'Denmark']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sports_venue . ?y property:occupant resource:Denmark_national_football_team }
[]
sports venue
Q5017115
SYSTEM
Idrætsparken
Q5017115
(c(Q1076486),P466,Q35)
action filter_type
action find_reverse
entity Q131785
relation P466
type Q1076486
[ANSWER] is occupied by that national sports team
[{'concept': 'Q1076486'}, 'P466', 'Q35']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1076486 . ?y property:P466 resource:Q131785 }
Idrætsparken
Idrætsparken is occupied by that national sports team
Idrætsparken
action filter_type
action find_reverse
entity Denmark national football team
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'Denmark']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sports_venue . ?y property:occupant resource:Denmark_national_football_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5017115
P17
Q1048835
USER
Which political territory is that sports venue located in ?
(Q5017115,P17,c(Q1048835))
action filter_type
action find
entity Q5017115
relation P17
type Q1048835
['Q5017115', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q5017115 property:P17 ?f }
Idrætsparken
action filter_type
action find
entity Idrætsparken
relation country
type political territorial entity
['Idrætsparken', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Idrætsparken property:country ?f }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q5017115,P17,c(Q1048835))
action filter_type
action find
entity Q5017115
relation P17
type Q1048835
That sports venue is located in [ANSWER]
['Q5017115', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q5017115 property:P17 ?f }
Denmark
That sports venue is located in Denmark
Denmark
action filter_type
action find
entity Idrætsparken
relation country
type political territorial entity
['Idrætsparken', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Idrætsparken property:country ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21584342
Q1048835
USER
And what about Hamburg Triathlon?
(Q21584342,P17,c(Q1048835))
action filter_type
action find
entity Q21584342
relation P17
type Q1048835
['Q21584342', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q21584342 property:P17 ?o . ?o rdf:type ontology:Q1048835 }
Hamburg Triathlon
action filter_type
action find
entity Hamburg Triathlon
relation country
type political territorial entity
['Hamburg Triathlon', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hamburg_Triathlon property:country ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q21584342,P17,c(Q1048835))
action filter_type
action find
entity Q21584342
relation P17
type Q1048835
[ANSWER]
['Q21584342', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q21584342 property:P17 ?o . ?o rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Hamburg Triathlon
relation country
type political territorial entity
['Hamburg Triathlon', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hamburg_Triathlon property:country ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P1427
Q1048835 Q31629 Q18608583
USER
Which political territories are the starting points of around the same number of types of sport or recurring sporting events as that political territory ?
(c(Q31629)|c(Q18608583),P1427,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q31629
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q183
relation P1427
type Q31629
type Q18608583
[[{'concept': 'Q31629'}, {'concept': 'Q18608583'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?t WHERE { { ?w property:P1427 ?t . ?t rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q31629 } UNION { ?w property:P1427 ?t . ?t rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q18608583 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P1427 resource:Q183 . { { ?z rdf:type ontology:Q31629 } UNION { ?z rdf:type ontology:Q18608583 } } } } . FILTER ( ?c = ?x ) }
action approx
action union
action find_reverse_tuple_counts
relation start point
type political territorial entity
type type of sport
action find_reverse_tuple_counts
relation start point
type political territorial entity
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity Germany
relation start point
type type of sport
type recurring sporting event
[[{'concept': 'type of sport'}, {'concept': 'recurring sporting event'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?t WHERE { { ?w property:start_point ?t . ?t rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:type_of_sport } UNION { ?w property:start_point ?t . ?t rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:recurring_sporting_event } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:start_point resource:Germany . { { ?z rdf:type ontology:type_of_sport } UNION { ?z rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?c = ?x ) }
[]
political territorial entity type of sport recurring sporting event
Q183 Q639412 Q55480
SYSTEM
Germany, Tarazona, Colmenar Viejo
Q1556707 Q55480 Q937763 Q183 Q301437 Q2264671 Q1628379 Q49661 Q536682 Q1765676 Q1442183 Q1766072 Q642046 Q1625868 Q956524 Q488555 Q1375842 Q739495 Q832991 Q474080 Q499184 Q1629539 Q1621191 Q668016 Q490638 Q77433 Q601112 Q1374736 Q743741 Q484552 Q564773 Q639412 Q825883 Q492420 Q672483 Q1771143 Q987453
(c(Q31629)|c(Q18608583),P1427,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q31629
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q183
relation P1427
type Q31629
type Q18608583
[ANSWERS] are the starting points of around the same number of types of sport or recurring sporting events as that political territory
[[{'concept': 'Q31629'}, {'concept': 'Q18608583'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?t WHERE { { ?w property:P1427 ?t . ?t rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q31629 } UNION { ?w property:P1427 ?t . ?t rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q18608583 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P1427 resource:Q183 . { { ?z rdf:type ontology:Q31629 } UNION { ?z rdf:type ontology:Q18608583 } } } } . FILTER ( ?c = ?x ) }
Vila Nova de Cacela Colmenar Viejo Graus Germany Priego de Córdoba El Palomar Mairena del Alcor Mauren Belorado Torredelcampo Sober Santo Domingo de Silos Calahorra Alcañices Maella Baeza Ortigueira Vilanova de Arousa Sóller Amorebieta-Etxano Roquetas de Mar Salvaterra de Miño A Estrada Iurreta Almendralejo Leganés Pollença Lalín Felanitx Algeciras Alhendín Tarazona Valls Getxo Ordizia Carboneras de Guadazaón San Javier
Germany, Tarazona and Colmenar Viejo are the starting points of around the same number of types of sport or recurring sporting events as that political territory
Germany Tarazona Colmenar Viejo
action approx
action union
action find_reverse_tuple_counts
relation start point
type political territorial entity
type type of sport
action find_reverse_tuple_counts
relation start point
type political territorial entity
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity Germany
relation start point
type type of sport
type recurring sporting event
[[{'concept': 'type of sport'}, {'concept': 'recurring sporting event'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?t WHERE { { ?w property:start_point ?t . ?t rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:type_of_sport } UNION { ?w property:start_point ?t . ?t rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:recurring_sporting_event } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:start_point resource:Germany . { { ?z rdf:type ontology:type_of_sport } UNION { ?z rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?c = ?x ) }
[]