Simple Question (Direct)
Simple Question
Q1449005
P937
Q1048835
USER
What is the location where Franz Schwarz worked ?
(Q1449005,P937,c(Q1048835))
action filter_type
action find
entity Q1449005
relation P937
type Q1048835
['Q1449005', 'P937', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q1449005 property:P937 ?s . ?s rdf:type ontology:Q1048835 }
Franz Schwarz
action filter_type
action find
entity Franz Schwarz
relation work location
type political territorial entity
['Franz Schwarz', 'work location', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Franz_Schwarz property:work_location ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q8608
SYSTEM
Altenkirchen district
Q8608
(Q1449005,P937,c(Q1048835))
action filter_type
action find
entity Q1449005
relation P937
type Q1048835
The location Franz Schwarz worked is in [ANSWER]
['Q1449005', 'P937', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q1449005 property:P937 ?s . ?s rdf:type ontology:Q1048835 }
Altenkirchen district
The location Franz Schwarz worked is in Altenkirchen district
Altenkirchen district
action filter_type
action find
entity Franz Schwarz
relation work location
type political territorial entity
['Franz Schwarz', 'work location', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Franz_Schwarz property:work_location ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1449005
P21
Q290
USER
What is the sex of Franz Schwarz ?
(Q1449005,P21,c(Q290))
action filter_type
action find
entity Q1449005
relation P21
type Q290
['Q1449005', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1449005 property:P21 ?o . ?o rdf:type ontology:Q290 }
Franz Schwarz
action filter_type
action find
entity Franz Schwarz
relation gender
type sex
['Franz Schwarz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Franz_Schwarz property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1449005,P21,c(Q290))
action filter_type
action find
entity Q1449005
relation P21
type Q290
The sex of Franz Schwarz is the [ANSWER]
['Q1449005', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1449005 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
The sex of Franz Schwarz is the male
male
action filter_type
action find
entity Franz Schwarz
relation gender
type sex
['Franz Schwarz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Franz_Schwarz property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3531224
Q290
USER
And what about Tomer G?
(Q3531224,P21,c(Q290))
action filter_type
action find
entity Q3531224
relation P21
type Q290
['Q3531224', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q3531224 property:P21 ?d . ?d rdf:type ontology:Q290 }
Tomer G
action filter_type
action find
entity Tomer G
relation gender
type sex
['Tomer G', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Tomer_G property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3531224,P21,c(Q290))
action filter_type
action find
entity Q3531224
relation P21
type Q290
[ANSWER]
['Q3531224', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q3531224 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Tomer G
relation gender
type sex
['Tomer G', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Tomer_G property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P138
Q7946
USER
Which minerals are named after that sex ?
(c(Q7946),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
[{'concept': 'Q7946'}, 'P138', 'Q6581097']
SELECT DISTINCT ?h WHERE { ?h property:P138 resource:Q6581097 . ?h rdf:type ontology:Q7946 }
male
action filter_type
action find_reverse
entity male
relation named after
type mineral
[{'concept': 'mineral'}, 'named after', 'male']
SELECT DISTINCT ?h WHERE { ?h property:named_after resource:male . ?h rdf:type ontology:mineral }
[]
mineral
Q19861020 Q19861231 Q4006570
SYSTEM
mendeleevite-(Ce), reynoldsite, urusovite
Q19861020 Q18375263 Q19862060 Q19861231 Q4006570 Q3565842 Q19833301
(c(Q7946),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
[ANSWERS] are named after that sex
[{'concept': 'Q7946'}, 'P138', 'Q6581097']
SELECT DISTINCT ?h WHERE { ?h property:P138 resource:Q6581097 . ?h rdf:type ontology:Q7946 }
mendeleevite-(Ce) billwiseite witzkeite reynoldsite urusovite zirkelite carlosbarbosaite
Mendeleevite-(Ce), reynoldsite and urusovite are named after that sex
mendeleevite-(Ce) reynoldsite urusovite
action filter_type
action find_reverse
entity male
relation named after
type mineral
[{'concept': 'mineral'}, 'named after', 'male']
SELECT DISTINCT ?h WHERE { ?h property:named_after resource:male . ?h rdf:type ontology:mineral }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8608
P17
Q1048835
USER
Which political territory is Altenkirchen district situated in ?
(Q8608,P17,c(Q1048835))
action filter_type
action find
entity Q8608
relation P17
type Q1048835
['Q8608', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q8608 property:P17 ?s . ?s rdf:type ontology:Q1048835 }
Altenkirchen district
action filter_type
action find
entity Altenkirchen district
relation country
type political territorial entity
['Altenkirchen district', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Altenkirchen_district property:country ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q8608,P17,c(Q1048835))
action filter_type
action find
entity Q8608
relation P17
type Q1048835
Which political territory is Altenkirchen district situated in
['Q8608', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q8608 property:P17 ?s . ?s rdf:type ontology:Q1048835 }
Germany
Which political territory is Altenkirchen district situated in
Germany
action filter_type
action find
entity Altenkirchen district
relation country
type political territorial entity
['Altenkirchen district', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Altenkirchen_district property:country ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P85
Q7725634
USER
What is the national anthem of that political territory ?
(Q183,P85,c(Q7725634))
action filter_type
action find
entity Q183
relation P85
type Q7725634
['Q183', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q7725634 . resource:Q183 property:P85 ?g }
Germany
action filter_type
action find
entity Germany
relation anthem
type literary work
['Germany', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:literary_work . resource:Germany property:anthem ?g }
[]
literary work
Q44042
SYSTEM
Das Lied der Deutschen
Q44042
(Q183,P85,c(Q7725634))
action filter_type
action find
entity Q183
relation P85
type Q7725634
The national anthem of that political territory is [ANSWER]
['Q183', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q7725634 . resource:Q183 property:P85 ?g }
Das Lied der Deutschen
The national anthem of that political territory is Das Lied der Deutschen
Das Lied der Deutschen
action filter_type
action find
entity Germany
relation anthem
type literary work
['Germany', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:literary_work . resource:Germany property:anthem ?g }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q44042 Q4061328
P85
Q1048835
USER
Does Oleksandrivka have that literary work as their national anthem ?
(Q4061328,P85,Q44042)
action is_in
entity Q4061328
action find
entity Q44042
relation P85
['Q4061328', 'P85', 'Q44042']
ASK WHERE { resource:Q44042 property:P85 resource:Q4061328 }
Das Lied der Deutschen Oleksandrivka
action is_in
entity Oleksandrivka
action find
entity Das Lied der Deutschen
relation anthem
['Oleksandrivka', 'anthem', 'Das Lied der Deutschen']
ASK WHERE { resource:Das_Lied_der_Deutschen property:anthem resource:Oleksandrivka }
[]
political territorial entity
SYSTEM
NO
(Q4061328,P85,Q44042)
action is_in
entity Q4061328
action find
entity Q44042
relation P85
[ANSWER]
['Q4061328', 'P85', 'Q44042']
ASK WHERE { resource:Q44042 property:P85 resource:Q4061328 }
No
action is_in
entity Oleksandrivka
action find
entity Das Lied der Deutschen
relation anthem
['Oleksandrivka', 'anthem', 'Das Lied der Deutschen']
ASK WHERE { resource:Das_Lied_der_Deutschen property:anthem resource:Oleksandrivka }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q183
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Germany ?
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Q183 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
Germany
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Germany property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
124
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Q183 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
124
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Germany property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q142
P530
Q15617994
USER
And what about France?
(Q142,P530,c(Q15617994))
action count
action filter_type
action find
entity Q142
relation P530
type Q15617994
['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q142 property:P530 ?i . ?i rdf:type ontology:Q15617994 }
France
action count
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:France property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
15
Q711 Q159 Q222 Q801 Q145 Q155 Q1011 Q228 Q32 Q17 Q30 Q399 Q27 Q403 Q38
(Q142,P530,c(Q15617994))
action count
action filter_type
action find
entity Q142
relation P530
type Q15617994
[ANSWER]
['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q142 property:P530 ?i . ?i rdf:type ontology:Q15617994 }
Mongolia Russia Albania Israel United Kingdom Brazil Cape Verde Andorra Luxembourg Japan United States of America Armenia Ireland Serbia Italy
15
action count
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:France property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q36
Q15617994
USER
And how about Poland?
(Q36,P530,c(Q15617994))
action count
action filter_type
action find
entity Q36
relation P530
type Q15617994
['Q36', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Q36 property:P530 ?v . ?v rdf:type ontology:Q15617994 }
Poland
action count
action filter_type
action find
entity Poland
relation diplomatic relation
type designation for an administrative territorial entity
['Poland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Poland property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
(Q36,P530,c(Q15617994))
action count
action filter_type
action find
entity Q36
relation P530
type Q15617994
[ANSWER]
['Q36', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Q36 property:P530 ?v . ?v rdf:type ontology:Q15617994 }
2
action count
action filter_type
action find
entity Poland
relation diplomatic relation
type designation for an administrative territorial entity
['Poland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Poland property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q34909
P407
Q34770 Q7725634
USER
Which languages are approximately the same number of literary works in as Old Icelandic ?
(c(Q7725634),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action count
action filter_type
action find
entity Q34909
relation P407
type Q34770
[{'concept': 'Q7725634'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:P407 ?d . ?d rdf:type ontology:Q34770 . ?g rdf:type ontology:Q7725634 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Q34909 property:P407 ?m . ?m rdf:type ontology:Q34770 } } . FILTER ( ?o = ?t ) }
Old Icelandic
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action count
action filter_type
action find
entity Old Icelandic
relation language of work or name
type language
[{'concept': 'literary work'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:language_of_work_or_name ?d . ?d rdf:type ontology:language . ?g rdf:type ontology:literary_work } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Old_Icelandic property:language_of_work_or_name ?m . ?m rdf:type ontology:language } } . FILTER ( ?o = ?t ) }
[]
language literary work
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q7725634),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action count
action filter_type
action find
entity Q34909
relation P407
type Q34770
[ANSWERS] are approximately the same number of literary works in as Old Icelandic
[{'concept': 'Q7725634'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:P407 ?d . ?d rdf:type ontology:Q34770 . ?g rdf:type ontology:Q7725634 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Q34909 property:P407 ?m . ?m rdf:type ontology:Q34770 } } . FILTER ( ?o = ?t ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish 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 and Etruscan are approximately the same number of literary works in as Old Icelandic
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action count
action filter_type
action find
entity Old Icelandic
relation language of work or name
type language
[{'concept': 'literary work'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:language_of_work_or_name ?d . ?d rdf:type ontology:language . ?g rdf:type ontology:literary_work } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Old_Icelandic property:language_of_work_or_name ?m . ?m rdf:type ontology:language } } . FILTER ( ?o = ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q397
P407
Q34770 Q7725634
USER
And also tell me about Latin?
(c(Q7725634),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action count
action filter_type
action find
entity Q397
relation P407
type Q34770
[{'concept': 'Q7725634'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q397 property:P407 ?i . ?i rdf:type ontology:Q34770 } } . FILTER ( ?g = ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P407 ?y . ?c rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q34770 } GROUP BY ?y } }
Latin
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action count
action filter_type
action find
entity Latin
relation language of work or name
type language
[{'concept': 'literary work'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Latin property:language_of_work_or_name ?i . ?i rdf:type ontology:language } } . FILTER ( ?g = ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:language_of_work_or_name ?y . ?c rdf:type ontology:literary_work . ?y rdf:type ontology:language } GROUP BY ?y } }
[]
language literary work
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q7725634),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action count
action filter_type
action find
entity Q397
relation P407
type Q34770
[ANSWERS]
[{'concept': 'Q7725634'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q397 property:P407 ?i . ?i rdf:type ontology:Q34770 } } . FILTER ( ?g = ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P407 ?y . ?c rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q34770 } GROUP BY ?y } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish 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 approx
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action count
action filter_type
action find
entity Latin
relation language of work or name
type language
[{'concept': 'literary work'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Latin property:language_of_work_or_name ?i . ?i rdf:type ontology:language } } . FILTER ( ?g = ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:language_of_work_or_name ?y . ?c rdf:type ontology:literary_work . ?y rdf:type ontology:language } GROUP BY ?y } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P364
Q34770 Q21114848
USER
Which languages are considered to be the original language of creation of around the same number of magazine genres as that language ?
(c(Q21114848),P364,c(Q34770))
[{'concept': 'Q21114848'}, 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?z property:P364 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q34770 }
[{'concept': 'magazine genre'}, 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?z property:original_language_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:language }
[]
language magazine genre
Comparative|More/Less|Single entity type|Clarification
Q447117
SYSTEM
Did you mean Old Egyptian ?
(c(Q21114848),P364,c(Q34770))
[ANSWER]
[{'concept': 'Q21114848'}, 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?z property:P364 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q34770 }
Did you mean Old Egyptian ?
Old Egyptian
[{'concept': 'magazine genre'}, 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?z property:original_language_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:language }
[]
Comparative Reasoning (All)
USER
No, I meant Old Church Slavonic. Could you tell me the answer for that?
(c(Q21114848),P364,c(Q34770))
Q35499
[{'concept': 'Q21114848'}, 'P364', {'concept': 'Q34770'}]
[{'concept': 'magazine genre'}, 'original language of work', {'concept': 'language'}]
[]
Q56530 Q182695 Q35499
SYSTEM
Wappo language, Late Old Japanese, Old Church Slavonic
Q132659 Q13414913 Q13211 Q35499 Q35668 Q8785 Q1072111 Q34909 Q36765 Q33251 Q18130932 Q35726 Q36206 Q1321 Q33976 Q397 Q10862919 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q56530 Q25164 Q36790 Q29977 Q182695 Q3110592 Q837985 Q783605
(c(Q21114848),P364,c(Q34770))
[ANSWERS] are considered to be the original language of creation of around the same number of magazine genres as that language
[{'concept': 'Q21114848'}, 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?z property:P364 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q34770 }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Armenian Galician-Portuguese Old Icelandic Demotic Church Slavonic Traditional Chinese Etruscan Lak Spanish Sardinian language Latin Tibetan language Czech Basque classical Chinese Italian Old Norse language Bokmål Wappo language Nynorsk Sumerian Gaulish Late Old Japanese written Chinese Middle High German Written vernacular Chinese
Wappo language, Late Old Japanese and Old Church Slavonic are considered to be the original language of creation of around the same number of magazine genres as that language
Wappo language Late Old Japanese Old Church Slavonic
[{'concept': 'magazine genre'}, 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?z property:original_language_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:language }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P282
Q8192 Q2001982 Q34770
USER
Which languages have writing system as greater number of writing systems and notations than that language ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?a ) { ( ?y ) ( ?x ) } . ?z property:Q8192 ?a } . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 . ?x rdf:type ontology:Q2001982 }
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?a ) { ( ?y ) ( ?x ) } . ?z property:writing_system ?a } . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system . ?x rdf:type ontology:notation }
[]
writing system notation language
Comparative|More/Less|Mult. entity type|Clarification
Q182695
SYSTEM
Did you mean Late Old Japanese ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?a ) { ( ?y ) ( ?x ) } . ?z property:Q8192 ?a } . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 . ?x rdf:type ontology:Q2001982 }
Did you mean Late Old Japanese ?
Late Old Japanese
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?a ) { ( ?y ) ( ?x ) } . ?z property:writing_system ?a } . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system . ?x rdf:type ontology:notation }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q34770),P282,c(Q8192)|c(Q2001982))
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
[]
SYSTEM
9
Q182695 Q29572 Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q8192)|c(Q2001982))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q8192 ?y } UNION { ?z property:Q8192 ?x } } . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 . ?x rdf:type ontology:Q2001982 }
Late Old Japanese Avestan Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
9
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:writing_system ?y } UNION { ?z property:writing_system ?x } } . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system . ?x rdf:type ontology:notation }
[]