Simple Question (Direct)
Simple Question
Q19300518
P1412
Q34770
USER
Which language can Josep Maria Pascual i Soler understand ?
(Q19300518,P1412,c(Q34770))
action filter_type
action find
entity Q19300518
relation P1412
type Q34770
['Q19300518', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q19300518 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Josep Maria Pascual i Soler
action filter_type
action find
entity Josep Maria Pascual i Soler
relation languages spoken, written or signed
type language
['Josep Maria Pascual i Soler', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Josep_Maria_Pascual_i_Soler property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q19300518,P1412,c(Q34770))
action filter_type
action find
entity Q19300518
relation P1412
type Q34770
Josep Maria Pascual i Soler can understand the [ANSWER]
['Q19300518', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q19300518 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Spanish
Josep Maria Pascual i Soler can understand the Spanish
Spanish
action filter_type
action find
entity Josep Maria Pascual i Soler
relation languages spoken, written or signed
type language
['Josep Maria Pascual i Soler', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Josep_Maria_Pascual_i_Soler property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19300518
P19
Q1048835
USER
Which political territories were Josep Maria Pascual i Soler born in ?
(Q19300518,P19,c(Q1048835))
action filter_type
action find
entity Q19300518
relation P19
type Q1048835
['Q19300518', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q19300518 property:P19 ?g . ?g rdf:type ontology:Q1048835 }
Josep Maria Pascual i Soler
action filter_type
action find
entity Josep Maria Pascual i Soler
relation place of birth
type political territorial entity
['Josep Maria Pascual i Soler', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Josep_Maria_Pascual_i_Soler property:place_of_birth ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1229283 Q12110
SYSTEM
L'Espluga de Francolí, Arenys de Mar
Q1229283 Q12110
(Q19300518,P19,c(Q1048835))
action filter_type
action find
entity Q19300518
relation P19
type Q1048835
Josep Maria Pascual i Soler were born in Barcelona [ANSWERS]
['Q19300518', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q19300518 property:P19 ?g . ?g rdf:type ontology:Q1048835 }
L'Espluga de Francolí Arenys de Mar
Josep Maria Pascual i Soler were born in Barcelona L'Espluga de Francolí and Arenys de Mar
L'Espluga de Francolí Arenys de Mar
action filter_type
action find
entity Josep Maria Pascual i Soler
relation place of birth
type political territorial entity
['Josep Maria Pascual i Soler', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Josep_Maria_Pascual_i_Soler property:place_of_birth ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17482445
Q1048835
USER
And what about Mikkel Desler?
(Q17482445,P19,c(Q1048835))
action filter_type
action find
entity Q17482445
relation P19
type Q1048835
['Q17482445', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q17482445 property:P19 ?f }
Mikkel Desler
action filter_type
action find
entity Mikkel Desler
relation place of birth
type political territorial entity
['Mikkel Desler', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Mikkel_Desler property:place_of_birth ?f }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q17482445,P19,c(Q1048835))
action filter_type
action find
entity Q17482445
relation P19
type Q1048835
[ANSWER]
['Q17482445', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q17482445 property:P19 ?f }
Denmark
Denmark
action filter_type
action find
entity Mikkel Desler
relation place of birth
type political territorial entity
['Mikkel Desler', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Mikkel_Desler property:place_of_birth ?f }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q35470
P282
Q2001982 Q8192 Q34770
USER
How many languages are less number of notations or writing systems the writing system of than Elamite language ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q35470
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?z WHERE { { ?z property:P282 ?l . ?z rdf:type ontology:Q34770 . ?l rdf:type ontology:Q8192 } UNION { ?z property:P282 ?l . ?z rdf:type ontology:Q34770 . ?l rdf:type ontology:Q2001982 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { { ?m rdf:type ontology:Q2001982 } UNION { ?m rdf:type ontology:Q8192 } } . resource:Q35470 property:P282 ?m } } . FILTER ( ?c < ?t ) }
Elamite language
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Elamite language
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?z WHERE { { ?z property:writing_system ?l . ?z rdf:type ontology:language . ?l rdf:type ontology:writing_system } UNION { ?z property:writing_system ?l . ?z rdf:type ontology:language . ?l rdf:type ontology:notation } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { { ?m rdf:type ontology:notation } UNION { ?m rdf:type ontology:writing_system } } . resource:Elamite_language property:writing_system ?m } } . FILTER ( ?c < ?t ) }
[]
notation writing system language
SYSTEM
49
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q35470
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?z WHERE { { ?z property:P282 ?l . ?z rdf:type ontology:Q34770 . ?l rdf:type ontology:Q8192 } UNION { ?z property:P282 ?l . ?z rdf:type ontology:Q34770 . ?l rdf:type ontology:Q2001982 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { { ?m rdf:type ontology:Q2001982 } UNION { ?m rdf:type ontology:Q8192 } } . resource:Q35470 property:P282 ?m } } . FILTER ( ?c < ?t ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
49
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Elamite language
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?z WHERE { { ?z property:writing_system ?l . ?z rdf:type ontology:language . ?l rdf:type ontology:writing_system } UNION { ?z property:writing_system ?l . ?z rdf:type ontology:language . ?l rdf:type ontology:notation } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { { { ?m rdf:type ontology:notation } UNION { ?m rdf:type ontology:writing_system } } . resource:Elamite_language property:writing_system ?m } } . FILTER ( ?c < ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q36795
P282
Q2001982 Q8192 Q34770
USER
And what about Tartessian?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q36795
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?u WHERE { VALUES ( ?v ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?l rdf:type ?v } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q36795 property:P282 ?y . { { ?y rdf:type ontology:Q2001982 } UNION { ?y rdf:type ontology:Q8192 } } } } . FILTER ( ?j < ?x ) }
Tartessian
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Tartessian
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?u WHERE { VALUES ( ?v ) { ( ontology:notation ) ( ontology:writing_system ) } . ?l rdf:type ?v } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Tartessian property:writing_system ?y . { { ?y rdf:type ontology:notation } UNION { ?y rdf:type ontology:writing_system } } } } . FILTER ( ?j < ?x ) }
[]
notation writing system language
SYSTEM
49
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q36795
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?u WHERE { VALUES ( ?v ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?l rdf:type ?v } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q36795 property:P282 ?y . { { ?y rdf:type ontology:Q2001982 } UNION { ?y rdf:type ontology:Q8192 } } } } . FILTER ( ?j < ?x ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
49
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Tartessian
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) ?u WHERE { VALUES ( ?v ) { ( ontology:notation ) ( ontology:writing_system ) } . ?l rdf:type ?v } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Tartessian property:writing_system ?y . { { ?y rdf:type ontology:notation } UNION { ?y rdf:type ontology:writing_system } } } } . FILTER ( ?j < ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q948
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with more number of political territories than Tunisia ?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q948
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?h ) WHERE { ?a property:P530 ?v . ?a rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { resource:Q948 property:P530 ?y . ?y rdf:type ontology:Q1048835 } } . FILTER ( ?h > ?j ) }
Tunisia
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Tunisia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?h ) WHERE { ?a property:diplomatic_relation ?v . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { resource:Tunisia property:diplomatic_relation ?y . ?y rdf:type ontology:political_territorial_entity } } . FILTER ( ?h > ?j ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
82
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q1041 Q27 Q843 Q1029 Q1028 Q736 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q948
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?h ) WHERE { ?a property:P530 ?v . ?a rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { resource:Q948 property:P530 ?y . ?y rdf:type ontology:Q1048835 } } . FILTER ( ?h > ?j ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Senegal Ireland Pakistan Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
82
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Tunisia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?h ) WHERE { ?a property:diplomatic_relation ?v . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { resource:Tunisia property:diplomatic_relation ?y . ?y rdf:type ontology:political_territorial_entity } } . FILTER ( ?h > ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12110
P6
Q502895
USER
Which person is the head of government of Arenys de Mar ?
(Q12110,P6,c(Q502895))
action filter_type
action find
entity Q12110
relation P6
type Q502895
['Q12110', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q12110 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Arenys de Mar
action filter_type
action find
entity Arenys de Mar
relation head of government
type common name
['Arenys de Mar', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Arenys_de_Mar property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
common name
Q14036861
SYSTEM
Estanislau Fors Garcia
Q14036861
(Q12110,P6,c(Q502895))
action filter_type
action find
entity Q12110
relation P6
type Q502895
[ANSWER] is the head of government of Arenys de Mar
['Q12110', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q12110 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Estanislau Fors Garcia
Estanislau Fors Garcia is the head of government of Arenys de Mar
Estanislau Fors Garcia
action filter_type
action find
entity Arenys de Mar
relation head of government
type common name
['Arenys de Mar', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Arenys_de_Mar property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12110
P47
Q1048835
USER
Which political territories are bordered by that one ?
(c(Q1048835),P47,Q14036861)
action filter_type
action find
entity Q12110
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q14036861']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1048835 . resource:Q12110 property:P47 ?e }
Arenys de Mar
action filter_type
action find
entity Arenys de Mar
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Estanislau Fors Garcia']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_territorial_entity . resource:Arenys_de_Mar property:shares_border_with ?e }
[]
political territorial entity
Q12101 Q12114 Q12095
SYSTEM
Arenys de Munt, Canet de Mar, Sant Vicenç de Montalt
Q12114 Q12102 Q12101 Q12095
(c(Q1048835),P47,Q14036861)
action filter_type
action find
entity Q12110
relation P47
type Q1048835
[ANSWERS] are bordered by that one
[{'concept': 'Q1048835'}, 'P47', 'Q14036861']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1048835 . resource:Q12110 property:P47 ?e }
Canet de Mar Caldes d'Estrac Arenys de Munt Sant Vicenç de Montalt
Arenys de Munt, Canet de Mar and Sant Vicenç de Montalt are bordered by that one
Arenys de Munt Canet de Mar Sant Vicenç de Montalt
action filter_type
action find
entity Arenys de Mar
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Estanislau Fors Garcia']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_territorial_entity . resource:Arenys_de_Mar property:shares_border_with ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q12110
P17
Q15617994
USER
How many administrative territories are Arenys de Mar situated in ?
(Q12110,P17,c(Q15617994))
action count
action filter_type
action find
entity Q12110
relation P17
type Q15617994
['Q12110', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q12110 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Arenys de Mar
action count
action filter_type
action find
entity Arenys de Mar
relation country
type designation for an administrative territorial entity
['Arenys de Mar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Arenys_de_Mar property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q12110,P17,c(Q15617994))
action count
action filter_type
action find
entity Q12110
relation P17
type Q15617994
[ANSWER]
['Q12110', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q12110 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity Arenys de Mar
relation country
type designation for an administrative territorial entity
['Arenys de Mar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Arenys_de_Mar property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12110
P190
Q20667921
USER
Which french administrative division is twin town of that political territory ?
action filter_type
action find
entity Q12110
relation P190
type Q20667921
SELECT DISTINCT ?s WHERE { resource:Q12110 property:P190 ?s . ?s rdf:type ontology:Q20667921 }
Arenys de Mar
action filter_type
action find
entity Arenys de Mar
relation sister city
type type of french administrative division
SELECT DISTINCT ?s WHERE { resource:Arenys_de_Mar property:sister_city ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q390964
SYSTEM
Auterive
Q390964
action filter_type
action find
entity Q12110
relation P190
type Q20667921
[ANSWER] is twin town of that political territory
SELECT DISTINCT ?s WHERE { resource:Q12110 property:P190 ?s . ?s rdf:type ontology:Q20667921 }
Auterive
Auterive is twin town of that political territory
Auterive
action filter_type
action find
entity Arenys de Mar
relation sister city
type type of french administrative division
SELECT DISTINCT ?s WHERE { resource:Arenys_de_Mar property:sister_city ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]