Simple Question (Direct)
Simple Question
Q493086
P1344
Q15091377
USER
Which cycling races did André Cardoso participate in ?
(Q493086,P1344,c(Q15091377))
action filter_type
action find
entity Q493086
relation P1344
type Q15091377
['Q493086', 'P1344', {'concept': 'Q15091377'}]
SELECT DISTINCT ?t WHERE { resource:Q493086 property:P1344 ?t . ?t rdf:type ontology:Q15091377 }
André Cardoso
action filter_type
action find
entity André Cardoso
relation participant of
type cycling race
['André Cardoso', 'participant of', {'concept': 'cycling race'}]
SELECT DISTINCT ?t WHERE { resource:André_Cardoso property:participant_of ?t . ?t rdf:type ontology:cycling_race }
[]
cycling race
Q33937 Q14916000
SYSTEM
Vuelta a España, 2014 Giro d'Italia
Q33937 Q14916000
(Q493086,P1344,c(Q15091377))
action filter_type
action find
entity Q493086
relation P1344
type Q15091377
[ANSWERS]
['Q493086', 'P1344', {'concept': 'Q15091377'}]
SELECT DISTINCT ?t WHERE { resource:Q493086 property:P1344 ?t . ?t rdf:type ontology:Q15091377 }
Vuelta a España 2014 Giro d'Italia
Vuelta a España 2014 Giro d'Italia
action filter_type
action find
entity André Cardoso
relation participant of
type cycling race
['André Cardoso', 'participant of', {'concept': 'cycling race'}]
SELECT DISTINCT ?t WHERE { resource:André_Cardoso property:participant_of ?t . ?t rdf:type ontology:cycling_race }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14916000
P641
Q31629
USER
Which type of sport was 2014 Giro d'Italia a part of ?
(Q14916000,P641,c(Q31629))
action filter_type
action find
entity Q14916000
relation P641
type Q31629
['Q14916000', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?r WHERE { resource:Q14916000 property:P641 ?r . ?r rdf:type ontology:Q31629 }
2014 Giro d'Italia
action filter_type
action find
entity 2014 Giro d'Italia
relation sport
type type of sport
["2014 Giro d'Italia", 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?r WHERE { resource:2014_Giro_d'Italia property:sport ?r . ?r rdf:type ontology:type_of_sport }
[]
type of sport
Q3609
SYSTEM
road bicycle racing
Q3609
(Q14916000,P641,c(Q31629))
action filter_type
action find
entity Q14916000
relation P641
type Q31629
[ANSWER]
['Q14916000', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?r WHERE { resource:Q14916000 property:P641 ?r . ?r rdf:type ontology:Q31629 }
road bicycle racing
road bicycle racing
action filter_type
action find
entity 2014 Giro d'Italia
relation sport
type type of sport
["2014 Giro d'Italia", 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?r WHERE { resource:2014_Giro_d'Italia property:sport ?r . ?r rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14916000
P361
Q878123
USER
What is that cycling race a portion of ?
(Q3609,P361,c(Q878123))
action filter_type
action find
entity Q14916000
relation P361
type Q878123
['Q3609', 'P361', {'concept': 'Q878123'}]
SELECT DISTINCT ?g WHERE { resource:Q14916000 property:P361 ?g . ?g rdf:type ontology:Q878123 }
2014 Giro d'Italia
action filter_type
action find
entity 2014 Giro d'Italia
relation part of
type racing
['road bicycle racing', 'part of', {'concept': 'racing'}]
SELECT DISTINCT ?g WHERE { resource:2014_Giro_d'Italia property:part_of ?g . ?g rdf:type ontology:racing }
[]
racing
Q14979277
SYSTEM
2014 UCI World Tour
Q14979277
(Q3609,P361,c(Q878123))
action filter_type
action find
entity Q14916000
relation P361
type Q878123
[ANSWER]
['Q3609', 'P361', {'concept': 'Q878123'}]
SELECT DISTINCT ?g WHERE { resource:Q14916000 property:P361 ?g . ?g rdf:type ontology:Q878123 }
2014 UCI World Tour
2014 UCI World Tour
action filter_type
action find
entity 2014 Giro d'Italia
relation part of
type racing
['road bicycle racing', 'part of', {'concept': 'racing'}]
SELECT DISTINCT ?g WHERE { resource:2014_Giro_d'Italia property:part_of ?g . ?g rdf:type ontology:racing }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1444
Q515 Q878123
USER
How many cities are the end points of atmost 2 racings ?
(c(Q878123),P1444,c(Q515))
action count
action atmost
action find_reverse_tuple_counts
relation P1444
type Q515
type Q878123
value 2
[{'concept': 'Q878123'}, 'P1444', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { FILTER ( ?a <= 2 ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:Q878123 . ?e rdf:type ontology:Q515 . ?j property:P1444 ?e } GROUP BY ?e } }
action count
action atmost
action find_reverse_tuple_counts
relation destination point
type city
type racing
value 2
[{'concept': 'racing'}, 'destination point', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { FILTER ( ?a <= 2 ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:racing . ?e rdf:type ontology:city . ?j property:destination_point ?e } GROUP BY ?e } }
[]
city racing
SYSTEM
28
Q73119 Q840610 Q1794 Q456 Q1865 Q186006 Q211243 Q220445 Q9005 Q650015 Q197922 Q1761 Q6602 Q373813 Q3859 Q1696 Q1486 Q533157 Q2096 Q533985 Q1854 Q2135 Q183584 Q2887 Q3861 Q69060 Q3826 Q11725
(c(Q878123),P1444,c(Q515))
action count
action atmost
action find_reverse_tuple_counts
relation P1444
type Q515
type Q878123
value 2
[ANSWER]
[{'concept': 'Q878123'}, 'P1444', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { FILTER ( ?a <= 2 ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:Q878123 . ?e rdf:type ontology:Q515 . ?j property:P1444 ?e } GROUP BY ?e } }
Xinzhou Yamanashi Frankfurt Lyon Kuala Lumpur Dingxi Yinchuan Kuching Brussels Pannonhalma Zhongwei Dublin Strasbourg Albufeira Kigali Legazpi Buenos Aires Tianshui Edmonton Pingliang Ho Chi Minh City Winnipeg Lanzhou Santiago Doha Xining Muscat Chongqing
28
action count
action atmost
action find_reverse_tuple_counts
relation destination point
type city
type racing
value 2
[{'concept': 'racing'}, 'destination point', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { FILTER ( ?a <= 2 ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:racing . ?e rdf:type ontology:city . ?j property:destination_point ?e } GROUP BY ?e } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q273285
P641
Q31629 Q18608583 Q502895
USER
Which types of sport were around the same number of recurring sporting events and people a part of as luge ?
(c(Q18608583)|c(Q502895),P641,c(Q31629))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q31629
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q273285
relation P641
type Q18608583
type Q502895
[[{'concept': 'Q18608583'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?m ) WHERE { VALUES ( ?t ) { ( ontology:Q18608583 ) ( ontology:Q502895 ) } . ?j rdf:type ?t } GROUP BY ?y } . FILTER ( ?m = ?l ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:P641 resource:Q273285 . { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:Q18608583 ) ( ontology:Q502895 ) } } } } }
luge
action approx
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type type of sport
type common name
action count
action filter_multi_types
action find_reverse
entity luge
relation sport
type recurring sporting event
type common name
[[{'concept': 'recurring sporting event'}, {'concept': 'common name'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?m ) WHERE { VALUES ( ?t ) { ( ontology:recurring_sporting_event ) ( ontology:common_name ) } . ?j rdf:type ?t } GROUP BY ?y } . FILTER ( ?m = ?l ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:sport resource:luge . { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:recurring_sporting_event ) ( ontology:common_name ) } } } } }
[]
type of sport recurring sporting event common name
Q216613 Q165704 Q40244
SYSTEM
Nordic skiing, high jump, marathon
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q166788 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q1209037 Q179687 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q159354 Q1629556 Q3609 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q186222 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q1128216 Q7735 Q11015 Q428242 Q48890 Q162883 Q5300110
(c(Q18608583)|c(Q502895),P641,c(Q31629))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q31629
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q273285
relation P641
type Q18608583
type Q502895
[ANSWERS]
[[{'concept': 'Q18608583'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?m ) WHERE { VALUES ( ?t ) { ( ontology:Q18608583 ) ( ontology:Q502895 ) } . ?j rdf:type ?t } GROUP BY ?y } . FILTER ( ?m = ?l ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:P641 resource:Q273285 . { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:Q18608583 ) ( ontology:Q502895 ) } } } } }
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 orienteering 200 metres 1500 metres beach run biathlon snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays Nordic skiing 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 Modern competitive archery cross-country skiing roller skating sprint Pilates ski mountaineering canoe racing Keirin rowing 1000 metres road bicycle racing marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross canoe camping trampolining alpine skiing para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism wheelchair basketball diving snooker ski-orienteering college basketball free climbing double trap
Nordic skiing high jump marathon
action approx
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type type of sport
type common name
action count
action filter_multi_types
action find_reverse
entity luge
relation sport
type recurring sporting event
type common name
[[{'concept': 'recurring sporting event'}, {'concept': 'common name'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?m ) WHERE { VALUES ( ?t ) { ( ontology:recurring_sporting_event ) ( ontology:common_name ) } . ?j rdf:type ?t } GROUP BY ?y } . FILTER ( ?m = ?l ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:sport resource:luge . { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:recurring_sporting_event ) ( ontology:common_name ) } } } } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P366
Q31629 Q11460 Q811979
USER
How many types of sport represent the main use of more number of clothings and architectural structures than that type of sport ?
(c(Q11460)|c(Q811979),P366,c(Q31629))
[[{'concept': 'Q11460'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?i ) { ( ?z ) ( ?x ) } . ?i property:Q21263333 ?y } . ?z rdf:type ontology:Q11460 . ?y rdf:type ontology:Q31629 . ?x rdf:type ontology:Q811979 }
[[{'concept': 'clothing'}, {'concept': 'architectural structure'}], 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?i ) { ( ?z ) ( ?x ) } . ?i property:use ?y } . ?z rdf:type ontology:clothing . ?y rdf:type ontology:type_of_sport . ?x rdf:type ontology:architectural_structure }
[]
type of sport clothing architectural structure
Comparative|Count over More/Less|Mult. entity type|Clarification
Q40244
SYSTEM
Did you mean marathon ?
(c(Q11460)|c(Q811979),P366,c(Q31629))
[ANSWER]
[[{'concept': 'Q11460'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?i ) { ( ?z ) ( ?x ) } . ?i property:Q21263333 ?y } . ?z rdf:type ontology:Q11460 . ?y rdf:type ontology:Q31629 . ?x rdf:type ontology:Q811979 }
Did you mean marathon ?
marathon
[[{'concept': 'clothing'}, {'concept': 'architectural structure'}], 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?i ) { ( ?z ) ( ?x ) } . ?i property:use ?y } . ?z rdf:type ontology:clothing . ?y rdf:type ontology:type_of_sport . ?x rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Nordic skiing. Could you tell me the answer for that?
(c(Q11460)|c(Q811979),P366,c(Q31629))
Q216613
[[{'concept': 'Q11460'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q31629'}]
[[{'concept': 'clothing'}, {'concept': 'architectural structure'}], 'use', {'concept': 'type of sport'}]
[]
SYSTEM
2
Q542 Q179226
(c(Q11460)|c(Q811979),P366,c(Q31629))
[ANSWER]
[[{'concept': 'Q11460'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q21263333 ?y } UNION { ?x property:Q21263333 ?y } } . ?z rdf:type ontology:Q11460 . ?y rdf:type ontology:Q31629 . ?x rdf:type ontology:Q811979 }
athletics equestrianism
2
[[{'concept': 'clothing'}, {'concept': 'architectural structure'}], 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:use ?y } UNION { ?x property:use ?y } } . ?z rdf:type ontology:clothing . ?y rdf:type ontology:type_of_sport . ?x rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q859481
P1444
Q20667921 Q31629
USER
Which french administrative divisions marks the end of journey for greater number of types of sport than Clermont-Pouyguillès ?
(c(Q31629),P1444,c(Q20667921))
action greater
action find_reverse_tuple_counts
relation P1444
type Q20667921
type Q31629
action count
action filter_type
action find
entity Q859481
relation P1444
type Q20667921
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?v > ?n ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Q859481 property:P1444 ?u . ?u rdf:type ontology:Q20667921 } } . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?v ) WHERE { ?c rdf:type ontology:Q20667921 . ?m rdf:type ontology:Q31629 . ?m property:P1444 ?c } GROUP BY ?c } }
Clermont-Pouyguillès
action greater
action find_reverse_tuple_counts
relation destination point
type type of french administrative division
type type of sport
action count
action filter_type
action find
entity Clermont-Pouyguillès
relation destination point
type type of french administrative division
[{'concept': 'type of sport'}, 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?v > ?n ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Clermont-Pouyguillès property:destination_point ?u . ?u rdf:type ontology:type_of_french_administrative_division } } . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?v ) WHERE { ?c rdf:type ontology:type_of_french_administrative_division . ?m rdf:type ontology:type_of_sport . ?m property:destination_point ?c } GROUP BY ?c } }
[]
type of french administrative division type of sport
Q45656 Q41185 Q38380
SYSTEM
Limoges, Caen, Angers
Q133069 Q208860 Q243002 Q24643 Q366962 Q128990 Q213155 Q496066 Q244552 Q576732 Q172593 Q287518 Q203759 Q181285 Q733414 Q629673 Q194141 Q45797 Q204648 Q175081 Q45656 Q191772 Q207622 Q323399 Q274145 Q193621 Q385527 Q193183 Q1388437 Q750425 Q11160 Q840893 Q829292 Q188496 Q239078 Q8848 Q259283 Q214575 Q242091 Q232567 Q382746 Q21979667 Q131329 Q845832 Q598417 Q238393 Q472179 Q188780 Q243597 Q613323 Q663119 Q688258 Q18104 Q21008210 Q873844 Q38380 Q534206 Q375271 Q271325 Q210917 Q212507 Q211647 Q498217 Q190974 Q1003125 Q4043 Q510013 Q877518 Q209048 Q241634 Q41185
(c(Q31629),P1444,c(Q20667921))
action greater
action find_reverse_tuple_counts
relation P1444
type Q20667921
type Q31629
action count
action filter_type
action find
entity Q859481
relation P1444
type Q20667921
[ANSWERS]
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?v > ?n ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Q859481 property:P1444 ?u . ?u rdf:type ontology:Q20667921 } } . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?v ) WHERE { ?c rdf:type ontology:Q20667921 . ?m rdf:type ontology:Q31629 . ?m property:P1444 ?c } GROUP BY ?c } }
Bourg-en-Bresse Saint-Jean-de-Maurienne Cassis Lélex Cauterets Plumelec Tournon-sur-Rhône Revel Montrevel-en-Bresse Saint-Vulbas Montauban Pégomas Istres Cambrai Elbeuf Villedieu-les-Poêles Draguignan Dunkirk Port-Vendres Gap Limoges Mende Argentan Gravelines Mûr-de-Bretagne Auzances Saint-Pol-sur-Ternoise Alès Vaujany Saint-Amour Cassel Pont-de-Vaux Château-du-Loir Belley Romans-sur-Isère Valence Megève Vendôme Carentan Salon-de-Provence Forges-les-Eaux Chalmazel-Jeansagnière Arras Les Gets Liginiac Bagnères-de-Luchon Morzine Rodez Culoz Aniche Beaurains Bagnols-en-Forêt Villars-les-Dombes Cherbourg-en-Cotentin Bailleul-Sir-Berthoult Angers Saint-Gervais-les-Bains Méjannes-le-Clap Bessèges Bellignat Conflans-Sainte-Honorine Beaucaire Fontcouverte-la-Toussuire Oradour-sur-Glane Bagnoles-de-l'Orne Fougères Commentry Risoul Arbent Laudun-l'Ardoise Caen
Limoges Caen Angers
action greater
action find_reverse_tuple_counts
relation destination point
type type of french administrative division
type type of sport
action count
action filter_type
action find
entity Clermont-Pouyguillès
relation destination point
type type of french administrative division
[{'concept': 'type of sport'}, 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?v > ?n ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Clermont-Pouyguillès property:destination_point ?u . ?u rdf:type ontology:type_of_french_administrative_division } } . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?v ) WHERE { ?c rdf:type ontology:type_of_french_administrative_division . ?m rdf:type ontology:type_of_sport . ?m property:destination_point ?c } GROUP BY ?c } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q182744
P1444
Q20667921 Q31629
USER
And how about Saint-Quentin?
(c(Q31629),P1444,c(Q20667921))
action greater
action find_reverse_tuple_counts
relation P1444
type Q20667921
type Q31629
action count
action filter_type
action find
entity Q182744
relation P1444
type Q20667921
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:P1444 ?h . ?h rdf:type ontology:Q20667921 . ?c rdf:type ontology:Q31629 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Q182744 property:P1444 ?m . ?m rdf:type ontology:Q20667921 } } . FILTER ( ?e > ?o ) }
Saint-Quentin
action greater
action find_reverse_tuple_counts
relation destination point
type type of french administrative division
type type of sport
action count
action filter_type
action find
entity Saint-Quentin
relation destination point
type type of french administrative division
[{'concept': 'type of sport'}, 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:destination_point ?h . ?h rdf:type ontology:type_of_french_administrative_division . ?c rdf:type ontology:type_of_sport } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Saint-Quentin property:destination_point ?m . ?m rdf:type ontology:type_of_french_administrative_division } } . FILTER ( ?e > ?o ) }
[]
type of french administrative division type of sport
Q45656 Q41185 Q38380
SYSTEM
Limoges, Caen, Angers
Q133069 Q208860 Q243002 Q24643 Q366962 Q128990 Q213155 Q496066 Q244552 Q576732 Q172593 Q287518 Q203759 Q181285 Q733414 Q629673 Q194141 Q45797 Q204648 Q175081 Q45656 Q191772 Q207622 Q323399 Q274145 Q193621 Q385527 Q193183 Q1388437 Q750425 Q11160 Q840893 Q829292 Q188496 Q239078 Q8848 Q259283 Q214575 Q242091 Q232567 Q382746 Q21979667 Q131329 Q845832 Q598417 Q238393 Q472179 Q188780 Q243597 Q613323 Q663119 Q688258 Q18104 Q21008210 Q873844 Q38380 Q534206 Q375271 Q271325 Q210917 Q212507 Q211647 Q498217 Q190974 Q1003125 Q4043 Q510013 Q877518 Q209048 Q241634 Q41185
(c(Q31629),P1444,c(Q20667921))
action greater
action find_reverse_tuple_counts
relation P1444
type Q20667921
type Q31629
action count
action filter_type
action find
entity Q182744
relation P1444
type Q20667921
[ANSWERS]
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:P1444 ?h . ?h rdf:type ontology:Q20667921 . ?c rdf:type ontology:Q31629 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Q182744 property:P1444 ?m . ?m rdf:type ontology:Q20667921 } } . FILTER ( ?e > ?o ) }
Bourg-en-Bresse Saint-Jean-de-Maurienne Cassis Lélex Cauterets Plumelec Tournon-sur-Rhône Revel Montrevel-en-Bresse Saint-Vulbas Montauban Pégomas Istres Cambrai Elbeuf Villedieu-les-Poêles Draguignan Dunkirk Port-Vendres Gap Limoges Mende Argentan Gravelines Mûr-de-Bretagne Auzances Saint-Pol-sur-Ternoise Alès Vaujany Saint-Amour Cassel Pont-de-Vaux Château-du-Loir Belley Romans-sur-Isère Valence Megève Vendôme Carentan Salon-de-Provence Forges-les-Eaux Chalmazel-Jeansagnière Arras Les Gets Liginiac Bagnères-de-Luchon Morzine Rodez Culoz Aniche Beaurains Bagnols-en-Forêt Villars-les-Dombes Cherbourg-en-Cotentin Bailleul-Sir-Berthoult Angers Saint-Gervais-les-Bains Méjannes-le-Clap Bessèges Bellignat Conflans-Sainte-Honorine Beaucaire Fontcouverte-la-Toussuire Oradour-sur-Glane Bagnoles-de-l'Orne Fougères Commentry Risoul Arbent Laudun-l'Ardoise Caen
Limoges Caen Angers
action greater
action find_reverse_tuple_counts
relation destination point
type type of french administrative division
type type of sport
action count
action filter_type
action find
entity Saint-Quentin
relation destination point
type type of french administrative division
[{'concept': 'type of sport'}, 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:destination_point ?h . ?h rdf:type ontology:type_of_french_administrative_division . ?c rdf:type ontology:type_of_sport } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Saint-Quentin property:destination_point ?m . ?m rdf:type ontology:type_of_french_administrative_division } } . FILTER ( ?e > ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q207632
P138
Q20667921 Q271669 Q16521
USER
How many french administrative divisions are less number of landforms and taxons named after than Apt ?
(c(Q271669)|c(Q16521),P138,c(Q20667921))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q271669
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q16521
action count
action filter_multi_types
action find_reverse
entity Q207632
relation P138
type Q271669
type Q16521
[[{'concept': 'Q271669'}, {'concept': 'Q16521'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?r ) WHERE { ?s rdf:type ?m . VALUES ( ?m ) { ( ontology:Q271669 ) ( ontology:Q16521 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:P138 resource:Q207632 . { { ?v rdf:type ontology:Q16521 } UNION { ?v rdf:type ontology:Q271669 } } } } . FILTER ( ?r < ?u ) }
Apt
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type landform
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type taxon
action count
action filter_multi_types
action find_reverse
entity Apt
relation named after
type landform
type taxon
[[{'concept': 'landform'}, {'concept': 'taxon'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?r ) WHERE { ?s rdf:type ?m . VALUES ( ?m ) { ( ontology:landform ) ( ontology:taxon ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:named_after resource:Apt . { { ?v rdf:type ontology:taxon } UNION { ?v rdf:type ontology:landform } } } } . FILTER ( ?r < ?u ) }
[]
type of french administrative division landform taxon
SYSTEM
267
Q205551 Q3769 Q521432 Q201352 Q901416 Q253721 Q456477 Q191119 Q1172337 Q236579 Q1075237 Q321067 Q840218 Q326687 Q181946 Q160199 Q817418 Q842942 Q183910 Q626987 Q633254 Q190974 Q196360 Q180871 Q679894 Q166997 Q1440905 Q269364 Q2426877 Q138648 Q1391563 Q212793 Q2961727 Q6454 Q48958 Q208812 Q9155 Q208943 Q3241770 Q160506 Q193880 Q167152 Q840597 Q329664 Q1241308 Q209069 Q273702 Q181285 Q126668 Q59221 Q903665 Q7158 Q616668 Q264778 Q174032 Q229339 Q135265 Q208889 Q212274 Q161884 Q274327 Q28520 Q46135 Q205116 Q1476 Q154715 Q193899 Q30974 Q182744 Q459683 Q205632 Q623376 Q130994 Q217077 Q809414 Q213317 Q1073264 Q501933 Q694818 Q212987 Q474524 Q22640 Q181886 Q187796 Q193819 Q234270 Q238377 Q762471 Q234274 Q591741 Q729239 Q243866 Q474503 Q251731 Q126675 Q149419 Q1463559 Q201982 Q134674 Q474555 Q636299 Q605656 Q174257 Q471685 Q154724 Q165271 Q163108 Q211604 Q154728 Q12193 Q142410 Q476887 Q22739 Q189153 Q22636 Q575565 Q209086 Q195098 Q18199435 Q625570 Q569751 Q209005 Q181269 Q736370 Q1111541 Q203645 Q16532200 Q13917 Q241021 Q208793 Q387460 Q1080717 Q285 Q648164 Q567956 Q204051 Q193877 Q781078 Q202565 Q784536 Q1105062 Q468229 Q174247 Q900479 Q185721 Q1066223 Q1165029 Q148787 Q45797 Q163795 Q530593 Q463304 Q44401 Q212966 Q34001 Q213288 Q470959 Q47465 Q773318 Q845975 Q689491 Q688262 Q404783 Q16121 Q22160 Q478105 Q238339 Q271649 Q70285 Q23047 Q989788 Q1100414 Q154748 Q840164 Q134346 Q202378 Q6588 Q212959 Q541007 Q968881 Q18199186 Q822303 Q474773 Q666180 Q12130 Q13103683 Q453492 Q208798 Q22690 Q22380 Q207570 Q22754 Q42807 Q22756 Q208794 Q317975 Q233909 Q79815 Q177573 Q206493 Q1217220 Q188750 Q241940 Q18102 Q3413275 Q128466 Q370224 Q288 Q171545 Q204979 Q167141 Q193903 Q131329 Q256175 Q216966 Q917770 Q3413171 Q532352 Q83432 Q279681 Q372111 Q1014746 Q6548 Q175999 Q199682 Q266958 Q6397 Q325946 Q6544 Q316891 Q3413267 Q1348608 Q837748 Q498869 Q40898 Q192548 Q93351 Q1047171 Q256004 Q1440685 Q272528 Q41139 Q191126 Q471902 Q3555080 Q399366 Q461413 Q947091 Q207620 Q467132 Q135104 Q1056120 Q181306 Q3413163 Q475599 Q845191 Q130272 Q221683 Q990774 Q6616 Q182872 Q331232 Q1110622 Q273917 Q20892 Q193826 Q832386
(c(Q271669)|c(Q16521),P138,c(Q20667921))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q271669
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q16521
action count
action filter_multi_types
action find_reverse
entity Q207632
relation P138
type Q271669
type Q16521
[ANSWER]
[[{'concept': 'Q271669'}, {'concept': 'Q16521'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?r ) WHERE { ?s rdf:type ?m . VALUES ( ?m ) { ( ontology:Q271669 ) ( ontology:Q16521 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:P138 resource:Q207632 . { { ?v rdf:type ontology:Q16521 } UNION { ?v rdf:type ontology:Q271669 } } } } . FILTER ( ?r < ?u ) }
Mérignac French Guiana Saint-Marcellin Pontoise Lacaune Malakoff Chooz Rambouillet Morogues Semur-en-Auxois Bailleau-Armenonville Nemours Barrême Banon Argenteuil Cherbourg-Octeville Joinville Bonneville-la-Louvet Bayeux Herment Morbier Oradour-sur-Glane Aisy-sur-Armançon Compiègne Aurignac Nevers Ramonville-Saint-Agne Joué-lès-Tours Épinettes Maubeuge Coulmiers Charenton-le-Pont Chavignol Calais Neuilly-sur-Seine Corbeil-Essonnes Lagny-sur-Marne Bagnolet Lion Saint-Denis Chaumont Soissons Le Croisic Le Creusot Passy Domrémy-la-Pucelle Rocroi Cambrai Senlis Vaucouleurs Liverdun Oms Pouligny-Saint-Pierre Loudes Crozant Champigneulles Issy-les-Moulineaux Saint-Ouen Nogent-sur-Marne Bagneux Saint-Maurice Abbeville Créteil Amboise Le Mans Montbéliard Fontenay-sous-Bois Rouen Saint-Quentin Sancerre Aubervilliers Volvic Colmar Camembert Thiézac Ambert Civry Taizé Sassenage Choisy-le-Roi Sainte-Maure-de-Touraine Thionville Châteaudun Orange Vincennes Montélimar Pont-Aven Ver-sur-Mer Manosque Goutte-d'Or Vimoutiers Olivet Valençay Coulommiers Chantilly Munster Villette Clichy Bayonne Castelnau-le-Lez Le Pradet Gèdre Beauvais Rambervillers Bobigny Lens Saint-Malo Montparnasse Toul Brest Dreux Roquefort-sur-Soulzon Hettange-Grande Saint-Cloud Wissembourg Batignolles Pantin Frouard Charonne Langeac Termignon Cachan Alençon Bonneval-sur-Arc Costaros Chalon-sur-Saône Bercy Île-de-France Montrouge Saint-Omer Sainte-Foy-lès-Lyon Champagne Cognac Antrain Isigny-sur-Mer Bonifacio Ivry-sur-Seine Euville Coutances Auteuil Wattignies-la-Victoire Corneville-sur-Risle Mâcon Noisiel Bar-le-Duc Andrézieux-Bouthéon Le Pouliguen Ottmarsheim Dunkirk Valenciennes Chaource Fontaine-de-Vaucluse Cayenne Pompey Roubaix Montbrison Voves Aix-en-Provence Bercy Caussols Tautavel Champaubert Aiguillon Beaune Phalsbourg Rungis Azincourt Marcq-en-Barœul Étel Cahors Villersexel Taisnières-sur-Hon Verdun La Cadière-d'Azur Angoulême Ouessant Périgueux Denain Le Malzieu-Ville Ternes Grenelle Saint-Nectaire Roquebrune-sur-Argens Maroilles Brittany La Chapelle Matignon Cavaillon Metz Créhange Thann Bitche Nîmes Spicheren Lunéville Châtelperron Alfortville Mulhouse Bagnoles Sèvres Laqueuille Saint-Estèphe Givet Saint-Mandé Gros-Caillou Villejuif Noisy-le-Sec Tours Belfort Vézelay Laon Cergy Arras Barbizon Uzès Solutré-Pouilly Picpus La Villette Viroflay Thouars Romainville Cilaos Orléans Le Pré-Saint-Gervais Floirac Rolleboise Avignon Landerneau Libourne Montmorency Bel-Air Varize Brétigny-sur-Orge Brienne-le-Château Nancy Saint-Émilion Vichy Balma Les Lilas Belleville Pauillac Melun Saintes Salles Vaugirard Chevreuse Pont-à-Mousson Romanèche-Thorins Meaux Arcueil Le Kremlin-Bicêtre Décines-Charpieu Digne-les-Bains Clignancourt Gien Javel Chartres Audierne Laguiole Poitiers Fontainebleau Chablis La Bouille Berrias-et-Casteljau Le Mont-Saint-Michel Douai Selles-sur-Cher
267
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type landform
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type taxon
action count
action filter_multi_types
action find_reverse
entity Apt
relation named after
type landform
type taxon
[[{'concept': 'landform'}, {'concept': 'taxon'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?r ) WHERE { ?s rdf:type ?m . VALUES ( ?m ) { ( ontology:landform ) ( ontology:taxon ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:named_after resource:Apt . { { ?v rdf:type ontology:taxon } UNION { ?v rdf:type ontology:landform } } } } . FILTER ( ?r < ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q132801
P138
Q20667921 Q271669 Q16521
USER
And how about Albi?
(c(Q271669)|c(Q16521),P138,c(Q20667921))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q271669
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q16521
action count
action filter_multi_types
action find_reverse
entity Q132801
relation P138
type Q271669
type Q16521
[[{'concept': 'Q271669'}, {'concept': 'Q16521'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P138 resource:Q132801 . { { ?w rdf:type ontology:Q271669 } UNION { ?w rdf:type ontology:Q16521 } } } } . FILTER ( ?f < ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?b WHERE { VALUES ( ?x ) { ( ontology:Q271669 ) ( ontology:Q16521 ) } . ?d rdf:type ?x } GROUP BY ?b } }
Albi
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type landform
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type taxon
action count
action filter_multi_types
action find_reverse
entity Albi
relation named after
type landform
type taxon
[[{'concept': 'landform'}, {'concept': 'taxon'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:named_after resource:Albi . { { ?w rdf:type ontology:landform } UNION { ?w rdf:type ontology:taxon } } } } . FILTER ( ?f < ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?b WHERE { VALUES ( ?x ) { ( ontology:landform ) ( ontology:taxon ) } . ?d rdf:type ?x } GROUP BY ?b } }
[]
type of french administrative division landform taxon
SYSTEM
267
Q205551 Q3769 Q521432 Q201352 Q901416 Q253721 Q456477 Q191119 Q1172337 Q236579 Q1075237 Q321067 Q840218 Q326687 Q181946 Q160199 Q817418 Q842942 Q183910 Q626987 Q633254 Q190974 Q196360 Q180871 Q679894 Q166997 Q1440905 Q269364 Q2426877 Q138648 Q1391563 Q212793 Q2961727 Q6454 Q48958 Q208812 Q9155 Q208943 Q3241770 Q160506 Q193880 Q167152 Q840597 Q329664 Q1241308 Q209069 Q273702 Q181285 Q126668 Q59221 Q903665 Q7158 Q616668 Q264778 Q174032 Q229339 Q135265 Q208889 Q212274 Q161884 Q274327 Q28520 Q46135 Q205116 Q1476 Q154715 Q193899 Q30974 Q182744 Q459683 Q205632 Q623376 Q130994 Q217077 Q809414 Q213317 Q1073264 Q501933 Q694818 Q212987 Q474524 Q22640 Q181886 Q187796 Q193819 Q234270 Q238377 Q762471 Q234274 Q591741 Q729239 Q243866 Q474503 Q251731 Q126675 Q149419 Q1463559 Q201982 Q134674 Q474555 Q636299 Q605656 Q174257 Q471685 Q154724 Q165271 Q163108 Q211604 Q154728 Q12193 Q142410 Q476887 Q22739 Q189153 Q22636 Q575565 Q209086 Q195098 Q18199435 Q625570 Q569751 Q209005 Q181269 Q736370 Q1111541 Q203645 Q16532200 Q13917 Q241021 Q208793 Q387460 Q1080717 Q285 Q648164 Q567956 Q204051 Q193877 Q781078 Q202565 Q784536 Q1105062 Q468229 Q174247 Q900479 Q185721 Q1066223 Q1165029 Q148787 Q45797 Q163795 Q530593 Q463304 Q44401 Q212966 Q34001 Q213288 Q470959 Q47465 Q773318 Q845975 Q689491 Q688262 Q404783 Q16121 Q22160 Q478105 Q238339 Q271649 Q70285 Q23047 Q989788 Q1100414 Q154748 Q840164 Q134346 Q202378 Q6588 Q212959 Q541007 Q968881 Q18199186 Q822303 Q474773 Q666180 Q12130 Q13103683 Q453492 Q208798 Q22690 Q22380 Q207570 Q22754 Q42807 Q22756 Q208794 Q317975 Q233909 Q79815 Q177573 Q206493 Q1217220 Q188750 Q241940 Q18102 Q3413275 Q128466 Q370224 Q288 Q171545 Q204979 Q167141 Q193903 Q131329 Q256175 Q216966 Q917770 Q3413171 Q532352 Q83432 Q279681 Q372111 Q1014746 Q6548 Q175999 Q199682 Q266958 Q6397 Q325946 Q6544 Q316891 Q3413267 Q1348608 Q837748 Q498869 Q40898 Q192548 Q93351 Q1047171 Q256004 Q1440685 Q272528 Q41139 Q191126 Q471902 Q3555080 Q399366 Q461413 Q947091 Q207620 Q467132 Q135104 Q1056120 Q181306 Q3413163 Q475599 Q845191 Q130272 Q221683 Q990774 Q6616 Q182872 Q331232 Q1110622 Q273917 Q20892 Q193826 Q832386
(c(Q271669)|c(Q16521),P138,c(Q20667921))
action count
action less
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q271669
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q16521
action count
action filter_multi_types
action find_reverse
entity Q132801
relation P138
type Q271669
type Q16521
[ANSWER]
[[{'concept': 'Q271669'}, {'concept': 'Q16521'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P138 resource:Q132801 . { { ?w rdf:type ontology:Q271669 } UNION { ?w rdf:type ontology:Q16521 } } } } . FILTER ( ?f < ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?b WHERE { VALUES ( ?x ) { ( ontology:Q271669 ) ( ontology:Q16521 ) } . ?d rdf:type ?x } GROUP BY ?b } }
Mérignac French Guiana Saint-Marcellin Pontoise Lacaune Malakoff Chooz Rambouillet Morogues Semur-en-Auxois Bailleau-Armenonville Nemours Barrême Banon Argenteuil Cherbourg-Octeville Joinville Bonneville-la-Louvet Bayeux Herment Morbier Oradour-sur-Glane Aisy-sur-Armançon Compiègne Aurignac Nevers Ramonville-Saint-Agne Joué-lès-Tours Épinettes Maubeuge Coulmiers Charenton-le-Pont Chavignol Calais Neuilly-sur-Seine Corbeil-Essonnes Lagny-sur-Marne Bagnolet Lion Saint-Denis Chaumont Soissons Le Croisic Le Creusot Passy Domrémy-la-Pucelle Rocroi Cambrai Senlis Vaucouleurs Liverdun Oms Pouligny-Saint-Pierre Loudes Crozant Champigneulles Issy-les-Moulineaux Saint-Ouen Nogent-sur-Marne Bagneux Saint-Maurice Abbeville Créteil Amboise Le Mans Montbéliard Fontenay-sous-Bois Rouen Saint-Quentin Sancerre Aubervilliers Volvic Colmar Camembert Thiézac Ambert Civry Taizé Sassenage Choisy-le-Roi Sainte-Maure-de-Touraine Thionville Châteaudun Orange Vincennes Montélimar Pont-Aven Ver-sur-Mer Manosque Goutte-d'Or Vimoutiers Olivet Valençay Coulommiers Chantilly Munster Villette Clichy Bayonne Castelnau-le-Lez Le Pradet Gèdre Beauvais Rambervillers Bobigny Lens Saint-Malo Montparnasse Toul Brest Dreux Roquefort-sur-Soulzon Hettange-Grande Saint-Cloud Wissembourg Batignolles Pantin Frouard Charonne Langeac Termignon Cachan Alençon Bonneval-sur-Arc Costaros Chalon-sur-Saône Bercy Île-de-France Montrouge Saint-Omer Sainte-Foy-lès-Lyon Champagne Cognac Antrain Isigny-sur-Mer Bonifacio Ivry-sur-Seine Euville Coutances Auteuil Wattignies-la-Victoire Corneville-sur-Risle Mâcon Noisiel Bar-le-Duc Andrézieux-Bouthéon Le Pouliguen Ottmarsheim Dunkirk Valenciennes Chaource Fontaine-de-Vaucluse Cayenne Pompey Roubaix Montbrison Voves Aix-en-Provence Bercy Caussols Tautavel Champaubert Aiguillon Beaune Phalsbourg Rungis Azincourt Marcq-en-Barœul Étel Cahors Villersexel Taisnières-sur-Hon Verdun La Cadière-d'Azur Angoulême Ouessant Périgueux Denain Le Malzieu-Ville Ternes Grenelle Saint-Nectaire Roquebrune-sur-Argens Maroilles Brittany La Chapelle Matignon Cavaillon Metz Créhange Thann Bitche Nîmes Spicheren Lunéville Châtelperron Alfortville Mulhouse Bagnoles Sèvres Laqueuille Saint-Estèphe Givet Saint-Mandé Gros-Caillou Villejuif Noisy-le-Sec Tours Belfort Vézelay Laon Cergy Arras Barbizon Uzès Solutré-Pouilly Picpus La Villette Viroflay Thouars Romainville Cilaos Orléans Le Pré-Saint-Gervais Floirac Rolleboise Avignon Landerneau Libourne Montmorency Bel-Air Varize Brétigny-sur-Orge Brienne-le-Château Nancy Saint-Émilion Vichy Balma Les Lilas Belleville Pauillac Melun Saintes Salles Vaugirard Chevreuse Pont-à-Mousson Romanèche-Thorins Meaux Arcueil Le Kremlin-Bicêtre Décines-Charpieu Digne-les-Bains Clignancourt Gien Javel Chartres Audierne Laguiole Poitiers Fontainebleau Chablis La Bouille Berrias-et-Casteljau Le Mont-Saint-Michel Douai Selles-sur-Cher
267
action count
action less
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type landform
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type taxon
action count
action filter_multi_types
action find_reverse
entity Albi
relation named after
type landform
type taxon
[[{'concept': 'landform'}, {'concept': 'taxon'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:named_after resource:Albi . { { ?w rdf:type ontology:landform } UNION { ?w rdf:type ontology:taxon } } } } . FILTER ( ?f < ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?b WHERE { VALUES ( ?x ) { ( ontology:landform ) ( ontology:taxon ) } . ?d rdf:type ?x } GROUP BY ?b } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45656
P190
Q56061
USER
Which administrative territories are partner towns of Limoges ?
(Q45656,P190,c(Q56061))
action filter_type
action find
entity Q45656
relation P190
type Q56061
['Q45656', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q45656 property:P190 ?g }
Limoges
action filter_type
action find
entity Limoges
relation sister city
type administrative territorial entity
['Limoges', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Limoges property:sister_city ?g }
[]
administrative territorial entity
Q43453 Q181376
SYSTEM
Plzeň, Grodno
Q43453 Q181376
(Q45656,P190,c(Q56061))
action filter_type
action find
entity Q45656
relation P190
type Q56061
[ANSWERS]
['Q45656', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q45656 property:P190 ?g }
Plzeň Grodno
Plzeň Grodno
action filter_type
action find
entity Limoges
relation sister city
type administrative territorial entity
['Limoges', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Limoges property:sister_city ?g }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q43453 Q181376
P190
Q56061
USER
Which administrative territories are sister town of Plzeň and Grodno ?
(c(Q56061),P190,Q43453) (c(Q56061),P190,Q181376)
action union
action filter_type
action find_reverse
entity Q43453
relation P190
type Q56061
action filter_type
action find_reverse
entity Q181376
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q43453'] [{'concept': 'Q56061'}, 'P190', 'Q181376']
SELECT DISTINCT ?o WHERE { ?o property:P190 ?s . VALUES ( ?s ) { ( resource:Q43453 ) ( resource:Q181376 ) } }
Plzeň Grodno
action union
action filter_type
action find_reverse
entity Plzeň
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Grodno
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Plzeň'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Grodno']
SELECT DISTINCT ?o WHERE { ?o property:sister_city ?s . VALUES ( ?s ) { ( resource:Plzeň ) ( resource:Grodno ) } }
[]
administrative territorial entity
Q1829 Q9125 Q1957
SYSTEM
Kaliningrad, Winterthur, Vologda
Q9125 Q10006 Q761 Q25797 Q198369 Q197582 Q1829 Q1261509 Q3846 Q1957
(c(Q56061),P190,Q43453) (c(Q56061),P190,Q181376)
action union
action filter_type
action find_reverse
entity Q43453
relation P190
type Q56061
action filter_type
action find_reverse
entity Q181376
relation P190
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P190', 'Q43453'] [{'concept': 'Q56061'}, 'P190', 'Q181376']
SELECT DISTINCT ?o WHERE { ?o property:P190 ?s . VALUES ( ?s ) { ( resource:Q43453 ) ( resource:Q181376 ) } }
Winterthur Hengelo Białystok Žilina Shchyolkovo Khimki Kaliningrad Druskininkai Minden Vologda
Kaliningrad Winterthur Vologda
action union
action filter_type
action find_reverse
entity Plzeň
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Grodno
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Plzeň'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Grodno']
SELECT DISTINCT ?o WHERE { ?o property:sister_city ?s . VALUES ( ?s ) { ( resource:Plzeň ) ( resource:Grodno ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9125
P127
Q483110
USER
Which stadium is under posessision of that administrative territory ?
(c(Q483110),P127,Q9125)
action filter_type
action find_reverse
entity Q9125
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q9125']
SELECT DISTINCT ?p WHERE { ?p property:P127 resource:Q9125 . ?p rdf:type ontology:Q483110 }
Winterthur
action filter_type
action find_reverse
entity Winterthur
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Winterthur']
SELECT DISTINCT ?p WHERE { ?p property:owned_by resource:Winterthur . ?p rdf:type ontology:stadium }
[]
stadium
Clarification for simple ques.
Q1957
SYSTEM
Did you mean Vologda ?
Q1829 Q9125 Q1957
(c(Q483110),P127,Q1829) (c(Q483110),P127,Q9125) (c(Q483110),P127,Q1957)
[ANSWER]
[{'concept': 'Q483110'}, 'P127', 'Q1829'] [{'concept': 'Q483110'}, 'P127', 'Q9125'] [{'concept': 'Q483110'}, 'P127', 'Q1957']
SELECT DISTINCT ?p WHERE { ?p property:P127 resource:Q9125 . ?p rdf:type ontology:Q483110 }
Kaliningrad Winterthur Vologda
Did you mean Vologda ?
Vologda
[{'concept': 'stadium'}, 'owned by', 'Kaliningrad'] [{'concept': 'stadium'}, 'owned by', 'Winterthur'] [{'concept': 'stadium'}, 'owned by', 'Vologda']
SELECT DISTINCT ?p WHERE { ?p property:owned_by resource:Winterthur . ?p rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
USER
No, I meant Winterthur. Could you tell me the answer for that?
(c(Q483110),P127,Q9125)
Q9125
[{'concept': 'Q483110'}, 'P127', 'Q9125']
[{'concept': 'stadium'}, 'owned by', 'Winterthur']
[]
Q495324
SYSTEM
Stadion Schützenwiese
Q495324
(c(Q483110),P127,Q9125)
action filter_type
action find_reverse
entity Q9125
relation P127
type Q483110
[ANSWER]
[{'concept': 'Q483110'}, 'P127', 'Q9125']
SELECT DISTINCT ?p WHERE { ?p property:P127 resource:Q9125 . ?p rdf:type ontology:Q483110 }
Stadion Schützenwiese
Stadion Schützenwiese
action filter_type
action find_reverse
entity Winterthur
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Winterthur']
SELECT DISTINCT ?p WHERE { ?p property:owned_by resource:Winterthur . ?p rdf:type ontology:stadium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6737983
P17
Q15617994
USER
Which administrative territory is Majnun, Bushehr situated in ?
(Q6737983,P17,c(Q15617994))
action filter_type
action find
entity Q6737983
relation P17
type Q15617994
['Q6737983', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q6737983 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Majnun, Bushehr
action filter_type
action find
entity Majnun, Bushehr
relation country
type designation for an administrative territorial entity
['Majnun, Bushehr', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Majnun,_Bushehr property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q6737983,P17,c(Q15617994))
action filter_type
action find
entity Q6737983
relation P17
type Q15617994
[ANSWER]
['Q6737983', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q6737983 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Iran
Iran
action filter_type
action find
entity Majnun, Bushehr
relation country
type designation for an administrative territorial entity
['Majnun, Bushehr', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Majnun,_Bushehr property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q794
P706
Q151885
USER
Which concept has its location as that administrative territory ?
(c(Q151885),P706,Q794)
action filter_type
action find_reverse
entity Q794
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q794']
SELECT DISTINCT ?a WHERE { ?a property:P706 resource:Q794 . ?a rdf:type ontology:Q151885 }
Iran
action filter_type
action find_reverse
entity Iran
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Iran']
SELECT DISTINCT ?a WHERE { ?a property:located_on_terrain_feature resource:Iran . ?a rdf:type ontology:concept }
[]
concept
Q647858
SYSTEM
Zarzian culture
Q647858
(c(Q151885),P706,Q794)
action filter_type
action find_reverse
entity Q794
relation P706
type Q151885
[ANSWER]
[{'concept': 'Q151885'}, 'P706', 'Q794']
SELECT DISTINCT ?a WHERE { ?a property:P706 resource:Q794 . ?a rdf:type ontology:Q151885 }
Zarzian culture
Zarzian culture
action filter_type
action find_reverse
entity Iran
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Iran']
SELECT DISTINCT ?a WHERE { ?a property:located_on_terrain_feature resource:Iran . ?a rdf:type ontology:concept }
[]