Simple Question (Direct)
Simple Question
Q4714658
P19
Q56061
USER
Where was Alejandro Rossi born ?
(Q4714658,P19,c(Q56061))
action filter_type
action find
entity Q4714658
relation P19
type Q56061
['Q4714658', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q4714658 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Alejandro Rossi
action filter_type
action find
entity Alejandro Rossi
relation place of birth
type administrative territorial entity
['Alejandro Rossi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Alejandro_Rossi property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2044
SYSTEM
Florence
Q2044
(Q4714658,P19,c(Q56061))
action filter_type
action find
entity Q4714658
relation P19
type Q56061
Alejandro Rossi was born in [ANSWER]
['Q4714658', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q4714658 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Florence
Alejandro Rossi was born in Florence
Florence
action filter_type
action find
entity Alejandro Rossi
relation place of birth
type administrative territorial entity
['Alejandro Rossi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Alejandro_Rossi property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4714658
P734
Q82799
USER
Who is associated with Alejandro Rossi ?
(Q4714658,P734,c(Q82799))
action filter_type
action find
entity Q4714658
relation P734
type Q82799
['Q4714658', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q82799 . resource:Q4714658 property:P734 ?y }
Alejandro Rossi
action filter_type
action find
entity Alejandro Rossi
relation family name
type name
['Alejandro Rossi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:name . resource:Alejandro_Rossi property:family_name ?y }
[]
name
Q8140765
SYSTEM
Rossi
Q8140765
(Q4714658,P734,c(Q82799))
action filter_type
action find
entity Q4714658
relation P734
type Q82799
[ANSWER] is associated with Alejandro [ANSWER]
['Q4714658', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q82799 . resource:Q4714658 property:P734 ?y }
Rossi
Rossi is associated with Alejandro Rossi
Rossi
action filter_type
action find
entity Alejandro Rossi
relation family name
type name
['Alejandro Rossi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:name . resource:Alejandro_Rossi property:family_name ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4714658
P106
Q151885
USER
What is the job of that person ?
(Q8140765,P106,c(Q151885))
action filter_type
action find
entity Q4714658
relation P106
type Q151885
['Q8140765', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?p WHERE { resource:Q4714658 property:P106 ?p . ?p rdf:type ontology:Q151885 }
Alejandro Rossi
action filter_type
action find
entity Alejandro Rossi
relation occupation
type concept
['Rossi', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?p WHERE { resource:Alejandro_Rossi property:occupation ?p . ?p rdf:type ontology:concept }
[]
concept
Q4964182
SYSTEM
philosopher
Q4964182
(Q8140765,P106,c(Q151885))
action filter_type
action find
entity Q4714658
relation P106
type Q151885
The job of that person is a [ANSWER]
['Q8140765', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?p WHERE { resource:Q4714658 property:P106 ?p . ?p rdf:type ontology:Q151885 }
philosopher
The job of that person is a philosopher
philosopher
action filter_type
action find
entity Alejandro Rossi
relation occupation
type concept
['Rossi', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?p WHERE { resource:Alejandro_Rossi property:occupation ?p . ?p rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5649669 Q4714658
P106
Q151885
USER
Or Hans-Peter Schulze?
OR((Q4714658,P106,c(Q151885)), (Q5649669,P106,c(Q151885)))
action filter_type
action union
action find
entity Q4714658
relation P106
action find
entity Q5649669
relation P106
type Q151885
{'OR': [['Q4714658', 'P106', {'concept': 'Q151885'}], ['Q5649669', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q151885 . { { resource:Q5649669 property:P106 ?b } UNION { resource:Q4714658 property:P106 ?b } } }
Hans-Peter Schulze Alejandro Rossi
action filter_type
action union
action find
entity Alejandro Rossi
relation occupation
action find
entity Hans-Peter Schulze
relation occupation
type concept
{'OR': [['Alejandro Rossi', 'occupation', {'concept': 'concept'}], ['Hans-Peter Schulze', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:concept . { { resource:Hans-Peter_Schulze property:occupation ?b } UNION { resource:Alejandro_Rossi property:occupation ?b } } }
[]
concept
Q13381863 Q4964182
SYSTEM
fencer, philosopher
Q13381863 Q4964182
OR((Q4714658,P106,c(Q151885)), (Q5649669,P106,c(Q151885)))
action filter_type
action union
action find
entity Q4714658
relation P106
action find
entity Q5649669
relation P106
type Q151885
[ANSWERS]
{'OR': [['Q4714658', 'P106', {'concept': 'Q151885'}], ['Q5649669', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q151885 . { { resource:Q5649669 property:P106 ?b } UNION { resource:Q4714658 property:P106 ?b } } }
fencer philosopher
fencer philosopher
action filter_type
action union
action find
entity Alejandro Rossi
relation occupation
action find
entity Hans-Peter Schulze
relation occupation
type concept
{'OR': [['Alejandro Rossi', 'occupation', {'concept': 'concept'}], ['Hans-Peter Schulze', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:concept . { { resource:Hans-Peter_Schulze property:occupation ?b } UNION { resource:Alejandro_Rossi property:occupation ?b } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P417
Q502895
USER
How many people are the names of the patron saint of that concept ?
(Q4964182,P417,c(Q502895))
['Q4964182', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q4964182 property:Q28914 ?z . ?z rdf:type ontology:Q502895 }
['philosopher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:philosopher property:patron_saint ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q4964182
SYSTEM
Did you mean philosopher ?
(Q13381863,P417,c(Q502895)) (Q4964182,P417,c(Q502895))
[ANSWER]
['Q13381863', 'P417', {'concept': 'Q502895'}] ['Q4964182', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q4964182 property:Q28914 ?z . ?z rdf:type ontology:Q502895 }
Did you mean philosopher ?
philosopher
['fencer', 'patron saint', {'concept': 'common name'}] ['philosopher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:philosopher property:patron_saint ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q4964182,P417,c(Q502895))
['Q4964182', 'P417', {'concept': 'Q502895'}]
['philosopher', 'patron saint', {'concept': 'common name'}]
[]
SYSTEM
4
Q179718 Q9438 Q185117 Q60059
(Q4964182,P417,c(Q502895))
[ANSWER]
['Q4964182', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q4964182 property:Q28914 ?z . ?z rdf:type ontology:Q502895 }
Catherine of Alexandria Thomas Aquinas Justin Martyr Albertus Magnus
4
['philosopher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:philosopher property:patron_saint ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6111289
P54
Q12973014
USER
Which sports team is Māris Bičevskis a member of ?
(Q6111289,P54,c(Q12973014))
action filter_type
action find
entity Q6111289
relation P54
type Q12973014
['Q6111289', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?a WHERE { resource:Q6111289 property:P54 ?a . ?a rdf:type ontology:Q12973014 }
Māris Bičevskis
action filter_type
action find
entity Māris Bičevskis
relation member of sports team
type sports team
['Māris Bičevskis', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?a WHERE { resource:Māris_Bičevskis property:member_of_sports_team ?a . ?a rdf:type ontology:sports_team }
[]
sports team
Q261142
SYSTEM
Dinamo Riga
Q261142
(Q6111289,P54,c(Q12973014))
action filter_type
action find
entity Q6111289
relation P54
type Q12973014
[ANSWER] is Māris Bičevskis a member of
['Q6111289', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?a WHERE { resource:Q6111289 property:P54 ?a . ?a rdf:type ontology:Q12973014 }
Dinamo Riga
Dinamo Riga is Māris Bičevskis a member of
Dinamo Riga
action filter_type
action find
entity Māris Bičevskis
relation member of sports team
type sports team
['Māris Bičevskis', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?a WHERE { resource:Māris_Bičevskis property:member_of_sports_team ?a . ?a rdf:type ontology:sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3193209
Q12973014
USER
And also tell me about Karim Ouattara?
(Q3193209,P54,c(Q12973014))
action filter_type
action find
entity Q3193209
relation P54
type Q12973014
['Q3193209', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { resource:Q3193209 property:P54 ?x . ?x rdf:type ontology:Q12973014 }
Karim Ouattara
action filter_type
action find
entity Karim Ouattara
relation member of sports team
type sports team
['Karim Ouattara', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { resource:Karim_Ouattara property:member_of_sports_team ?x . ?x rdf:type ontology:sports_team }
[]
sports team
Q461934
SYSTEM
Stade Clermontois BA
Q461934
(Q3193209,P54,c(Q12973014))
action filter_type
action find
entity Q3193209
relation P54
type Q12973014
[ANSWER]
['Q3193209', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { resource:Q3193209 property:P54 ?x . ?x rdf:type ontology:Q12973014 }
Stade Clermontois BA
Stade Clermontois BA
action filter_type
action find
entity Karim Ouattara
relation member of sports team
type sports team
['Karim Ouattara', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { resource:Karim_Ouattara property:member_of_sports_team ?x . ?x rdf:type ontology:sports_team }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P641
Q31629 Q12973014
USER
Which types of sport were min number of sports teams a part of ?
(c(Q12973014),P641,Q5300110)
action argmin
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
[{'concept': 'Q12973014'}, 'P641', 'Q5300110']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P641 ?i . ?i rdf:type ontology:Q31629 . ?k rdf:type ontology:Q12973014 } GROUP BY ?i } . FILTER ( ?o = ?a ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?a ) { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:P641 ?v . ?v rdf:type ontology:Q31629 . ?q rdf:type ontology:Q12973014 } GROUP BY ?v } } }
action argmin
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
[{'concept': 'sports team'}, 'sport', 'double trap']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:sport ?i . ?i rdf:type ontology:type_of_sport . ?k rdf:type ontology:sports_team } GROUP BY ?i } . FILTER ( ?o = ?a ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?a ) { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:sport ?v . ?v rdf:type ontology:type_of_sport . ?q rdf:type ontology:sports_team } GROUP BY ?v } } }
[]
type of sport sports team
Q165704 Q40244 Q271008
SYSTEM
high jump, marathon, 800 metres
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q211155 Q191691 Q3817372 Q166788 Q326827 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q718 Q1209037 Q1707432 Q352749 Q1075998 Q1141850 Q774176 Q159354 Q1629556 Q40244 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q11015 Q428242 Q162883 Q5300110
(c(Q12973014),P641,Q5300110)
action argmin
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
[ANSWERS] were min number of sports teams a part of
[{'concept': 'Q12973014'}, 'P641', 'Q5300110']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P641 ?i . ?i rdf:type ontology:Q31629 . ?k rdf:type ontology:Q12973014 } GROUP BY ?i } . FILTER ( ?o = ?a ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?a ) { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:P641 ?v . ?v rdf:type ontology:Q31629 . ?q rdf:type ontology:Q12973014 } GROUP BY ?v } } }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing triathlon airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking draughts 200 metres 1500 metres beach run biathlon artistic gymnastics snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres Olympic skeet chess Modern competitive archery roller skating sprint ski mountaineering canoe racing Keirin rowing 1000 metres marathon ten-pin bowling Mixed Doubles mountain biking cyclo-cross canoe camping trampolining para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism snooker ski-orienteering free climbing double trap
High jump, marathon and 800 metres were min number of sports teams a part of
high jump marathon 800 metres
action argmin
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
[{'concept': 'sports team'}, 'sport', 'double trap']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:sport ?i . ?i rdf:type ontology:type_of_sport . ?k rdf:type ontology:sports_team } GROUP BY ?i } . FILTER ( ?o = ?a ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?a ) { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?m ) WHERE { ?q property:sport ?v . ?v rdf:type ontology:type_of_sport . ?q rdf:type ontology:sports_team } GROUP BY ?v } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P641
Q1656682 Q18608583
USER
How many events or recurring sporting events are involved in playing that type of sport ?
(c(Q1656682),P641,Q40244) (c(Q18608583),P641,Q40244) (c(Q1656682),P641,Q165704) (c(Q18608583),P641,Q165704) (c(Q1656682),P641,Q40244) (c(Q18608583),P641,Q40244) (c(Q1656682),P641,Q271008) (c(Q18608583),P641,Q271008)
[{'concept': 'Q1656682'}, 'P641', 'Q40244'] [{'concept': 'Q18608583'}, 'P641', 'Q40244'] [{'concept': 'Q1656682'}, 'P641', 'Q165704'] [{'concept': 'Q18608583'}, 'P641', 'Q165704'] [{'concept': 'Q1656682'}, 'P641', 'Q40244'] [{'concept': 'Q18608583'}, 'P641', 'Q40244'] [{'concept': 'Q1656682'}, 'P641', 'Q271008'] [{'concept': 'Q18608583'}, 'P641', 'Q271008']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1567764 resource:Q40244 } UNION { ?y property:Q1567764 resource:Q40244 } UNION { ?z property:Q1567764 resource:Q165704 } UNION { ?y property:Q1567764 resource:Q165704 } UNION { ?z property:Q1567764 resource:Q40244 } UNION { ?y property:Q1567764 resource:Q40244 } UNION { ?z property:Q1567764 resource:Q271008 } UNION { ?y property:Q1567764 resource:Q271008 } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q18608583 }
[{'concept': 'event'}, 'sport', 'marathon'] [{'concept': 'recurring sporting event'}, 'sport', 'marathon'] [{'concept': 'event'}, 'sport', 'high jump'] [{'concept': 'recurring sporting event'}, 'sport', 'high jump'] [{'concept': 'event'}, 'sport', 'marathon'] [{'concept': 'recurring sporting event'}, 'sport', 'marathon'] [{'concept': 'event'}, 'sport', '800 metres'] [{'concept': 'recurring sporting event'}, 'sport', '800 metres']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sport resource:marathon } UNION { ?y property:sport resource:marathon } UNION { ?z property:sport resource:high_jump } UNION { ?y property:sport resource:high_jump } UNION { ?z property:sport resource:marathon } UNION { ?y property:sport resource:marathon } UNION { ?z property:sport resource:800_metres } UNION { ?y property:sport resource:800_metres } } . ?z rdf:type ontology:event . ?y rdf:type ontology:recurring_sporting_event }
[]
event recurring sporting event
Quantitative|Count|Mult. entity type|Clarification
Q40244
SYSTEM
Did you mean marathon ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1567764 resource:Q40244 } UNION { ?y property:Q1567764 resource:Q40244 } UNION { ?z property:Q1567764 resource:Q165704 } UNION { ?y property:Q1567764 resource:Q165704 } UNION { ?z property:Q1567764 resource:Q40244 } UNION { ?y property:Q1567764 resource:Q40244 } UNION { ?z property:Q1567764 resource:Q271008 } UNION { ?y property:Q1567764 resource:Q271008 } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q18608583 }
Did you mean marathon ?
marathon
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sport resource:marathon } UNION { ?y property:sport resource:marathon } UNION { ?z property:sport resource:high_jump } UNION { ?y property:sport resource:high_jump } UNION { ?z property:sport resource:marathon } UNION { ?y property:sport resource:marathon } UNION { ?z property:sport resource:800_metres } UNION { ?y property:sport resource:800_metres } } . ?z rdf:type ontology:event . ?y rdf:type ontology:recurring_sporting_event }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q1656682),P641,Q40244) (c(Q18608583),P641,Q40244) (c(Q1656682),P641,Q165704) (c(Q18608583),P641,Q165704) (c(Q1656682),P641,Q40244) (c(Q18608583),P641,Q40244) (c(Q1656682),P641,Q271008) (c(Q18608583),P641,Q271008)
[{'concept': 'Q1656682'}, 'P641', 'Q40244'] [{'concept': 'Q18608583'}, 'P641', 'Q40244'] [{'concept': 'Q1656682'}, 'P641', 'Q165704'] [{'concept': 'Q18608583'}, 'P641', 'Q165704'] [{'concept': 'Q1656682'}, 'P641', 'Q40244'] [{'concept': 'Q18608583'}, 'P641', 'Q40244'] [{'concept': 'Q1656682'}, 'P641', 'Q271008'] [{'concept': 'Q18608583'}, 'P641', 'Q271008']
[{'concept': 'event'}, 'sport', 'marathon'] [{'concept': 'recurring sporting event'}, 'sport', 'marathon'] [{'concept': 'event'}, 'sport', 'high jump'] [{'concept': 'recurring sporting event'}, 'sport', 'high jump'] [{'concept': 'event'}, 'sport', 'marathon'] [{'concept': 'recurring sporting event'}, 'sport', 'marathon'] [{'concept': 'event'}, 'sport', '800 metres'] [{'concept': 'recurring sporting event'}, 'sport', '800 metres']
[]
SYSTEM
130
Q2372439 Q2392930 Q2166431 Q1955047 Q2321369 Q13442675 Q21283158 Q13442676 Q21283152 Q21283150 Q21283151 Q13442679 Q21283157 Q21283154 Q21283155 Q2527785 Q4458951 Q1903466 Q21103858 Q4432381 Q21103850 Q2718381 Q21283169 Q21283168 Q21283167 Q21283166 Q21283164 Q21283163 Q21283162 Q21283161 Q21283160 Q2296219 Q13442677 Q2369568 Q2930507 Q2735855 Q13813755 Q21103724 Q2184159 Q650443 Q21283170 Q21283171 Q1947450 Q2123141 Q3409829 Q2111258 Q1867402 Q21103870 Q2150816 Q2213250 Q13813784 Q3127866 Q21287639 Q21287638 Q2490159 Q21287637 Q21287636 Q21287635 Q2990598 Q21103984 Q2022361 Q2361057 Q16241854 Q15879078 Q2251100 Q14640990 Q2125957 Q13813739 Q13813732 Q2739321 Q13813790 Q2349355 Q2744944 Q2529273 Q21104074 Q21104077 Q21104070 Q1945701 Q1849722 Q13813761 Q2718068 Q2488853 Q2189634 Q3133566 Q13813768 Q2180567 Q2132917 Q1859981 Q2199441 Q1839332 Q2034591 Q21287651 Q21287650 Q21287653 Q4813305 Q1911998 Q2147900 Q1816098 Q2099238 Q1949943 Q2394457 Q13813774 Q2137085 Q2546300 Q2656750 Q19838128 Q2137762 Q19838122 Q2387355 Q21287648 Q21287649 Q2199000 Q13813802 Q21287642 Q1956828 Q21287640 Q21287641 Q21287646 Q21287647 Q21287644 Q21287645 Q13442678 Q1906045 Q13813747 Q1981135 Q2201484 Q21222722 Q11103189 Q2336065 Q2193707
(c(Q1656682),P641,Q40244) (c(Q18608583),P641,Q40244) (c(Q1656682),P641,Q165704) (c(Q18608583),P641,Q165704) (c(Q1656682),P641,Q40244) (c(Q18608583),P641,Q40244) (c(Q1656682),P641,Q271008) (c(Q18608583),P641,Q271008)
[ANSWER]
[{'concept': 'Q1656682'}, 'P641', 'Q40244'] [{'concept': 'Q18608583'}, 'P641', 'Q40244'] [{'concept': 'Q1656682'}, 'P641', 'Q165704'] [{'concept': 'Q18608583'}, 'P641', 'Q165704'] [{'concept': 'Q1656682'}, 'P641', 'Q40244'] [{'concept': 'Q18608583'}, 'P641', 'Q40244'] [{'concept': 'Q1656682'}, 'P641', 'Q271008'] [{'concept': 'Q18608583'}, 'P641', 'Q271008']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1567764 resource:Q40244 } UNION { ?y property:Q1567764 resource:Q40244 } UNION { ?z property:Q1567764 resource:Q165704 } UNION { ?y property:Q1567764 resource:Q165704 } UNION { ?z property:Q1567764 resource:Q40244 } UNION { ?y property:Q1567764 resource:Q40244 } UNION { ?z property:Q1567764 resource:Q271008 } UNION { ?y property:Q1567764 resource:Q271008 } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q18608583 }
1962 Boston Marathon 1964 Boston Marathon 2006 Boston Marathon 1951 Boston Marathon 1958 Boston Marathon 1973 Boston Marathon 1991 Madrid Marathon 1975 Boston Marathon 1987 Madrid Marathon 1985 Madrid Marathon 1986 Madrid Marathon 2001 Boston Marathon 1990 Madrid Marathon 1988 Madrid Marathon 1989 Madrid Marathon 1965 Boston Marathon 1938 Boston Marathon 1974 Boston Marathon 1995 Madrid Marathon 1986 Boston Marathon 1994 Madrid Marathon 1976 Boston Marathon 2003 Madrid Marathon 2002 Madrid Marathon 2001 Madrid Marathon 2000 Madrid Marathon 1999 Madrid Marathon 1998 Madrid Marathon 1997 Madrid Marathon 1993 Madrid Marathon 1992 Madrid Marathon 1984 Boston Marathon 1987 Boston Marathon 2011 Boston Marathon 1990 Boston Marathon 2004 Boston Marathon 2011 Houston Marathon 2015 Madrid Marathon 2007 Boston Marathon 1970 Boston Marathon 2004 Madrid Marathon 2005 Madrid Marathon 1959 Boston Marathon 1948 Boston Marathon 2007 Madrid Marathon 1969 Boston Marathon 1934 Boston Marathon 1996 Madrid Marathon 1963 Boston Marathon 1950 Boston Marathon 2009 Madrid Marathon 2008 Houston Marathon 1983 Houston Marathon 1982 Houston Marathon 1968 Boston Marathon 1981 Houston Marathon 1980 Houston Marathon 1979 Houston Marathon 1983 Boston Marathon 2014 Houston Marathon 1952 Boston Marathon 2010 Houston Marathon 2014 Boston Marathon 2013 Houston Marathon 1996 Boston Marathon 2012 Madrid Marathon 1967 Boston Marathon 2007 Houston Marathon 2004 Houston Marathon 1947 Boston Marathon 2010 Madrid Marathon 1931 Boston Marathon 1995 Boston Marathon 2002 Boston Marathon 1999 Houston Marathon 2000 Houston Marathon 1998 Houston Marathon 1933 Boston Marathon 1989 Boston Marathon 2012 Houston Marathon 1997 Boston Marathon 1978 Boston Marathon 1961 Boston Marathon 1980 Boston Marathon 2006 Madrid Marathon 1966 Boston Marathon 2005 Boston Marathon 1999 Boston Marathon 2011 Madrid Marathon 1988 Boston Marathon 1971 Boston Marathon 1997 Houston Marathon 1996 Houston Marathon 2015 Houston Marathon 1979 Boston Marathon 1949 Boston Marathon 1985 Boston Marathon 1972 Boston Marathon 1993 Boston Marathon 2008 Boston Marathon 1977 Boston Marathon 2008 Madrid Marathon 1981 Boston Marathon 1992 Boston Marathon 1998 Boston Marathon 2014 Madrid Marathon 1960 Boston Marathon 2014 Eindhoven Marathon 1946 Boston Marathon 1994 Houston Marathon 1995 Houston Marathon 1982 Boston Marathon 2013 Madrid Marathon 1986 Houston Marathon 1991 Boston Marathon 1984 Houston Marathon 1985 Houston Marathon 1992 Houston Marathon 1993 Houston Marathon 1987 Houston Marathon 1991 Houston Marathon 2000 Boston Marathon 2012 Boston Marathon 2009 Houston Marathon 1955 Boston Marathon 1953 Boston Marathon 2015 Eindhoven Marathon 2013 Boston Marathon 1954 Boston Marathon 1994 Boston Marathon
130
[{'concept': 'event'}, 'sport', 'marathon'] [{'concept': 'recurring sporting event'}, 'sport', 'marathon'] [{'concept': 'event'}, 'sport', 'high jump'] [{'concept': 'recurring sporting event'}, 'sport', 'high jump'] [{'concept': 'event'}, 'sport', 'marathon'] [{'concept': 'recurring sporting event'}, 'sport', 'marathon'] [{'concept': 'event'}, 'sport', '800 metres'] [{'concept': 'recurring sporting event'}, 'sport', '800 metres']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sport resource:marathon } UNION { ?y property:sport resource:marathon } UNION { ?z property:sport resource:high_jump } UNION { ?y property:sport resource:high_jump } UNION { ?z property:sport resource:marathon } UNION { ?y property:sport resource:marathon } UNION { ?z property:sport resource:800_metres } UNION { ?y property:sport resource:800_metres } } . ?z rdf:type ontology:event . ?y rdf:type ontology:recurring_sporting_event }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q23660995
P1444
Q56061 Q486972 Q31629
USER
How many types of sport finish the journey at around the same number of administrative territories or human settlements as 2016 Three Days of De Panne, Stage 3b ?
(c(Q31629),P1444,c(Q56061)|c(Q486972))
action count
action approx
action union
action find_tuple_counts
relation P1444
type Q31629
type Q56061
action find_tuple_counts
relation P1444
type Q31629
type Q486972
action count
action filter_multi_types
action find
entity Q23660995
relation P1444
type Q56061
type Q486972
[{'concept': 'Q31629'}, 'P1444', [{'concept': 'Q56061'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?p WHERE { ?o rdf:type ?g . VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q23660995 property:P1444 ?r . { { ?r rdf:type ontology:Q56061 } UNION { ?r rdf:type ontology:Q486972 } } } } . FILTER ( ?x = ?b ) }
2016 Three Days of De Panne, Stage 3b
action count
action approx
action union
action find_tuple_counts
relation destination point
type type of sport
type administrative territorial entity
action find_tuple_counts
relation destination point
type type of sport
type human settlement
action count
action filter_multi_types
action find
entity 2016 Three Days of De Panne, Stage 3b
relation destination point
type administrative territorial entity
type human settlement
[{'concept': 'type of sport'}, 'destination point', [{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?p WHERE { ?o rdf:type ?g . VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:2016_Three_Days_of_De_Panne,_Stage_3b property:destination_point ?r . { { ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r rdf:type ontology:human_settlement } } } } . FILTER ( ?x = ?b ) }
[]
administrative territorial entity human settlement type of sport
SYSTEM
273
Q17747909 Q23709834 Q19946556 Q19946559 Q2807503 Q23660995 Q22582739 Q22582738 Q22340122 Q20738918 Q21074489 Q21074485 Q24070597 Q19944928 Q26793331 Q26846397 Q24070577 Q20680826 Q22344380 Q23010417 Q19392891 Q19392890 Q19920830 Q19920831 Q21996963 Q22811879 Q22811877 Q22811876 Q22772361 Q22772360 Q23000035 Q23000036 Q23000037 Q23000038 Q20746188 Q21755419 Q21755418 Q21755417 Q21755416 Q21571740 Q24070584 Q23660933 Q22677365 Q22677364 Q22677361 Q21768448 Q21768449 Q21768445 Q21768446 Q21768447 Q19946557 Q23535605 Q23535601 Q22569464 Q26209139 Q19946577 Q19946573 Q19946578 Q22921514 Q22921515 Q24238207 Q24238206 Q22921510 Q22921512 Q22921513 Q24238209 Q24238208 Q21155285 Q22344375 Q21155402 Q21155400 Q21155406 Q21155404 Q21155405 Q22812469 Q22812468 Q22570169 Q23535586 Q23535582 Q23001607 Q23001608 Q23001609 Q23660967 Q22340119 Q20738925 Q20738921 Q26209094 Q19946534 Q23498320 Q21155192 Q21888056 Q22783207 Q22783202 Q23709814 Q19392888 Q22132651 Q23498317 Q23498318 Q22281259 Q20680830 Q21964247 Q26885344 Q19951568 Q17747711 Q23895113 Q23709788 Q23895114 Q23895117 Q21155398 Q21155399 Q21155397 Q21155395 Q26885403 Q26885401 Q20680808 Q23924514 Q19946560 Q19946561 Q19946563 Q19946564 Q19946565 Q24262172 Q22303601 Q22344367 Q23010433 Q23498321 Q22281260 Q23498323 Q23498322 Q23498325 Q22570172 Q23535590 Q23535594 Q23535597 Q23045738 Q23045739 Q21883988 Q24265079 Q19896424 Q22350620 Q22350621 Q22350625 Q23045740 Q21964256 Q21964255 Q21964254 Q21964252 Q21964250 Q26883403 Q21074505 Q21074504 Q21074501 Q21074500 Q21074503 Q21074502 Q26209155 Q21996979 Q21996977 Q19946558 Q21996975 Q21996974 Q21996973 Q21996971 Q21155371 Q26793336 Q23010362 Q23010367 Q23010369 Q20680824 Q20680823 Q20680820 Q20680821 Q21571738 Q21571739 Q21571736 Q21571737 Q22038844 Q22344357 Q22808746 Q22808745 Q22808744 Q23709829 Q26722636 Q23895112 Q23895115 Q22677342 Q22677341 Q22677340 Q21876100 Q26897389 Q22569482 Q22340033 Q22350612 Q20973564 Q20973568 Q21074498 Q21074493 Q21074492 Q21074491 Q21074490 Q21074497 Q21074496 Q21074495 Q21074494 Q20670201 Q20670202 Q20670205 Q24070603 Q21996985 Q21996982 Q21996983 Q21996981 Q26846386 Q26846380 Q21155349 Q23854944 Q23854941 Q22570083 Q21155343 Q21155346 Q19920829 Q22783198 Q22570101 Q21996988 Q21883990 Q21883991 Q21883992 Q21996989 Q17747832 Q26883441 Q19951541 Q21755420 Q22921507 Q23660948 Q22569499 Q17747942 Q22670412 Q22670413 Q17747499 Q22670411 Q16831772 Q26722640 Q22681040 Q22921508 Q20823513 Q20823512 Q20823511 Q20823510 Q21964246 Q20823514 Q21964249 Q21768451 Q21768450 Q26209147 Q22670410 Q22582742 Q22582740 Q22582741 Q19059744 Q21996964 Q21996965 Q21996967 Q21996969 Q20680813 Q20680812 Q20680811 Q20680810 Q23010376 Q20680816 Q20680818 Q22772358 Q23854945 Q22811880
(c(Q31629),P1444,c(Q56061)|c(Q486972))
action count
action approx
action union
action find_tuple_counts
relation P1444
type Q31629
type Q56061
action find_tuple_counts
relation P1444
type Q31629
type Q486972
action count
action filter_multi_types
action find
entity Q23660995
relation P1444
type Q56061
type Q486972
[ANSWER]
[{'concept': 'Q31629'}, 'P1444', [{'concept': 'Q56061'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?p WHERE { ?o rdf:type ?g . VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q23660995 property:P1444 ?r . { { ?r rdf:type ontology:Q56061 } UNION { ?r rdf:type ontology:Q486972 } } } } . FILTER ( ?x = ?b ) }
2014 Tour of Norway, Stage 4 2016 Tour of the Basque Country, Stage 5 2015 Tour de France, Stage 16 2015 Tour de France, Stage 13 1995 Tour de France, Stage 12 2016 Three Days of De Panne, Stage 3b 2016 Étoile de Bessèges, Stage 2 2016 Étoile de Bessèges, Stage 1 2016 Arctic Race of Norway, Stage 4 2016 Tour de France, Stage 1 2016 Giro d'Italia, Stage 4 2016 Giro d'Italia, Stage 1 2016 Tour of California, Stage 4 2015 Tour de France, Stage 21 2016 Tour of Britain, Stage 4 7. Etappe der Eneco Tour 2016 2016 Tour of California, Stage 1 2015 Vuelta a España, Stage 18 2016 Ladies Tour of Qatar, Stage 4 2016 Tirreno–Adriatico, Stage 6 2013 Tour of Norway, Stage 5 2013 Tour of Norway, Stage 4 2015 Paris-Arras Tour, Stage 2 2015 Paris-Arras Tour, Stage 3 2016 Vuelta a España, Stage 1 2016 Volta ao Algarve, Stage 4 2016 Volta ao Algarve, Stage 2 2016 Volta ao Algarve, Stage 1 2016 Tour of Oman, Stage 5 2016 Tour of Oman, Stage 4 2016 Tour du Limousin, Stage 2 2016 Tour du Limousin, Stage 4 2016 Tour du Limousin, Stage 1 2016 Tour du Limousin, Stage 3 2015 Tour de Pologne, Stage 5 2014 Tour de l'Ain, Stage 3 2014 Tour de l'Ain, Stage 2 2014 Tour de l'Ain, Stage 1 2014 Tour de l'Ain, Prologue 2016 Four Days of Dunkirk, Stage 5 2016 Tour of California, Stage 3 2016 Three Days of De Panne, Stage 1 2016 Tour of Qatar, Stage 5 2016 Tour of Qatar, Stage 4 2016 Tour of Qatar, Stage 2 2016 Paris–Nice, Stage 3 2016 Paris–Nice, Stage 4 2016 Paris–Nice, Prologue 2016 Paris–Nice, Stage 1 2016 Paris–Nice, Stage 2 2015 Tour de France, Stage 15 2016 Tour de Normandie, Stage 6 2016 Tour de Normandie, Stage 5 2016 Herald Sun Tour, Stage 4 2016 Vuelta a Burgos, Stage 3 2015 Tour de France, Stage 4 2015 Tour de France, Stage 7 2015 Tour de France, Stage 3 2016 Volta a Catalunya, Stage 6 2016 Volta a Catalunya, Stage 7 2016 Tour of Belgium, Stage 2 2016 Tour of Belgium, Stage 1 2016 Volta a Catalunya, Stage 3 2016 Volta a Catalunya, Stage 4 2016 Volta a Catalunya, Stage 5 2016 Tour of Belgium, Stage 4 2016 Tour of Belgium, Stage 3 2016 Tour de France, Stage 5 2016 Ladies Tour of Qatar, Stage 3 2016 Tour de France, Stage 17 2016 Tour de France, Stage 15 2016 Tour de France, Stage 20 2016 Tour de France, Stage 18 2016 Tour de France, Stage 19 2016 Tour du Haut Var, Stage 2 2016 Tour du Haut Var, Stage 1 2016 Volta a la Comunitat Valenciana, Stage 1 2016 Tour de Normandie, Stage 1 2016 Tour de Normandie, Prologue 2016 Driedaagse van West-Vlaanderen, Prologue 2016 Driedaagse van West-Vlaanderen, Stage 1 2016 Driedaagse van West-Vlaanderen, Stage 2 2016 Three Days of De Panne, Stage 3a 2016 Arctic Race of Norway, Stage 3 2016 Tour de France, Stage 3 2016 Tour de France, Stage 2 2016 Vuelta a Burgos, Stage 1 2015 Tour de France, Stage 18 2016 Critérium du Dauphiné, Stage 2 2016 Tour de France, Stage 4 2016 ZLM Tour, Stage 1 2016 Tour de Langkawi, Stage 7 2016 Tour de Langkawi, Stage 6 2016 Tour of the Basque Country, Stage 2 2013 Tour of Norway, Stage 1 2016 New Zealand Cycle Classic, Stage 4 2016 Critérium du Dauphiné, Prologue 2016 Critérium du Dauphiné, Stage 1 2016 Tour of Norway, Stage 4 2015 Vuelta a España, Stage 20 2016 Tour de Suisse, Stage 2 2016 European Road Championships – Men's U23 time trial 2015 Tour de France, Stage 20 2014 Tour of Norway, Stage 2 2016 Tour of Croatia, Stage 2 2016 Tour of the Basque Country, Stage 1 2016 Tour of Croatia, Stage 3 2016 Tour of Croatia, Stage 6 2016 Tour de France, Stage 13 2016 Tour de France, Stage 14 2016 Tour de France, Stage 12 2016 Tour de France, Stage 10 2016 European Road Championships – Men's elite time trial 2016 European Road Championships – Women's elite time trial 2015 Vuelta a España, Stage 2 2016 Tour de Romandie, Stage 1 2015 Tour de France, Stage 12 2015 Tour de France, Stage 11 2015 Tour de France, Stage 10 2015 Tour de France, Stage 9 2015 Tour de France, Stage 8 1st stage of Tour de Luxembourg 2016 2011 Delta Tour Zeeland, Stage 2 2016 Ladies Tour of Qatar, Stage 2 2016 Tirreno–Adriatico, Stage 7 2016 Critérium du Dauphiné, Stage 3 2016 Tour of Norway, Stage 5 2016 Critérium du Dauphiné, Stage 5 2016 Critérium du Dauphiné, Stage 4 2016 Critérium du Dauphiné, Stage 7 2016 Volta a la Comunitat Valenciana, Stage 4 2016 Tour de Normandie, Stage 2 2016 Tour de Normandie, Stage 3 2016 Tour de Normandie, Stage 4 2016 Tour International de Sétif, Stage 2 2016 Tour International de Sétif, Stage 3 2014 Triptyque des Monts et Châteaux, Stage 1 1st Stage 2016 Circuit de la Sarthe 2015 Giro d'Italia, Stage 1 2016 Vuelta al Táchira, Stage 4 2016 Vuelta al Táchira, Stage 5 2016 Vuelta al Táchira, Stage 9 2016 Tour International de Sétif, Stage 4 2016 Tour de Suisse, Stage 9 2016 Tour de Suisse, Stage 8 2016 Tour de Suisse, Stage 7 2016 Tour de Suisse, Stage 6 2016 Tour de Suisse, Stage 4 2016 European Road Championships – Women's junior time trial 2016 Giro d'Italia, Stage 20 2016 Giro d'Italia, Stage 19 2016 Giro d'Italia, Stage 16 2016 Giro d'Italia, Stage 15 2016 Giro d'Italia, Stage 18 2016 Giro d'Italia, Stage 17 2016 Vuelta a Burgos, Stage 5 2016 Vuelta a España, Stage 13 2016 Vuelta a España, Stage 11 2015 Tour de France, Stage 14 2016 Vuelta a España, Stage 10 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 Tour of Britain, Stage 6 2016 Tirreno–Adriatico, Stage 2 2016 Tirreno–Adriatico, Stage 3 2016 Tirreno–Adriatico, Stage 4 2015 Vuelta a España, Stage 16 2015 Vuelta a España, Stage 15 2015 Vuelta a España, Stage 13 2015 Vuelta a España, Stage 14 2016 Four Days of Dunkirk, Stage 3 2016 Four Days of Dunkirk, Stage 4 2016 Four Days of Dunkirk, Stage 1 2016 Four Days of Dunkirk, Stage 2 2016 Tour de San Luis, Stage 4 2016 Ladies Tour of Qatar, Stage 1 2016 Vuelta a Andalucía, Stage 5 2016 Vuelta a Andalucía, Stage 4 2016 Vuelta a Andalucía, Stage 3 2016 Tour of the Basque Country, Stage 4 2016 Tour des Fjords, Stage 2 2016 Tour of Croatia, Stage 1 2016 Tour of Croatia, Stage 4 2016 Tour La Provence, Stage 3 2016 Tour La Provence, Stage 2 2016 Tour La Provence, Stage 1 2005 Triptyque des Monts et Châteaux, Stage 2a 2016 European Road Championships – Women's U23 time trial 2013 Arctic Race of Norway, Stage 1 2016 Arctic Race of Norway, Stage 1 2016 Vuelta al Táchira, Stage 2 2015 Tour of Norway, Stage 1 2015 Tour of Norway, Stage 5 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 11 2016 Giro d'Italia, Stage 10 2016 Giro d'Italia, Stage 9 2015 Eneco Tour/Stage 6 2015 Eneco Tour/Stage 7 2015 Eneco Tour, Stage 3 2016 Tour of California, Stage 8 2016 Vuelta a España, Stage 17 2016 Vuelta a España, Stage 15 2016 Vuelta a España, Stage 16 2016 Vuelta a España, Stage 14 Sixth stage of the 2016 Eneco Tour stage 5 of 2016 Eneco Tour 2016 Tour de France, Stage 8 2016 Giro del Trentino, Stage 3 2016 Giro del Trentino, Stage 2 2014 Arctic Race of Norway, Stage 1 2016 Tour de France, Stage 6 2016 Tour de France, Stage 7 2015 Paris-Arras Tour, Stage 1 2016 Tour de Langkawi, Stage 5 2014 Arctic Race of Norway, Stage 3 2016 Vuelta a España, Stage 19 2014 Triptyque des Monts et Châteaux, Stage 2a 2014 Triptyque des Monts et Châteaux, Stage 2b 2014 Triptyque des Monts et Châteaux, Stage 3 2016 Vuelta a España, Stage 20 2014 Tour of Norway, Stage 3 2016 European Road Championships – Men's junior time trial 2015 Tour de France, Stage 19 2014 Tour de l'Ain, Stage 4 2016 Volta a Catalunya, Stage 1 2016 Three Days of De Panne, Stage 2 2013 Arctic Race of Norway, Stage 3 2014 Tour of Norway, Stage 5 2016 La Méditerranéenne, Stage 3 2016 La Méditerranéenne, Stage 4 2014 Tour of Norway, Stage 1 2016 La Méditerranéenne, Stage 2 2014 Giro d'Italia, Stage 3 2016 Tour des Fjords, Stage 4 2017 Tour de France, Stage 21 2016 Volta a Catalunya, Stage 2 2015 Tour de l'Ain, Stage 3 2015 Tour de l'Ain, Stage 2 2015 Tour de l'Ain, Stage 1 2015 Tour de l'Ain, Prologue 2016 Tour de Suisse, Stage 1 2015 Tour de l'Ain, Stage 4 2016 Tour de Suisse, Stage 3 2016 Paris–Nice, Stage 6 2016 Paris–Nice, Stage 5 2016 Vuelta a Burgos, Stage 4 2016 La Méditerranéenne, Stage 1 2016 Étoile de Bessèges, Stage 5 2016 Étoile de Bessèges, Stage 3 2016 Étoile de Bessèges, Stage 4 2015 Tour de France, Stage 2 2016 Vuelta a España, Stage 2 2016 Vuelta a España, Stage 3 2016 Vuelta a España, Stage 4 2016 Vuelta a España, Stage 6 2015 Vuelta a España, Stage 7 2015 Vuelta a España, Stage 6 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 11 2016 Tour of Oman, Stage 3 2016 Giro del Trentino, Stage 4 2016 Volta ao Algarve, Stage 5
273
action count
action approx
action union
action find_tuple_counts
relation destination point
type type of sport
type administrative territorial entity
action find_tuple_counts
relation destination point
type type of sport
type human settlement
action count
action filter_multi_types
action find
entity 2016 Three Days of De Panne, Stage 3b
relation destination point
type administrative territorial entity
type human settlement
[{'concept': 'type of sport'}, 'destination point', [{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?p WHERE { ?o rdf:type ?g . VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:2016_Three_Days_of_De_Panne,_Stage_3b property:destination_point ?r . { { ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r rdf:type ontology:human_settlement } } } } . FILTER ( ?x = ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40244
P138
Q1190554
USER
Which event is namesake of marathon ?
(Q40244,P138,c(Q1190554))
action filter_type
action find
entity Q40244
relation P138
type Q1190554
['Q40244', 'P138', {'concept': 'Q1190554'}]
SELECT DISTINCT ?a WHERE { resource:Q40244 property:P138 ?a . ?a rdf:type ontology:Q1190554 }
marathon
action filter_type
action find
entity marathon
relation named after
type event
['marathon', 'named after', {'concept': 'event'}]
SELECT DISTINCT ?a WHERE { resource:marathon property:named_after ?a . ?a rdf:type ontology:event }
[]
event
Q31900
SYSTEM
Battle of Marathon
Q31900
(Q40244,P138,c(Q1190554))
action filter_type
action find
entity Q40244
relation P138
type Q1190554
The [ANSWER] is namesake of marathon
['Q40244', 'P138', {'concept': 'Q1190554'}]
SELECT DISTINCT ?a WHERE { resource:Q40244 property:P138 ?a . ?a rdf:type ontology:Q1190554 }
Battle of Marathon
The Battle of Marathon is namesake of marathon
Battle of Marathon
action filter_type
action find
entity marathon
relation named after
type event
['marathon', 'named after', {'concept': 'event'}]
SELECT DISTINCT ?a WHERE { resource:marathon property:named_after ?a . ?a rdf:type ontology:event }
[]