Simple Question (Direct)
Simple Question
Q7282306
P27
Q15617994
USER
Which administrative territories are Rafael Rojas a civilian of ?
(Q7282306,P27,c(Q15617994))
action filter_type
action find
entity Q7282306
relation P27
type Q15617994
['Q7282306', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q7282306 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Rafael Rojas
action filter_type
action find
entity Rafael Rojas
relation country of citizenship
type designation for an administrative territorial entity
['Rafael Rojas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Rafael_Rojas property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q800
SYSTEM
Mexico, Costa Rica
Q96 Q800
(Q7282306,P27,c(Q15617994))
action filter_type
action find
entity Q7282306
relation P27
type Q15617994
[ANSWERS] are Rafael Rojas a civilian of
['Q7282306', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q7282306 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Mexico Costa Rica
Mexico and Costa Rica are Rafael Rojas a civilian of
Mexico Costa Rica
action filter_type
action find
entity Rafael Rojas
relation country of citizenship
type designation for an administrative territorial entity
['Rafael Rojas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Rafael_Rojas property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q96 Q800
P47
Q15617994
USER
Which administrative territories are bordered by those ones ?
(Q96,P47,c(Q15617994)) (Q800,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q96', 'P47', {'concept': 'Q15617994'}] ['Q800', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?v property:P47 ?f . ?f rdf:type ontology:Q15617994 . VALUES ( ?v ) { ( resource:Q96 ) ( resource:Q800 ) } }
Mexico Costa Rica
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Mexico', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Costa Rica', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?v property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?v ) { ( resource:Mexico ) ( resource:Costa_Rica ) } }
[]
designation for an administrative territorial entity
Q30 Q242 Q804
SYSTEM
United States of America, Belize, Panama
Q774 Q242 Q30 Q804 Q811
(Q96,P47,c(Q15617994)) (Q800,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
The [ANSWERS] are bordered by those ones
['Q96', 'P47', {'concept': 'Q15617994'}] ['Q800', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?v property:P47 ?f . ?f rdf:type ontology:Q15617994 . VALUES ( ?v ) { ( resource:Q96 ) ( resource:Q800 ) } }
Guatemala Belize United States of America Panama Nicaragua
The United States of America, Belize and Panama are bordered by those ones
United States of America Belize Panama
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Mexico', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Costa Rica', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?v property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?v ) { ( resource:Mexico ) ( resource:Costa_Rica ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q96
P37
Q34770
USER
What is the official language of Mexico ?
(Q96,P37,c(Q34770))
action filter_type
action find
entity Q96
relation P37
type Q34770
['Q96', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q96 property:P37 ?d . ?d rdf:type ontology:Q34770 }
Mexico
action filter_type
action find
entity Mexico
relation official language
type language
['Mexico', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Mexico property:official_language ?d . ?d rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q96,P37,c(Q34770))
action filter_type
action find
entity Q96
relation P37
type Q34770
The official language of Mexico is the [ANSWER]
['Q96', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q96 property:P37 ?d . ?d rdf:type ontology:Q34770 }
Spanish
The official language of Mexico is the Spanish
Spanish
action filter_type
action find
entity Mexico
relation official language
type language
['Mexico', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Mexico property:official_language ?d . ?d rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P364
Q131569 Q340169
USER
How many treaties and medias were done in that language language during their inception ?
(c(Q131569),P364,Q1321) (c(Q340169),P364,Q1321) (c(Q131569),P364,Q1321) (c(Q340169),P364,Q1321)
action count
action union
action filter_type
action find_reverse
entity Q1321
relation P364
type Q131569
action filter_type
action find_reverse
entity Q1321
relation P364
type Q340169
[{'concept': 'Q131569'}, 'P364', 'Q1321'] [{'concept': 'Q340169'}, 'P364', 'Q1321'] [{'concept': 'Q131569'}, 'P364', 'Q1321'] [{'concept': 'Q340169'}, 'P364', 'Q1321']
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { VALUES ( ?k ) { ( ontology:Q340169 ) ( ontology:Q131569 ) } . ?u rdf:type ?k }
action count
action union
action filter_type
action find_reverse
entity Spanish
relation original language of work
type treaty
action filter_type
action find_reverse
entity Spanish
relation original language of work
type media
[{'concept': 'treaty'}, 'original language of work', 'Spanish'] [{'concept': 'media'}, 'original language of work', 'Spanish'] [{'concept': 'treaty'}, 'original language of work', 'Spanish'] [{'concept': 'media'}, 'original language of work', 'Spanish']
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { VALUES ( ?k ) { ( ontology:media ) ( ontology:treaty ) } . ?u rdf:type ?k }
[]
treaty media
SYSTEM
1 treaties and 4 medias
Q21710586 Q21711187 Q1782419 Q21711022 Q21710743
(c(Q131569),P364,Q1321) (c(Q340169),P364,Q1321) (c(Q131569),P364,Q1321) (c(Q340169),P364,Q1321)
action count
action union
action filter_type
action find_reverse
entity Q1321
relation P364
type Q131569
action filter_type
action find_reverse
entity Q1321
relation P364
type Q340169
[ANSWER]
[{'concept': 'Q131569'}, 'P364', 'Q1321'] [{'concept': 'Q340169'}, 'P364', 'Q1321'] [{'concept': 'Q131569'}, 'P364', 'Q1321'] [{'concept': 'Q340169'}, 'P364', 'Q1321']
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { VALUES ( ?k ) { ( ontology:Q340169 ) ( ontology:Q131569 ) } . ?u rdf:type ?k }
Memories, the real history of this republic from the year 1808 Guillermo Valleto's Handwritten Letter to the Treasury Secretary Treaty of the Triple Alliance Memorias by Concepción Lombardo Manifest to the nation
1 treaties and 4 medias
action count
action union
action filter_type
action find_reverse
entity Spanish
relation original language of work
type treaty
action filter_type
action find_reverse
entity Spanish
relation original language of work
type media
[{'concept': 'treaty'}, 'original language of work', 'Spanish'] [{'concept': 'media'}, 'original language of work', 'Spanish'] [{'concept': 'treaty'}, 'original language of work', 'Spanish'] [{'concept': 'media'}, 'original language of work', 'Spanish']
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { VALUES ( ?k ) { ( ontology:media ) ( ontology:treaty ) } . ?u rdf:type ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q8192 Q34770
USER
How many writing systems are used as the alphabet set for atleast 1 language ?
(c(Q34770),P282,c(Q8192))
action count
action atleast
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?j ) WHERE { ?u rdf:type ontology:Q8192 . ?c rdf:type ontology:Q34770 . ?c property:P282 ?u } GROUP BY ?u } }
action count
action atleast
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?j ) WHERE { ?u rdf:type ontology:writing_system . ?c rdf:type ontology:language . ?c property:writing_system ?u } GROUP BY ?u } }
[]
writing system language
SYSTEM
3
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action count
action atleast
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?j ) WHERE { ?u rdf:type ontology:Q8192 . ?c rdf:type ontology:Q34770 . ?c property:P282 ?u } GROUP BY ?u } }
katakana Linear A hiragana
3
action count
action atleast
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?j ) WHERE { ?u rdf:type ontology:writing_system . ?c rdf:type ontology:language . ?c property:writing_system ?u } GROUP BY ?u } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q8192 Q34770
USER
Which writing systems are used as the alphabet set for atleast 1 language ?
(c(Q34770),P282,c(Q8192))
action atleast
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?e ) WHERE { ?y rdf:type ontology:Q8192 . ?n rdf:type ontology:Q34770 . ?n property:P282 ?y } GROUP BY ?y } . FILTER ( ?e >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?e ) WHERE { ?y rdf:type ontology:writing_system . ?n rdf:type ontology:language . ?n property:writing_system ?y } GROUP BY ?y } . FILTER ( ?e >= 1 ) }
[]
writing system language
Q82946 Q30972 Q48332
SYSTEM
katakana, Linear A, hiragana
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action atleast
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[ANSWERS] are used as the alphabet set for atleast 1 language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?e ) WHERE { ?y rdf:type ontology:Q8192 . ?n rdf:type ontology:Q34770 . ?n property:P282 ?y } GROUP BY ?y } . FILTER ( ?e >= 1 ) }
katakana Linear A hiragana
Katakana, Linear A and hiragana are used as the alphabet set for atleast 1 language
katakana Linear A hiragana
action atleast
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?e ) WHERE { ?y rdf:type ontology:writing_system . ?n rdf:type ontology:language . ?n property:writing_system ?y } GROUP BY ?y } . FILTER ( ?e >= 1 ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P282
Q8192 Q5962346
USER
Which writing systems are the writing systems of approximately the same number of classification schemes known as as that writing system ?
(c(Q5962346),P282,c(Q8192))
[{'concept': 'Q5962346'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?y WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q8192 }
[{'concept': 'classification scheme'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?y WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:writing_system }
[]
writing system classification scheme
Comparative|More/Less|Single entity type|Clarification
Q82946
SYSTEM
Did you mean katakana ?
(c(Q5962346),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q5962346'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?y WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q8192 }
Did you mean katakana ?
katakana
[{'concept': 'classification scheme'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?y WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:writing_system }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q5962346),P282,c(Q8192))
[{'concept': 'Q5962346'}, 'P282', {'concept': 'Q8192'}]
[{'concept': 'classification scheme'}, 'writing system', {'concept': 'writing system'}]
[]
Q2613755 Q854968 Q82946
SYSTEM
Tocharian alphabet, Burmese alphabet, katakana
Q854968 Q82946 Q467037 Q2613755
(c(Q5962346),P282,c(Q8192))
[ANSWERS] are the writing systems of approximately the same number of classification schemes known as that writing system
[{'concept': 'Q5962346'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?y WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q8192 }
Burmese alphabet katakana Brahmic script Tocharian alphabet
Tocharian alphabet, Burmese alphabet and katakana are the writing systems of approximately the same number of classification schemes known as that writing system
Tocharian alphabet Burmese alphabet katakana
[{'concept': 'classification scheme'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?y WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:writing_system }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P937
Q502895
USER
Who are an people who works at United States of America ?
(c(Q502895),P937,Q30)
action filter_type
action find_reverse
entity Q30
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q30']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P937 resource:Q30 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'United States of America']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:work_location resource:United_States_of_America }
[]
common name
Q20747363 Q4426737 Q21705837
SYSTEM
Cecilia Sternberg, Cesare Sodero, Eliana Machado Meugé
Q20006819 Q12017811 Q20747363 Q20829615 Q20879213 Q21705837 Q4426737 Q20894879 Q21155013 Q23775987 Q26198053
(c(Q502895),P937,Q30)
action filter_type
action find_reverse
entity Q30
relation P937
type Q502895
An people works at United States of America are [ANSWERS]
[{'concept': 'Q502895'}, 'P937', 'Q30']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P937 resource:Q30 }
Albert van Beest Diana Phipps Cecilia Sternberg Conrad Buff II Nicolino Calyo Eliana Machado Meugé Cesare Sodero Ejnar Hansen Samuel Valentine Hunt DonkeyHotey Henry Jorden
An people works at United States of America are Cecilia Sternberg, Cesare Sodero and Eliana Machado Meugé
Cecilia Sternberg Cesare Sodero Eliana Machado Meugé
action filter_type
action find_reverse
entity United States of America
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'United States of America']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:work_location resource:United_States_of_America }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21705837
P551
Q56061
USER
What was the place of residence of that person ?
(Q21705837,P551,c(Q56061))
action filter_type
action find
entity Q21705837
relation P551
type Q56061
['Q21705837', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q21705837 property:P551 ?b . ?b rdf:type ontology:Q56061 }
Eliana Machado Meugé
action filter_type
action find
entity Eliana Machado Meugé
relation residence
type administrative territorial entity
['Eliana Machado Meugé', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Eliana_Machado_Meugé property:residence ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q4426737
SYSTEM
Did you mean Cesare Sodero ?
Q20747363 Q4426737 Q21705837
(Q20747363,P551,c(Q56061)) (Q4426737,P551,c(Q56061)) (Q21705837,P551,c(Q56061))
[ANSWER]
['Q20747363', 'P551', {'concept': 'Q56061'}] ['Q4426737', 'P551', {'concept': 'Q56061'}] ['Q21705837', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q21705837 property:P551 ?b . ?b rdf:type ontology:Q56061 }
Cecilia Sternberg Cesare Sodero Eliana Machado Meugé
Did you mean Cesare Sodero ?
Cesare Sodero
['Cecilia Sternberg', 'residence', {'concept': 'administrative territorial entity'}] ['Cesare Sodero', 'residence', {'concept': 'administrative territorial entity'}] ['Eliana Machado Meugé', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Eliana_Machado_Meugé property:residence ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Eliana Machado Meugé. Could you tell me the answer for that?
(Q21705837,P551,c(Q56061))
Q21705837
['Q21705837', 'P551', {'concept': 'Q56061'}]
['Eliana Machado Meugé', 'residence', {'concept': 'administrative territorial entity'}]
[]
Q33959
SYSTEM
Nice
Q33959
(Q21705837,P551,c(Q56061))
action filter_type
action find
entity Q21705837
relation P551
type Q56061
The place of residence of that person was in [ANSWER]
['Q21705837', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q21705837 property:P551 ?b . ?b rdf:type ontology:Q56061 }
Nice
The place of residence of that person was in Nice
Nice
action filter_type
action find
entity Eliana Machado Meugé
relation residence
type administrative territorial entity
['Eliana Machado Meugé', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Eliana_Machado_Meugé property:residence ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1339839 Q7282306
P19
Q56061
USER
Which administrative territories are the places of birth of Rafael Rojas or Marco Scandella ?
OR((Q7282306,P19,c(Q56061)), (Q1339839,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7282306
relation P19
action find
entity Q1339839
relation P19
type Q56061
{'OR': [['Q7282306', 'P19', {'concept': 'Q56061'}], ['Q1339839', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?r ) { ( resource:Q7282306 ) ( resource:Q1339839 ) } . ?r property:P19 ?x } . ?x rdf:type ontology:Q56061 }
Marco Scandella Rafael Rojas
action filter_type
action union
action find
entity Rafael Rojas
relation place of birth
action find
entity Marco Scandella
relation place of birth
type administrative territorial entity
{'OR': [['Rafael Rojas', 'place of birth', {'concept': 'administrative territorial entity'}], ['Marco Scandella', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?r ) { ( resource:Rafael_Rojas ) ( resource:Marco_Scandella ) } . ?r property:place_of_birth ?x } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3070 Q340
SYSTEM
San José, Montreal
Q3070 Q340
OR((Q7282306,P19,c(Q56061)), (Q1339839,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7282306
relation P19
action find
entity Q1339839
relation P19
type Q56061
[ANSWERS] are the places of birth of Rafael Rojas or Marco Scandella
{'OR': [['Q7282306', 'P19', {'concept': 'Q56061'}], ['Q1339839', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?r ) { ( resource:Q7282306 ) ( resource:Q1339839 ) } . ?r property:P19 ?x } . ?x rdf:type ontology:Q56061 }
San José Montreal
San José and Montreal are the places of birth of Rafael Rojas or Marco Scandella
San José Montreal
action filter_type
action union
action find
entity Rafael Rojas
relation place of birth
action find
entity Marco Scandella
relation place of birth
type administrative territorial entity
{'OR': [['Rafael Rojas', 'place of birth', {'concept': 'administrative territorial entity'}], ['Marco Scandella', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?r ) { ( resource:Rafael_Rojas ) ( resource:Marco_Scandella ) } . ?r property:place_of_birth ?x } . ?x rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are partner towns of that administrative territory ?
(Q3070,P190,c(Q56061))
['Q3070', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21014470 property:P190 ?z . ?z rdf:type ontology:Q56061 }
['San José', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:San_José property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q340
SYSTEM
Did you mean Montreal ?
(Q3070,P190,c(Q56061)) (Q340,P190,c(Q56061))
[ANSWER]
['Q3070', 'P190', {'concept': 'Q56061'}] ['Q340', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21014470 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Montreal ?
Montreal
['San José', 'sister city', {'concept': 'administrative territorial entity'}] ['Montreal', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:San_José property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant San José. Could you tell me the answer for that?
(Q3070,P190,c(Q56061))
Q3070
['Q3070', 'P190', {'concept': 'Q56061'}]
['San José', 'sister city', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
14
Q518431 Q333928 Q2868 Q696074 Q34820 Q274584 Q2807 Q334577 Q1555 Q152436 Q1867 Q468782 Q16553 Q186935
(Q3070,P190,c(Q56061))
[ANSWER]
['Q3070', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21014470 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Chimbote Maracay Lima Juliaca Santo Domingo San Pedro Sula Madrid Quetzaltenango Guatemala City Kfar Saba Taipei Huancayo San Jose Ahuachapán
14
['San José', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:San_José property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]