Simple Question (Direct)
Simple Question
Q3819807
P19
Q56061
USER
Where was Don Francisco de Paula Marín born ?
(Q3819807,P19,c(Q56061))
action filter_type
action find
entity Q3819807
relation P19
type Q56061
['Q3819807', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q3819807 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Don Francisco de Paula Marín
action filter_type
action find
entity Don Francisco de Paula Marín
relation place of birth
type administrative territorial entity
['Don Francisco de Paula Marín', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Don_Francisco_de_Paula_Marín property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12303
SYSTEM
Jerez de la Frontera
Q12303
(Q3819807,P19,c(Q56061))
action filter_type
action find
entity Q3819807
relation P19
type Q56061
Don Francisco de Paula Marín was born in [ANSWER]
['Q3819807', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q3819807 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Jerez de la Frontera
Don Francisco de Paula Marín was born in Jerez de la Frontera
Jerez de la Frontera
action filter_type
action find
entity Don Francisco de Paula Marín
relation place of birth
type administrative territorial entity
['Don Francisco de Paula Marín', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Don_Francisco_de_Paula_Marín property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3819807
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q12303,P1412,c(Q34770))
action filter_type
action find
entity Q3819807
relation P1412
type Q34770
['Q12303', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q34770 . resource:Q3819807 property:P1412 ?a }
Don Francisco de Paula Marín
action filter_type
action find
entity Don Francisco de Paula Marín
relation languages spoken, written or signed
type language
['Jerez de la Frontera', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:language . resource:Don_Francisco_de_Paula_Marín property:languages_spoken,_written_or_signed ?a }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q12303,P1412,c(Q34770))
action filter_type
action find
entity Q3819807
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q12303', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q34770 . resource:Q3819807 property:P1412 ?a }
Spanish
Spanish is that person capable of writing
Spanish
action filter_type
action find
entity Don Francisco de Paula Marín
relation languages spoken, written or signed
type language
['Jerez de la Frontera', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:language . resource:Don_Francisco_de_Paula_Marín property:languages_spoken,_written_or_signed ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P407
Q82799 Q216353
USER
How many names and titles use that language as language ?
(c(Q82799),P407,Q1321) (c(Q216353),P407,Q1321) (c(Q82799),P407,Q1321) (c(Q216353),P407,Q1321)
action count
action union
action filter_type
action find_reverse
entity Q1321
relation P407
type Q82799
action filter_type
action find_reverse
entity Q1321
relation P407
type Q216353
[{'concept': 'Q82799'}, 'P407', 'Q1321'] [{'concept': 'Q216353'}, 'P407', 'Q1321'] [{'concept': 'Q82799'}, 'P407', 'Q1321'] [{'concept': 'Q216353'}, 'P407', 'Q1321']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d rdf:type ontology:Q82799 . ?d property:P407 resource:Q1321 } UNION { ?d property:P407 resource:Q1321 . ?d rdf:type ontology:Q216353 } }
action count
action union
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type name
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type title
[{'concept': 'name'}, 'language of work or name', 'Spanish'] [{'concept': 'title'}, 'language of work or name', 'Spanish'] [{'concept': 'name'}, 'language of work or name', 'Spanish'] [{'concept': 'title'}, 'language of work or name', 'Spanish']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d rdf:type ontology:name . ?d property:language_of_work_or_name resource:Spanish } UNION { ?d property:language_of_work_or_name resource:Spanish . ?d rdf:type ontology:title } }
[]
name title
SYSTEM
84 names and 1 titles
Q383010 Q19891513 Q27266151 Q23710131 Q17623142 Q1559123 Q2671589 Q15181057 Q19968620 Q406181 Q5676299 Q2255316 Q1069827 Q12190384 Q5300634 Q16865221 Q2840343 Q893835 Q11196273 Q18552178 Q26202541 Q16875942 Q980636 Q6814164 Q164892 Q5843971 Q965991 Q27133570 Q9291087 Q1158327 Q23710896 Q20963719 Q21183552 Q1654058 Q6327150 Q1049855 Q21504556 Q15816560 Q11682230 Q16281307 Q1158617 Q20819744 Q16154950 Q20819741 Q15700013 Q1158224 Q3687662 Q25114676 Q1158517 Q20997554 Q1158459 Q1397072 Q21493053 Q16882276 Q16860087 Q5395941 Q16479470 Q17126019 Q10613677 Q598459 Q1854289 Q26205720 Q1643088 Q1158701 Q16874926 Q906471 Q16279157 Q20892705 Q16865394 Q20819731 Q16883533 Q7107158 Q4407937 Q17080647 Q20813204 Q16865601 Q3862934 Q492282 Q1036095 Q1158429 Q7190622 Q20890197 Q1614171 Q16871185 Q21400404
(c(Q82799),P407,Q1321) (c(Q216353),P407,Q1321) (c(Q82799),P407,Q1321) (c(Q216353),P407,Q1321)
action count
action union
action filter_type
action find_reverse
entity Q1321
relation P407
type Q82799
action filter_type
action find_reverse
entity Q1321
relation P407
type Q216353
[ANSWER]
[{'concept': 'Q82799'}, 'P407', 'Q1321'] [{'concept': 'Q216353'}, 'P407', 'Q1321'] [{'concept': 'Q82799'}, 'P407', 'Q1321'] [{'concept': 'Q216353'}, 'P407', 'Q1321']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d rdf:type ontology:Q82799 . ?d property:P407 resource:Q1321 } UNION { ?d property:P407 resource:Q1321 . ?d rdf:type ontology:Q216353 } }
Pérez Fonseca Portales Spanish family name Márquez Gómez Costa Andrade Santi Pacheco Andueza Gutiérrez Rosario Moran Aguilar Bustos Muñoz Borja Ruiz Alonso Laporta Lugo García Meléndez Fernández Suárez Jimeno Cano Peña Ramírez spanish given name Nieto Cajal Rodríguez Silva Castro Torres Anabel Guadalupe Servando Sánchez de los Santos Abelardo dos Santos Medina Romero Consuelo Maestre Mendoza Oquendo Salazar Flores Castillo Rosales Blanco Ochoa Alvarado Toledano Moreno Miranda Marino Conxa Ramos López Lucero (surname) Martínez Matias Orozco Carrasco (surname) dos Solano Osmeña (surname) Santos Andreina Santos Cisneros Moreno Andoni Jacinta Agirre Pichardo Urueta Herrera Jiménez Padrón
84 names and 1 titles
action count
action union
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type name
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type title
[{'concept': 'name'}, 'language of work or name', 'Spanish'] [{'concept': 'title'}, 'language of work or name', 'Spanish'] [{'concept': 'name'}, 'language of work or name', 'Spanish'] [{'concept': 'title'}, 'language of work or name', 'Spanish']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d rdf:type ontology:name . ?d property:language_of_work_or_name resource:Spanish } UNION { ?d property:language_of_work_or_name resource:Spanish . ?d rdf:type ontology:title } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12303
P137
Q483110
USER
Which stadium is the administrator of Jerez de la Frontera ?
(c(Q483110),P137,Q12303)
action filter_type
action find_reverse
entity Q12303
relation P137
type Q483110
[{'concept': 'Q483110'}, 'P137', 'Q12303']
SELECT DISTINCT ?h WHERE { ?h property:P137 resource:Q12303 . ?h rdf:type ontology:Q483110 }
Jerez de la Frontera
action filter_type
action find_reverse
entity Jerez de la Frontera
relation operator
type stadium
[{'concept': 'stadium'}, 'operator', 'Jerez de la Frontera']
SELECT DISTINCT ?h WHERE { ?h property:operator resource:Jerez_de_la_Frontera . ?h rdf:type ontology:stadium }
[]
stadium
Q1369475
SYSTEM
Estadio Municipal de Chapín
Q1369475
(c(Q483110),P137,Q12303)
action filter_type
action find_reverse
entity Q12303
relation P137
type Q483110
[ANSWER] is the administrator of Jerez de la Frontera
[{'concept': 'Q483110'}, 'P137', 'Q12303']
SELECT DISTINCT ?h WHERE { ?h property:P137 resource:Q12303 . ?h rdf:type ontology:Q483110 }
Estadio Municipal de Chapín
Estadio Municipal de Chapín is the administrator of Jerez de la Frontera
Estadio Municipal de Chapín
action filter_type
action find_reverse
entity Jerez de la Frontera
relation operator
type stadium
[{'concept': 'stadium'}, 'operator', 'Jerez de la Frontera']
SELECT DISTINCT ?h WHERE { ?h property:operator resource:Jerez_de_la_Frontera . ?h rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12303
P17
Q15617994
USER
Which administrative territory does that administrative territory belong to ?
(Q1369475,P17,c(Q15617994))
action filter_type
action find
entity Q12303
relation P17
type Q15617994
['Q1369475', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q12303 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Jerez de la Frontera
action filter_type
action find
entity Jerez de la Frontera
relation country
type designation for an administrative territorial entity
['Estadio Municipal de Chapín', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Jerez_de_la_Frontera property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1369475,P17,c(Q15617994))
action filter_type
action find
entity Q12303
relation P17
type Q15617994
That administrative territory belongs to [ANSWER]
['Q1369475', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q12303 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Spain
That administrative territory belongs to Spain
Spain
action filter_type
action find
entity Jerez de la Frontera
relation country
type designation for an administrative territorial entity
['Estadio Municipal de Chapín', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Jerez_de_la_Frontera property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q25164
P282
Q2001982 Q9779 Q34770
USER
Which languages are around the same number of notations and alphabets the writing system of as Nynorsk ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q25164
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?r WHERE { { ?r property:P282 ?o . ?r rdf:type ontology:Q34770 . ?o rdf:type ontology:Q9779 } UNION { ?r property:P282 ?o . ?r rdf:type ontology:Q34770 . ?o rdf:type ontology:Q2001982 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Q25164 property:P282 ?x . { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } } } . FILTER ( ?c = ?d ) }
Nynorsk
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Nynorsk
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?r WHERE { { ?r property:writing_system ?o . ?r rdf:type ontology:language . ?o rdf:type ontology:alphabet } UNION { ?r property:writing_system ?o . ?r rdf:type ontology:language . ?o rdf:type ontology:notation } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Nynorsk property:writing_system ?x . { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:notation ) ( ontology:alphabet ) } } } } . FILTER ( ?c = ?d ) }
[]
notation alphabet language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q36741 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q25164
relation P282
type Q2001982
type Q9779
[ANSWERS] are around the same number of notations and alphabets the writing system of as Nynorsk
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?r WHERE { { ?r property:P282 ?o . ?r rdf:type ontology:Q34770 . ?o rdf:type ontology:Q9779 } UNION { ?r property:P282 ?o . ?r rdf:type ontology:Q34770 . ?o rdf:type ontology:Q2001982 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Q25164 property:P282 ?x . { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } } } . FILTER ( ?c = ?d ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Polabian Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese 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 Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
English, Old Egyptian and Norn are around the same number of notations and alphabets the writing system of as Nynorsk
English Old Egyptian Norn
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Nynorsk
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?r WHERE { { ?r property:writing_system ?o . ?r rdf:type ontology:language . ?o rdf:type ontology:alphabet } UNION { ?r property:writing_system ?o . ?r rdf:type ontology:language . ?o rdf:type ontology:notation } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Nynorsk property:writing_system ?x . { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:notation ) ( ontology:alphabet ) } } } } . FILTER ( ?c = ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q56982
P282
Q2001982 Q9779 Q34770
USER
And how about Judaeo-Portuguese?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q56982
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?c ) WHERE { VALUES ( ?s ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?y rdf:type ?s } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q56982 property:P282 ?h . { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } } } . FILTER ( ?c = ?r ) }
Judaeo-Portuguese
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Judaeo-Portuguese
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?c ) WHERE { VALUES ( ?s ) { ( ontology:notation ) ( ontology:alphabet ) } . ?y rdf:type ?s } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Judaeo-Portuguese property:writing_system ?h . { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:notation ) ( ontology:alphabet ) } } } } . FILTER ( ?c = ?r ) }
[]
notation alphabet language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q36741 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q56982
relation P282
type Q2001982
type Q9779
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?c ) WHERE { VALUES ( ?s ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?y rdf:type ?s } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q56982 property:P282 ?h . { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } } } . FILTER ( ?c = ?r ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Polabian Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese 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 Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
English Old Egyptian Norn
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Judaeo-Portuguese
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?c ) WHERE { VALUES ( ?s ) { ( ontology:notation ) ( ontology:alphabet ) } . ?y rdf:type ?s } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Judaeo-Portuguese property:writing_system ?h . { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:notation ) ( ontology:alphabet ) } } } } . FILTER ( ?c = ?r ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P2439
Q34770 Q21114848 Q43229
USER
How many languages are associated with approximately the same number of magazine genres and organizations as that language ?
(c(Q21114848)|c(Q43229),P2439,c(Q34770))
[[{'concept': 'Q21114848'}, {'concept': 'Q43229'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?z ) ( ?x ) } . ?e property:Q34770 ?y } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q43229 }
[[{'concept': 'magazine genre'}, {'concept': 'organization'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?z ) ( ?x ) } . ?e property:language ?y } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:language . ?x rdf:type ontology:organization }
[]
language magazine genre organization
Comparative|Count over More/Less|Mult. entity type|Clarification
Q36708
SYSTEM
Did you mean Norn ?
(c(Q21114848)|c(Q43229),P2439,c(Q34770))
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q43229'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?z ) ( ?x ) } . ?e property:Q34770 ?y } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q43229 }
Did you mean Norn ?
Norn
[[{'concept': 'magazine genre'}, {'concept': 'organization'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?z ) ( ?x ) } . ?e property:language ?y } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:language . ?x rdf:type ontology:organization }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant English. Could you tell me the answer for that?
(c(Q21114848)|c(Q43229),P2439,c(Q34770))
Q1860
[[{'concept': 'Q21114848'}, {'concept': 'Q43229'}], 'P2439', {'concept': 'Q34770'}]
[[{'concept': 'magazine genre'}, {'concept': 'organization'}], 'language', {'concept': 'language'}]
[]
SYSTEM
1
Q1860
(c(Q21114848)|c(Q43229),P2439,c(Q34770))
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q43229'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q34770 ?y } UNION { ?x property:Q34770 ?y } } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q43229 }
English
1
[[{'concept': 'magazine genre'}, {'concept': 'organization'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:language ?y } UNION { ?x property:language ?y } } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:language . ?x rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6859721 Q36708
P495 P17
Q15617994
USER
Which administrative territories do Norn belong to or are the countries of origin of Million's Poet ?
OR((Q36708,P17,c(Q15617994)), (Q6859721,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q36708
relation P17
action find
entity Q6859721
relation P495
type Q15617994
{'OR': [['Q36708', 'P17', {'concept': 'Q15617994'}], ['Q6859721', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q36708 property:P17 ?c } UNION { resource:Q6859721 property:P495 ?c } } . ?c rdf:type ontology:Q15617994 }
Million's Poet Norn
action filter_type
action union
action find
entity Norn
relation country
action find
entity Million's Poet
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Norn', 'country', {'concept': 'designation for an administrative territorial entity'}], ["Million's Poet", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Norn property:country ?c } UNION { resource:Million's_Poet property:country_of_origin ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q878 Q145
SYSTEM
United Arab Emirates, United Kingdom
Q878 Q145
OR((Q36708,P17,c(Q15617994)), (Q6859721,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q36708
relation P17
action find
entity Q6859721
relation P495
type Q15617994
Norn belong to the [ANSWERS] or are the countries of origin of Million's Poet
{'OR': [['Q36708', 'P17', {'concept': 'Q15617994'}], ['Q6859721', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q36708 property:P17 ?c } UNION { resource:Q6859721 property:P495 ?c } } . ?c rdf:type ontology:Q15617994 }
United Arab Emirates United Kingdom
Norn belong to the United Arab Emirates and United Kingdom or are the countries of origin of Million's Poet
United Arab Emirates United Kingdom
action filter_type
action union
action find
entity Norn
relation country
action find
entity Million's Poet
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Norn', 'country', {'concept': 'designation for an administrative territorial entity'}], ["Million's Poet", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Norn property:country ?c } UNION { resource:Million's_Poet property:country_of_origin ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q1048835 Q15617994
USER
How many political territories and administrative territories are bordered by that administrative territory ?
(c(Q1048835),P47,Q145) (c(Q15617994),P47,Q145) (c(Q1048835),P47,Q878) (c(Q15617994),P47,Q878) (c(Q1048835),P47,Q145) (c(Q15617994),P47,Q145)
[{'concept': 'Q1048835'}, 'P47', 'Q145'] [{'concept': 'Q15617994'}, 'P47', 'Q145'] [{'concept': 'Q1048835'}, 'P47', 'Q878'] [{'concept': 'Q15617994'}, 'P47', 'Q878'] [{'concept': 'Q1048835'}, 'P47', 'Q145'] [{'concept': 'Q15617994'}, 'P47', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q225249 } UNION { ?y property:P47 resource:Q225249 } UNION { ?z property:P47 resource:Q878 } UNION { ?y property:P47 resource:Q878 } UNION { ?z property:P47 resource:Q225249 } UNION { ?y property:P47 resource:Q225249 } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'political territorial entity'}, 'shares border with', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United Kingdom'] [{'concept': 'political territorial entity'}, 'shares border with', 'United Arab Emirates'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United Arab Emirates'] [{'concept': 'political territorial entity'}, 'shares border with', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:United_Kingdom } UNION { ?y property:shares_border_with resource:United_Kingdom } UNION { ?z property:shares_border_with resource:United_Arab_Emirates } UNION { ?y property:shares_border_with resource:United_Arab_Emirates } UNION { ?z property:shares_border_with resource:United_Kingdom } UNION { ?y property:shares_border_with resource:United_Kingdom } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
political territorial entity designation for an administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q878
SYSTEM
Did you mean United Arab Emirates ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q225249 } UNION { ?y property:P47 resource:Q225249 } UNION { ?z property:P47 resource:Q878 } UNION { ?y property:P47 resource:Q878 } UNION { ?z property:P47 resource:Q225249 } UNION { ?y property:P47 resource:Q225249 } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
Did you mean United Arab Emirates ?
United Arab Emirates
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:United_Kingdom } UNION { ?y property:shares_border_with resource:United_Kingdom } UNION { ?z property:shares_border_with resource:United_Arab_Emirates } UNION { ?y property:shares_border_with resource:United_Arab_Emirates } UNION { ?z property:shares_border_with resource:United_Kingdom } UNION { ?y property:shares_border_with resource:United_Kingdom } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant United Kingdom. Could you tell me the answer for that?
(c(Q1048835),P47,Q145) (c(Q15617994),P47,Q145) (c(Q1048835),P47,Q878) (c(Q15617994),P47,Q878) (c(Q1048835),P47,Q145) (c(Q15617994),P47,Q145)
Q145
[{'concept': 'Q1048835'}, 'P47', 'Q145'] [{'concept': 'Q15617994'}, 'P47', 'Q145'] [{'concept': 'Q1048835'}, 'P47', 'Q878'] [{'concept': 'Q15617994'}, 'P47', 'Q878'] [{'concept': 'Q1048835'}, 'P47', 'Q145'] [{'concept': 'Q15617994'}, 'P47', 'Q145']
[{'concept': 'political territorial entity'}, 'shares border with', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United Kingdom'] [{'concept': 'political territorial entity'}, 'shares border with', 'United Arab Emirates'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United Arab Emirates'] [{'concept': 'political territorial entity'}, 'shares border with', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United Kingdom']
[]
SYSTEM
1 political territories and 3 administrative territories
Q142 Q717 Q35 Q27
(c(Q1048835),P47,Q145) (c(Q15617994),P47,Q145) (c(Q1048835),P47,Q878) (c(Q15617994),P47,Q878) (c(Q1048835),P47,Q145) (c(Q15617994),P47,Q145)
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q145'] [{'concept': 'Q15617994'}, 'P47', 'Q145'] [{'concept': 'Q1048835'}, 'P47', 'Q878'] [{'concept': 'Q15617994'}, 'P47', 'Q878'] [{'concept': 'Q1048835'}, 'P47', 'Q145'] [{'concept': 'Q15617994'}, 'P47', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q225249 } UNION { ?y property:P47 resource:Q225249 } UNION { ?z property:P47 resource:Q878 } UNION { ?y property:P47 resource:Q878 } UNION { ?z property:P47 resource:Q225249 } UNION { ?y property:P47 resource:Q225249 } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
France Venezuela Denmark Ireland
1 political territories and 3 administrative territories
[{'concept': 'political territorial entity'}, 'shares border with', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United Kingdom'] [{'concept': 'political territorial entity'}, 'shares border with', 'United Arab Emirates'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United Arab Emirates'] [{'concept': 'political territorial entity'}, 'shares border with', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:United_Kingdom } UNION { ?y property:shares_border_with resource:United_Kingdom } UNION { ?z property:shares_border_with resource:United_Arab_Emirates } UNION { ?y property:shares_border_with resource:United_Arab_Emirates } UNION { ?z property:shares_border_with resource:United_Kingdom } UNION { ?y property:shares_border_with resource:United_Kingdom } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have ambassadorial relations with atmost 81 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 81
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?i ) WHERE { ?r property:P530 ?h . ?r rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?i <= 81 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 81
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?i ) WHERE { ?r property:diplomatic_relation ?h . ?r rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?i <= 81 ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 81
[ANSWERS] have ambassadorial relations with atmost 81 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?i ) WHERE { ?r property:P530 ?h . ?r rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?i <= 81 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have ambassadorial relations with atmost 81 administrative territories
Denmark Canada Austria
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 81
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?i ) WHERE { ?r property:diplomatic_relation ?h . ?r rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?i <= 81 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q35 Q16 Q40
P1001
Q4164871
USER
Which positions preside the jurisdiction over those political territories ?
(c(Q4164871),P1001,Q35) (c(Q4164871),P1001,Q16) (c(Q4164871),P1001,Q40)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q4164871
[{'concept': 'Q4164871'}, 'P1001', 'Q35'] [{'concept': 'Q4164871'}, 'P1001', 'Q16'] [{'concept': 'Q4164871'}, 'P1001', 'Q40']
SELECT DISTINCT ?d WHERE { VALUES ( ?u ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } . ?d property:P1001 ?u . ?d rdf:type ontology:Q4164871 }
Denmark Canada Austria
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'position'}, 'applies to jurisdiction', 'Canada'] [{'concept': 'position'}, 'applies to jurisdiction', 'Austria']
SELECT DISTINCT ?d WHERE { VALUES ( ?u ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } . ?d property:applies_to_jurisdiction ?u . ?d rdf:type ontology:position }
[]
position
Q1647332 Q25513955 Q21070726
SYSTEM
Landtagspräsident, Minister of Social Affairs, Deputy Prime Minister
Q25513955 Q21070726 Q25776270 Q24190727 Q1647332
(c(Q4164871),P1001,Q35) (c(Q4164871),P1001,Q16) (c(Q4164871),P1001,Q40)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q4164871
[ANSWERS] preside the jurisdiction over those political territories
[{'concept': 'Q4164871'}, 'P1001', 'Q35'] [{'concept': 'Q4164871'}, 'P1001', 'Q16'] [{'concept': 'Q4164871'}, 'P1001', 'Q40']
SELECT DISTINCT ?d WHERE { VALUES ( ?u ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } . ?d property:P1001 ?u . ?d rdf:type ontology:Q4164871 }
Minister of Social Affairs Deputy Prime Minister Minister for Climate and Energy Minister of Small Business and Tourism Landtagspräsident
Landtagspräsident, Minister of Social Affairs and Deputy Prime Minister preside the jurisdiction over those political territories
Landtagspräsident Minister of Social Affairs Deputy Prime Minister
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'position'}, 'applies to jurisdiction', 'Canada'] [{'concept': 'position'}, 'applies to jurisdiction', 'Austria']
SELECT DISTINCT ?d WHERE { VALUES ( ?u ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } . ?d property:applies_to_jurisdiction ?u . ?d rdf:type ontology:position }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1647332 Q25513955 Q21070726
P39
Q502895
USER
Which people held the position of Landtagspräsident, Minister of Social Affairs and Deputy Prime Minister ?
(c(Q502895),P39,Q1647332) (c(Q502895),P39,Q25513955) (c(Q502895),P39,Q21070726)
action union
action filter_type
action find_reverse
entity Q1647332
relation P39
type Q502895
action filter_type
action find_reverse
entity Q25513955
relation P39
type Q502895
action filter_type
action find_reverse
entity Q21070726
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1647332'] [{'concept': 'Q502895'}, 'P39', 'Q25513955'] [{'concept': 'Q502895'}, 'P39', 'Q21070726']
SELECT DISTINCT ?j WHERE { { ?j property:P39 resource:Q1647332 . ?j rdf:type ontology:Q502895 } UNION { ?j property:P39 resource:Q25513955 . ?j rdf:type ontology:Q502895 } }
Landtagspräsident Minister of Social Affairs Deputy Prime Minister
action union
action filter_type
action find_reverse
entity Landtagspräsident
relation position held
type common name
action filter_type
action find_reverse
entity Minister of Social Affairs
relation position held
type common name
action filter_type
action find_reverse
entity Deputy Prime Minister
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Landtagspräsident'] [{'concept': 'common name'}, 'position held', 'Minister of Social Affairs'] [{'concept': 'common name'}, 'position held', 'Deputy Prime Minister']
SELECT DISTINCT ?j WHERE { { ?j property:position_held resource:Landtagspräsident . ?j rdf:type ontology:common_name } UNION { ?j property:position_held resource:Minister_of_Social_Affairs . ?j rdf:type ontology:common_name } }
[]
common name
Q299352 Q1398063 Q15819636
SYSTEM
Lene Espersen, Martin Purtscher, Harald Sonderegger
Q1819792 Q15819636 Q21813706 Q1331435 Q822162 Q114155 Q1446193 Q2076858 Q1398063 Q257881 Q2895762 Q512386 Q299352
(c(Q502895),P39,Q1647332) (c(Q502895),P39,Q25513955) (c(Q502895),P39,Q21070726)
action union
action filter_type
action find_reverse
entity Q1647332
relation P39
type Q502895
action filter_type
action find_reverse
entity Q25513955
relation P39
type Q502895
action filter_type
action find_reverse
entity Q21070726
relation P39
type Q502895
[ANSWERS] held the position of Landtagspräsident, Minister of Social Affairs and Deputy Prime Minister
[{'concept': 'Q502895'}, 'P39', 'Q1647332'] [{'concept': 'Q502895'}, 'P39', 'Q25513955'] [{'concept': 'Q502895'}, 'P39', 'Q21070726']
SELECT DISTINCT ?j WHERE { { ?j property:P39 resource:Q1647332 . ?j rdf:type ontology:Q502895 } UNION { ?j property:P39 resource:Q25513955 . ?j rdf:type ontology:Q502895 } }
Leopold Petznek Harald Sonderegger Franz Koller junior Gabriele Nußbaumer Bernadette Mennel Jörg Freunschlag Franz Bauer Peter Mandorfer Martin Purtscher Ritt Bjerregaard Benedikte Kiær Karen Hækkerup Lene Espersen
Lene Espersen, Martin Purtscher and Harald Sonderegger held the position of Landtagspräsident, Minister of Social Affairs and Deputy Prime Minister
Lene Espersen Martin Purtscher Harald Sonderegger
action union
action filter_type
action find_reverse
entity Landtagspräsident
relation position held
type common name
action filter_type
action find_reverse
entity Minister of Social Affairs
relation position held
type common name
action filter_type
action find_reverse
entity Deputy Prime Minister
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Landtagspräsident'] [{'concept': 'common name'}, 'position held', 'Minister of Social Affairs'] [{'concept': 'common name'}, 'position held', 'Deputy Prime Minister']
SELECT DISTINCT ?j WHERE { { ?j property:position_held resource:Landtagspräsident . ?j rdf:type ontology:common_name } UNION { ?j property:position_held resource:Minister_of_Social_Affairs . ?j rdf:type ontology:common_name } }
[]