Simple Question (Direct)
Simple Question
Q888406
P410
Q4189293
USER
Which title was the military rank held by José María Reina Barrios ?
(Q888406,P410,c(Q4189293))
action filter_type
action find
entity Q888406
relation P410
type Q4189293
['Q888406', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?v WHERE { resource:Q888406 property:P410 ?v . ?v rdf:type ontology:Q4189293 }
José María Reina Barrios
action filter_type
action find
entity José María Reina Barrios
relation military rank
type title
['José María Reina Barrios', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?v WHERE { resource:José_María_Reina_Barrios property:military_rank ?v . ?v rdf:type ontology:title }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q888406,P410,c(Q4189293))
action filter_type
action find
entity Q888406
relation P410
type Q4189293
[ANSWER] was the military rank held by José María Reina Barrios
['Q888406', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?v WHERE { resource:Q888406 property:P410 ?v . ?v rdf:type ontology:Q4189293 }
general officer
General officer was the military rank held by José María Reina Barrios
general officer
action filter_type
action find
entity José María Reina Barrios
relation military rank
type title
['José María Reina Barrios', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?v WHERE { resource:José_María_Reina_Barrios property:military_rank ?v . ?v rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q888406
P664
Q1656682
USER
Who event did José María Reina Barrios serve as the organizer for ?
(c(Q1656682),P664,Q888406)
action filter_type
action find_reverse
entity Q888406
relation P664
type Q1656682
[{'concept': 'Q1656682'}, 'P664', 'Q888406']
SELECT DISTINCT ?d WHERE { ?d property:P664 resource:Q888406 . ?d rdf:type ontology:Q1656682 }
José María Reina Barrios
action filter_type
action find_reverse
entity José María Reina Barrios
relation organizer
type event
[{'concept': 'event'}, 'organizer', 'José María Reina Barrios']
SELECT DISTINCT ?d WHERE { ?d property:organizer resource:José_María_Reina_Barrios . ?d rdf:type ontology:event }
[]
event
Q17631867
SYSTEM
Exposición Centroamericana
Q17631867
(c(Q1656682),P664,Q888406)
action filter_type
action find_reverse
entity Q888406
relation P664
type Q1656682
José María Reina Barrios served as the organizer event for the [ANSWER]
[{'concept': 'Q1656682'}, 'P664', 'Q888406']
SELECT DISTINCT ?d WHERE { ?d property:P664 resource:Q888406 . ?d rdf:type ontology:Q1656682 }
Exposición Centroamericana
José María Reina Barrios served as the organizer event for the Exposición Centroamericana
Exposición Centroamericana
action filter_type
action find_reverse
entity José María Reina Barrios
relation organizer
type event
[{'concept': 'event'}, 'organizer', 'José María Reina Barrios']
SELECT DISTINCT ?d WHERE { ?d property:organizer resource:José_María_Reina_Barrios . ?d rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17631867
P276
Q56061
USER
Where is that event located ?
(Q17631867,P276,c(Q56061))
action filter_type
action find
entity Q17631867
relation P276
type Q56061
['Q17631867', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q17631867 property:P276 ?f . ?f rdf:type ontology:Q56061 }
Exposición Centroamericana
action filter_type
action find
entity Exposición Centroamericana
relation location
type administrative territorial entity
['Exposición Centroamericana', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Exposición_Centroamericana property:location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1555
SYSTEM
Guatemala City
Q1555
(Q17631867,P276,c(Q56061))
action filter_type
action find
entity Q17631867
relation P276
type Q56061
That event is located in [ANSWER]
['Q17631867', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q17631867 property:P276 ?f . ?f rdf:type ontology:Q56061 }
Guatemala City
That event is located in Guatemala City
Guatemala City
action filter_type
action find
entity Exposición Centroamericana
relation location
type administrative territorial entity
['Exposición Centroamericana', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Exposición_Centroamericana property:location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q18952405 Q17631867
P276
Q56061
USER
Or Bielemanweg?
OR((Q17631867,P276,c(Q56061)), (Q18952405,P276,c(Q56061)))
action filter_type
action union
action find
entity Q17631867
relation P276
action find
entity Q18952405
relation P276
type Q56061
{'OR': [['Q17631867', 'P276', {'concept': 'Q56061'}], ['Q18952405', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q17631867 property:P276 ?k } UNION { resource:Q18952405 property:P276 ?k } } . ?k rdf:type ontology:Q56061 }
Bielemanweg Exposición Centroamericana
action filter_type
action union
action find
entity Exposición Centroamericana
relation location
action find
entity Bielemanweg
relation location
type administrative territorial entity
{'OR': [['Exposición Centroamericana', 'location', {'concept': 'administrative territorial entity'}], ['Bielemanweg', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Exposición_Centroamericana property:location ?k } UNION { resource:Bielemanweg property:location ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1350047 Q1555
SYSTEM
Neede, Guatemala City
Q1350047 Q1555
OR((Q17631867,P276,c(Q56061)), (Q18952405,P276,c(Q56061)))
action filter_type
action union
action find
entity Q17631867
relation P276
action find
entity Q18952405
relation P276
type Q56061
[ANSWERS]
{'OR': [['Q17631867', 'P276', {'concept': 'Q56061'}], ['Q18952405', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q17631867 property:P276 ?k } UNION { resource:Q18952405 property:P276 ?k } } . ?k rdf:type ontology:Q56061 }
Neede Guatemala City
Neede Guatemala City
action filter_type
action union
action find
entity Exposición Centroamericana
relation location
action find
entity Bielemanweg
relation location
type administrative territorial entity
{'OR': [['Exposición Centroamericana', 'location', {'concept': 'administrative territorial entity'}], ['Bielemanweg', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Exposición_Centroamericana property:location ?k } UNION { resource:Bielemanweg property:location ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1350047 Q1555
P17
Q15617994
USER
Which administrative territories are Neede and Guatemala City located in ?
(Q1350047,P17,c(Q15617994)) (Q1555,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1350047
relation P17
type Q15617994
action filter_type
action find
entity Q1555
relation P17
type Q15617994
['Q1350047', 'P17', {'concept': 'Q15617994'}] ['Q1555', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?s property:P17 ?d . VALUES ( ?s ) { ( resource:Q1350047 ) ( resource:Q1555 ) } }
Neede Guatemala City
action union
action filter_type
action find
entity Neede
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Guatemala City
relation country
type designation for an administrative territorial entity
['Neede', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Guatemala City', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?s property:country ?d . VALUES ( ?s ) { ( resource:Neede ) ( resource:Guatemala_City ) } }
[]
designation for an administrative territorial entity
Q55 Q774
SYSTEM
Netherlands, Guatemala
Q55 Q774
(Q1350047,P17,c(Q15617994)) (Q1555,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1350047
relation P17
type Q15617994
action filter_type
action find
entity Q1555
relation P17
type Q15617994
Neede and Guatemala City are located in [ANSWERS]
['Q1350047', 'P17', {'concept': 'Q15617994'}] ['Q1555', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?s property:P17 ?d . VALUES ( ?s ) { ( resource:Q1350047 ) ( resource:Q1555 ) } }
Netherlands Guatemala
Neede and Guatemala City are located in Netherlands and Guatemala
Netherlands Guatemala
action union
action filter_type
action find
entity Neede
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Guatemala City
relation country
type designation for an administrative territorial entity
['Neede', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Guatemala City', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?s property:country ?d . VALUES ( ?s ) { ( resource:Neede ) ( resource:Guatemala_City ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q888406
P1412
Q34770
USER
What languages do José María Reina Barrios speak in ?
(Q888406,P1412,c(Q34770))
action filter_type
action find
entity Q888406
relation P1412
type Q34770
['Q888406', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q888406 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
José María Reina Barrios
action filter_type
action find
entity José María Reina Barrios
relation languages spoken, written or signed
type language
['José María Reina Barrios', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:José_María_Reina_Barrios property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
(Q888406,P1412,c(Q34770))
action filter_type
action find
entity Q888406
relation P1412
type Q34770
José María Reina Barrios speak Spanish [ANSWERS]
['Q888406', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q888406 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
English Spanish
José María Reina Barrios speak Spanish English and Spanish
English Spanish
action filter_type
action find
entity José María Reina Barrios
relation languages spoken, written or signed
type language
['José María Reina Barrios', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:José_María_Reina_Barrios property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q888406
P19
Q15617994
USER
Which administrative territory was José María Reina Barrios born in ?
(Q888406,P19,c(Q15617994))
action filter_type
action find
entity Q888406
relation P19
type Q15617994
['Q888406', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q888406 property:P19 ?h . ?h rdf:type ontology:Q15617994 }
José María Reina Barrios
action filter_type
action find
entity José María Reina Barrios
relation place of birth
type designation for an administrative territorial entity
['José María Reina Barrios', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:José_María_Reina_Barrios property:place_of_birth ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1023981
SYSTEM
San Marcos
Q1023981
(Q888406,P19,c(Q15617994))
action filter_type
action find
entity Q888406
relation P19
type Q15617994
The [ANSWER] was José María Reina Barrios born in
['Q888406', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q888406 property:P19 ?h . ?h rdf:type ontology:Q15617994 }
San Marcos
The San Marcos was José María Reina Barrios born in
San Marcos
action filter_type
action find
entity José María Reina Barrios
relation place of birth
type designation for an administrative territorial entity
['José María Reina Barrios', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:José_María_Reina_Barrios property:place_of_birth ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1023981
P931
Q62447
USER
Which aerodrome is served by that administrative territory ?
(c(Q62447),P931,Q1023981)
action filter_type
action find_reverse
entity Q1023981
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q1023981']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q62447 . ?q property:P931 resource:Q1023981 }
San Marcos
action filter_type
action find_reverse
entity San Marcos
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'San Marcos']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:aerodrome . ?q property:place_served_by_airport resource:San_Marcos }
[]
aerodrome
Q25103662
SYSTEM
San Marcos Airport
Q25103662
(c(Q62447),P931,Q1023981)
action filter_type
action find_reverse
entity Q1023981
relation P931
type Q62447
[ANSWER] is served by that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q1023981']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q62447 . ?q property:P931 resource:Q1023981 }
San Marcos Airport
San Marcos Airport is served by that administrative territory
San Marcos Airport
action filter_type
action find_reverse
entity San Marcos
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'San Marcos']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:aerodrome . ?q property:place_served_by_airport resource:San_Marcos }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q36790
P282
Q2001982 Q9779 Q34770
USER
How many languages are less number of notations and alphabets the writing system of than Sumerian ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q36790
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:Q36790 property:P282 ?o . { ?o rdf:type ?n . VALUES ( ?n ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } } } . FILTER ( ?a < ?p ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?e WHERE { VALUES ( ?d ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } . ?b rdf:type ?d } GROUP BY ?e } }
Sumerian
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Sumerian
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:Sumerian property:writing_system ?o . { ?o rdf:type ?n . VALUES ( ?n ) { ( ontology:notation ) ( ontology:alphabet ) } } } } . FILTER ( ?a < ?p ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?e WHERE { VALUES ( ?d ) { ( ontology:alphabet ) ( ontology:notation ) } . ?b rdf:type ?d } GROUP BY ?e } }
[]
notation alphabet language
SYSTEM
43
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 count
action less
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 Q36790
relation P282
type Q2001982
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:Q36790 property:P282 ?o . { ?o rdf:type ?n . VALUES ( ?n ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } } } . FILTER ( ?a < ?p ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?e WHERE { VALUES ( ?d ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } . ?b rdf:type ?d } GROUP BY ?e } }
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
43
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Sumerian
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:Sumerian property:writing_system ?o . { ?o rdf:type ?n . VALUES ( ?n ) { ( ontology:notation ) ( ontology:alphabet ) } } } } . FILTER ( ?a < ?p ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?e WHERE { VALUES ( ?d ) { ( ontology:alphabet ) ( ontology:notation ) } . ?b rdf:type ?d } GROUP BY ?e } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2705672
P282
Q2001982 Q9779 Q34770
USER
And what about Paeonian language?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q2705672
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?l ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } . ?m rdf:type ?l } GROUP BY ?j } . FILTER ( ?x < ?f ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { resource:Q2705672 property:P282 ?g . { { ?g rdf:type ontology:Q9779 } UNION { ?g rdf:type ontology:Q2001982 } } } } }
Paeonian language
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Paeonian language
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?l ) { ( ontology:alphabet ) ( ontology:notation ) } . ?m rdf:type ?l } GROUP BY ?j } . FILTER ( ?x < ?f ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { resource:Paeonian_language property:writing_system ?g . { { ?g rdf:type ontology:alphabet } UNION { ?g rdf:type ontology:notation } } } } }
[]
notation alphabet language
SYSTEM
43
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 count
action less
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 Q2705672
relation P282
type Q2001982
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?l ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } . ?m rdf:type ?l } GROUP BY ?j } . FILTER ( ?x < ?f ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { resource:Q2705672 property:P282 ?g . { { ?g rdf:type ontology:Q9779 } UNION { ?g rdf:type ontology:Q2001982 } } } } }
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
43
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Paeonian language
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?x ) WHERE { VALUES ( ?l ) { ( ontology:alphabet ) ( ontology:notation ) } . ?m rdf:type ?l } GROUP BY ?j } . FILTER ( ?x < ?f ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { resource:Paeonian_language property:writing_system ?g . { { ?g rdf:type ontology:alphabet } UNION { ?g rdf:type ontology:notation } } } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q36748 Q36790
P282
Q2001982
USER
Which notations are used as the alphabet set for Sumerian or Pontic Greek ?
OR((Q36790,P282,c(Q2001982)), (Q36748,P282,c(Q2001982)))
action filter_type
action union
action find
entity Q36790
relation P282
action find
entity Q36748
relation P282
type Q2001982
{'OR': [['Q36790', 'P282', {'concept': 'Q2001982'}], ['Q36748', 'P282', {'concept': 'Q2001982'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q36790 property:P282 ?p } UNION { resource:Q36748 property:P282 ?p } } . ?p rdf:type ontology:Q2001982 }
Pontic Greek Sumerian
action filter_type
action union
action find
entity Sumerian
relation writing system
action find
entity Pontic Greek
relation writing system
type notation
{'OR': [['Sumerian', 'writing system', {'concept': 'notation'}], ['Pontic Greek', 'writing system', {'concept': 'notation'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Sumerian property:writing_system ?p } UNION { resource:Pontic_Greek property:writing_system ?p } } . ?p rdf:type ontology:notation }
[]
notation
Q401 Q8216
SYSTEM
cuneiform, Greek alphabet
Q401 Q8216
OR((Q36790,P282,c(Q2001982)), (Q36748,P282,c(Q2001982)))
action filter_type
action union
action find
entity Q36790
relation P282
action find
entity Q36748
relation P282
type Q2001982
The [ANSWERS] are used as the alphabet set for Sumerian or Pontic Greek
{'OR': [['Q36790', 'P282', {'concept': 'Q2001982'}], ['Q36748', 'P282', {'concept': 'Q2001982'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q36790 property:P282 ?p } UNION { resource:Q36748 property:P282 ?p } } . ?p rdf:type ontology:Q2001982 }
cuneiform Greek alphabet
The cuneiform and Greek alphabet are used as the alphabet set for Sumerian or Pontic Greek
cuneiform Greek alphabet
action filter_type
action union
action find
entity Sumerian
relation writing system
action find
entity Pontic Greek
relation writing system
type notation
{'OR': [['Sumerian', 'writing system', {'concept': 'notation'}], ['Pontic Greek', 'writing system', {'concept': 'notation'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Sumerian property:writing_system ?p } UNION { resource:Pontic_Greek property:writing_system ?p } } . ?p rdf:type ontology:notation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q401 Q8216
P282
Q34770
USER
Which languages have writing system as those notations ?
(c(Q34770),P282,Q401) (c(Q34770),P282,Q8216)
action filter_type
action find_reverse
entity prev_answer
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', 'Q401'] [{'concept': 'Q34770'}, 'P282', 'Q8216']
SELECT DISTINCT ?m WHERE { VALUES ( ?w ) { ( resource:Q401 ) ( resource:Q8216 ) } . ?m property:P282 ?w . ?m rdf:type ontology:Q34770 }
cuneiform Greek alphabet
action filter_type
action find_reverse
entity prev_answer
relation writing system
type language
[{'concept': 'language'}, 'writing system', 'cuneiform'] [{'concept': 'language'}, 'writing system', 'Greek alphabet']
SELECT DISTINCT ?m WHERE { VALUES ( ?w ) { ( resource:cuneiform ) ( resource:Greek_alphabet ) } . ?m property:writing_system ?w . ?m rdf:type ontology:language }
[]
language
Q35470 Q36790 Q2705672
SYSTEM
Elamite language, Sumerian, Paeonian language
Q35470 Q36790 Q2705672 Q20972034 Q36751
(c(Q34770),P282,Q401) (c(Q34770),P282,Q8216)
action filter_type
action find_reverse
entity prev_answer
relation P282
type Q34770
[ANSWERS] have writing system as those notations
[{'concept': 'Q34770'}, 'P282', 'Q401'] [{'concept': 'Q34770'}, 'P282', 'Q8216']
SELECT DISTINCT ?m WHERE { VALUES ( ?w ) { ( resource:Q401 ) ( resource:Q8216 ) } . ?m property:P282 ?w . ?m rdf:type ontology:Q34770 }
Elamite language Sumerian Paeonian language Classic Greek Phrygian language
Elamite language, Sumerian and Paeonian language have writing system as those notations
Elamite language Sumerian Paeonian language
action filter_type
action find_reverse
entity prev_answer
relation writing system
type language
[{'concept': 'language'}, 'writing system', 'cuneiform'] [{'concept': 'language'}, 'writing system', 'Greek alphabet']
SELECT DISTINCT ?m WHERE { VALUES ( ?w ) { ( resource:cuneiform ) ( resource:Greek_alphabet ) } . ?m property:writing_system ?w . ?m rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q35470 Q36790 Q2705672
P282
Q2001982
USER
Which notations are used as the scripts for Elamite language, Sumerian and Paeonian language ?
(Q35470,P282,c(Q2001982)) (Q36790,P282,c(Q2001982)) (Q2705672,P282,c(Q2001982))
action union
action filter_type
action find
entity Q35470
relation P282
type Q2001982
action filter_type
action find
entity Q36790
relation P282
type Q2001982
action filter_type
action find
entity Q2705672
relation P282
type Q2001982
['Q35470', 'P282', {'concept': 'Q2001982'}] ['Q36790', 'P282', {'concept': 'Q2001982'}] ['Q2705672', 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?q WHERE { { resource:Q35470 property:P282 ?q . ?q rdf:type ontology:Q2001982 } UNION { resource:Q36790 property:P282 ?q . ?q rdf:type ontology:Q2001982 } }
Elamite language Sumerian Paeonian language
action union
action filter_type
action find
entity Elamite language
relation writing system
type notation
action filter_type
action find
entity Sumerian
relation writing system
type notation
action filter_type
action find
entity Paeonian language
relation writing system
type notation
['Elamite language', 'writing system', {'concept': 'notation'}] ['Sumerian', 'writing system', {'concept': 'notation'}] ['Paeonian language', 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?q WHERE { { resource:Elamite_language property:writing_system ?q . ?q rdf:type ontology:notation } UNION { resource:Sumerian property:writing_system ?q . ?q rdf:type ontology:notation } }
[]
notation
Q401 Q401 Q8216
SYSTEM
cuneiform for 1st, 2nd, Greek alphabet for 3rd
Q401 Q401 Q8216
(Q35470,P282,c(Q2001982)) (Q36790,P282,c(Q2001982)) (Q2705672,P282,c(Q2001982))
action union
action filter_type
action find
entity Q35470
relation P282
type Q2001982
action filter_type
action find
entity Q36790
relation P282
type Q2001982
action filter_type
action find
entity Q2705672
relation P282
type Q2001982
[ANSWERS]
['Q35470', 'P282', {'concept': 'Q2001982'}] ['Q36790', 'P282', {'concept': 'Q2001982'}] ['Q2705672', 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?q WHERE { { resource:Q35470 property:P282 ?q . ?q rdf:type ontology:Q2001982 } UNION { resource:Q36790 property:P282 ?q . ?q rdf:type ontology:Q2001982 } }
cuneiform cuneiform Greek alphabet
Cuneiform, cuneiform and Greek alphabet are used as the scripts for Elamite language, Sumerian and Paeonian language
cuneiform cuneiform Greek alphabet
action union
action filter_type
action find
entity Elamite language
relation writing system
type notation
action filter_type
action find
entity Sumerian
relation writing system
type notation
action filter_type
action find
entity Paeonian language
relation writing system
type notation
['Elamite language', 'writing system', {'concept': 'notation'}] ['Sumerian', 'writing system', {'concept': 'notation'}] ['Paeonian language', 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?q WHERE { { resource:Elamite_language property:writing_system ?q . ?q rdf:type ontology:notation } UNION { resource:Sumerian property:writing_system ?q . ?q rdf:type ontology:notation } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8216
P361
Q9788
USER
What are a component of that notation ?
(c(Q9788),P361,Q8216)
action filter_type
action find_reverse
entity Q8216
relation P361
type Q9788
[{'concept': 'Q9788'}, 'P361', 'Q8216']
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q8216 . ?m rdf:type ontology:Q9788 }
Greek alphabet
action filter_type
action find_reverse
entity Greek alphabet
relation part of
type letter
[{'concept': 'letter'}, 'part of', 'Greek alphabet']
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:Greek_alphabet . ?m rdf:type ontology:letter }
[]
letter
Clarification for simple ques.
Q8216
SYSTEM
Did you mean Greek alphabet ?
Q401 Q401 Q8216
(c(Q9788),P361,Q401) (c(Q9788),P361,Q401) (c(Q9788),P361,Q8216)
[ANSWER]
[{'concept': 'Q9788'}, 'P361', 'Q401'] [{'concept': 'Q9788'}, 'P361', 'Q401'] [{'concept': 'Q9788'}, 'P361', 'Q8216']
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q8216 . ?m rdf:type ontology:Q9788 }
cuneiform cuneiform Greek alphabet
Did you mean Greek alphabet ?
Greek alphabet
[{'concept': 'letter'}, 'part of', 'cuneiform'] [{'concept': 'letter'}, 'part of', 'cuneiform'] [{'concept': 'letter'}, 'part of', 'Greek alphabet']
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:Greek_alphabet . ?m rdf:type ontology:letter }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q9788),P361,Q8216)
[{'concept': 'Q9788'}, 'P361', 'Q8216']
[{'concept': 'letter'}, 'part of', 'Greek alphabet']
[]
Q14394 Q168 Q14392
SYSTEM
Ζ, Π, epsilon
Q14432 Q9890 Q14413 Q168 Q14382 Q14406 Q10029 Q14387 Q14401 Q14402 Q14408 Q14392 Q14423 Q14425 Q3594804 Q3594805 Q9887 Q14394 Q14412 Q14396 Q14390 Q14415 Q9902 Q10897 Q14398 Q14399
(c(Q9788),P361,Q8216)
action filter_type
action find_reverse
entity Q8216
relation P361
type Q9788
A component of that notation are [ANSWERS]
[{'concept': 'Q9788'}, 'P361', 'Q8216']
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q8216 . ?m rdf:type ontology:Q9788 }
Ψ Ω Σ Π Beta Ξ Φ Gamma Κ Ν Ο epsilon Υ Χ Ἀ Ᾰ Alpha Ζ Ρ Η Δ Τ Mu lambda Θ Ι
A component of that notation are Ζ, Π and epsilon
Ζ Π epsilon
action filter_type
action find_reverse
entity Greek alphabet
relation part of
type letter
[{'concept': 'letter'}, 'part of', 'Greek alphabet']
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:Greek_alphabet . ?m rdf:type ontology:letter }
[]