Simple Question (Direct)
Simple Question
Q1096136
P47
Q20667921
USER
Which french administrative divisions are adjacent to Estrées-Saint-Denis ?
(Q1096136,P47,c(Q20667921))
action filter_type
action find
entity Q1096136
relation P47
type Q20667921
['Q1096136', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q20667921 . resource:Q1096136 property:P47 ?f }
Estrées-Saint-Denis
action filter_type
action find
entity Estrées-Saint-Denis
relation shares border with
type type of french administrative division
['Estrées-Saint-Denis', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:type_of_french_administrative_division . resource:Estrées-Saint-Denis property:shares_border_with ?f }
[]
type of french administrative division
Q1386960 Q1336423 Q971018
SYSTEM
Remy, Moyvillers, Bailleul-le-Soc
Q1336423 Q1386960 Q971018 Q1335448 Q1097353 Q1089855
(Q1096136,P47,c(Q20667921))
action filter_type
action find
entity Q1096136
relation P47
type Q20667921
[ANSWERS] are adjacent to Estrées-Saint-Denis
['Q1096136', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q20667921 . resource:Q1096136 property:P47 ?f }
Moyvillers Remy Bailleul-le-Soc Rouvillers Choisy-la-Victoire Francières
Remy, Moyvillers and Bailleul-le-Soc are adjacent to Estrées-Saint-Denis
Remy Moyvillers Bailleul-le-Soc
action filter_type
action find
entity Estrées-Saint-Denis
relation shares border with
type type of french administrative division
['Estrées-Saint-Denis', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:type_of_french_administrative_division . resource:Estrées-Saint-Denis property:shares_border_with ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1096136
P36
Q20667921
USER
Which french administrative division consists of Estrées-Saint-Denis as its capital ?
(c(Q20667921),P36,Q1096136)
action filter_type
action find_reverse
entity Q1096136
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q1096136']
SELECT DISTINCT ?y WHERE { ?y property:P36 resource:Q1096136 . ?y rdf:type ontology:Q20667921 }
Estrées-Saint-Denis
action filter_type
action find_reverse
entity Estrées-Saint-Denis
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Estrées-Saint-Denis']
SELECT DISTINCT ?y WHERE { ?y property:capital resource:Estrées-Saint-Denis . ?y rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q630878
SYSTEM
canton of Estrées-Saint-Denis
Q630878
(c(Q20667921),P36,Q1096136)
action filter_type
action find_reverse
entity Q1096136
relation P36
type Q20667921
The [ANSWER] consists of Estrées-Saint-Denis as its capital
[{'concept': 'Q20667921'}, 'P36', 'Q1096136']
SELECT DISTINCT ?y WHERE { ?y property:P36 resource:Q1096136 . ?y rdf:type ontology:Q20667921 }
canton of Estrées-Saint-Denis
The canton of Estrées-Saint-Denis consists of Estrées-Saint-Denis as its capital
canton of Estrées-Saint-Denis
action filter_type
action find_reverse
entity Estrées-Saint-Denis
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Estrées-Saint-Denis']
SELECT DISTINCT ?y WHERE { ?y property:capital resource:Estrées-Saint-Denis . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q630878
P1376
Q20667921
USER
What is the capital of that one ?
(c(Q20667921),P1376,Q630878)
action filter_type
action find_reverse
entity Q630878
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q630878']
SELECT DISTINCT ?c WHERE { ?c property:P1376 resource:Q630878 . ?c rdf:type ontology:Q20667921 }
canton of Estrées-Saint-Denis
action filter_type
action find_reverse
entity canton of Estrées-Saint-Denis
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Estrées-Saint-Denis']
SELECT DISTINCT ?c WHERE { ?c property:capital_of resource:canton_of_Estrées-Saint-Denis . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1096136
SYSTEM
Estrées-Saint-Denis
Q1096136
(c(Q20667921),P1376,Q630878)
action filter_type
action find_reverse
entity Q630878
relation P1376
type Q20667921
The capital of that one is [ANSWER]
[{'concept': 'Q20667921'}, 'P1376', 'Q630878']
SELECT DISTINCT ?c WHERE { ?c property:P1376 resource:Q630878 . ?c rdf:type ontology:Q20667921 }
Estrées-Saint-Denis
The capital of that one is Estrées-Saint-Denis
Estrées-Saint-Denis
action filter_type
action find_reverse
entity canton of Estrées-Saint-Denis
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Estrées-Saint-Denis']
SELECT DISTINCT ?c WHERE { ?c property:capital_of resource:canton_of_Estrées-Saint-Denis . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1096136 Q142
P17
Q15617994
USER
Is that french administrative division a part of France ?
(Q1096136,P17,Q142)
action is_in
entity Q142
action find
entity Q1096136
relation P17
['Q1096136', 'P17', 'Q142']
ASK WHERE { resource:Q1096136 property:P17 resource:Q142 }
Estrées-Saint-Denis France
action is_in
entity France
action find
entity Estrées-Saint-Denis
relation country
['Estrées-Saint-Denis', 'country', 'France']
ASK WHERE { resource:Estrées-Saint-Denis property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1096136,P17,Q142)
action is_in
entity Q142
action find
entity Q1096136
relation P17
[ANSWER]
['Q1096136', 'P17', 'Q142']
ASK WHERE { resource:Q1096136 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Estrées-Saint-Denis
relation country
['Estrées-Saint-Denis', 'country', 'France']
ASK WHERE { resource:Estrées-Saint-Denis property:country resource:France }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q630878 Q7797729
P17
Q15617994
USER
Is canton of Estrées-Saint-Denis located in Three Rivers Community Schools ?
(Q630878,P17,Q7797729)
action is_in
entity Q7797729
action find
entity Q630878
relation P17
['Q630878', 'P17', 'Q7797729']
ASK WHERE { resource:Q630878 property:P17 resource:Q7797729 }
canton of Estrées-Saint-Denis Three Rivers Community Schools
action is_in
entity Three Rivers Community Schools
action find
entity canton of Estrées-Saint-Denis
relation country
['canton of Estrées-Saint-Denis', 'country', 'Three Rivers Community Schools']
ASK WHERE { resource:canton_of_Estrées-Saint-Denis property:country resource:Three_Rivers_Community_Schools }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q630878,P17,Q7797729)
action is_in
entity Q7797729
action find
entity Q630878
relation P17
[ANSWER]
['Q630878', 'P17', 'Q7797729']
ASK WHERE { resource:Q630878 property:P17 resource:Q7797729 }
No
action is_in
entity Three Rivers Community Schools
action find
entity canton of Estrées-Saint-Denis
relation country
['canton of Estrées-Saint-Denis', 'country', 'Three Rivers Community Schools']
ASK WHERE { resource:canton_of_Estrées-Saint-Denis property:country resource:Three_Rivers_Community_Schools }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1386960
P47
Q20667921
USER
How many french administrative divisions are adjacent to Remy ?
(Q1386960,P47,c(Q20667921))
action count
action filter_type
action find
entity Q1386960
relation P47
type Q20667921
['Q1386960', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Q1386960 property:P47 ?n . ?n rdf:type ontology:Q20667921 }
Remy
action count
action filter_type
action find
entity Remy
relation shares border with
type type of french administrative division
['Remy', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Remy property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
9
Q1096136 Q1338632 Q1099006 Q1336423 Q1336239 Q1337279 Q1089855 Q705203 Q1336404
(Q1386960,P47,c(Q20667921))
action count
action filter_type
action find
entity Q1386960
relation P47
type Q20667921
[ANSWER]
['Q1386960', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Q1386960 property:P47 ?n . ?n rdf:type ontology:Q20667921 }
Estrées-Saint-Denis Jonquières Baugy Moyvillers Montmartin Lachelle Francières Arsy Monchy-Humières
9
action count
action filter_type
action find
entity Remy
relation shares border with
type type of french administrative division
['Remy', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Remy property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1096136
P166
Q618779
USER
What was won by Estrées-Saint-Denis ?
(Q1096136,P166,c(Q618779))
action filter_type
action find
entity Q1096136
relation P166
type Q618779
['Q1096136', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q1096136 property:P166 ?p . ?p rdf:type ontology:Q618779 }
Estrées-Saint-Denis
action filter_type
action find
entity Estrées-Saint-Denis
relation award received
type award
['Estrées-Saint-Denis', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Estrées-Saint-Denis property:award_received ?p . ?p rdf:type ontology:award }
[]
award
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q1096136,P166,c(Q618779))
action filter_type
action find
entity Q1096136
relation P166
type Q618779
De [ANSWER] was won by Estrées-Saint-Denis
['Q1096136', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q1096136 property:P166 ?p . ?p rdf:type ontology:Q618779 }
Croix de guerre 1914–1918
De Croix de guerre 1914–1918 was won by Estrées-Saint-Denis
Croix de guerre 1914–1918
action filter_type
action find
entity Estrées-Saint-Denis
relation award received
type award
['Estrées-Saint-Denis', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Estrées-Saint-Denis property:award_received ?p . ?p rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1386960
P190
Q15617994
USER
Which administrative territory is twin town of Remy ?
(c(Q15617994),P190,Q1386960)
action filter_type
action find
entity Q1386960
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q1386960']
SELECT DISTINCT ?u WHERE { resource:Q1386960 property:P190 ?u . ?u rdf:type ontology:Q15617994 }
Remy
action filter_type
action find
entity Remy
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Remy']
SELECT DISTINCT ?u WHERE { resource:Remy property:sister_city ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q510035
SYSTEM
Lalling
Q510035
(c(Q15617994),P190,Q1386960)
action filter_type
action find
entity Q1386960
relation P190
type Q15617994
[ANSWER] is twin town of Remy
[{'concept': 'Q15617994'}, 'P190', 'Q1386960']
SELECT DISTINCT ?u WHERE { resource:Q1386960 property:P190 ?u . ?u rdf:type ontology:Q15617994 }
Lalling
Lalling is twin town of Remy
Lalling
action filter_type
action find
entity Remy
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Remy']
SELECT DISTINCT ?u WHERE { resource:Remy property:sister_city ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1027
Q11032 Q1002697 Q618779
USER
Which awards are awarded by approximately 1 newspapers and periodical literatures ?
(c(Q618779),P1027,c(Q11032)|c(Q1002697))
action approx
action union
action find_tuple_counts
relation P1027
type Q618779
type Q11032
action find_tuple_counts
relation P1027
type Q618779
type Q1002697
value 1
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q11032'}, {'concept': 'Q1002697'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?p WHERE { VALUES ( ?r ) { ( ontology:Q11032 ) ( ontology:Q1002697 ) } . ?x rdf:type ?r } GROUP BY ?p } . FILTER ( ?w = 1 ) }
action approx
action union
action find_tuple_counts
relation conferred by
type award
type newspaper
action find_tuple_counts
relation conferred by
type award
type periodical literature
value 1
[{'concept': 'award'}, 'conferred by', [{'concept': 'newspaper'}, {'concept': 'periodical literature'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?p WHERE { VALUES ( ?r ) { ( ontology:newspaper ) ( ontology:periodical_literature ) } . ?x rdf:type ?r } GROUP BY ?p } . FILTER ( ?w = 1 ) }
[]
newspaper periodical literature award
Q729513 Q971363 Q12327571
SYSTEM
Pichichi Trophy, Guardian Children's Fiction Prize, Montanas Litteraturpris
Q21126541 Q1124948 Q957043 Q5580323 Q1793320 Q971363 Q729513 Q12327571 Q1383535
(c(Q618779),P1027,c(Q11032)|c(Q1002697))
action approx
action union
action find_tuple_counts
relation P1027
type Q618779
type Q11032
action find_tuple_counts
relation P1027
type Q618779
type Q1002697
value 1
[ANSWERS] are awarded by approximately 1 newspapers and periodical literatures
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q11032'}, {'concept': 'Q1002697'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?p WHERE { VALUES ( ?r ) { ( ontology:Q11032 ) ( ontology:Q1002697 ) } . ?x rdf:type ?r } GROUP BY ?p } . FILTER ( ?w = 1 ) }
Kirkus Prize Ricardo Zamora Trophy Yomiuri Prize Goldsmiths Prize Kurt Vorhofer Award Guardian Children's Fiction Prize Pichichi Trophy Montanas Litteraturpris Prix du meilleur jeune économiste de France
Pichichi Trophy, Guardian Children's Fiction Prize and Montanas Litteraturpris are awarded by approximately 1 newspapers and periodical literatures
Pichichi Trophy Guardian Children's Fiction Prize Montanas Litteraturpris
action approx
action union
action find_tuple_counts
relation conferred by
type award
type newspaper
action find_tuple_counts
relation conferred by
type award
type periodical literature
value 1
[{'concept': 'award'}, 'conferred by', [{'concept': 'newspaper'}, {'concept': 'periodical literature'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?p WHERE { VALUES ( ?r ) { ( ontology:newspaper ) ( ontology:periodical_literature ) } . ?x rdf:type ?r } GROUP BY ?p } . FILTER ( ?w = 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1346
Q502895
USER
How many people were the winners of that award ?
(Q971363,P1346,c(Q502895))
['Q971363', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q971363 property:Q18560095 ?z . ?z rdf:type ontology:Q502895 }
["Guardian Children's Fiction Prize", 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Guardian_Children's_Fiction_Prize property:winner ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q971363
SYSTEM
Did you mean Guardian Children's Fiction Prize ?
(Q729513,P1346,c(Q502895)) (Q971363,P1346,c(Q502895)) (Q12327571,P1346,c(Q502895))
[ANSWER]
['Q729513', 'P1346', {'concept': 'Q502895'}] ['Q971363', 'P1346', {'concept': 'Q502895'}] ['Q12327571', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q971363 property:Q18560095 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Guardian Children's Fiction Prize ?
Guardian Children's Fiction Prize
['Pichichi Trophy', 'winner', {'concept': 'common name'}] ["Guardian Children's Fiction Prize", 'winner', {'concept': 'common name'}] ['Montanas Litteraturpris', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Guardian_Children's_Fiction_Prize property:winner ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q971363,P1346,c(Q502895))
['Q971363', 'P1346', {'concept': 'Q502895'}]
["Guardian Children's Fiction Prize", 'winner', {'concept': 'common name'}]
[]
SYSTEM
50
Q457495 Q529399 Q190220 Q313289 Q6530493 Q470302 Q461360 Q1760291 Q504430 Q268495 Q272194 Q3270582 Q1808983 Q8025376 Q4766662 Q4761074 Q356357 Q705074 Q236829 Q1233018 Q7301942 Q276607 Q457371 Q7383240 Q513510 Q4766620 Q937084 Q2057843 Q5562190 Q3244263 Q275392 Q263648 Q1340595 Q1886587 Q1740117 Q951657 Q5715914 Q552025 Q448246 Q2579910 Q165801 Q7279135 Q706856 Q1653062 Q359498 Q4859410 Q4727163 Q523269 Q240647 Q384481
(Q971363,P1346,c(Q502895))
[ANSWER]
['Q971363', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q971363 property:Q18560095 ?z . ?z rdf:type ontology:Q502895 }
Sonya Hartnett Dick King-Smith Philip Pullman Richard Adams Lesley Howarth Meg Rosoff Michelle Magorian Leon Garfield Andrew Davies Anita Desai Ted Hughes Susan Price Michelle Paver Winifred Cawley Ann Schlee Andy Mulligan Mark Haddon Peter Dickinson Diana Wynne Jones Frank Cottrell Boyce Rebecca Stead Kate Thompson Geraldine McCaughrean Ruth Thomas Jenny Valentine Ann Pilling Philip Reeve Patrick Ness Gillian Avery K.M. Peyton Nina Bawden Joan Aiken James Aldridge Mal Peet Kevin Crossley-Holland Melvin Burgess Henrietta Branford John Christopher Anne Fine William Mayne Hilary McKay Rachel Anderson David Almond Peter Carter Robert Westall Barbara Willard Alison Prince Sylvia Waugh Jacqueline Wilson Alan Garner
50
["Guardian Children's Fiction Prize", 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Guardian_Children's_Fiction_Prize property:winner ?z . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q191765
P206
Q1267889 Q15324 Q20667921
USER
How many french administrative divisions are located next to less number of waterways and bodies of water than Anglet ?
(c(Q20667921),P206,c(Q1267889)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action count
action filter_multi_types
action find
entity Q191765
relation P206
type Q1267889
type Q15324
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?f WHERE { { ?f property:P206 ?i . ?f rdf:type ontology:Q20667921 . ?i rdf:type ontology:Q1267889 } UNION { ?f property:P206 ?i . ?f rdf:type ontology:Q20667921 . ?i rdf:type ontology:Q15324 } } GROUP BY ?f } . FILTER ( ?k < ?r ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } . resource:Q191765 property:P206 ?v } } }
Anglet
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action count
action filter_multi_types
action find
entity Anglet
relation located next to body of water
type waterway
type body of water
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?f WHERE { { ?f property:located_next_to_body_of_water ?i . ?f rdf:type ontology:type_of_french_administrative_division . ?i rdf:type ontology:waterway } UNION { ?f property:located_next_to_body_of_water ?i . ?f rdf:type ontology:type_of_french_administrative_division . ?i rdf:type ontology:body_of_water } } GROUP BY ?f } . FILTER ( ?k < ?r ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:waterway ) ( ontology:body_of_water ) } } . resource:Anglet property:located_next_to_body_of_water ?v } } }
[]
waterway body of water type of french administrative division
SYSTEM
51
Q3769 Q1649363 Q467030 Q245066 Q956943 Q30974 Q147606 Q429770 Q1221458 Q236736 Q266886 Q207253 Q675318 Q1014763 Q652100 Q1221814 Q849165 Q1073039 Q1326390 Q751619 Q921780 Q14112 Q1162138 Q47045 Q926768 Q1649370 Q849065 Q1617681 Q654000 Q249884 Q849023 Q333447 Q1014814 Q662942 Q738523 Q1075733 Q1217913 Q26583 Q545015 Q478215 Q1757048 Q1014771 Q1014731 Q44401 Q1001582 Q691092 Q662229 Q752535 Q1165029 Q273297 Q284445
(c(Q20667921),P206,c(Q1267889)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action count
action filter_multi_types
action find
entity Q191765
relation P206
type Q1267889
type Q15324
[ANSWER]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?f WHERE { { ?f property:P206 ?i . ?f rdf:type ontology:Q20667921 . ?i rdf:type ontology:Q1267889 } UNION { ?f property:P206 ?i . ?f rdf:type ontology:Q20667921 . ?i rdf:type ontology:Q15324 } } GROUP BY ?f } . FILTER ( ?k < ?r ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } . resource:Q191765 property:P206 ?v } } }
French Guiana Saint-Leu L'Île-Rousse Chouvigny Le Port Rouen Fort-Mahon-Plage La Possession Saint-Quintin-sur-Sioule Vernon Sisco Mantes-la-Jolie Bussières-et-Pruns Trois-Bassins Saint-Philippe Menat Saint-Bonnet-de-Rochefort Poses Petite-Île Sérignan Val-de-Reuil Corsica Isches Saint-Denis Tahaa Saint-André Bègues Saint-Louis Monticello Saint-Pierre Mazerier Aigueperse Les Avirons Sainte-Marie Saint-Gal-sur-Sioule La Roche-de-Glun Saint-Agoulin Béhuard Chaptuzat Saint-Benoît Sainte-Suzanne L'Étang-Salé Sainte-Rose Cayenne Batz-sur-Mer Bras-Panon Jenzat Valras-Plage Le Pouliguen Ébreuil Pontgibaud
51
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action count
action filter_multi_types
action find
entity Anglet
relation located next to body of water
type waterway
type body of water
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?f WHERE { { ?f property:located_next_to_body_of_water ?i . ?f rdf:type ontology:type_of_french_administrative_division . ?i rdf:type ontology:waterway } UNION { ?f property:located_next_to_body_of_water ?i . ?f rdf:type ontology:type_of_french_administrative_division . ?i rdf:type ontology:body_of_water } } GROUP BY ?f } . FILTER ( ?k < ?r ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:waterway ) ( ontology:body_of_water ) } } . resource:Anglet property:located_next_to_body_of_water ?v } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q877744
P206
Q1267889 Q15324 Q20667921
USER
And how about Le Portel?
(c(Q20667921),P206,c(Q1267889)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action count
action filter_multi_types
action find
entity Q877744
relation P206
type Q1267889
type Q15324
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?a WHERE { VALUES ( ?r ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?x rdf:type ?r } GROUP BY ?a } . FILTER ( ?t < ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Q877744 property:P206 ?h . { { ?h rdf:type ontology:Q1267889 } UNION { ?h rdf:type ontology:Q15324 } } } } }
Le Portel
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action count
action filter_multi_types
action find
entity Le Portel
relation located next to body of water
type waterway
type body of water
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?a WHERE { VALUES ( ?r ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?x rdf:type ?r } GROUP BY ?a } . FILTER ( ?t < ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Le_Portel property:located_next_to_body_of_water ?h . { { ?h rdf:type ontology:waterway } UNION { ?h rdf:type ontology:body_of_water } } } } }
[]
waterway body of water type of french administrative division
SYSTEM
51
Q3769 Q1649363 Q467030 Q245066 Q956943 Q30974 Q147606 Q429770 Q1221458 Q236736 Q266886 Q207253 Q675318 Q1014763 Q652100 Q1221814 Q849165 Q1073039 Q1326390 Q751619 Q921780 Q14112 Q1162138 Q47045 Q926768 Q1649370 Q849065 Q1617681 Q654000 Q249884 Q849023 Q333447 Q1014814 Q662942 Q738523 Q1075733 Q1217913 Q26583 Q545015 Q478215 Q1757048 Q1014771 Q1014731 Q44401 Q1001582 Q691092 Q662229 Q752535 Q1165029 Q273297 Q284445
(c(Q20667921),P206,c(Q1267889)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action count
action filter_multi_types
action find
entity Q877744
relation P206
type Q1267889
type Q15324
[ANSWER]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?a WHERE { VALUES ( ?r ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?x rdf:type ?r } GROUP BY ?a } . FILTER ( ?t < ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Q877744 property:P206 ?h . { { ?h rdf:type ontology:Q1267889 } UNION { ?h rdf:type ontology:Q15324 } } } } }
French Guiana Saint-Leu L'Île-Rousse Chouvigny Le Port Rouen Fort-Mahon-Plage La Possession Saint-Quintin-sur-Sioule Vernon Sisco Mantes-la-Jolie Bussières-et-Pruns Trois-Bassins Saint-Philippe Menat Saint-Bonnet-de-Rochefort Poses Petite-Île Sérignan Val-de-Reuil Corsica Isches Saint-Denis Tahaa Saint-André Bègues Saint-Louis Monticello Saint-Pierre Mazerier Aigueperse Les Avirons Sainte-Marie Saint-Gal-sur-Sioule La Roche-de-Glun Saint-Agoulin Béhuard Chaptuzat Saint-Benoît Sainte-Suzanne L'Étang-Salé Sainte-Rose Cayenne Batz-sur-Mer Bras-Panon Jenzat Valras-Plage Le Pouliguen Ébreuil Pontgibaud
51
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action count
action filter_multi_types
action find
entity Le Portel
relation located next to body of water
type waterway
type body of water
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?a WHERE { VALUES ( ?r ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?x rdf:type ?r } GROUP BY ?a } . FILTER ( ?t < ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Le_Portel property:located_next_to_body_of_water ?h . { { ?h rdf:type ontology:waterway } UNION { ?h rdf:type ontology:body_of_water } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q1267889 Q20667921
USER
How many french administrative divisions are located in the neighbourhood of atmost 1 bodies of water or waterways ?
(c(Q20667921),P206,c(Q15324)|c(Q1267889))
action count
action atmost
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?y ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?p rdf:type ?y } GROUP BY ?t } . FILTER ( ?r <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?y ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?p rdf:type ?y } GROUP BY ?t } . FILTER ( ?r <= 1 ) }
[]
body of water waterway type of french administrative division
SYSTEM
72
Q224023 Q3769 Q665411 Q1649363 Q467030 Q245066 Q956943 Q842027 Q30974 Q877744 Q71356 Q147606 Q429770 Q1221458 Q236736 Q160199 Q266886 Q207253 Q380224 Q675318 Q1014763 Q652100 Q683550 Q1221814 Q849165 Q453263 Q1073039 Q1326390 Q751619 Q921780 Q14112 Q1162138 Q47045 Q1066836 Q391365 Q926768 Q1649370 Q849065 Q1617681 Q654000 Q249884 Q849023 Q769160 Q1031980 Q513962 Q333447 Q1014814 Q662942 Q382048 Q323399 Q70491 Q231180 Q191765 Q738523 Q1164176 Q1075733 Q1217913 Q26583 Q545015 Q478215 Q1757048 Q1014771 Q1014731 Q44401 Q1001582 Q691092 Q662229 Q752535 Q1165029 Q20892 Q273297 Q284445
(c(Q20667921),P206,c(Q15324)|c(Q1267889))
action count
action atmost
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[ANSWER]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?y ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } . ?p rdf:type ?y } GROUP BY ?t } . FILTER ( ?r <= 1 ) }
Penvénan French Guiana Leffrinckoucke Saint-Leu L'Île-Rousse Chouvigny Le Port Rogliano Rouen Le Portel Île-aux-Moines Fort-Mahon-Plage La Possession Saint-Quintin-sur-Sioule Vernon Cherbourg-Octeville Sisco Mantes-la-Jolie Marck Bussières-et-Pruns Trois-Bassins Saint-Philippe Urville-Nacqueville Menat Saint-Bonnet-de-Rochefort Pleumeur-Bodou Poses Petite-Île Sérignan Val-de-Reuil Corsica Isches Saint-Denis Grand-Fort-Philippe Bray-Dunes Tahaa Saint-André Bègues Saint-Louis Monticello Saint-Pierre Mazerier Grande-Synthe Escalles Oye-Plage Aigueperse Les Avirons Sainte-Marie Tardinghen Gravelines Larmor-Baden Zuydcoote Anglet Saint-Gal-sur-Sioule Saint-Léonard La Roche-de-Glun Saint-Agoulin Béhuard Chaptuzat Saint-Benoît Sainte-Suzanne L'Étang-Salé Sainte-Rose Cayenne Batz-sur-Mer Bras-Panon Jenzat Valras-Plage Le Pouliguen Le Mont-Saint-Michel Ébreuil Pontgibaud
72
action count
action atmost
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?y ) { ( ontology:waterway ) ( ontology:body_of_water ) } . ?p rdf:type ?y } GROUP BY ?t } . FILTER ( ?r <= 1 ) }
[]