Simple Question (Direct)
Simple Question
Q4765690
P39
Q12737077
USER
What was the position held by Anja Cetti Andersen ?
(Q4765690,P39,c(Q12737077))
action filter_type
action find
entity Q4765690
relation P39
type Q12737077
['Q4765690', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q4765690 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Anja Cetti Andersen
action filter_type
action find
entity Anja Cetti Andersen
relation position held
type occupation
['Anja Cetti Andersen', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Anja_Cetti_Andersen property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q2824523
SYSTEM
board member
Q2824523
(Q4765690,P39,c(Q12737077))
action filter_type
action find
entity Q4765690
relation P39
type Q12737077
The position held by Anja Cetti Andersen was the [ANSWER]
['Q4765690', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q4765690 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
board member
The position held by Anja Cetti Andersen was the board member
board member
action filter_type
action find
entity Anja Cetti Andersen
relation position held
type occupation
['Anja Cetti Andersen', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Anja_Cetti_Andersen property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2824523
P106
Q502895
USER
Which people have the profession of that occupation ?
(c(Q502895),P106,Q2824523)
action filter_type
action find_reverse
entity Q2824523
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q2824523']
SELECT DISTINCT ?a WHERE { ?a property:P106 resource:Q2824523 . ?a rdf:type ontology:Q502895 }
board member
action filter_type
action find_reverse
entity board member
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'board member']
SELECT DISTINCT ?a WHERE { ?a property:occupation resource:board_member . ?a rdf:type ontology:common_name }
[]
common name
Q2740555 Q3084135 Q19861639
SYSTEM
Jules Audent, François Bujon de l'Estang, Marc Chevalier
Q19861639 Q21192348 Q21192349 Q26714946 Q19956019 Q2740555 Q3084135 Q21531800 Q21000502 Q3384655 Q16338120 Q2843395 Q3022761
(c(Q502895),P106,Q2824523)
action filter_type
action find_reverse
entity Q2824523
relation P106
type Q502895
[ANSWERS] have the profession of that occupation
[{'concept': 'Q502895'}, 'P106', 'Q2824523']
SELECT DISTINCT ?a WHERE { ?a property:P106 resource:Q2824523 . ?a rdf:type ontology:Q502895 }
Marc Chevalier Ahmet Furkan Tarhan Mehmet Fırat Tarhan Jean-Louis Vinciguerra Gérald de Roquemaurel Jules Audent François Bujon de l'Estang Jonathan Roberts Geraint Stanley Jones Pierre Debans Paul Cerf Aminata Niane Denis Kessler
Jules Audent, François Bujon de l'Estang and Marc Chevalier have the profession of that occupation
Jules Audent François Bujon de l'Estang Marc Chevalier
action filter_type
action find_reverse
entity board member
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'board member']
SELECT DISTINCT ?a WHERE { ?a property:occupation resource:board_member . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2740555
P39
Q12737077 Q895526
USER
How many occupations or authority organs were the positions held by Jules Audent ?
(Q2740555,P39,c(Q12737077)) (Q2740555,P39,c(Q895526))
action count
action union
action filter_type
action find
entity Q2740555
relation P39
type Q12737077
action filter_type
action find
entity Q2740555
relation P39
type Q895526
['Q2740555', 'P39', {'concept': 'Q12737077'}] ['Q2740555', 'P39', {'concept': 'Q895526'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { resource:Q2740555 property:P39 ?r . ?r rdf:type ontology:Q895526 } UNION { resource:Q2740555 property:P39 ?r . ?r rdf:type ontology:Q12737077 } }
Jules Audent
action count
action union
action filter_type
action find
entity Jules Audent
relation position held
type occupation
action filter_type
action find
entity Jules Audent
relation position held
type authority organ
['Jules Audent', 'position held', {'concept': 'occupation'}] ['Jules Audent', 'position held', {'concept': 'authority organ'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { resource:Jules_Audent property:position_held ?r . ?r rdf:type ontology:authority_organ } UNION { resource:Jules_Audent property:position_held ?r . ?r rdf:type ontology:occupation } }
[]
occupation authority organ
SYSTEM
2
Q2403813 Q17619252
(Q2740555,P39,c(Q12737077)) (Q2740555,P39,c(Q895526))
action count
action union
action filter_type
action find
entity Q2740555
relation P39
type Q12737077
action filter_type
action find
entity Q2740555
relation P39
type Q895526
[ANSWER]
['Q2740555', 'P39', {'concept': 'Q12737077'}] ['Q2740555', 'P39', {'concept': 'Q895526'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { resource:Q2740555 property:P39 ?r . ?r rdf:type ontology:Q895526 } UNION { resource:Q2740555 property:P39 ?r . ?r rdf:type ontology:Q12737077 } }
schepen Senator of Belgium
2
action count
action union
action filter_type
action find
entity Jules Audent
relation position held
type occupation
action filter_type
action find
entity Jules Audent
relation position held
type authority organ
['Jules Audent', 'position held', {'concept': 'occupation'}] ['Jules Audent', 'position held', {'concept': 'authority organ'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { resource:Jules_Audent property:position_held ?r . ?r rdf:type ontology:authority_organ } UNION { resource:Jules_Audent property:position_held ?r . ?r rdf:type ontology:occupation } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21396153 Q3084135
P19
Q20667921
USER
Which french administrative divisions are the places of birth of François Bujon de l'Estang or Henri Edouard Vernhes ?
OR((Q3084135,P19,c(Q20667921)), (Q21396153,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q3084135
relation P19
action find
entity Q21396153
relation P19
type Q20667921
{'OR': [['Q3084135', 'P19', {'concept': 'Q20667921'}], ['Q21396153', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3084135 property:P19 ?p } UNION { resource:Q21396153 property:P19 ?p } } . ?p rdf:type ontology:Q20667921 }
Henri Edouard Vernhes François Bujon de l'Estang
action filter_type
action union
action find
entity François Bujon de l'Estang
relation place of birth
action find
entity Henri Edouard Vernhes
relation place of birth
type type of french administrative division
{'OR': [["François Bujon de l'Estang", 'place of birth', {'concept': 'type of french administrative division'}], ['Henri Edouard Vernhes', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?p WHERE { { { resource:François_Bujon_de_l'Estang property:place_of_birth ?p } UNION { resource:Henri_Edouard_Vernhes property:place_of_birth ?p } } . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q48958 Q692760
SYSTEM
Neuilly-sur-Seine, Bozouls
Q48958 Q692760
OR((Q3084135,P19,c(Q20667921)), (Q21396153,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q3084135
relation P19
action find
entity Q21396153
relation P19
type Q20667921
[ANSWERS] are the places of birth of François Bujon de l'Estang or Henri Edouard Vernhes
{'OR': [['Q3084135', 'P19', {'concept': 'Q20667921'}], ['Q21396153', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3084135 property:P19 ?p } UNION { resource:Q21396153 property:P19 ?p } } . ?p rdf:type ontology:Q20667921 }
Neuilly-sur-Seine Bozouls
Neuilly-sur-Seine and Bozouls are the places of birth of François Bujon de l'Estang or Henri Edouard Vernhes
Neuilly-sur-Seine Bozouls
action filter_type
action union
action find
entity François Bujon de l'Estang
relation place of birth
action find
entity Henri Edouard Vernhes
relation place of birth
type type of french administrative division
{'OR': [["François Bujon de l'Estang", 'place of birth', {'concept': 'type of french administrative division'}], ['Henri Edouard Vernhes', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?p WHERE { { { resource:François_Bujon_de_l'Estang property:place_of_birth ?p } UNION { resource:Henri_Edouard_Vernhes property:place_of_birth ?p } } . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q20667921 Q15617994 Q83620
USER
Which french administrative divisions are the origin of max number of administrative territories or thoroughfares ?
(c(Q15617994)|c(Q83620),P138,c(Q20667921))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q15617994
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q83620
[[{'concept': 'Q15617994'}, {'concept': 'Q83620'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?r ) { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?e ) WHERE { VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q83620 ) } . ?k rdf:type ?f } GROUP BY ?n } } . FILTER ( ?w = ?r ) . { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?w ) WHERE { { ?g property:P138 ?v . ?g rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q20667921 } UNION { ?g property:P138 ?v . ?v rdf:type ontology:Q20667921 . ?g rdf:type ontology:Q83620 } } GROUP BY ?v } }
action argmax
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type thoroughfare
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'thoroughfare'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?r ) { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?e ) WHERE { VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:thoroughfare ) } . ?k rdf:type ?f } GROUP BY ?n } } . FILTER ( ?w = ?r ) . { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?w ) WHERE { { ?g property:named_after ?v . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:type_of_french_administrative_division } UNION { ?g property:named_after ?v . ?v rdf:type ontology:type_of_french_administrative_division . ?g rdf:type ontology:thoroughfare } } GROUP BY ?v } }
[]
type of french administrative division designation for an administrative territorial entity thoroughfare
Q14112
SYSTEM
Corsica
Q14112
(c(Q15617994)|c(Q83620),P138,c(Q20667921))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q15617994
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q83620
[ANSWER] is the origin of max number of administrative territories or thoroughfares
[[{'concept': 'Q15617994'}, {'concept': 'Q83620'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?r ) { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?e ) WHERE { VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q83620 ) } . ?k rdf:type ?f } GROUP BY ?n } } . FILTER ( ?w = ?r ) . { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?w ) WHERE { { ?g property:P138 ?v . ?g rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q20667921 } UNION { ?g property:P138 ?v . ?v rdf:type ontology:Q20667921 . ?g rdf:type ontology:Q83620 } } GROUP BY ?v } }
Corsica
Corsica is the origin of max number of administrative territories or thoroughfares
Corsica
action argmax
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type thoroughfare
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'thoroughfare'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?r ) { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?e ) WHERE { VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:thoroughfare ) } . ?k rdf:type ?f } GROUP BY ?n } } . FILTER ( ?w = ?r ) . { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?w ) WHERE { { ?g property:named_after ?v . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:type_of_french_administrative_division } UNION { ?g property:named_after ?v . ?v rdf:type ontology:type_of_french_administrative_division . ?g rdf:type ontology:thoroughfare } } GROUP BY ?v } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q14112 Q142
P17
Q15617994
USER
Is that french administrative division present in France ?
(Q14112,P17,Q142)
action is_in
entity Q142
action find
entity Q14112
relation P17
['Q14112', 'P17', 'Q142']
ASK WHERE { resource:Q14112 property:P17 resource:Q142 }
Corsica France
action is_in
entity France
action find
entity Corsica
relation country
['Corsica', 'country', 'France']
ASK WHERE { resource:Corsica property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q14112,P17,Q142)
action is_in
entity Q142
action find
entity Q14112
relation P17
[ANSWER]
['Q14112', 'P17', 'Q142']
ASK WHERE { resource:Q14112 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Corsica
relation country
['Corsica', 'country', 'France']
ASK WHERE { resource:Corsica property:country resource:France }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3784536 Q2740555
P19
Q56061
USER
Which administrative territories were Jules Audent or Helge Almquist born ?
OR((Q2740555,P19,c(Q56061)), (Q3784536,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2740555
relation P19
action find
entity Q3784536
relation P19
type Q56061
{'OR': [['Q2740555', 'P19', {'concept': 'Q56061'}], ['Q3784536', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?n ) { ( resource:Q2740555 ) ( resource:Q3784536 ) } . ?n property:P19 ?f } . ?f rdf:type ontology:Q56061 }
Helge Almquist Jules Audent
action filter_type
action union
action find
entity Jules Audent
relation place of birth
action find
entity Helge Almquist
relation place of birth
type administrative territorial entity
{'OR': [['Jules Audent', 'place of birth', {'concept': 'administrative territorial entity'}], ['Helge Almquist', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?n ) { ( resource:Jules_Audent ) ( resource:Helge_Almquist ) } . ?n property:place_of_birth ?f } . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754 Q81046
SYSTEM
Stockholm, Charleroi
Q1754 Q81046
OR((Q2740555,P19,c(Q56061)), (Q3784536,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2740555
relation P19
action find
entity Q3784536
relation P19
type Q56061
Jules Audent or Helge Almquist were born in [ANSWERS]
{'OR': [['Q2740555', 'P19', {'concept': 'Q56061'}], ['Q3784536', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?n ) { ( resource:Q2740555 ) ( resource:Q3784536 ) } . ?n property:P19 ?f } . ?f rdf:type ontology:Q56061 }
Stockholm Charleroi
Jules Audent or Helge Almquist were born in Stockholm and Charleroi
Stockholm Charleroi
action filter_type
action union
action find
entity Jules Audent
relation place of birth
action find
entity Helge Almquist
relation place of birth
type administrative territorial entity
{'OR': [['Jules Audent', 'place of birth', {'concept': 'administrative territorial entity'}], ['Helge Almquist', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?n ) { ( resource:Jules_Audent ) ( resource:Helge_Almquist ) } . ?n property:place_of_birth ?f } . ?f rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q234460 Q2342494
USER
How many people had done the illustration of approximately 19 texts or collectables ?
(c(Q234460)|c(Q2342494),P110,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 19
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?p WHERE { VALUES ( ?m ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } . ?g rdf:type ?m } GROUP BY ?p } . FILTER ( ?r = 19 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type text
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 19
[[{'concept': 'text'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?p WHERE { VALUES ( ?m ) { ( ontology:text ) ( ontology:collectable ) } . ?g rdf:type ?m } GROUP BY ?p } . FILTER ( ?r = 19 ) }
[]
common name text collectable
SYSTEM
6
Q201157 Q5231938 Q2340811 Q453980 Q5423369 Q711830
(c(Q234460)|c(Q2342494),P110,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 19
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?p WHERE { VALUES ( ?m ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } . ?g rdf:type ?m } GROUP BY ?p } . FILTER ( ?r = 19 ) }
George Roux David Burroughs Mattingly Brett Helquist Quentin Blake Ezra Jack Keats Chris Riddell
6
action count
action approx
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type text
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 19
[[{'concept': 'text'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?p WHERE { VALUES ( ?m ) { ( ontology:text ) ( ontology:collectable ) } . ?g rdf:type ?m } GROUP BY ?p } . FILTER ( ?r = 19 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q692760
P47 P17
Q20667921
USER
Which french administrative divisions have an adjacent border with Bozouls and are present in France ?
AND((c(Q20667921),P47,Q692760), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q692760
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q692760'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . ?d property:P47 resource:Q692760 . ?d property:P17 resource:Q142 }
France Bozouls
action filter_type
action intersection
action find_reverse
entity Bozouls
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Bozouls'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . ?d property:shares_border_with resource:Bozouls . ?d property:country resource:France }
[]
type of french administrative division
Q924270 Q1020455 Q1376251 Q326699 Q1365976 Q963118 Q473965 Q1366426
SYSTEM
Sébrazac, Bertholène, Sébazac-Concourès, Espalion, Rodelle, Montrozier, Bessuéjouls, Gabriac
Q924270 Q1020455 Q1376251 Q326699 Q1365976 Q963118 Q473965 Q1366426
AND((c(Q20667921),P47,Q692760), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q692760
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
[ANSWERS] have an adjacent border with Bozouls and are present in France
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q692760'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . ?d property:P47 resource:Q692760 . ?d property:P17 resource:Q142 }
Sébrazac Bertholène Sébazac-Concourès Espalion Rodelle Montrozier Bessuéjouls Gabriac
Sébrazac, Bertholène, Sébazac-Concourès, Espalion, Rodelle, Montrozier, Bessuéjouls and Gabriac have an adjacent border with Bozouls and are present in France
Sébrazac Bertholène Sébazac-Concourès Espalion Rodelle Montrozier Bessuéjouls Gabriac
action filter_type
action intersection
action find_reverse
entity Bozouls
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Bozouls'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . ?d property:shares_border_with resource:Bozouls . ?d property:country resource:France }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q20667921
USER
How many french administrative divisions are next to the border of that french administrative division ?
(c(Q20667921),P47,Q924270)
[{'concept': 'Q20667921'}, 'P47', 'Q924270']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q924270 . ?z rdf:type ontology:Q20667921 }
[{'concept': 'type of french administrative division'}, 'shares border with', 'Sébrazac']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Sébrazac . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Quantitative|Count|Single entity type|Clarification
Q473965
SYSTEM
Did you mean Bessuéjouls ?
(c(Q20667921),P47,Q924270) (c(Q20667921),P47,Q1020455) (c(Q20667921),P47,Q1376251) (c(Q20667921),P47,Q326699) (c(Q20667921),P47,Q1365976) (c(Q20667921),P47,Q963118) (c(Q20667921),P47,Q473965) (c(Q20667921),P47,Q1366426)
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q924270'] [{'concept': 'Q20667921'}, 'P47', 'Q1020455'] [{'concept': 'Q20667921'}, 'P47', 'Q1376251'] [{'concept': 'Q20667921'}, 'P47', 'Q326699'] [{'concept': 'Q20667921'}, 'P47', 'Q1365976'] [{'concept': 'Q20667921'}, 'P47', 'Q963118'] [{'concept': 'Q20667921'}, 'P47', 'Q473965'] [{'concept': 'Q20667921'}, 'P47', 'Q1366426']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q924270 . ?z rdf:type ontology:Q20667921 }
Did you mean Bessuéjouls ?
Bessuéjouls
[{'concept': 'type of french administrative division'}, 'shares border with', 'Sébrazac'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Bertholène'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Sébazac-Concourès'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Espalion'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Rodelle'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Montrozier'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Bessuéjouls'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Gabriac']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Sébrazac . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Sébrazac. Could you tell me the answer for that?
(c(Q20667921),P47,Q924270)
Q924270
[{'concept': 'Q20667921'}, 'P47', 'Q924270']
[{'concept': 'type of french administrative division'}, 'shares border with', 'Sébrazac']
[]
SYSTEM
8
Q1365976 Q692760 Q302410 Q1362002 Q1153390 Q384378 Q473967 Q473965
(c(Q20667921),P47,Q924270)
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q924270']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q924270 . ?z rdf:type ontology:Q20667921 }
Rodelle Bozouls Campuac Villecomtal Coubisou Estaing Golinhac Bessuéjouls
8
[{'concept': 'type of french administrative division'}, 'shares border with', 'Sébrazac']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Sébrazac . ?z rdf:type ontology:type_of_french_administrative_division }
[]