Simple Question (Direct)
Simple Question
Q3766486
P1412
Q34770
USER
Which language can Giovanni Aquilecchia read ?
(Q3766486,P1412,c(Q34770))
action filter_type
action find
entity Q3766486
relation P1412
type Q34770
['Q3766486', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q3766486 property:P1412 ?t }
Giovanni Aquilecchia
action filter_type
action find
entity Giovanni Aquilecchia
relation languages spoken, written or signed
type language
['Giovanni Aquilecchia', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Giovanni_Aquilecchia property:languages_spoken,_written_or_signed ?t }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3766486,P1412,c(Q34770))
action filter_type
action find
entity Q3766486
relation P1412
type Q34770
Giovanni Aquilecchia can read at [ANSWER]
['Q3766486', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q3766486 property:P1412 ?t }
Italian
Giovanni Aquilecchia can read at Italian
Italian
action filter_type
action find
entity Giovanni Aquilecchia
relation languages spoken, written or signed
type language
['Giovanni Aquilecchia', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Giovanni_Aquilecchia property:languages_spoken,_written_or_signed ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3766486
P21
Q290
USER
Which sex does Giovanni Aquilecchia have ?
(Q3766486,P21,c(Q290))
action filter_type
action find
entity Q3766486
relation P21
type Q290
['Q3766486', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q3766486 property:P21 ?n . ?n rdf:type ontology:Q290 }
Giovanni Aquilecchia
action filter_type
action find
entity Giovanni Aquilecchia
relation gender
type sex
['Giovanni Aquilecchia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Giovanni_Aquilecchia property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3766486,P21,c(Q290))
action filter_type
action find
entity Q3766486
relation P21
type Q290
Giovanni Aquilecchia has a [ANSWER]
['Q3766486', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q3766486 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Giovanni Aquilecchia has a male
male
action filter_type
action find
entity Giovanni Aquilecchia
relation gender
type sex
['Giovanni Aquilecchia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Giovanni_Aquilecchia property:gender ?n . ?n rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q23806337
P21
Q502895
USER
Does Kirby Allan have the gender as that sex ?
(Q23806337,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q23806337
relation P21
['Q23806337', 'P21', 'Q6581097']
ASK WHERE { resource:Q23806337 property:P21 resource:Q6581097 }
male Kirby Allan
action is_in
entity male
action find
entity Kirby Allan
relation gender
['Kirby Allan', 'gender', 'male']
ASK WHERE { resource:Kirby_Allan property:gender resource:male }
[]
common name
SYSTEM
YES
(Q23806337,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q23806337
relation P21
[ANSWER]
['Q23806337', 'P21', 'Q6581097']
ASK WHERE { resource:Q23806337 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Kirby Allan
relation gender
['Kirby Allan', 'gender', 'male']
ASK WHERE { resource:Kirby_Allan property:gender resource:male }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q36741
P282
Q2001982 Q8192 Q34770
USER
How many languages are around the same number of notations and writing systems the writing system of as Polabian ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
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 Q36741
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?v WHERE { VALUES ( ?t ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?y rdf:type ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q36741 property:P282 ?d . { { ?d rdf:type ontology:Q2001982 } UNION { ?d rdf:type ontology:Q8192 } } } } . FILTER ( ?s = ?g ) }
Polabian
action count
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 writing system
action count
action filter_multi_types
action find
entity Polabian
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?v WHERE { VALUES ( ?t ) { ( ontology:writing_system ) ( ontology:notation ) } . ?y rdf:type ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Polabian property:writing_system ?d . { { ?d rdf:type ontology:notation } UNION { ?d rdf:type ontology:writing_system } } } } . FILTER ( ?s = ?g ) }
[]
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 approx
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 Q36741
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?v WHERE { VALUES ( ?t ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?y rdf:type ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q36741 property:P282 ?d . { { ?d rdf:type ontology:Q2001982 } UNION { ?d rdf:type ontology:Q8192 } } } } . FILTER ( ?s = ?g ) }
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 approx
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 Polabian
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?v WHERE { VALUES ( ?t ) { ( ontology:writing_system ) ( ontology:notation ) } . ?y rdf:type ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Polabian property:writing_system ?d . { { ?d rdf:type ontology:notation } UNION { ?d rdf:type ontology:writing_system } } } } . FILTER ( ?s = ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q29977
P282
Q2001982 Q8192 Q34770
USER
And also tell me about Gaulish?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
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 Q29977
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q29977 property:P282 ?f . { { ?f rdf:type ontology:Q8192 } UNION { ?f rdf:type ontology:Q2001982 } } } } . FILTER ( ?z = ?j ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?z ) WHERE { { ?g property:P282 ?v . ?g rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 } UNION { ?v rdf:type ontology:Q8192 . ?g rdf:type ontology:Q34770 . ?g property:P282 ?v } } GROUP BY ?g } }
Gaulish
action count
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 writing system
action count
action filter_multi_types
action find
entity Gaulish
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Gaulish property:writing_system ?f . { { ?f rdf:type ontology:writing_system } UNION { ?f rdf:type ontology:notation } } } } . FILTER ( ?z = ?j ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?z ) WHERE { { ?g property:writing_system ?v . ?g rdf:type ontology:language . ?v rdf:type ontology:notation } UNION { ?v rdf:type ontology:writing_system . ?g rdf:type ontology:language . ?g property:writing_system ?v } } GROUP BY ?g } }
[]
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 approx
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 Q29977
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q29977 property:P282 ?f . { { ?f rdf:type ontology:Q8192 } UNION { ?f rdf:type ontology:Q2001982 } } } } . FILTER ( ?z = ?j ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?z ) WHERE { { ?g property:P282 ?v . ?g rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 } UNION { ?v rdf:type ontology:Q8192 . ?g rdf:type ontology:Q34770 . ?g property:P282 ?v } } GROUP BY ?g } }
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 approx
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 Gaulish
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Gaulish property:writing_system ?f . { { ?f rdf:type ontology:writing_system } UNION { ?f rdf:type ontology:notation } } } } . FILTER ( ?z = ?j ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?z ) WHERE { { ?g property:writing_system ?v . ?g rdf:type ontology:language . ?v rdf:type ontology:notation } UNION { ?v rdf:type ontology:writing_system . ?g rdf:type ontology:language . ?g property:writing_system ?v } } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3766486
P27
Q15617994
USER
Which administrative territory is the native country of Giovanni Aquilecchia ?
(Q3766486,P27,c(Q15617994))
action filter_type
action find
entity Q3766486
relation P27
type Q15617994
['Q3766486', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q3766486 property:P27 ?x }
Giovanni Aquilecchia
action filter_type
action find
entity Giovanni Aquilecchia
relation country of citizenship
type designation for an administrative territorial entity
['Giovanni Aquilecchia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Giovanni_Aquilecchia property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3766486,P27,c(Q15617994))
action filter_type
action find
entity Q3766486
relation P27
type Q15617994
Of [ANSWER] is the native country of Giovanni Aquilecchia
['Q3766486', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q3766486 property:P27 ?x }
Italy
Of Italy is the native country of Giovanni Aquilecchia
Italy
action filter_type
action find
entity Giovanni Aquilecchia
relation country of citizenship
type designation for an administrative territorial entity
['Giovanni Aquilecchia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Giovanni_Aquilecchia property:country_of_citizenship ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3766486
P19
Q15617994
USER
Which administrative territory is the birthplace of Giovanni Aquilecchia ?
(Q3766486,P19,c(Q15617994))
action filter_type
action find
entity Q3766486
relation P19
type Q15617994
['Q3766486', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3766486 property:P19 ?v . ?v rdf:type ontology:Q15617994 }
Giovanni Aquilecchia
action filter_type
action find
entity Giovanni Aquilecchia
relation place of birth
type designation for an administrative territorial entity
['Giovanni Aquilecchia', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Giovanni_Aquilecchia property:place_of_birth ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q243116
SYSTEM
Nettuno
Q243116
(Q3766486,P19,c(Q15617994))
action filter_type
action find
entity Q3766486
relation P19
type Q15617994
[ANSWER] is the birthplace of Giovanni Aquilecchia
['Q3766486', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3766486 property:P19 ?v . ?v rdf:type ontology:Q15617994 }
Nettuno
Nettuno is the birthplace of Giovanni Aquilecchia
Nettuno
action filter_type
action find
entity Giovanni Aquilecchia
relation place of birth
type designation for an administrative territorial entity
['Giovanni Aquilecchia', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Giovanni_Aquilecchia property:place_of_birth ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3972486
Q15617994
USER
And what about Stefano Esposito?
(Q3972486,P19,c(Q15617994))
action filter_type
action find
entity Q3972486
relation P19
type Q15617994
['Q3972486', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3972486 property:P19 ?l . ?l rdf:type ontology:Q15617994 }
Stefano Esposito
action filter_type
action find
entity Stefano Esposito
relation place of birth
type designation for an administrative territorial entity
['Stefano Esposito', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Stefano_Esposito property:place_of_birth ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q9474
SYSTEM
Moncalieri
Q9474
(Q3972486,P19,c(Q15617994))
action filter_type
action find
entity Q3972486
relation P19
type Q15617994
[ANSWER]
['Q3972486', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3972486 property:P19 ?l . ?l rdf:type ontology:Q15617994 }
Moncalieri
Moncalieri
action filter_type
action find
entity Stefano Esposito
relation place of birth
type designation for an administrative territorial entity
['Stefano Esposito', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Stefano_Esposito property:place_of_birth ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q9474 Q3311094
P20
Q502895
USER
Does Michel Voisin have that administrative territory as place of death ?
(Q3311094,P20,Q9474)
action is_in
entity Q3311094
action find
entity Q9474
relation P20
['Q3311094', 'P20', 'Q9474']
ASK WHERE { resource:Q9474 property:P20 resource:Q3311094 }
Moncalieri Michel Voisin
action is_in
entity Michel Voisin
action find
entity Moncalieri
relation place of death
['Michel Voisin', 'place of death', 'Moncalieri']
ASK WHERE { resource:Moncalieri property:place_of_death resource:Michel_Voisin }
[]
common name
SYSTEM
NO
(Q3311094,P20,Q9474)
action is_in
entity Q3311094
action find
entity Q9474
relation P20
[ANSWER]
['Q3311094', 'P20', 'Q9474']
ASK WHERE { resource:Q9474 property:P20 resource:Q3311094 }
No
action is_in
entity Michel Voisin
action find
entity Moncalieri
relation place of death
['Michel Voisin', 'place of death', 'Moncalieri']
ASK WHERE { resource:Moncalieri property:place_of_death resource:Michel_Voisin }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q58477 Q9474
P47
Q15617994
USER
Which administrative territories share border with Moncalieri or Capua ?
OR((Q9474,P47,c(Q15617994)), (Q58477,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q9474
relation P47
action find
entity Q58477
relation P47
type Q15617994
{'OR': [['Q9474', 'P47', {'concept': 'Q15617994'}], ['Q58477', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { ?y property:P47 ?x . VALUES ( ?y ) { ( resource:Q9474 ) ( resource:Q58477 ) } } . ?x rdf:type ontology:Q15617994 }
Capua Moncalieri
action filter_type
action union
action find
entity Moncalieri
relation shares border with
action find
entity Capua
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Moncalieri', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Capua', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { ?y property:shares_border_with ?x . VALUES ( ?y ) { ( resource:Moncalieri ) ( resource:Capua ) } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q10325 Q58452 Q10360 Q58769 Q1906 Q10361 Q9498 Q9549 Q58556 Q58883
SYSTEM
Some of them are Trofarello, Bellona, Villastellone, Pontelatone, Caserta, Vinovo, Nichelino, Pecetto Torinese, Castel di Sasso, San Prisco
Q10325 Q9549 Q58503 Q58932 Q9498 Q9136 Q58550 Q58883 Q58556 Q58897 Q10361 Q58894 Q1906 Q58452 Q10360 Q58769 Q58633 Q9412
OR((Q9474,P47,c(Q15617994)), (Q58477,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q9474
relation P47
action find
entity Q58477
relation P47
type Q15617994
[ANSWERS] share border with Moncalieri or Capua
{'OR': [['Q9474', 'P47', {'concept': 'Q15617994'}], ['Q58477', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { ?y property:P47 ?x . VALUES ( ?y ) { ( resource:Q9474 ) ( resource:Q58477 ) } } . ?x rdf:type ontology:Q15617994 }
Trofarello Pecetto Torinese Casagiove Vitulazio Nichelino Cambiano Castel Morrone San Prisco Castel di Sasso Santa Maria la Fossa Vinovo Santa Maria Capua Vetere Caserta Bellona Villastellone Pontelatone Grazzanise La Loggia
Trofarello, Bellona, Villastellone, Pontelatone, Caserta, Vinovo, Nichelino, Pecetto Torinese, Castel di Sasso and San Prisco share border with Moncalieri or Capua
Trofarello Bellona Villastellone Pontelatone Caserta Vinovo Nichelino Pecetto Torinese Castel di Sasso San Prisco
action filter_type
action union
action find
entity Moncalieri
relation shares border with
action find
entity Capua
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Moncalieri', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Capua', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { ?y property:shares_border_with ?x . VALUES ( ?y ) { ( resource:Moncalieri ) ( resource:Capua ) } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9498
P190
Q20667921
USER
Which french administrative division is twin city of that administrative territory ?
(c(Q20667921),P190,Q9498)
action filter_type
action find
entity Q9498
relation P190
type Q20667921
[{'concept': 'Q20667921'}, 'P190', 'Q9498']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q20667921 . resource:Q9498 property:P190 ?r }
Nichelino
action filter_type
action find
entity Nichelino
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Nichelino']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:type_of_french_administrative_division . resource:Nichelino property:sister_city ?r }
[]
type of french administrative division
Clarification for simple ques.
Q10361
SYSTEM
Did you mean Vinovo ?
Q10325 Q58452 Q10360 Q58769 Q1906 Q10361 Q9498 Q9549 Q58556 Q58883
(c(Q20667921),P190,Q10325) (c(Q20667921),P190,Q58452) (c(Q20667921),P190,Q10360) (c(Q20667921),P190,Q58769) (c(Q20667921),P190,Q1906) (c(Q20667921),P190,Q10361) (c(Q20667921),P190,Q9498) (c(Q20667921),P190,Q9549) (c(Q20667921),P190,Q58556) (c(Q20667921),P190,Q58883)
[ANSWER]
[{'concept': 'Q20667921'}, 'P190', 'Q10325'] [{'concept': 'Q20667921'}, 'P190', 'Q58452'] [{'concept': 'Q20667921'}, 'P190', 'Q10360'] [{'concept': 'Q20667921'}, 'P190', 'Q58769'] [{'concept': 'Q20667921'}, 'P190', 'Q1906'] [{'concept': 'Q20667921'}, 'P190', 'Q10361'] [{'concept': 'Q20667921'}, 'P190', 'Q9498'] [{'concept': 'Q20667921'}, 'P190', 'Q9549'] [{'concept': 'Q20667921'}, 'P190', 'Q58556'] [{'concept': 'Q20667921'}, 'P190', 'Q58883']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q20667921 . resource:Q9498 property:P190 ?r }
Trofarello Bellona Villastellone Pontelatone Caserta Vinovo Nichelino Pecetto Torinese Castel di Sasso San Prisco
Did you mean Vinovo ?
Vinovo
[{'concept': 'type of french administrative division'}, 'sister city', 'Trofarello'] [{'concept': 'type of french administrative division'}, 'sister city', 'Bellona'] [{'concept': 'type of french administrative division'}, 'sister city', 'Villastellone'] [{'concept': 'type of french administrative division'}, 'sister city', 'Pontelatone'] [{'concept': 'type of french administrative division'}, 'sister city', 'Caserta'] [{'concept': 'type of french administrative division'}, 'sister city', 'Vinovo'] [{'concept': 'type of french administrative division'}, 'sister city', 'Nichelino'] [{'concept': 'type of french administrative division'}, 'sister city', 'Pecetto Torinese'] [{'concept': 'type of french administrative division'}, 'sister city', 'Castel di Sasso'] [{'concept': 'type of french administrative division'}, 'sister city', 'San Prisco']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:type_of_french_administrative_division . resource:Nichelino property:sister_city ?r }
[]
Simple Question (Coreferenced)
USER
No, I meant Nichelino. Could you tell me the answer for that?
(c(Q20667921),P190,Q9498)
Q9498
[{'concept': 'Q20667921'}, 'P190', 'Q9498']
[{'concept': 'type of french administrative division'}, 'sister city', 'Nichelino']
[]
Q244717
SYSTEM
Caluire-et-Cuire
Q244717
(c(Q20667921),P190,Q9498)
action filter_type
action find
entity Q9498
relation P190
type Q20667921
[ANSWER] is twin city of that administrative territory
[{'concept': 'Q20667921'}, 'P190', 'Q9498']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q20667921 . resource:Q9498 property:P190 ?r }
Caluire-et-Cuire
Caluire-et-Cuire is twin city of that administrative territory
Caluire-et-Cuire
action filter_type
action find
entity Nichelino
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Nichelino']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:type_of_french_administrative_division . resource:Nichelino property:sister_city ?r }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q244717 Q386122 Q1469657
P47
Q20667921
USER
Is that french administrative division bordered by Rillieux-la-Pape and Collonges-au-Mont-d'Or ?
(Q244717,P47,Q386122) (Q244717,P47,Q1469657)
action is_in
entity Q244717
action intersection
action find_reverse
entity Q386122
relation P47
action find_reverse
entity Q1469657
relation P47
['Q244717', 'P47', 'Q386122'] ['Q244717', 'P47', 'Q1469657']
ASK WHERE { resource:Q244717 property:P47 resource:Q386122 . resource:Q244717 property:P47 resource:Q1469657 }
Caluire-et-Cuire Rillieux-la-Pape Collonges-au-Mont-d'Or
action is_in
entity Caluire-et-Cuire
action intersection
action find_reverse
entity Rillieux-la-Pape
relation shares border with
action find_reverse
entity Collonges-au-Mont-d'Or
relation shares border with
['Caluire-et-Cuire', 'shares border with', 'Rillieux-la-Pape'] ['Caluire-et-Cuire', 'shares border with', "Collonges-au-Mont-d'Or"]
ASK WHERE { resource:Caluire-et-Cuire property:shares_border_with resource:Rillieux-la-Pape . resource:Caluire-et-Cuire property:shares_border_with resource:Collonges-au-Mont-d'Or }
[]
type of french administrative division
SYSTEM
YES
(Q244717,P47,Q386122) (Q244717,P47,Q1469657)
action is_in
entity Q244717
action intersection
action find_reverse
entity Q386122
relation P47
action find_reverse
entity Q1469657
relation P47
[ANSWER]
['Q244717', 'P47', 'Q386122'] ['Q244717', 'P47', 'Q1469657']
ASK WHERE { resource:Q244717 property:P47 resource:Q386122 . resource:Q244717 property:P47 resource:Q1469657 }
Yes
action is_in
entity Caluire-et-Cuire
action intersection
action find_reverse
entity Rillieux-la-Pape
relation shares border with
action find_reverse
entity Collonges-au-Mont-d'Or
relation shares border with
['Caluire-et-Cuire', 'shares border with', 'Rillieux-la-Pape'] ['Caluire-et-Cuire', 'shares border with', "Collonges-au-Mont-d'Or"]
ASK WHERE { resource:Caluire-et-Cuire property:shares_border_with resource:Rillieux-la-Pape . resource:Caluire-et-Cuire property:shares_border_with resource:Collonges-au-Mont-d'Or }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q17444909 Q15324
USER
Which administrative territories are the etymology of atleast 1 astronomical object types and bodies of water ?
(c(Q17444909)|c(Q15324),P138,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15324
value 1
[[{'concept': 'Q17444909'}, {'concept': 'Q15324'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?l WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:Q17444909 ) ( ontology:Q15324 ) } } GROUP BY ?l } }
action atleast
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type astronomical object type
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type body of water
value 1
[[{'concept': 'astronomical object type'}, {'concept': 'body of water'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?l WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:astronomical_object_type ) ( ontology:body_of_water ) } } GROUP BY ?l } }
[]
designation for an administrative territorial entity astronomical object type body of water
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q572949 Q419 Q81077 Q414 Q224139 Q159 Q155 Q52240 Q3476 Q13376 Q13373 Q736 Q1282 Q17827 Q640473 Q184 Q53127 Q298 Q115 Q114 Q41158 Q53334 Q279373 Q269476 Q6231 Q660185 Q99950 Q3798 Q33 Q32 Q37 Q36 Q34 Q38 Q40516 Q232 Q3038 Q3468865 Q1030 Q18040 Q50156 Q540441 Q13137 Q40866 Q191 Q769621 Q94979 Q536647 Q116706 Q1256 Q634084 Q102634 Q717 Q503160 Q690417 Q826 Q244095 Q223459 Q502434 Q20 Q28 Q29 Q20489 Q894049 Q161825 Q1216 Q503757 Q916 Q1438 Q811 Q813 Q102736 Q269174 Q142 Q262 Q20103 Q774 Q9574 Q496885 Q216977 Q81138 Q211 Q215 Q23247 Q496978 Q566795 Q9187 Q775 Q100041 Q1014 Q1016 Q20458 Q20517
(c(Q17444909)|c(Q15324),P138,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q17444909
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q15324
value 1
[ANSWERS] are the etymology of atleast 1 astronomical object types and bodies of water
[[{'concept': 'Q17444909'}, {'concept': 'Q15324'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?l WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:Q17444909 ) ( ontology:Q15324 ) } } GROUP BY ?l } }
Solnhofen Peru Montecorvino Rovella Argentina Frasso Sabino Russia Brazil Pontremoli L'Aquila Pistoia Lucca Ecuador Lazio Moncalvo Hohenstein Belarus Farra d'Isonzo Chile Ethiopia Kenya Cortina d'Ampezzo Remanzacco Rovereto Perinaldo Cremona Huangpu District Predappio Flensburg Finland Luxembourg Lithuania Poland Sweden Italy Bormio Kazakhstan Helgoland Tõravere Namibia Candelo Secinaro Tautenburg Teramo Giussano Estonia Sanshui District Pianoro Dassow Ceccano Liguria Trebur Monsummano Terme Venezuela Wolfratshausen Währing Maldives Bellagio Borbona Sangerhausen Norway Hungary Spain Savigliano Borodino (village), Mozhaysky District, Moscow Oblast Daun Piedmont Oberammergau Angola Campania Nicaragua Kyrgyzstan San Marcello Pistoiese Worpswede France Algeria Assisi Guatemala Pino Torinese Isnello Coreglia Antelminelli Nocera Inferiore Latvia Slovenia Belgirate Roccapalumba Schalkenmehren Carmagnola Gelderland Carpi Liberia Libya Gubbio Treiso
Italy, Brazil and Russia are the etymology of atleast 1 astronomical object types and bodies of water
Italy Brazil Russia
action atleast
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type astronomical object type
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type body of water
value 1
[[{'concept': 'astronomical object type'}, {'concept': 'body of water'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?j >= 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) ?l WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:astronomical_object_type ) ( ontology:body_of_water ) } } GROUP BY ?l } }
[]