Simple Question (Direct)
Simple Question
Q3009858
P106
Q12737077
USER
What is the job of Cédric Avinel ?
(Q3009858,P106,c(Q12737077))
action filter_type
action find
entity Q3009858
relation P106
type Q12737077
['Q3009858', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3009858 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Cédric Avinel
action filter_type
action find
entity Cédric Avinel
relation occupation
type occupation
['Cédric Avinel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Cédric_Avinel property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3009858,P106,c(Q12737077))
action filter_type
action find
entity Q3009858
relation P106
type Q12737077
The job of Cédric Avinel is an [ANSWER]
['Q3009858', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3009858 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
association football player
The job of Cédric Avinel is an association football player
association football player
action filter_type
action find
entity Cédric Avinel
relation occupation
type occupation
['Cédric Avinel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Cédric_Avinel property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3009858
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q3009858
relation P19
type Q56061
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3009858 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Cédric Avinel
action filter_type
action find
entity Cédric Avinel
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Cédric_Avinel property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q3009858
relation P19
type Q56061
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3009858 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Paris
That person was born in Paris
Paris
action filter_type
action find
entity Cédric Avinel
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Cédric_Avinel property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q90 Q2830957 Q2596877
P6
Q502895
USER
Does Paris have Albert Bettannier and René Boucher as its administrative leader ?
(Q90,P6,Q2830957) (Q90,P6,Q2596877)
action is_in
entity Q90
action intersection
action find_reverse
entity Q2830957
relation P6
action find_reverse
entity Q2596877
relation P6
['Q90', 'P6', 'Q2830957'] ['Q90', 'P6', 'Q2596877']
ASK WHERE { resource:Q90 property:P6 resource:Q2830957 . resource:Q90 property:P6 resource:Q2596877 }
Paris Albert Bettannier René Boucher
action is_in
entity Paris
action intersection
action find_reverse
entity Albert Bettannier
relation head of government
action find_reverse
entity René Boucher
relation head of government
['Paris', 'head of government', 'Albert Bettannier'] ['Paris', 'head of government', 'René Boucher']
ASK WHERE { resource:Paris property:head_of_government resource:Albert_Bettannier . resource:Paris property:head_of_government resource:René_Boucher }
[]
common name
SYSTEM
NO and YES respectively
(Q90,P6,Q2830957) (Q90,P6,Q2596877)
action is_in
entity Q90
action intersection
action find_reverse
entity Q2830957
relation P6
action find_reverse
entity Q2596877
relation P6
[ANSWER]
['Q90', 'P6', 'Q2830957'] ['Q90', 'P6', 'Q2596877']
ASK WHERE { resource:Q90 property:P6 resource:Q2830957 . resource:Q90 property:P6 resource:Q2596877 }
NO and YES respectively
action is_in
entity Paris
action intersection
action find_reverse
entity Albert Bettannier
relation head of government
action find_reverse
entity René Boucher
relation head of government
['Paris', 'head of government', 'Albert Bettannier'] ['Paris', 'head of government', 'René Boucher']
ASK WHERE { resource:Paris property:head_of_government resource:Albert_Bettannier . resource:Paris property:head_of_government resource:René_Boucher }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3009858 Q142 Q7839708
P27
Q15617994
USER
Is Cédric Avinel a citizen of France and Tri-County School District ?
(Q3009858,P27,Q142) (Q3009858,P27,Q7839708)
action is_in
entity Q3009858
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q7839708
relation P27
['Q3009858', 'P27', 'Q142'] ['Q3009858', 'P27', 'Q7839708']
ASK WHERE { resource:Q3009858 property:P27 resource:Q142 . resource:Q3009858 property:P27 resource:Q7839708 }
Cédric Avinel France Tri-County School District
action is_in
entity Cédric Avinel
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Tri-County School District
relation country of citizenship
['Cédric Avinel', 'country of citizenship', 'France'] ['Cédric Avinel', 'country of citizenship', 'Tri-County School District']
ASK WHERE { resource:Cédric_Avinel property:country_of_citizenship resource:France . resource:Cédric_Avinel property:country_of_citizenship resource:Tri-County_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3009858,P27,Q142) (Q3009858,P27,Q7839708)
action is_in
entity Q3009858
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q7839708
relation P27
[ANSWER]
['Q3009858', 'P27', 'Q142'] ['Q3009858', 'P27', 'Q7839708']
ASK WHERE { resource:Q3009858 property:P27 resource:Q142 . resource:Q3009858 property:P27 resource:Q7839708 }
YES and NO respectively
action is_in
entity Cédric Avinel
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Tri-County School District
relation country of citizenship
['Cédric Avinel', 'country of citizenship', 'France'] ['Cédric Avinel', 'country of citizenship', 'Tri-County School District']
ASK WHERE { resource:Cédric_Avinel property:country_of_citizenship resource:France . resource:Cédric_Avinel property:country_of_citizenship resource:Tri-County_School_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q90 Q1986521
P6
Q502895
USER
Is Nicolas Chambon the head of the government of Paris ?
(Q90,P6,Q1986521)
action is_in
entity Q1986521
action find
entity Q90
relation P6
['Q90', 'P6', 'Q1986521']
ASK WHERE { resource:Q90 property:P6 resource:Q1986521 }
Paris Nicolas Chambon
action is_in
entity Nicolas Chambon
action find
entity Paris
relation head of government
['Paris', 'head of government', 'Nicolas Chambon']
ASK WHERE { resource:Paris property:head_of_government resource:Nicolas_Chambon }
[]
common name
SYSTEM
YES
(Q90,P6,Q1986521)
action is_in
entity Q1986521
action find
entity Q90
relation P6
[ANSWER]
['Q90', 'P6', 'Q1986521']
ASK WHERE { resource:Q90 property:P6 resource:Q1986521 }
Yes
action is_in
entity Nicolas Chambon
action find
entity Paris
relation head of government
['Paris', 'head of government', 'Nicolas Chambon']
ASK WHERE { resource:Paris property:head_of_government resource:Nicolas_Chambon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P47
Q20667921
USER
Which french administrative divisions are bordered by that administrative territory ?
action filter_type
action find
entity Q90
relation P47
type Q20667921
SELECT DISTINCT ?j WHERE { resource:Q90 property:P47 ?j . ?j rdf:type ontology:Q20667921 }
Paris
action filter_type
action find
entity Paris
relation shares border with
type type of french administrative division
SELECT DISTINCT ?j WHERE { resource:Paris property:shares_border_with ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q193370 Q160506 Q172455
SYSTEM
Montreuil, Saint-Denis, Boulogne-Billancourt
Q135265 Q208889 Q18102 Q274327 Q253721 Q193899 Q234728 Q205632 Q234743 Q193819 Q193877 Q212274 Q175999 Q193929 Q640102 Q193370 Q201982 Q212793 Q256004 Q48958 Q208943 Q160506 Q166640 Q172455 Q189153 Q135104 Q209086 Q241021 Q609134
action filter_type
action find
entity Q90
relation P47
type Q20667921
[ANSWERS] are bordered by that administrative territory
SELECT DISTINCT ?j WHERE { resource:Q90 property:P47 ?j . ?j rdf:type ontology:Q20667921 }
Issy-les-Moulineaux Saint-Ouen Saint-Mandé Saint-Maurice Malakoff Fontenay-sous-Bois Vanves Aubervilliers Puteaux Vincennes Ivry-sur-Seine Nogent-sur-Marne Le Pré-Saint-Gervais Suresnes Gentilly Montreuil Clichy Charenton-le-Pont Les Lilas Neuilly-sur-Seine Bagnolet Saint-Denis Levallois-Perret Boulogne-Billancourt Saint-Cloud Le Kremlin-Bicêtre Pantin Montrouge Joinville-le-Pont
Montreuil, Saint-Denis and Boulogne-Billancourt are bordered by that administrative territory
Montreuil Saint-Denis Boulogne-Billancourt
action filter_type
action find
entity Paris
relation shares border with
type type of french administrative division
SELECT DISTINCT ?j WHERE { resource:Paris property:shares_border_with ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q193370 Q160506 Q172455
P47
Q20667921
USER
Which french administrative divisions are bordered by those ones ?
(Q193370,P47,c(Q20667921)) (Q160506,P47,c(Q20667921)) (Q172455,P47,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
['Q193370', 'P47', {'concept': 'Q20667921'}] ['Q160506', 'P47', {'concept': 'Q20667921'}] ['Q172455', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { ?j property:P47 ?v . ?v rdf:type ontology:Q20667921 . VALUES ( ?j ) { ( resource:Q135265 ) ( resource:Q208889 ) ( resource:Q18102 ) } }
Montreuil Saint-Denis Boulogne-Billancourt
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
['Montreuil', 'shares border with', {'concept': 'type of french administrative division'}] ['Saint-Denis', 'shares border with', {'concept': 'type of french administrative division'}] ['Boulogne-Billancourt', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { ?j property:shares_border_with ?v . ?v rdf:type ontology:type_of_french_administrative_division . VALUES ( ?j ) { ( resource:Issy-les-Moulineaux ) ( resource:Saint-Ouen ) ( resource:Saint-Mandé ) } }
[]
type of french administrative division
Q234735 Q135265 Q208889
SYSTEM
Meudon, Issy-les-Moulineaux, Saint-Ouen
Q18102 Q275547 Q193819 Q370224 Q18199435 Q372111 Q193899 Q208943 Q258878 Q208889 Q206961 Q13103683 Q244725 Q275353 Q253939 Q205632 Q733971 Q206493 Q189153 Q135265 Q234735 Q18199480
(Q193370,P47,c(Q20667921)) (Q160506,P47,c(Q20667921)) (Q172455,P47,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS] are bordered by those ones
['Q193370', 'P47', {'concept': 'Q20667921'}] ['Q160506', 'P47', {'concept': 'Q20667921'}] ['Q172455', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { ?j property:P47 ?v . ?v rdf:type ontology:Q20667921 . VALUES ( ?j ) { ( resource:Q135265 ) ( resource:Q208889 ) ( resource:Q18102 ) } }
Saint-Mandé Rosny-sous-Bois Vincennes Noisy-le-Sec Charonne Romainville Fontenay-sous-Bois Bagnolet Stains Saint-Ouen Épinay-sur-Seine La Chapelle La Courneuve Villetaneuse Pierrefitte-sur-Seine Aubervilliers L'Île-Saint-Denis Sèvres Saint-Cloud Issy-les-Moulineaux Meudon Auteuil
Meudon, Issy-les-Moulineaux and Saint-Ouen are bordered by those ones
Meudon Issy-les-Moulineaux Saint-Ouen
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
['Montreuil', 'shares border with', {'concept': 'type of french administrative division'}] ['Saint-Denis', 'shares border with', {'concept': 'type of french administrative division'}] ['Boulogne-Billancourt', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { ?j property:shares_border_with ?v . ?v rdf:type ontology:type_of_french_administrative_division . VALUES ( ?j ) { ( resource:Issy-les-Moulineaux ) ( resource:Saint-Ouen ) ( resource:Saint-Mandé ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193370
P551
Q502895
USER
Who lives in Montreuil ?
(c(Q502895),P551,Q193370)
action filter_type
action find_reverse
entity Q193370
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q193370']
SELECT DISTINCT ?d WHERE { ?d property:P551 resource:Q193370 . ?d rdf:type ontology:Q502895 }
Montreuil
action filter_type
action find_reverse
entity Montreuil
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Montreuil']
SELECT DISTINCT ?d WHERE { ?d property:residence resource:Montreuil . ?d rdf:type ontology:common_name }
[]
common name
Q19606883
SYSTEM
Gaël Brustier
Q19606883
(c(Q502895),P551,Q193370)
action filter_type
action find_reverse
entity Q193370
relation P551
type Q502895
[ANSWER] lives in Montreuil
[{'concept': 'Q502895'}, 'P551', 'Q193370']
SELECT DISTINCT ?d WHERE { ?d property:P551 resource:Q193370 . ?d rdf:type ontology:Q502895 }
Gaël Brustier
Gaël Brustier lives in Montreuil
Gaël Brustier
action filter_type
action find_reverse
entity Montreuil
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Montreuil']
SELECT DISTINCT ?d WHERE { ?d property:residence resource:Montreuil . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19606883
P102
Q7210356
USER
Which parties do that person belong to ?
(Q19606883,P102,c(Q7210356))
action filter_type
action find
entity Q19606883
relation P102
type Q7210356
['Q19606883', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q19606883 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Gaël Brustier
action filter_type
action find
entity Gaël Brustier
relation member of political party
type political organization
['Gaël Brustier', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Gaël_Brustier property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
political organization
Q1321802 Q170972 Q1052584
SYSTEM
Citizen and Republican Movement, Socialist Party, Rally for the Republic
Q1321802 Q170972 Q1052584
(Q19606883,P102,c(Q7210356))
action filter_type
action find
entity Q19606883
relation P102
type Q7210356
That person belong to [ANSWERS]
['Q19606883', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q19606883 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Citizen and Republican Movement Socialist Party Rally for the Republic
That person belong to Citizen and Republican Movement, Socialist Party and Rally for the Republic
Citizen and Republican Movement Socialist Party Rally for the Republic
action filter_type
action find
entity Gaël Brustier
relation member of political party
type political organization
['Gaël Brustier', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Gaël_Brustier property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19606883
P184
Q502895
USER
Which person was the doctoral superviser of that one ?
(Q1321802,P184,c(Q502895)) (Q170972,P184,c(Q502895)) (Q1052584,P184,c(Q502895))
action filter_type
action find
entity Q19606883
relation P184
type Q502895
['Q1321802', 'P184', {'concept': 'Q502895'}] ['Q170972', 'P184', {'concept': 'Q502895'}] ['Q1052584', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q19606883 property:P184 ?d . ?d rdf:type ontology:Q502895 }
Gaël Brustier
action filter_type
action find
entity Gaël Brustier
relation doctoral advisor
type common name
['Citizen and Republican Movement', 'doctoral advisor', {'concept': 'common name'}] ['Socialist Party', 'doctoral advisor', {'concept': 'common name'}] ['Rally for the Republic', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Gaël_Brustier property:doctoral_advisor ?d . ?d rdf:type ontology:common_name }
[]
common name
Q3573633
SYSTEM
Yves Déloye
Q3573633
(Q1321802,P184,c(Q502895)) (Q170972,P184,c(Q502895)) (Q1052584,P184,c(Q502895))
action filter_type
action find
entity Q19606883
relation P184
type Q502895
[ANSWER] was the doctoral superviser of that one
['Q1321802', 'P184', {'concept': 'Q502895'}] ['Q170972', 'P184', {'concept': 'Q502895'}] ['Q1052584', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q19606883 property:P184 ?d . ?d rdf:type ontology:Q502895 }
Yves Déloye
Yves Déloye was the doctoral superviser of that one
Yves Déloye
action filter_type
action find
entity Gaël Brustier
relation doctoral advisor
type common name
['Citizen and Republican Movement', 'doctoral advisor', {'concept': 'common name'}] ['Socialist Party', 'doctoral advisor', {'concept': 'common name'}] ['Rally for the Republic', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Gaël_Brustier property:doctoral_advisor ?d . ?d rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q236736
P206
Q355304 Q1267889 Q20667921
USER
How many french administrative divisions are located next to approximately the same number of watercourses or waterways as Vernon ?
(c(Q20667921),P206,c(Q355304)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action count
action filter_multi_types
action find
entity Q236736
relation P206
type Q355304
type Q1267889
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?q ) WHERE { { ?d rdf:type ontology:Q355304 . ?n rdf:type ontology:Q20667921 . ?n property:P206 ?d } UNION { ?n property:P206 ?d . ?n rdf:type ontology:Q20667921 . ?d rdf:type ontology:Q1267889 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q236736 property:P206 ?x . { VALUES ( ?w ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?x rdf:type ?w } } } . FILTER ( ?q = ?t ) }
Vernon
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action count
action filter_multi_types
action find
entity Vernon
relation located next to body of water
type watercourse
type waterway
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?q ) WHERE { { ?d rdf:type ontology:watercourse . ?n rdf:type ontology:type_of_french_administrative_division . ?n property:located_next_to_body_of_water ?d } UNION { ?n property:located_next_to_body_of_water ?d . ?n rdf:type ontology:type_of_french_administrative_division . ?d rdf:type ontology:waterway } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Vernon property:located_next_to_body_of_water ?x . { VALUES ( ?w ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?x rdf:type ?w } } } . FILTER ( ?q = ?t ) }
[]
watercourse waterway type of french administrative division
SYSTEM
29
Q224023 Q245066 Q30974 Q877744 Q1221458 Q236736 Q160199 Q207253 Q675318 Q683550 Q1221814 Q849165 Q453263 Q1073039 Q921780 Q1162138 Q849065 Q849023 Q1031980 Q333447 Q382048 Q738523 Q1164176 Q1075733 Q1217913 Q545015 Q662229 Q273297 Q284445
(c(Q20667921),P206,c(Q355304)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action count
action filter_multi_types
action find
entity Q236736
relation P206
type Q355304
type Q1267889
[ANSWER]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?q ) WHERE { { ?d rdf:type ontology:Q355304 . ?n rdf:type ontology:Q20667921 . ?n property:P206 ?d } UNION { ?n property:P206 ?d . ?n rdf:type ontology:Q20667921 . ?d rdf:type ontology:Q1267889 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q236736 property:P206 ?x . { VALUES ( ?w ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?x rdf:type ?w } } } . FILTER ( ?q = ?t ) }
Penvénan Chouvigny Rouen Le Portel Saint-Quintin-sur-Sioule Vernon Cherbourg-Octeville Mantes-la-Jolie Bussières-et-Pruns Urville-Nacqueville Menat Saint-Bonnet-de-Rochefort Pleumeur-Bodou Poses Val-de-Reuil Isches Bègues Mazerier Escalles Aigueperse Tardinghen Saint-Gal-sur-Sioule Saint-Léonard La Roche-de-Glun Saint-Agoulin Chaptuzat Jenzat Ébreuil Pontgibaud
29
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action count
action filter_multi_types
action find
entity Vernon
relation located next to body of water
type watercourse
type waterway
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?q ) WHERE { { ?d rdf:type ontology:watercourse . ?n rdf:type ontology:type_of_french_administrative_division . ?n property:located_next_to_body_of_water ?d } UNION { ?n property:located_next_to_body_of_water ?d . ?n rdf:type ontology:type_of_french_administrative_division . ?d rdf:type ontology:waterway } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Vernon property:located_next_to_body_of_water ?x . { VALUES ( ?w ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?x rdf:type ?w } } } . FILTER ( ?q = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q70491
P206
Q355304 Q1267889 Q20667921
USER
And how about Larmor-Baden?
(c(Q20667921),P206,c(Q355304)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action count
action filter_multi_types
action find
entity Q70491
relation P206
type Q355304
type Q1267889
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?o WHERE { { ?o property:P206 ?v . ?o rdf:type ontology:Q20667921 . ?v rdf:type ontology:Q355304 } UNION { ?o property:P206 ?v . ?o rdf:type ontology:Q20667921 . ?v rdf:type ontology:Q1267889 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Q70491 property:P206 ?a . { ?a rdf:type ?y . VALUES ( ?y ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } } } } . FILTER ( ?d = ?x ) }
Larmor-Baden
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action count
action filter_multi_types
action find
entity Larmor-Baden
relation located next to body of water
type watercourse
type waterway
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?o WHERE { { ?o property:located_next_to_body_of_water ?v . ?o rdf:type ontology:type_of_french_administrative_division . ?v rdf:type ontology:watercourse } UNION { ?o property:located_next_to_body_of_water ?v . ?o rdf:type ontology:type_of_french_administrative_division . ?v rdf:type ontology:waterway } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Larmor-Baden property:located_next_to_body_of_water ?a . { ?a rdf:type ?y . VALUES ( ?y ) { ( ontology:watercourse ) ( ontology:waterway ) } } } } . FILTER ( ?d = ?x ) }
[]
watercourse waterway type of french administrative division
SYSTEM
42
Q3769 Q665411 Q1649363 Q467030 Q956943 Q842027 Q71356 Q147606 Q429770 Q266886 Q380224 Q1014763 Q652100 Q1326390 Q751619 Q14112 Q47045 Q1066836 Q391365 Q926768 Q1649370 Q1617681 Q654000 Q249884 Q769160 Q513962 Q1014814 Q662942 Q323399 Q70491 Q231180 Q191765 Q26583 Q478215 Q1757048 Q1014771 Q1014731 Q44401 Q1001582 Q691092 Q752535 Q1165029
(c(Q20667921),P206,c(Q355304)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q355304
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action count
action filter_multi_types
action find
entity Q70491
relation P206
type Q355304
type Q1267889
[ANSWER]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?o WHERE { { ?o property:P206 ?v . ?o rdf:type ontology:Q20667921 . ?v rdf:type ontology:Q355304 } UNION { ?o property:P206 ?v . ?o rdf:type ontology:Q20667921 . ?v rdf:type ontology:Q1267889 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Q70491 property:P206 ?a . { ?a rdf:type ?y . VALUES ( ?y ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } } } } . FILTER ( ?d = ?x ) }
French Guiana Leffrinckoucke Saint-Leu L'Île-Rousse Le Port Rogliano Île-aux-Moines Fort-Mahon-Plage La Possession Sisco Marck Trois-Bassins Saint-Philippe Petite-Île Sérignan Corsica Saint-Denis Grand-Fort-Philippe Bray-Dunes Tahaa Saint-André Saint-Louis Monticello Saint-Pierre Grande-Synthe Oye-Plage Les Avirons Sainte-Marie Gravelines Larmor-Baden Zuydcoote Anglet Béhuard Saint-Benoît Sainte-Suzanne L'Étang-Salé Sainte-Rose Cayenne Batz-sur-Mer Bras-Panon Valras-Plage Le Pouliguen
42
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action count
action filter_multi_types
action find
entity Larmor-Baden
relation located next to body of water
type watercourse
type waterway
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?o WHERE { { ?o property:located_next_to_body_of_water ?v . ?o rdf:type ontology:type_of_french_administrative_division . ?v rdf:type ontology:watercourse } UNION { ?o property:located_next_to_body_of_water ?v . ?o rdf:type ontology:type_of_french_administrative_division . ?v rdf:type ontology:waterway } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { resource:Larmor-Baden property:located_next_to_body_of_water ?a . { ?a rdf:type ?y . VALUES ( ?y ) { ( ontology:watercourse ) ( ontology:waterway ) } } } } . FILTER ( ?d = ?x ) }
[]