Simple Question (Direct)
Simple Question
Q27207881
P2416
Q31629
USER
Which type of sport was Giorgio Jegher a contestant of ?
(Q27207881,P2416,c(Q31629))
action filter_type
action find
entity Q27207881
relation P2416
type Q31629
['Q27207881', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?v WHERE { resource:Q27207881 property:P2416 ?v . ?v rdf:type ontology:Q31629 }
Giorgio Jegher
action filter_type
action find
entity Giorgio Jegher
relation sports discipline competed in
type type of sport
['Giorgio Jegher', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?v WHERE { resource:Giorgio_Jegher property:sports_discipline_competed_in ?v . ?v rdf:type ontology:type_of_sport }
[]
type of sport
Q40244
SYSTEM
marathon
Q40244
(Q27207881,P2416,c(Q31629))
action filter_type
action find
entity Q27207881
relation P2416
type Q31629
The [ANSWER] was Giorgio Jegher a contestant of
['Q27207881', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?v WHERE { resource:Q27207881 property:P2416 ?v . ?v rdf:type ontology:Q31629 }
marathon
The marathon was Giorgio Jegher a contestant of
marathon
action filter_type
action find
entity Giorgio Jegher
relation sports discipline competed in
type type of sport
['Giorgio Jegher', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?v WHERE { resource:Giorgio_Jegher property:sports_discipline_competed_in ?v . ?v rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27207881
P734
Q82799
USER
Which name is associated with that person ?
(Q40244,P734,c(Q82799))
action filter_type
action find
entity Q27207881
relation P734
type Q82799
['Q40244', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q27207881 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Giorgio Jegher
action filter_type
action find
entity Giorgio Jegher
relation family name
type name
['marathon', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Giorgio_Jegher property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q16215675
SYSTEM
Jegher
Q16215675
(Q40244,P734,c(Q82799))
action filter_type
action find
entity Q27207881
relation P734
type Q82799
[ANSWER] is associated with that person
['Q40244', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q27207881 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Jegher
Jegher is associated with that person
Jegher
action filter_type
action find
entity Giorgio Jegher
relation family name
type name
['marathon', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Giorgio_Jegher property:family_name ?w . ?w rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q16215675 Q20734863
P734
Q502895
USER
Does Hein Maeijer have that name as surname ?
(Q20734863,P734,Q16215675)
action is_in
entity Q20734863
action find
entity Q16215675
relation P734
['Q20734863', 'P734', 'Q16215675']
ASK WHERE { resource:Q16215675 property:P734 resource:Q20734863 }
Jegher Hein Maeijer
action is_in
entity Hein Maeijer
action find
entity Jegher
relation family name
['Hein Maeijer', 'family name', 'Jegher']
ASK WHERE { resource:Jegher property:family_name resource:Hein_Maeijer }
[]
common name
SYSTEM
NO
(Q20734863,P734,Q16215675)
action is_in
entity Q20734863
action find
entity Q16215675
relation P734
[ANSWER]
['Q20734863', 'P734', 'Q16215675']
ASK WHERE { resource:Q16215675 property:P734 resource:Q20734863 }
No
action is_in
entity Hein Maeijer
action find
entity Jegher
relation family name
['Hein Maeijer', 'family name', 'Jegher']
ASK WHERE { resource:Jegher property:family_name resource:Hein_Maeijer }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q40244 Q10862448
P138
Q1190554
USER
Is Liberation Day the origin of marathon ?
(Q40244,P138,Q10862448)
action is_in
entity Q10862448
action find
entity Q40244
relation P138
['Q40244', 'P138', 'Q10862448']
ASK WHERE { resource:Q40244 property:P138 resource:Q10862448 }
marathon Liberation Day
action is_in
entity Liberation Day
action find
entity marathon
relation named after
['marathon', 'named after', 'Liberation Day']
ASK WHERE { resource:marathon property:named_after resource:Liberation_Day }
[]
event
SYSTEM
NO
(Q40244,P138,Q10862448)
action is_in
entity Q10862448
action find
entity Q40244
relation P138
[ANSWER]
['Q40244', 'P138', 'Q10862448']
ASK WHERE { resource:Q40244 property:P138 resource:Q10862448 }
No
action is_in
entity Liberation Day
action find
entity marathon
relation named after
['marathon', 'named after', 'Liberation Day']
ASK WHERE { resource:marathon property:named_after resource:Liberation_Day }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for exactly 1 name ?
(c(Q82799),P407,c(Q34770))
action equal
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 1
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?j = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P407 ?i . ?x rdf:type ontology:Q82799 . ?i rdf:type ontology:Q34770 } GROUP BY ?i } }
action equal
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 1
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?j = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:language_of_work_or_name ?i . ?x rdf:type ontology:name . ?i rdf:type ontology:language } GROUP BY ?i } }
[]
language name
Q56982 Q35308
SYSTEM
Judaeo-Portuguese, Old Irish
Q56982 Q35308
(c(Q82799),P407,c(Q34770))
action equal
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 1
[ANSWERS] are the languages of work for exactly 1 name
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?j = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P407 ?i . ?x rdf:type ontology:Q82799 . ?i rdf:type ontology:Q34770 } GROUP BY ?i } }
Judaeo-Portuguese Old Irish
Judaeo-Portuguese and Old Irish are the languages of work for exactly 1 name
Judaeo-Portuguese Old Irish
action equal
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 1
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?j = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:language_of_work_or_name ?i . ?x rdf:type ontology:name . ?i rdf:type ontology:language } GROUP BY ?i } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40244
P413
Q502895
USER
Which people play in marathon position ?
(c(Q502895),P413,Q40244)
action filter_type
action find_reverse
entity Q40244
relation P413
type Q502895
[{'concept': 'Q502895'}, 'P413', 'Q40244']
SELECT DISTINCT ?i WHERE { ?i property:P413 resource:Q40244 . ?i rdf:type ontology:Q502895 }
marathon
action filter_type
action find_reverse
entity marathon
relation position played on team / speciality
type common name
[{'concept': 'common name'}, 'position played on team / speciality', 'marathon']
SELECT DISTINCT ?i WHERE { ?i property:position_played_on_team_/_speciality resource:marathon . ?i rdf:type ontology:common_name }
[]
common name
Q24081882 Q6787124 Q24062364
SYSTEM
Miriam van Reijen, Mathias Kanda, Azmeraw Mengistu
Q466843 Q6787124 Q24081882 Q24026900 Q24062364 Q24026899 Q27067547
(c(Q502895),P413,Q40244)
action filter_type
action find_reverse
entity Q40244
relation P413
type Q502895
[ANSWERS] play in marathon position
[{'concept': 'Q502895'}, 'P413', 'Q40244']
SELECT DISTINCT ?i WHERE { ?i property:P413 resource:Q40244 . ?i rdf:type ontology:Q502895 }
Danilo Goffi Mathias Kanda Miriam van Reijen Manuela Soccol Azmeraw Mengistu Hanna Vandenbussche Evans Kiplagat Chebet
Miriam van Reijen, Mathias Kanda and Azmeraw Mengistu play in marathon position
Miriam van Reijen Mathias Kanda Azmeraw Mengistu
action filter_type
action find_reverse
entity marathon
relation position played on team / speciality
type common name
[{'concept': 'common name'}, 'position played on team / speciality', 'marathon']
SELECT DISTINCT ?i WHERE { ?i property:position_played_on_team_/_speciality resource:marathon . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q24081882 Q6787124 Q24062364
P21
Q290
USER
Which sexes do Miriam van Reijen, Mathias Kanda and Azmeraw Mengistu possess ?
(Q24081882,P21,c(Q290)) (Q6787124,P21,c(Q290)) (Q24062364,P21,c(Q290))
action union
action filter_type
action find
entity Q24081882
relation P21
type Q290
action filter_type
action find
entity Q6787124
relation P21
type Q290
action filter_type
action find
entity Q24062364
relation P21
type Q290
['Q24081882', 'P21', {'concept': 'Q290'}] ['Q6787124', 'P21', {'concept': 'Q290'}] ['Q24062364', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { { resource:Q24081882 property:P21 ?l . ?l rdf:type ontology:Q290 } UNION { resource:Q6787124 property:P21 ?l . ?l rdf:type ontology:Q290 } }
Miriam van Reijen Mathias Kanda Azmeraw Mengistu
action union
action filter_type
action find
entity Miriam van Reijen
relation gender
type sex
action filter_type
action find
entity Mathias Kanda
relation gender
type sex
action filter_type
action find
entity Azmeraw Mengistu
relation gender
type sex
['Miriam van Reijen', 'gender', {'concept': 'sex'}] ['Mathias Kanda', 'gender', {'concept': 'sex'}] ['Azmeraw Mengistu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { { resource:Miriam_van_Reijen property:gender ?l . ?l rdf:type ontology:sex } UNION { resource:Mathias_Kanda property:gender ?l . ?l rdf:type ontology:sex } }
[]
sex
Q6581072 Q6581097 Q6581097
SYSTEM
male for 2nd, 3rd, female for 1st
Q6581072 Q6581097 Q6581097
(Q24081882,P21,c(Q290)) (Q6787124,P21,c(Q290)) (Q24062364,P21,c(Q290))
action union
action filter_type
action find
entity Q24081882
relation P21
type Q290
action filter_type
action find
entity Q6787124
relation P21
type Q290
action filter_type
action find
entity Q24062364
relation P21
type Q290
[ANSWERS]
['Q24081882', 'P21', {'concept': 'Q290'}] ['Q6787124', 'P21', {'concept': 'Q290'}] ['Q24062364', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { { resource:Q24081882 property:P21 ?l . ?l rdf:type ontology:Q290 } UNION { resource:Q6787124 property:P21 ?l . ?l rdf:type ontology:Q290 } }
female male male
Miriam van Reijen , Mathias Kanda and Azmeraw Mengistu possess female, male and male
female male male
action union
action filter_type
action find
entity Miriam van Reijen
relation gender
type sex
action filter_type
action find
entity Mathias Kanda
relation gender
type sex
action filter_type
action find
entity Azmeraw Mengistu
relation gender
type sex
['Miriam van Reijen', 'gender', {'concept': 'sex'}] ['Mathias Kanda', 'gender', {'concept': 'sex'}] ['Azmeraw Mengistu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { { resource:Miriam_van_Reijen property:gender ?l . ?l rdf:type ontology:sex } UNION { resource:Mathias_Kanda property:gender ?l . ?l rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40244
P641
Q31629
USER
Which type of sport was marathon a part of ?
(Q40244,P641,c(Q31629))
action filter_type
action find
entity Q40244
relation P641
type Q31629
['Q40244', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q31629 . resource:Q40244 property:P641 ?l }
marathon
action filter_type
action find
entity marathon
relation sport
type type of sport
['marathon', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:type_of_sport . resource:marathon property:sport ?l }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q40244,P641,c(Q31629))
action filter_type
action find
entity Q40244
relation P641
type Q31629
[ANSWER] was marathon a part of
['Q40244', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q31629 . resource:Q40244 property:P641 ?l }
athletics
Athletics was marathon a part of
athletics
action filter_type
action find
entity marathon
relation sport
type type of sport
['marathon', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:type_of_sport . resource:marathon property:sport ?l }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P366
Q31629 Q811979 Q8205328
USER
Which types of sport are considered as the main functionality of approximately the same number of architectural structures and artefacts as that type of sport ?
(c(Q811979)|c(Q8205328),P366,c(Q31629))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q31629
type Q811979
action find_reverse_tuple_counts
relation P366
type Q31629
type Q8205328
action count
action filter_multi_types
action find_reverse
entity Q542
relation P366
type Q811979
type Q8205328
[[{'concept': 'Q811979'}, {'concept': 'Q8205328'}], 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ?j . VALUES ( ?j ) { ( ontology:Q811979 ) ( ontology:Q8205328 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P366 resource:Q542 . { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:Q811979 ) ( ontology:Q8205328 ) } } } } . FILTER ( ?z = ?p ) }
action approx
action union
action find_reverse_tuple_counts
relation use
type type of sport
type architectural structure
action find_reverse_tuple_counts
relation use
type type of sport
type artefact
action count
action filter_multi_types
action find_reverse
entity athletics
relation use
type architectural structure
type artefact
[[{'concept': 'architectural structure'}, {'concept': 'artefact'}], 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ?j . VALUES ( ?j ) { ( ontology:architectural_structure ) ( ontology:artefact ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:use resource:athletics . { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:architectural_structure ) ( ontology:artefact ) } } } } . FILTER ( ?z = ?p ) }
[]
type of sport architectural structure artefact
Q542 Q159354
SYSTEM
athletics, rowing
Q542 Q159354
(c(Q811979)|c(Q8205328),P366,c(Q31629))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q31629
type Q811979
action find_reverse_tuple_counts
relation P366
type Q31629
type Q8205328
action count
action filter_multi_types
action find_reverse
entity Q542
relation P366
type Q811979
type Q8205328
The [ANSWERS] are considered as the main functionality of approximately the same number of architectural structures and artefacts as that type of sport
[[{'concept': 'Q811979'}, {'concept': 'Q8205328'}], 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ?j . VALUES ( ?j ) { ( ontology:Q811979 ) ( ontology:Q8205328 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P366 resource:Q542 . { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:Q811979 ) ( ontology:Q8205328 ) } } } } . FILTER ( ?z = ?p ) }
athletics rowing
The athletics and rowing are considered as the main functionality of approximately the same number of architectural structures and artefacts as that type of sport
athletics rowing
action approx
action union
action find_reverse_tuple_counts
relation use
type type of sport
type architectural structure
action find_reverse_tuple_counts
relation use
type type of sport
type artefact
action count
action filter_multi_types
action find_reverse
entity athletics
relation use
type architectural structure
type artefact
[[{'concept': 'architectural structure'}, {'concept': 'artefact'}], 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ?j . VALUES ( ?j ) { ( ontology:architectural_structure ) ( ontology:artefact ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:use resource:athletics . { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:architectural_structure ) ( ontology:artefact ) } } } } . FILTER ( ?z = ?p ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1427
Q15617994 Q1048835 Q31629
USER
Which types of sport have their origin at max number of administrative territories or political territories ?
(c(Q31629),P1427,c(Q15617994)|c(Q1048835))
action argmax
action union
action find_tuple_counts
relation P1427
type Q31629
type Q15617994
action find_tuple_counts
relation P1427
type Q31629
type Q1048835
[{'concept': 'Q31629'}, 'P1427', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) ?v WHERE { { ?v property:P1427 ?j . ?v rdf:type ontology:Q31629 . ?j rdf:type ontology:Q15617994 } UNION { ?v rdf:type ontology:Q31629 . ?j rdf:type ontology:Q1048835 . ?v property:P1427 ?j } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?w WHERE { { ?w property:P1427 ?r . ?w rdf:type ontology:Q31629 . ?r rdf:type ontology:Q15617994 } UNION { ?w property:P1427 ?r . ?r rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q31629 } } GROUP BY ?w } . FILTER ( ?o = ?h ) }
action argmax
action union
action find_tuple_counts
relation start point
type type of sport
type designation for an administrative territorial entity
action find_tuple_counts
relation start point
type type of sport
type political territorial entity
[{'concept': 'type of sport'}, 'start point', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) ?v WHERE { { ?v property:start_point ?j . ?v rdf:type ontology:type_of_sport . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v rdf:type ontology:type_of_sport . ?j rdf:type ontology:political_territorial_entity . ?v property:start_point ?j } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?w WHERE { { ?w property:start_point ?r . ?w rdf:type ontology:type_of_sport . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w property:start_point ?r . ?r rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:type_of_sport } } GROUP BY ?w } . FILTER ( ?o = ?h ) }
[]
designation for an administrative territorial entity political territorial entity type of sport
Q21996963 Q21155371 Q22808744
SYSTEM
2016 Vuelta a España, Stage 1, 2016 Tour de France, Stage 9, 2016 Vuelta a Andalucía, Stage 3
Q23709834 Q21074489 Q26793331 Q20680826 Q23010417 Q21996963 Q22921514 Q22921512 Q22921513 Q22570169 Q26209094 Q23709814 Q20680830 Q23709788 Q25314466 Q20680808 Q21996991 Q23010433 Q19896424 Q21074504 Q21074506 Q21074501 Q21074503 Q21074502 Q26209155 Q21996978 Q21996974 Q21996973 Q21996971 Q21155371 Q23010362 Q23010367 Q23010369 Q20680827 Q20680823 Q20680820 Q22808743 Q22808742 Q22808746 Q22808745 Q22808744 Q19947738 Q21074499 Q21074498 Q21074493 Q21074492 Q21074491 Q21074490 Q21074497 Q21074495 Q21074494 Q21996982 Q21996983 Q21996981 Q23854944 Q23854941 Q23854940 Q21996988 Q22921507 Q22670413 Q22921508 Q22670410 Q21996965 Q21996967 Q21996968 Q21996969 Q20680813 Q20680811 Q20680810 Q23010376 Q20680816 Q20680815 Q23854945
(c(Q31629),P1427,c(Q15617994)|c(Q1048835))
action argmax
action union
action find_tuple_counts
relation P1427
type Q31629
type Q15617994
action find_tuple_counts
relation P1427
type Q31629
type Q1048835
[ANSWERS]
[{'concept': 'Q31629'}, 'P1427', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) ?v WHERE { { ?v property:P1427 ?j . ?v rdf:type ontology:Q31629 . ?j rdf:type ontology:Q15617994 } UNION { ?v rdf:type ontology:Q31629 . ?j rdf:type ontology:Q1048835 . ?v property:P1427 ?j } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?w WHERE { { ?w property:P1427 ?r . ?w rdf:type ontology:Q31629 . ?r rdf:type ontology:Q15617994 } UNION { ?w property:P1427 ?r . ?r rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q31629 } } GROUP BY ?w } . FILTER ( ?o = ?h ) }
2016 Tour of the Basque Country, Stage 5 2016 Giro d'Italia, Stage 4 2016 Tour of Britain, Stage 4 2015 Vuelta a España, Stage 18 2016 Tirreno–Adriatico, Stage 6 2016 Vuelta a España, Stage 1 2016 Volta a Catalunya, Stage 6 2016 Volta a Catalunya, Stage 4 2016 Volta a Catalunya, Stage 5 2016 Volta a la Comunitat Valenciana, Stage 1 2016 Vuelta a Burgos, Stage 1 2016 Tour of the Basque Country, Stage 2 2015 Vuelta a España, Stage 20 2016 Tour of the Basque Country, Stage 1 2nd stage of the 2016 Tour of Austria 2015 Vuelta a España, Stage 2 2016 Vuelta a España, Stage 21 2016 Tirreno–Adriatico, Stage 7 2015 Giro d'Italia, Stage 1 2016 Giro d'Italia, Stage 19 2016 Giro d'Italia, Stage 21 2016 Giro d'Italia, Stage 16 2016 Giro d'Italia, Stage 18 2016 Giro d'Italia, Stage 17 2016 Vuelta a Burgos, Stage 5 2016 Vuelta a España, Stage 12 2016 Vuelta a España, Stage 9 2016 Vuelta a España, Stage 8 2016 Vuelta a España, Stage 7 2016 Tour de France, Stage 9 2016 Tirreno–Adriatico, Stage 2 2016 Tirreno–Adriatico, Stage 3 2016 Tirreno–Adriatico, Stage 4 2015 Vuelta a España, Stage 19 2015 Vuelta a España, Stage 15 2015 Vuelta a España, Stage 13 2016 Vuelta a Andalucía, Stage 2 2016 Vuelta a Andalucía, Stage 1 2016 Vuelta a Andalucía, Stage 5 2016 Vuelta a Andalucía, Stage 4 2016 Vuelta a Andalucía, Stage 3 2015 Giro d'Italia, Stage 2 2016 Giro d'Italia, Stage 14 2016 Giro d'Italia, Stage 13 2016 Giro d'Italia, Stage 8 2016 Giro d'Italia, Stage 7 2016 Giro d'Italia, Stage 6 2016 Giro d'Italia, Stage 5 2016 Giro d'Italia, Stage 12 2016 Giro d'Italia, Stage 10 2016 Giro d'Italia, Stage 9 2016 Vuelta a España, Stage 15 2016 Vuelta a España, Stage 16 2016 Vuelta a España, Stage 14 2016 Giro del Trentino, Stage 3 2016 Giro del Trentino, Stage 2 2016 Giro del Trentino, Stage 1 2016 Vuelta a España, Stage 19 2016 Volta a Catalunya, Stage 1 2016 La Méditerranéenne, Stage 4 2016 Volta a Catalunya, Stage 2 2016 La Méditerranéenne, Stage 1 2016 Vuelta a España, Stage 3 2016 Vuelta a España, Stage 4 2016 Vuelta a España, Stage 5 2016 Vuelta a España, Stage 6 2015 Vuelta a España, Stage 7 2015 Vuelta a España, Stage 5 2015 Vuelta a España, Stage 4 2016 Tirreno–Adriatico, Stage 5 2015 Vuelta a España, Stage 9 2015 Vuelta a España, Stage 8 2016 Giro del Trentino, Stage 4
2016 Vuelta a España, Stage 1, 2016 Tour de France, Stage 9 and 2016 Vuelta a Andalucía, Stage 3 have their origin at max number of administrative territories or political territories
2016 Vuelta a España, Stage 1 2016 Tour de France, Stage 9 2016 Vuelta a Andalucía, Stage 3
action argmax
action union
action find_tuple_counts
relation start point
type type of sport
type designation for an administrative territorial entity
action find_tuple_counts
relation start point
type type of sport
type political territorial entity
[{'concept': 'type of sport'}, 'start point', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) ?v WHERE { { ?v property:start_point ?j . ?v rdf:type ontology:type_of_sport . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v rdf:type ontology:type_of_sport . ?j rdf:type ontology:political_territorial_entity . ?v property:start_point ?j } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?w WHERE { { ?w property:start_point ?r . ?w rdf:type ontology:type_of_sport . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w property:start_point ?r . ?r rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:type_of_sport } } GROUP BY ?w } . FILTER ( ?o = ?h ) }
[]