Simple Question (Direct)
Simple Question
Q574716
P2416
Q31629
USER
Which type of sport did Yonas Kifle participate in ?
(Q574716,P2416,c(Q31629))
action filter_type
action find
entity Q574716
relation P2416
type Q31629
['Q574716', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?e WHERE { resource:Q574716 property:P2416 ?e . ?e rdf:type ontology:Q31629 }
Yonas Kifle
action filter_type
action find
entity Yonas Kifle
relation sports discipline competed in
type type of sport
['Yonas Kifle', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?e WHERE { resource:Yonas_Kifle property:sports_discipline_competed_in ?e . ?e rdf:type ontology:type_of_sport }
[]
type of sport
Q40244
SYSTEM
marathon
Q40244
(Q574716,P2416,c(Q31629))
action filter_type
action find
entity Q574716
relation P2416
type Q31629
Yonas Kifle participated in [ANSWER]
['Q574716', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?e WHERE { resource:Q574716 property:P2416 ?e . ?e rdf:type ontology:Q31629 }
marathon
Yonas Kifle participated in marathon
marathon
action filter_type
action find
entity Yonas Kifle
relation sports discipline competed in
type type of sport
['Yonas Kifle', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?e WHERE { resource:Yonas_Kifle property:sports_discipline_competed_in ?e . ?e rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q574716
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q40244,P27,c(Q15617994))
action filter_type
action find
entity Q574716
relation P27
type Q15617994
['Q40244', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q574716 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Yonas Kifle
action filter_type
action find
entity Yonas Kifle
relation country of citizenship
type designation for an administrative territorial entity
['marathon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Yonas_Kifle property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q986
SYSTEM
Eritrea
Q986
(Q40244,P27,c(Q15617994))
action filter_type
action find
entity Q574716
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q40244', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q574716 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Eritrea
Eritrea is the country of citizenship of that person
Eritrea
action filter_type
action find
entity Yonas Kifle
relation country of citizenship
type designation for an administrative territorial entity
['marathon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Yonas_Kifle property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q574716
P641
Q31629
USER
Which type of sport did that person participate in ?
(Q986,P641,c(Q31629))
action filter_type
action find
entity Q574716
relation P641
type Q31629
['Q986', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?k WHERE { resource:Q574716 property:P641 ?k . ?k rdf:type ontology:Q31629 }
Yonas Kifle
action filter_type
action find
entity Yonas Kifle
relation sport
type type of sport
['Eritrea', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?k WHERE { resource:Yonas_Kifle property:sport ?k . ?k rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q986,P641,c(Q31629))
action filter_type
action find
entity Q574716
relation P641
type Q31629
That person participated in [ANSWER]
['Q986', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?k WHERE { resource:Q574716 property:P641 ?k . ?k rdf:type ontology:Q31629 }
athletics
That person participated in athletics
athletics
action filter_type
action find
entity Yonas Kifle
relation sport
type type of sport
['Eritrea', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?k WHERE { resource:Yonas_Kifle property:sport ?k . ?k rdf:type ontology:type_of_sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q983696 Q574716
P641
Q31629
USER
And also Meeting Areva
AND((Q574716,P641,c(Q31629)), (Q983696,P641,c(Q31629)))
action filter_type
action intersection
action find
entity Q574716
relation P641
action find
entity Q983696
relation P641
type Q31629
{'AND': [['Q574716', 'P641', {'concept': 'Q31629'}], ['Q983696', 'P641', {'concept': 'Q31629'}]]}
SELECT DISTINCT ?l WHERE { resource:Q574716 property:P641 ?l . resource:Q983696 property:P641 ?l . ?l rdf:type ontology:Q31629 }
Meeting Areva Yonas Kifle
action filter_type
action intersection
action find
entity Yonas Kifle
relation sport
action find
entity Meeting Areva
relation sport
type type of sport
{'AND': [['Yonas Kifle', 'sport', {'concept': 'type of sport'}], ['Meeting Areva', 'sport', {'concept': 'type of sport'}]]}
SELECT DISTINCT ?l WHERE { resource:Yonas_Kifle property:sport ?l . resource:Meeting_Areva property:sport ?l . ?l rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
AND((Q574716,P641,c(Q31629)), (Q983696,P641,c(Q31629)))
action filter_type
action intersection
action find
entity Q574716
relation P641
action find
entity Q983696
relation P641
type Q31629
[ANSWER]
{'AND': [['Q574716', 'P641', {'concept': 'Q31629'}], ['Q983696', 'P641', {'concept': 'Q31629'}]]}
SELECT DISTINCT ?l WHERE { resource:Q574716 property:P641 ?l . resource:Q983696 property:P641 ?l . ?l rdf:type ontology:Q31629 }
athletics
athletics
action filter_type
action intersection
action find
entity Yonas Kifle
relation sport
action find
entity Meeting Areva
relation sport
type type of sport
{'AND': [['Yonas Kifle', 'sport', {'concept': 'type of sport'}], ['Meeting Areva', 'sport', {'concept': 'type of sport'}]]}
SELECT DISTINCT ?l WHERE { resource:Yonas_Kifle property:sport ?l . resource:Meeting_Areva property:sport ?l . ?l rdf:type ontology:type_of_sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q800
P85
Q484692 Q7725634 Q15617994
USER
How many administrative territories have lesser number of hymns and literary works as their anthem than Costa Rica ?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action count
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q800
relation P85
type Q484692
type Q7725634
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?g WHERE { VALUES ( ?q ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } . ?k rdf:type ?q } GROUP BY ?g } . FILTER ( ?c < ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { { ?o rdf:type ontology:Q484692 } UNION { ?o rdf:type ontology:Q7725634 } } . resource:Q800 property:P85 ?o } } }
Costa Rica
action count
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Costa Rica
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?g WHERE { VALUES ( ?q ) { ( ontology:hymn ) ( ontology:literary_work ) } . ?k rdf:type ?q } GROUP BY ?g } . FILTER ( ?c < ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { { ?o rdf:type ontology:hymn } UNION { ?o rdf:type ontology:literary_work } } . resource:Costa_Rica property:anthem ?o } } }
[]
hymn literary work designation for an administrative territorial entity
SYSTEM
8
Q701 Q705 Q142 Q1093 Q694 Q773 Q772 Q33788
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action count
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q800
relation P85
type Q484692
type Q7725634
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?g WHERE { VALUES ( ?q ) { ( ontology:Q484692 ) ( ontology:Q7725634 ) } . ?k rdf:type ?q } GROUP BY ?g } . FILTER ( ?c < ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { { ?o rdf:type ontology:Q484692 } UNION { ?o rdf:type ontology:Q7725634 } } . resource:Q800 property:P85 ?o } } }
North Holland Zeeland France Limburg South Holland Overijssel Drenthe New Caledonia
8
action count
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Costa Rica
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?g WHERE { VALUES ( ?q ) { ( ontology:hymn ) ( ontology:literary_work ) } . ?k rdf:type ?q } GROUP BY ?g } . FILTER ( ?c < ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { { ?o rdf:type ontology:hymn } UNION { ?o rdf:type ontology:literary_work } } . resource:Costa_Rica property:anthem ?o } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q33
P85
Q484692 Q7725634 Q15617994
USER
And what about Finland?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action count
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q33
relation P85
type Q484692
type Q7725634
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?w WHERE { VALUES ( ?l ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?g rdf:type ?l } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { { ?h rdf:type ontology:Q484692 } UNION { ?h rdf:type ontology:Q7725634 } } . resource:Q33 property:P85 ?h } } . FILTER ( ?o < ?p ) }
Finland
action count
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Finland
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?w WHERE { VALUES ( ?l ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?g rdf:type ?l } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { { ?h rdf:type ontology:hymn } UNION { ?h rdf:type ontology:literary_work } } . resource:Finland property:anthem ?h } } . FILTER ( ?o < ?p ) }
[]
hymn literary work designation for an administrative territorial entity
SYSTEM
8
Q701 Q705 Q142 Q1093 Q694 Q773 Q772 Q33788
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action count
action less
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action count
action filter_multi_types
action find
entity Q33
relation P85
type Q484692
type Q7725634
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?w WHERE { VALUES ( ?l ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?g rdf:type ?l } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { { ?h rdf:type ontology:Q484692 } UNION { ?h rdf:type ontology:Q7725634 } } . resource:Q33 property:P85 ?h } } . FILTER ( ?o < ?p ) }
North Holland Zeeland France Limburg South Holland Overijssel Drenthe New Caledonia
8
action count
action less
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find
entity Finland
relation anthem
type hymn
type literary work
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?w WHERE { VALUES ( ?l ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?g rdf:type ?l } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { { ?h rdf:type ontology:hymn } UNION { ?h rdf:type ontology:literary_work } } . resource:Finland property:anthem ?h } } . FILTER ( ?o < ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q14085739
P641
Q31629 Q502895 Q13406554
USER
Which types of sport did less number of people and sport competitions participate in than sailing ?
(c(Q502895)|c(Q13406554),P641,c(Q31629))
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q502895
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q14085739
relation P641
type Q502895
type Q13406554
[[{'concept': 'Q502895'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?i WHERE { VALUES ( ?h ) { ( ontology:Q502895 ) ( ontology:Q13406554 ) } . ?m rdf:type ?h } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:P641 resource:Q14085739 . { ?l rdf:type ?n . VALUES ( ?n ) { ( ontology:Q502895 ) ( ontology:Q13406554 ) } } } } . FILTER ( ?y < ?t ) }
sailing
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type common name
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity sailing
relation sport
type common name
type sport competition
[[{'concept': 'common name'}, {'concept': 'sport competition'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?i WHERE { VALUES ( ?h ) { ( ontology:common_name ) ( ontology:sport_competition ) } . ?m rdf:type ?h } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:sport resource:sailing . { ?l rdf:type ?n . VALUES ( ?n ) { ( ontology:common_name ) ( ontology:sport_competition ) } } } } . FILTER ( ?y < ?t ) }
[]
type of sport common name sport competition
Q216613 Q165704 Q40244
SYSTEM
Nordic skiing, high jump, marathon
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q217108 Q164731 Q11706688 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q692853 Q327223 Q165704 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q1209037 Q1707432 Q352749 Q272460 Q1141850 Q774176 Q159354 Q1629556 Q40244 Q14554839 Q172809 Q16629853 Q1423069 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q50620 Q31987 Q2891117 Q179226 Q1128216 Q11015 Q428242 Q48890 Q162883 Q5300110
(c(Q502895)|c(Q13406554),P641,c(Q31629))
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q502895
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q14085739
relation P641
type Q502895
type Q13406554
[ANSWERS] less number of people and sport competitions participated in than sailing
[[{'concept': 'Q502895'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?i WHERE { VALUES ( ?h ) { ( ontology:Q502895 ) ( ontology:Q13406554 ) } . ?m rdf:type ?h } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:P641 resource:Q14085739 . { ?l rdf:type ?n . VALUES ( ?n ) { ( ontology:Q502895 ) ( ontology:Q13406554 ) } } } } . FILTER ( ?y < ?t ) }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing airsoft 100 metres hurdles sprinting open water swimming downhill mountain biking draughts orienteering 200 metres 1500 metres beach run horse racing Ice yachting bicycle motocross cross-country cycling kite surfing nine-pin bowling sporting clays Nordic skiing rafting kayaking stadion Flag football freestyle wrestling high jump skeet shooting roller sport carom billiards 100 metres Olympic skeet Modern competitive archery roller skating sprint Pilates canoe racing Keirin rowing 1000 metres marathon competitive fencing ten-pin bowling Mixed Doubles canoe camping para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating Telemark skiing freestyle swimming dragon boat sport equestrianism wheelchair basketball snooker ski-orienteering college basketball free climbing double trap
Nordic skiing, high jump and marathon less number of people and sport competitions participated in than sailing
Nordic skiing high jump marathon
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type common name
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity sailing
relation sport
type common name
type sport competition
[[{'concept': 'common name'}, {'concept': 'sport competition'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?i WHERE { VALUES ( ?h ) { ( ontology:common_name ) ( ontology:sport_competition ) } . ?m rdf:type ?h } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:sport resource:sailing . { ?l rdf:type ?n . VALUES ( ?n ) { ( ontology:common_name ) ( ontology:sport_competition ) } } } } . FILTER ( ?y < ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q663119
P1444
Q20667921 Q31629
USER
Which french administrative divisions do lesser number of types of sport finally stop at than Beaurains ?
(c(Q31629),P1444,c(Q20667921))
action less
action find_reverse_tuple_counts
relation P1444
type Q20667921
type Q31629
action count
action filter_type
action find_reverse
entity Q663119
relation P1444
type Q31629
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?o ) WHERE { ?p rdf:type ontology:Q20667921 . ?e rdf:type ontology:Q31629 . ?e property:P1444 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P1444 resource:Q663119 . ?w rdf:type ontology:Q31629 } } . FILTER ( ?o < ?r ) }
Beaurains
action less
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_reverse
entity Beaurains
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?o ) WHERE { ?p rdf:type ontology:type_of_french_administrative_division . ?e rdf:type ontology:type_of_sport . ?e property:destination_point ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:destination_point resource:Beaurains . ?w rdf:type ontology:type_of_sport } } . FILTER ( ?o < ?r ) }
[]
type of french administrative division type of sport
Q42716 Q42807 Q30974
SYSTEM
Saint-Étienne, Nîmes, Rouen
Q473417 Q167024 Q132801 Q279310 Q184359 Q210763 Q188511 Q1020857 Q29234 Q681563 Q696634 Q537113 Q852015 Q1231290 Q209814 Q654153 Q209109 Q6588 Q207614 Q784555 Q1323323 Q1014771 Q30974 Q182744 Q461219 Q731594 Q274292 Q42807 Q729239 Q202439 Q666278 Q468227 Q331083 Q163108 Q188878 Q192744 Q181306 Q22737 Q377932 Q129002 Q238366 Q187911 Q750710 Q318535 Q201311 Q234704 Q191856 Q174247 Q160927 Q322959 Q237516 Q184392 Q383388 Q34001 Q42716 Q343613 Q638573 Q389882 Q244864 Q244184 Q212352 Q367373 Q202374 Q457728 Q1001685 Q81997 Q43295 Q696499 Q537086 Q212959 Q288 Q208264 Q456327 Q22690 Q17393 Q305007 Q328205 Q79815 Q6393 Q1046601 Q132671 Q207253 Q134698 Q859481 Q145921 Q192773 Q430305 Q21476 Q40898 Q185066 Q5489 Q203298 Q130272 Q504931 Q6616 Q328730 Q656458
(c(Q31629),P1444,c(Q20667921))
action less
action find_reverse_tuple_counts
relation P1444
type Q20667921
type Q31629
action count
action filter_type
action find_reverse
entity Q663119
relation P1444
type Q31629
[ANSWERS] lesser number of types of sport finally stop at than Beaurains
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?o ) WHERE { ?p rdf:type ontology:Q20667921 . ?e rdf:type ontology:Q31629 . ?e property:P1444 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P1444 resource:Q663119 . ?w rdf:type ontology:Q31629 } } . FILTER ( ?o < ?r ) }
Wallers Basse-Terre Albi Marcigny Le Puy-en-Velay Saint-Flour Guéret Orcières Saint-Brieuc Wasquehal Chamrousse Modane Isbergues Saint-Sorlin-d'Arves Guebwiller Cluses Saint-Amand-Montrond Périgueux Figeac Saint-Martin-de-Landelles Saint-Lary-Soulan L'Étang-Salé Rouen Saint-Quentin Gérardmer Arnage, Sarthe Guilherand-Granges Nîmes Vimoutiers Calvi Bétheny Livron-sur-Drôme Saint-Priest Saint-Malo Dax Limoux Digne-les-Bains Sélestat Mers-les-Bains Plouay Annonay Bergerac Chauffailles Longwy Dinan Vitré Oyonnax Mâcon Blois Chorges Martigues Foix Lillers Roubaix Saint-Étienne Gaillac Pérenchies Le Grand-Bornand Rostrenen Bourg-Saint-Andéol Montargis Fontaine-au-Pire Châteaulin Montceau-les-Mines Marigny Boulogne-sur-Mer Villeneuve-d'Ascq Villard-de-Lans Pont-à-Marcq Denain Tours Bagnères-de-Bigorre Ville-d'Avray Metz Concarneau Fourmies Ruoms Mulhouse Brive-la-Gaillarde Bellignies Pau Mantes-la-Jolie Bastia Clermont-Pouyguillès La Haie-Fouassière Aulnay-sous-Bois Cagnac-les-Mines Mulhausen Nancy Cholet Troyes Briançon Chartres Les Essarts Poitiers Lannilis Noirmoutier-en-l'Île
Saint-Étienne, Nîmes and Rouen lesser number of types of sport finally stop at than Beaurains
Saint-Étienne Nîmes Rouen
action less
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_reverse
entity Beaurains
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?o ) WHERE { ?p rdf:type ontology:type_of_french_administrative_division . ?e rdf:type ontology:type_of_sport . ?e property:destination_point ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:destination_point resource:Beaurains . ?w rdf:type ontology:type_of_sport } } . FILTER ( ?o < ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q385527
P1444
Q20667921 Q31629
USER
And how about Saint-Pol-sur-Ternoise?
(c(Q31629),P1444,c(Q20667921))
action less
action find_reverse_tuple_counts
relation P1444
type Q20667921
type Q31629
action count
action filter_type
action find_reverse
entity Q385527
relation P1444
type Q31629
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P1444 resource:Q385527 . ?h rdf:type ontology:Q31629 } } . FILTER ( ?u < ?b ) . { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:P1444 ?o . ?o rdf:type ontology:Q20667921 . ?z rdf:type ontology:Q31629 } GROUP BY ?o } }
Saint-Pol-sur-Ternoise
action less
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_reverse
entity Saint-Pol-sur-Ternoise
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:destination_point resource:Saint-Pol-sur-Ternoise . ?h rdf:type ontology:type_of_sport } } . FILTER ( ?u < ?b ) . { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:destination_point ?o . ?o rdf:type ontology:type_of_french_administrative_division . ?z rdf:type ontology:type_of_sport } GROUP BY ?o } }
[]
type of french administrative division type of sport
Q42716 Q42807 Q30974
SYSTEM
Saint-Étienne, Nîmes, Rouen
Q473417 Q167024 Q132801 Q279310 Q184359 Q210763 Q188511 Q1020857 Q29234 Q681563 Q696634 Q537113 Q852015 Q1231290 Q209814 Q654153 Q209109 Q6588 Q207614 Q784555 Q1323323 Q1014771 Q30974 Q182744 Q461219 Q731594 Q274292 Q42807 Q729239 Q202439 Q666278 Q468227 Q331083 Q163108 Q188878 Q192744 Q181306 Q22737 Q377932 Q129002 Q238366 Q187911 Q750710 Q318535 Q201311 Q234704 Q191856 Q174247 Q160927 Q322959 Q237516 Q184392 Q383388 Q34001 Q42716 Q343613 Q638573 Q389882 Q244864 Q244184 Q212352 Q367373 Q202374 Q457728 Q1001685 Q81997 Q43295 Q696499 Q537086 Q212959 Q288 Q208264 Q456327 Q22690 Q17393 Q305007 Q328205 Q79815 Q6393 Q1046601 Q132671 Q207253 Q134698 Q859481 Q145921 Q192773 Q430305 Q21476 Q40898 Q185066 Q5489 Q203298 Q130272 Q504931 Q6616 Q328730 Q656458
(c(Q31629),P1444,c(Q20667921))
action less
action find_reverse_tuple_counts
relation P1444
type Q20667921
type Q31629
action count
action filter_type
action find_reverse
entity Q385527
relation P1444
type Q31629
[ANSWERS]
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P1444 resource:Q385527 . ?h rdf:type ontology:Q31629 } } . FILTER ( ?u < ?b ) . { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:P1444 ?o . ?o rdf:type ontology:Q20667921 . ?z rdf:type ontology:Q31629 } GROUP BY ?o } }
Wallers Basse-Terre Albi Marcigny Le Puy-en-Velay Saint-Flour Guéret Orcières Saint-Brieuc Wasquehal Chamrousse Modane Isbergues Saint-Sorlin-d'Arves Guebwiller Cluses Saint-Amand-Montrond Périgueux Figeac Saint-Martin-de-Landelles Saint-Lary-Soulan L'Étang-Salé Rouen Saint-Quentin Gérardmer Arnage, Sarthe Guilherand-Granges Nîmes Vimoutiers Calvi Bétheny Livron-sur-Drôme Saint-Priest Saint-Malo Dax Limoux Digne-les-Bains Sélestat Mers-les-Bains Plouay Annonay Bergerac Chauffailles Longwy Dinan Vitré Oyonnax Mâcon Blois Chorges Martigues Foix Lillers Roubaix Saint-Étienne Gaillac Pérenchies Le Grand-Bornand Rostrenen Bourg-Saint-Andéol Montargis Fontaine-au-Pire Châteaulin Montceau-les-Mines Marigny Boulogne-sur-Mer Villeneuve-d'Ascq Villard-de-Lans Pont-à-Marcq Denain Tours Bagnères-de-Bigorre Ville-d'Avray Metz Concarneau Fourmies Ruoms Mulhouse Brive-la-Gaillarde Bellignies Pau Mantes-la-Jolie Bastia Clermont-Pouyguillès La Haie-Fouassière Aulnay-sous-Bois Cagnac-les-Mines Mulhausen Nancy Cholet Troyes Briançon Chartres Les Essarts Poitiers Lannilis Noirmoutier-en-l'Île
Saint-Étienne Nîmes Rouen
action less
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_reverse
entity Saint-Pol-sur-Ternoise
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:destination_point resource:Saint-Pol-sur-Ternoise . ?h rdf:type ontology:type_of_sport } } . FILTER ( ?u < ?b ) . { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:destination_point ?o . ?o rdf:type ontology:type_of_french_administrative_division . ?z rdf:type ontology:type_of_sport } GROUP BY ?o } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q165501
P17
Q1048835
USER
Which political territory is Dießen am Ammersee present in ?
(Q165501,P17,c(Q1048835))
action filter_type
action find
entity Q165501
relation P17
type Q1048835
['Q165501', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q165501 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Dießen am Ammersee
action filter_type
action find
entity Dießen am Ammersee
relation country
type political territorial entity
['Dießen am Ammersee', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Dießen_am_Ammersee property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q165501,P17,c(Q1048835))
action filter_type
action find
entity Q165501
relation P17
type Q1048835
Which political territory is Dießen am Ammersee present in
['Q165501', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q165501 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Germany
Which political territory is Dießen am Ammersee present in
Germany
action filter_type
action find
entity Dießen am Ammersee
relation country
type political territorial entity
['Dießen am Ammersee', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Dießen_am_Ammersee property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q165501
P937
Q502895
USER
Who have that administrative territory as their work location ?
(c(Q502895),P937,Q183)
action filter_type
action find_reverse
entity Q165501
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q183']
SELECT DISTINCT ?f WHERE { ?f property:P937 resource:Q165501 . ?f rdf:type ontology:Q502895 }
Dießen am Ammersee
action filter_type
action find_reverse
entity Dießen am Ammersee
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Germany']
SELECT DISTINCT ?f WHERE { ?f property:work_location resource:Dießen_am_Ammersee . ?f rdf:type ontology:common_name }
[]
common name
Q807524 Q106617 Q1324773
SYSTEM
Barbara König, Ludwig Aurbacher, Hedwig Grimm
Q807524 Q1706726 Q1324773 Q106617 Q74578
(c(Q502895),P937,Q183)
action filter_type
action find_reverse
entity Q165501
relation P937
type Q502895
[ANSWERS] have that administrative territory as their work location
[{'concept': 'Q502895'}, 'P937', 'Q183']
SELECT DISTINCT ?f WHERE { ?f property:P937 resource:Q165501 . ?f rdf:type ontology:Q502895 }
Barbara König Joseph Carl Huber Hedwig Grimm Ludwig Aurbacher Bruno Schweizer
Barbara König, Ludwig Aurbacher and Hedwig Grimm have that administrative territory as their work location
Barbara König Ludwig Aurbacher Hedwig Grimm
action filter_type
action find_reverse
entity Dießen am Ammersee
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Germany']
SELECT DISTINCT ?f WHERE { ?f property:work_location resource:Dießen_am_Ammersee . ?f rdf:type ontology:common_name }
[]