Simple Question (Direct)
Simple Question
Q353362
P735
Q82799
USER
Which name is Afshin Ellian known by ?
(Q353362,P735,c(Q82799))
action filter_type
action find
entity Q353362
relation P735
type Q82799
['Q353362', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q353362 property:P735 ?e . ?e rdf:type ontology:Q82799 }
Afshin Ellian
action filter_type
action find
entity Afshin Ellian
relation given name
type name
['Afshin Ellian', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Afshin_Ellian property:given_name ?e . ?e rdf:type ontology:name }
[]
name
Q4440906
SYSTEM
Afshin
Q4440906
(Q353362,P735,c(Q82799))
action filter_type
action find
entity Q353362
relation P735
type Q82799
[ANSWER]
['Q353362', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q353362 property:P735 ?e . ?e rdf:type ontology:Q82799 }
Afshin
Afshin
action filter_type
action find
entity Afshin Ellian
relation given name
type name
['Afshin Ellian', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Afshin_Ellian property:given_name ?e . ?e rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8752
P407
Q34770 Q82799
USER
Which languages are less number of names in than Basque ?
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q8752
relation P407
type Q82799
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:P407 ?h . ?h rdf:type ontology:Q34770 . ?b rdf:type ontology:Q82799 } GROUP BY ?h } . FILTER ( ?c < ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { ?j property:P407 resource:Q8752 . ?j rdf:type ontology:Q82799 } } }
Basque
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Basque
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:language_of_work_or_name ?h . ?h rdf:type ontology:language . ?b rdf:type ontology:name } GROUP BY ?h } . FILTER ( ?c < ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { ?j property:language_of_work_or_name resource:Basque . ?j rdf:type ontology:name } } }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q397 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q8752
relation P407
type Q82799
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:P407 ?h . ?h rdf:type ontology:Q34770 . ?b rdf:type ontology:Q82799 } GROUP BY ?h } . FILTER ( ?c < ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { ?j property:P407 resource:Q8752 . ?j rdf:type ontology:Q82799 } } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Latin classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian Old Church Slavonic Etruscan
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Basque
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:language_of_work_or_name ?h . ?h rdf:type ontology:language . ?b rdf:type ontology:name } GROUP BY ?h } . FILTER ( ?c < ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { ?j property:language_of_work_or_name resource:Basque . ?j rdf:type ontology:name } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q35308
P407
Q34770 Q82799
USER
And how about Old Irish?
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q35308
relation P407
type Q82799
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?x ) WHERE { ?b property:P407 ?p . ?p rdf:type ontology:Q34770 . ?b rdf:type ontology:Q82799 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P407 resource:Q35308 . ?k rdf:type ontology:Q82799 } } . FILTER ( ?x < ?o ) }
Old Irish
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Old Irish
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?x ) WHERE { ?b property:language_of_work_or_name ?p . ?p rdf:type ontology:language . ?b rdf:type ontology:name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:language_of_work_or_name resource:Old_Irish . ?k rdf:type ontology:name } } . FILTER ( ?x < ?o ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q37041 Q25167 Q25164 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q35308
relation P407
type Q82799
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?x ) WHERE { ?b property:P407 ?p . ?p rdf:type ontology:Q34770 . ?b rdf:type ontology:Q82799 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P407 resource:Q35308 . ?k rdf:type ontology:Q82799 } } . FILTER ( ?x < ?o ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse classical Chinese Bokmål Nynorsk Sumerian Old Egyptian
Old Egyptian Old Church Slavonic Etruscan
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Old Irish
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?x ) WHERE { ?b property:language_of_work_or_name ?p . ?p rdf:type ontology:language . ?b rdf:type ontology:name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:language_of_work_or_name resource:Old_Irish . ?k rdf:type ontology:name } } . FILTER ( ?x < ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35499
P364
Q223393
USER
Which literary genre has Old Church Slavonic as its original language of creation ?
(c(Q223393),P364,Q35499)
action filter_type
action find_reverse
entity Q35499
relation P364
type Q223393
[{'concept': 'Q223393'}, 'P364', 'Q35499']
SELECT DISTINCT ?e WHERE { ?e property:P364 resource:Q35499 . ?e rdf:type ontology:Q223393 }
Old Church Slavonic
action filter_type
action find_reverse
entity Old Church Slavonic
relation original language of work
type literary genre
[{'concept': 'literary genre'}, 'original language of work', 'Old Church Slavonic']
SELECT DISTINCT ?e WHERE { ?e property:original_language_of_work resource:Old_Church_Slavonic . ?e rdf:type ontology:literary_genre }
[]
literary genre
Q1980019
SYSTEM
Life of Alexander Nevsky
Q1980019
(c(Q223393),P364,Q35499)
action filter_type
action find_reverse
entity Q35499
relation P364
type Q223393
[ANSWER]
[{'concept': 'Q223393'}, 'P364', 'Q35499']
SELECT DISTINCT ?e WHERE { ?e property:P364 resource:Q35499 . ?e rdf:type ontology:Q223393 }
Life of Alexander Nevsky
Life of Alexander Nevsky
action filter_type
action find_reverse
entity Old Church Slavonic
relation original language of work
type literary genre
[{'concept': 'literary genre'}, 'original language of work', 'Old Church Slavonic']
SELECT DISTINCT ?e WHERE { ?e property:original_language_of_work resource:Old_Church_Slavonic . ?e rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1980019
P921
Q502895
USER
Which person was the main subject of that literary genre 's work ?
(Q1980019,P921,c(Q502895))
action filter_type
action find
entity Q1980019
relation P921
type Q502895
['Q1980019', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q1980019 property:P921 ?c }
Life of Alexander Nevsky
action filter_type
action find
entity Life of Alexander Nevsky
relation main subject
type common name
['Life of Alexander Nevsky', 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Life_of_Alexander_Nevsky property:main_subject ?c }
[]
common name
Q174044
SYSTEM
Alexander Nevsky
Q174044
(Q1980019,P921,c(Q502895))
action filter_type
action find
entity Q1980019
relation P921
type Q502895
[ANSWER]
['Q1980019', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q1980019 property:P921 ?c }
Alexander Nevsky
Alexander Nevsky
action filter_type
action find
entity Life of Alexander Nevsky
relation main subject
type common name
['Life of Alexander Nevsky', 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Life_of_Alexander_Nevsky property:main_subject ?c }
[]