Simple Question (Direct)
Simple Question
Q1525553
P1412
Q34770
USER
Which language does Giorgio Stegani speak in ?
(Q1525553,P1412,c(Q34770))
action filter_type
action find
entity Q1525553
relation P1412
type Q34770
['Q1525553', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q1525553 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Giorgio Stegani
action filter_type
action find
entity Giorgio Stegani
relation languages spoken, written or signed
type language
['Giorgio Stegani', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Giorgio_Stegani property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q1525553,P1412,c(Q34770))
action filter_type
action find
entity Q1525553
relation P1412
type Q34770
Giorgio Stegani speaks [ANSWER]
['Q1525553', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q1525553 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Italian
Giorgio Stegani speaks Italian
Italian
action filter_type
action find
entity Giorgio Stegani
relation languages spoken, written or signed
type language
['Giorgio Stegani', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Giorgio_Stegani property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q652
P101
Q502895
USER
Who works in the domain of that language ?
(c(Q502895),P101,Q652)
action filter_type
action find_reverse
entity Q652
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q652']
SELECT DISTINCT ?v WHERE { ?v property:P101 resource:Q652 . ?v rdf:type ontology:Q502895 }
Italian
action filter_type
action find_reverse
entity Italian
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Italian']
SELECT DISTINCT ?v WHERE { ?v property:field_of_work resource:Italian . ?v rdf:type ontology:common_name }
[]
common name
Q3945958 Q12025436 Q12028963
SYSTEM
Salvatore Battaglia, Jiří Pelán, Kateřina Vinšová
Q12028963 Q21886139 Q3945958 Q11985382 Q11985590 Q12025436
(c(Q502895),P101,Q652)
action filter_type
action find_reverse
entity Q652
relation P101
type Q502895
[ANSWERS] work in the domain of that language
[{'concept': 'Q502895'}, 'P101', 'Q652']
SELECT DISTINCT ?v WHERE { ?v property:P101 resource:Q652 . ?v rdf:type ontology:Q502895 }
Kateřina Vinšová Miloslav Uličný Salvatore Battaglia Václav Bahník Václav Jiřina Jiří Pelán
Salvatore Battaglia, Jiří Pelán and Kateřina Vinšová work in the domain of that language
Salvatore Battaglia Jiří Pelán Kateřina Vinšová
action filter_type
action find_reverse
entity Italian
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Italian']
SELECT DISTINCT ?v WHERE { ?v property:field_of_work resource:Italian . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3945958 Q12025436 Q12028963
P21
Q290
USER
Which sexes do those people belong to ?
(Q3945958,P21,c(Q290)) (Q12025436,P21,c(Q290)) (Q12028963,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q3945958', 'P21', {'concept': 'Q290'}] ['Q12025436', 'P21', {'concept': 'Q290'}] ['Q12028963', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . VALUES ( ?l ) { ( resource:Q12028963 ) ( resource:Q21886139 ) ( resource:Q3945958 ) } . ?l property:P21 ?a }
Salvatore Battaglia Jiří Pelán Kateřina Vinšová
action filter_type
action find
entity prev_answer
relation gender
type sex
['Salvatore Battaglia', 'gender', {'concept': 'sex'}] ['Jiří Pelán', 'gender', {'concept': 'sex'}] ['Kateřina Vinšová', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . VALUES ( ?l ) { ( resource:Kateřina_Vinšová ) ( resource:Miloslav_Uličný ) ( resource:Salvatore_Battaglia ) } . ?l property:gender ?a }
[]
sex
Q6581097 Q6581097 Q6581072
SYSTEM
male for 1st, 2nd, female for 3rd
Q6581097 Q6581097 Q6581072
(Q3945958,P21,c(Q290)) (Q12025436,P21,c(Q290)) (Q12028963,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q3945958', 'P21', {'concept': 'Q290'}] ['Q12025436', 'P21', {'concept': 'Q290'}] ['Q12028963', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . VALUES ( ?l ) { ( resource:Q12028963 ) ( resource:Q21886139 ) ( resource:Q3945958 ) } . ?l property:P21 ?a }
male male female
Those people belong to male, male and female
male male female
action filter_type
action find
entity prev_answer
relation gender
type sex
['Salvatore Battaglia', 'gender', {'concept': 'sex'}] ['Jiří Pelán', 'gender', {'concept': 'sex'}] ['Kateřina Vinšová', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . VALUES ( ?l ) { ( resource:Kateřina_Vinšová ) ( resource:Miloslav_Uličný ) ( resource:Salvatore_Battaglia ) } . ?l property:gender ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3945958
P802
Q502895
USER
Which people have Salvatore Battaglia as their teacher ?
(c(Q502895),P802,Q3945958)
action filter_type
action find_reverse
entity Q3945958
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q3945958']
SELECT DISTINCT ?y WHERE { ?y property:P802 resource:Q3945958 . ?y rdf:type ontology:Q502895 }
Salvatore Battaglia
action filter_type
action find_reverse
entity Salvatore Battaglia
relation student
type common name
[{'concept': 'common name'}, 'student', 'Salvatore Battaglia']
SELECT DISTINCT ?y WHERE { ?y property:student resource:Salvatore_Battaglia . ?y rdf:type ontology:common_name }
[]
common name
Q3608631 Q1125179 Q3629268
SYSTEM
Alberto Varvaro, Mario Casella, Attilio Momigliano
Q3608631 Q1125179 Q3629268
(c(Q502895),P802,Q3945958)
action filter_type
action find_reverse
entity Q3945958
relation P802
type Q502895
[ANSWERS] have Salvatore Battaglia as their teacher
[{'concept': 'Q502895'}, 'P802', 'Q3945958']
SELECT DISTINCT ?y WHERE { ?y property:P802 resource:Q3945958 . ?y rdf:type ontology:Q502895 }
Alberto Varvaro Mario Casella Attilio Momigliano
Alberto Varvaro, Mario Casella and Attilio Momigliano have Salvatore Battaglia as their teacher
Alberto Varvaro Mario Casella Attilio Momigliano
action filter_type
action find_reverse
entity Salvatore Battaglia
relation student
type common name
[{'concept': 'common name'}, 'student', 'Salvatore Battaglia']
SELECT DISTINCT ?y WHERE { ?y property:student resource:Salvatore_Battaglia . ?y rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3608631
P1066
Q502895
USER
Which person was advised by that one ?
(c(Q502895),P1066,Q3608631)
action filter_type
action find
entity Q3608631
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q3608631']
SELECT DISTINCT ?e WHERE { resource:Q3608631 property:P1066 ?e . ?e rdf:type ontology:Q502895 }
Alberto Varvaro
action filter_type
action find
entity Alberto Varvaro
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Alberto Varvaro']
SELECT DISTINCT ?e WHERE { resource:Alberto_Varvaro property:student_of ?e . ?e rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q3629268
SYSTEM
Did you mean Attilio Momigliano ?
Q3608631 Q1125179 Q3629268
(c(Q502895),P1066,Q3608631) (c(Q502895),P1066,Q1125179) (c(Q502895),P1066,Q3629268)
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q3608631'] [{'concept': 'Q502895'}, 'P1066', 'Q1125179'] [{'concept': 'Q502895'}, 'P1066', 'Q3629268']
SELECT DISTINCT ?e WHERE { resource:Q3608631 property:P1066 ?e . ?e rdf:type ontology:Q502895 }
Alberto Varvaro Mario Casella Attilio Momigliano
Did you mean Attilio Momigliano ?
Attilio Momigliano
[{'concept': 'common name'}, 'student of', 'Alberto Varvaro'] [{'concept': 'common name'}, 'student of', 'Mario Casella'] [{'concept': 'common name'}, 'student of', 'Attilio Momigliano']
SELECT DISTINCT ?e WHERE { resource:Alberto_Varvaro property:student_of ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Alberto Varvaro. Could you tell me the answer for that?
(c(Q502895),P1066,Q3608631)
Q3608631
[{'concept': 'Q502895'}, 'P1066', 'Q3608631']
[{'concept': 'common name'}, 'student of', 'Alberto Varvaro']
[]
Q3945958
SYSTEM
Salvatore Battaglia
Q3945958
(c(Q502895),P1066,Q3608631)
action filter_type
action find
entity Q3608631
relation P1066
type Q502895
[ANSWER] was advised by that one
[{'concept': 'Q502895'}, 'P1066', 'Q3608631']
SELECT DISTINCT ?e WHERE { resource:Q3608631 property:P1066 ?e . ?e rdf:type ontology:Q502895 }
Salvatore Battaglia
Salvatore Battaglia was advised by that one
Salvatore Battaglia
action filter_type
action find
entity Alberto Varvaro
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Alberto Varvaro']
SELECT DISTINCT ?e WHERE { resource:Alberto_Varvaro property:student_of ?e . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3945958
P1066
Q502895
USER
How many people were advised by Salvatore Battaglia ?
(c(Q502895),P1066,Q3945958)
action count
action filter_type
action find_reverse
entity Q3945958
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q3945958']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { ?z property:P1066 resource:Q3945958 . ?z rdf:type ontology:Q502895 }
Salvatore Battaglia
action count
action filter_type
action find_reverse
entity Salvatore Battaglia
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Salvatore Battaglia']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { ?z property:student_of resource:Salvatore_Battaglia . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q3608631 Q3749674
(c(Q502895),P1066,Q3945958)
action count
action filter_type
action find_reverse
entity Q3945958
relation P1066
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q3945958']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { ?z property:P1066 resource:Q3945958 . ?z rdf:type ontology:Q502895 }
Alberto Varvaro Francesco Bruni
2
action count
action filter_type
action find_reverse
entity Salvatore Battaglia
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Salvatore Battaglia']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { ?z property:student_of resource:Salvatore_Battaglia . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q874887 Q3945958
P27
Q15617994
USER
Which administrative territories are Salvatore Battaglia or Kálmán Csutak an inhabitant of ?
OR((Q3945958,P27,c(Q15617994)), (Q874887,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3945958
relation P27
action find
entity Q874887
relation P27
type Q15617994
{'OR': [['Q3945958', 'P27', {'concept': 'Q15617994'}], ['Q874887', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3945958 property:P27 ?p } UNION { resource:Q874887 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Kálmán Csutak Salvatore Battaglia
action filter_type
action union
action find
entity Salvatore Battaglia
relation country of citizenship
action find
entity Kálmán Csutak
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Salvatore Battaglia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kálmán Csutak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Salvatore_Battaglia property:country_of_citizenship ?p } UNION { resource:Kálmán_Csutak property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q38
SYSTEM
Hungary, Italy
Q28 Q38
OR((Q3945958,P27,c(Q15617994)), (Q874887,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3945958
relation P27
action find
entity Q874887
relation P27
type Q15617994
[ANSWERS] are Salvatore Battaglia or Kálmán Csutak an inhabitant of
{'OR': [['Q3945958', 'P27', {'concept': 'Q15617994'}], ['Q874887', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3945958 property:P27 ?p } UNION { resource:Q874887 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Hungary Italy
Hungary and Italy are Salvatore Battaglia or Kálmán Csutak an inhabitant of
Hungary Italy
action filter_type
action union
action find
entity Salvatore Battaglia
relation country of citizenship
action find
entity Kálmán Csutak
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Salvatore Battaglia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kálmán Csutak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Salvatore_Battaglia property:country_of_citizenship ?p } UNION { resource:Kálmán_Csutak property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q25167
P407
Q34770 Q7725634 Q1002697
USER
Which languages are the languages of work for lesser number of literary works and periodical literatures than Bokmål ?
(c(Q7725634)|c(Q1002697),P407,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q25167
relation P407
type Q7725634
type Q1002697
[[{'concept': 'Q7725634'}, {'concept': 'Q1002697'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?m ) WHERE { { ?n property:P407 ?j . ?j rdf:type ontology:Q34770 . ?n rdf:type ontology:Q7725634 } UNION { ?n property:P407 ?j . ?j rdf:type ontology:Q34770 . ?n rdf:type ontology:Q1002697 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:P407 resource:Q25167 . { ?r rdf:type ?b . VALUES ( ?b ) { ( ontology:Q7725634 ) ( ontology:Q1002697 ) } } } } . FILTER ( ?m < ?p ) }
Bokmål
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Bokmål
relation language of work or name
type literary work
type periodical literature
[[{'concept': 'literary work'}, {'concept': 'periodical literature'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?m ) WHERE { { ?n property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?n rdf:type ontology:literary_work } UNION { ?n property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?n rdf:type ontology:periodical_literature } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:language_of_work_or_name resource:Bokmål . { ?r rdf:type ?b . VALUES ( ?b ) { ( ontology:literary_work ) ( ontology:periodical_literature ) } } } } . FILTER ( ?m < ?p ) }
[]
language literary work periodical literature
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q35505 Q56982 Q35308 Q36790 Q447117
(c(Q7725634)|c(Q1002697),P407,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q25167
relation P407
type Q7725634
type Q1002697
[ANSWERS] are the languages of work for lesser number of literary works and periodical literatures than Bokmål
[[{'concept': 'Q7725634'}, {'concept': 'Q1002697'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?m ) WHERE { { ?n property:P407 ?j . ?j rdf:type ontology:Q34770 . ?n rdf:type ontology:Q7725634 } UNION { ?n property:P407 ?j . ?j rdf:type ontology:Q34770 . ?n rdf:type ontology:Q1002697 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:P407 resource:Q25167 . { ?r rdf:type ?b . VALUES ( ?b ) { ( ontology:Q7725634 ) ( ontology:Q1002697 ) } } } } . FILTER ( ?m < ?p ) }
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 Old Norse language Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are the languages of work for lesser number of literary works and periodical literatures than Bokmål
Old Egyptian Old Church Slavonic Etruscan
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Bokmål
relation language of work or name
type literary work
type periodical literature
[[{'concept': 'literary work'}, {'concept': 'periodical literature'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?m ) WHERE { { ?n property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?n rdf:type ontology:literary_work } UNION { ?n property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?n rdf:type ontology:periodical_literature } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:language_of_work_or_name resource:Bokmål . { ?r rdf:type ?b . VALUES ( ?b ) { ( ontology:literary_work ) ( ontology:periodical_literature ) } } } } . FILTER ( ?m < ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1321
P407
Q34770 Q7725634 Q1002697
USER
And what about Spanish?
(c(Q7725634)|c(Q1002697),P407,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q1321
relation P407
type Q7725634
type Q1002697
[[{'concept': 'Q7725634'}, {'concept': 'Q1002697'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?u WHERE { { ?v property:P407 ?u . ?u rdf:type ontology:Q34770 . ?v rdf:type ontology:Q7725634 } UNION { ?v property:P407 ?u . ?u rdf:type ontology:Q34770 . ?v rdf:type ontology:Q1002697 } } GROUP BY ?u } . FILTER ( ?w < ?i ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:P407 resource:Q1321 . { VALUES ( ?q ) { ( ontology:Q1002697 ) ( ontology:Q7725634 ) } . ?b rdf:type ?q } } } }
Spanish
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Spanish
relation language of work or name
type literary work
type periodical literature
[[{'concept': 'literary work'}, {'concept': 'periodical literature'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?u WHERE { { ?v property:language_of_work_or_name ?u . ?u rdf:type ontology:language . ?v rdf:type ontology:literary_work } UNION { ?v property:language_of_work_or_name ?u . ?u rdf:type ontology:language . ?v rdf:type ontology:periodical_literature } } GROUP BY ?u } . FILTER ( ?w < ?i ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:language_of_work_or_name resource:Spanish . { VALUES ( ?q ) { ( ontology:periodical_literature ) ( ontology:literary_work ) } . ?b rdf:type ?q } } } }
[]
language literary work periodical literature
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 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q7725634)|c(Q1002697),P407,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q1321
relation P407
type Q7725634
type Q1002697
[ANSWERS]
[[{'concept': 'Q7725634'}, {'concept': 'Q1002697'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?u WHERE { { ?v property:P407 ?u . ?u rdf:type ontology:Q34770 . ?v rdf:type ontology:Q7725634 } UNION { ?v property:P407 ?u . ?u rdf:type ontology:Q34770 . ?v rdf:type ontology:Q1002697 } } GROUP BY ?u } . FILTER ( ?w < ?i ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:P407 resource:Q1321 . { VALUES ( ?q ) { ( ontology:Q1002697 ) ( ontology:Q7725634 ) } . ?b rdf:type ?q } } } }
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 Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian Old Church Slavonic Etruscan
action less
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Spanish
relation language of work or name
type literary work
type periodical literature
[[{'concept': 'literary work'}, {'concept': 'periodical literature'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?u WHERE { { ?v property:language_of_work_or_name ?u . ?u rdf:type ontology:language . ?v rdf:type ontology:literary_work } UNION { ?v property:language_of_work_or_name ?u . ?u rdf:type ontology:language . ?v rdf:type ontology:periodical_literature } } GROUP BY ?u } . FILTER ( ?w < ?i ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b property:language_of_work_or_name resource:Spanish . { VALUES ( ?q ) { ( ontology:periodical_literature ) ( ontology:literary_work ) } . ?b rdf:type ?q } } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q447117 Q35499 Q35726
P1412
Q502895
USER
Who talks in Old Egyptian, Old Church Slavonic and Etruscan ?
(c(Q502895),P1412,Q447117) (c(Q502895),P1412,Q35499) (c(Q502895),P1412,Q35726)
action union
action filter_type
action find_reverse
entity Q447117
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35499
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35726
relation P1412
type Q502895
[{'concept': 'Q502895'}, 'P1412', 'Q447117'] [{'concept': 'Q502895'}, 'P1412', 'Q35499'] [{'concept': 'Q502895'}, 'P1412', 'Q35726']
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:Q502895 . ?g property:P1412 resource:Q35499 } UNION { ?g property:P1412 resource:Q447117 . ?g rdf:type ontology:Q502895 } }
Old Egyptian Old Church Slavonic Etruscan
action union
action filter_type
action find_reverse
entity Old Egyptian
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Old Church Slavonic
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Etruscan
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Church Slavonic'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Etruscan']
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:common_name . ?g property:languages_spoken,_written_or_signed resource:Old_Church_Slavonic } UNION { ?g property:languages_spoken,_written_or_signed resource:Old_Egyptian . ?g rdf:type ontology:common_name } }
[]
common name
Q1162154 Q1736643 Q723304
SYSTEM
Daniel Polz, Katja Lembke, Gregory Tsamblak
Q15815525 Q1736643 Q1162154 Q650558 Q723304 Q1146725 Q3420417 Q385810 Q3523507 Q21580476 Q21580468 Q2874426 Q21584309 Q21584304 Q21584282 Q21580487 Q3564047
(c(Q502895),P1412,Q447117) (c(Q502895),P1412,Q35499) (c(Q502895),P1412,Q35726)
action union
action filter_type
action find_reverse
entity Q447117
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35499
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35726
relation P1412
type Q502895
[ANSWERS] talk in Old Egyptian, Old Church Slavonic and Etruscan
[{'concept': 'Q502895'}, 'P1412', 'Q447117'] [{'concept': 'Q502895'}, 'P1412', 'Q35499'] [{'concept': 'Q502895'}, 'P1412', 'Q35726']
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:Q502895 . ?g property:P1412 resource:Q35499 } UNION { ?g property:P1412 resource:Q447117 . ?g rdf:type ontology:Q502895 } }
Hi Katja Lembke Daniel Polz John Exarch Gregory Tsamblak Constantine of Preslav Ravnthu Thefrinai Lars Tolumnius Thefarie Velianas Unknown brother of Velthur Spurinna Larth Spurinna Avie Spurinna Laris Partunus Velthur Partunus Lars Pulena Arnth Velcha Velia Spurinna
Daniel Polz, Katja Lembke and Gregory Tsamblak talk in Old Egyptian, Old Church Slavonic and Etruscan
Daniel Polz Katja Lembke Gregory Tsamblak
action union
action filter_type
action find_reverse
entity Old Egyptian
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Old Church Slavonic
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Etruscan
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Church Slavonic'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Etruscan']
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:common_name . ?g property:languages_spoken,_written_or_signed resource:Old_Church_Slavonic } UNION { ?g property:languages_spoken,_written_or_signed resource:Old_Egyptian . ?g rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1162154 Q1736643 Q723304
P106
Q12737077
USER
What do Daniel Polz, Katja Lembke and Gregory Tsamblak do for a living ?
(Q1162154,P106,c(Q12737077)) (Q1736643,P106,c(Q12737077)) (Q723304,P106,c(Q12737077))
action union
action filter_type
action find
entity Q1162154
relation P106
type Q12737077
action filter_type
action find
entity Q1736643
relation P106
type Q12737077
action filter_type
action find
entity Q723304
relation P106
type Q12737077
['Q1162154', 'P106', {'concept': 'Q12737077'}] ['Q1736643', 'P106', {'concept': 'Q12737077'}] ['Q723304', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?k property:P106 ?o . VALUES ( ?k ) { ( resource:Q1162154 ) ( resource:Q1736643 ) } }
Daniel Polz Katja Lembke Gregory Tsamblak
action union
action filter_type
action find
entity Daniel Polz
relation occupation
type occupation
action filter_type
action find
entity Katja Lembke
relation occupation
type occupation
action filter_type
action find
entity Gregory Tsamblak
relation occupation
type occupation
['Daniel Polz', 'occupation', {'concept': 'occupation'}] ['Katja Lembke', 'occupation', {'concept': 'occupation'}] ['Gregory Tsamblak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?k property:occupation ?o . VALUES ( ?k ) { ( resource:Daniel_Polz ) ( resource:Katja_Lembke ) } }
[]
occupation
Q1622272 Q1350189 Q1350189
SYSTEM
egyptologist for 2nd, 3rd, university teacher for 1st
Q1350189 Q1622272 Q1350189 Q15983985 Q674426 Q36180 Q42603
(Q1162154,P106,c(Q12737077)) (Q1736643,P106,c(Q12737077)) (Q723304,P106,c(Q12737077))
action union
action filter_type
action find
entity Q1162154
relation P106
type Q12737077
action filter_type
action find
entity Q1736643
relation P106
type Q12737077
action filter_type
action find
entity Q723304
relation P106
type Q12737077
[ANSWERS]
['Q1162154', 'P106', {'concept': 'Q12737077'}] ['Q1736643', 'P106', {'concept': 'Q12737077'}] ['Q723304', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?k property:P106 ?o . VALUES ( ?k ) { ( resource:Q1162154 ) ( resource:Q1736643 ) } }
egyptologist university teacher egyptologist classical archaeologist curator writer priest
University teacher, egyptologist and egyptologist Daniel Polz , Katja Lembke and Gregory Tsamblak do for a living
university teacher egyptologist egyptologist
action union
action filter_type
action find
entity Daniel Polz
relation occupation
type occupation
action filter_type
action find
entity Katja Lembke
relation occupation
type occupation
action filter_type
action find
entity Gregory Tsamblak
relation occupation
type occupation
['Daniel Polz', 'occupation', {'concept': 'occupation'}] ['Katja Lembke', 'occupation', {'concept': 'occupation'}] ['Gregory Tsamblak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?k property:occupation ?o . VALUES ( ?k ) { ( resource:Daniel_Polz ) ( resource:Katja_Lembke ) } }
[]