Simple Question (Direct)
Simple Question
Q7495205
P21
Q290
USER
What is the sex of Sherman L. Hill ?
(Q7495205,P21,c(Q290))
action filter_type
action find
entity Q7495205
relation P21
type Q290
['Q7495205', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q7495205 property:P21 ?e }
Sherman L. Hill
action filter_type
action find
entity Sherman L. Hill
relation gender
type sex
['Sherman L. Hill', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:Sherman_L._Hill property:gender ?e }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7495205,P21,c(Q290))
action filter_type
action find
entity Q7495205
relation P21
type Q290
The sex of Sherman L. Hill is the [ANSWER]
['Q7495205', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q7495205 property:P21 ?e }
male
The sex of Sherman L. Hill is the male
male
action filter_type
action find
entity Sherman L. Hill
relation gender
type sex
['Sherman L. Hill', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:Sherman_L._Hill property:gender ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7495205
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q6581097,P1412,c(Q34770))
action filter_type
action find
entity Q7495205
relation P1412
type Q34770
['Q6581097', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q34770 . resource:Q7495205 property:P1412 ?o }
Sherman L. Hill
action filter_type
action find
entity Sherman L. Hill
relation languages spoken, written or signed
type language
['male', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:language . resource:Sherman_L._Hill property:languages_spoken,_written_or_signed ?o }
[]
language
Q1860
SYSTEM
English
Q1860
(Q6581097,P1412,c(Q34770))
action filter_type
action find
entity Q7495205
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q6581097', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q34770 . resource:Q7495205 property:P1412 ?o }
English
English is that person capable of writing
English
action filter_type
action find
entity Sherman L. Hill
relation languages spoken, written or signed
type language
['male', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:language . resource:Sherman_L._Hill property:languages_spoken,_written_or_signed ?o }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q335749 Q7495205
P27 P17
Q15617994
USER
Which administrative territories do Sherman L. Hill belong to or are Kvam Station situated in ?
OR((Q7495205,P27,c(Q15617994)), (Q335749,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7495205
relation P27
action find
entity Q335749
relation P17
type Q15617994
{'OR': [['Q7495205', 'P27', {'concept': 'Q15617994'}], ['Q335749', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . { { resource:Q7495205 property:P27 ?r } UNION { resource:Q335749 property:P17 ?r } } }
Kvam Station Sherman L. Hill
action filter_type
action union
action find
entity Sherman L. Hill
relation country of citizenship
action find
entity Kvam Station
relation country
type designation for an administrative territorial entity
{'OR': [['Sherman L. Hill', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kvam Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Sherman_L._Hill property:country_of_citizenship ?r } UNION { resource:Kvam_Station property:country ?r } } }
[]
designation for an administrative territorial entity
Q20 Q30
SYSTEM
Norway, United States of America
Q20 Q30
OR((Q7495205,P27,c(Q15617994)), (Q335749,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7495205
relation P27
action find
entity Q335749
relation P17
type Q15617994
Sherman L. Hill belong to [ANSWERS] or Kvam Station in
{'OR': [['Q7495205', 'P27', {'concept': 'Q15617994'}], ['Q335749', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . { { resource:Q7495205 property:P27 ?r } UNION { resource:Q335749 property:P17 ?r } } }
Norway United States of America
Sherman L. Hill belong to Norway and United States of America or Kvam Station in
Norway United States of America
action filter_type
action union
action find
entity Sherman L. Hill
relation country of citizenship
action find
entity Kvam Station
relation country
type designation for an administrative territorial entity
{'OR': [['Sherman L. Hill', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kvam Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Sherman_L._Hill property:country_of_citizenship ?r } UNION { resource:Kvam_Station property:country ?r } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20
P463
Q874405
USER
Which social groups were that administrative territory a member of ?
(Q20,P463,c(Q874405))
action filter_type
action find
entity Q20
relation P463
type Q874405
['Q20', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { resource:Q20 property:P463 ?t . ?t rdf:type ontology:Q874405 }
Norway
action filter_type
action find
entity Norway
relation member of
type social group
['Norway', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { resource:Norway property:member_of ?t . ?t rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q20
SYSTEM
Did you mean Norway ?
Q20 Q30
(Q20,P463,c(Q874405)) (Q30,P463,c(Q874405))
[ANSWER]
['Q20', 'P463', {'concept': 'Q874405'}] ['Q30', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { resource:Q20 property:P463 ?t . ?t rdf:type ontology:Q874405 }
Norway United States of America
Did you mean Norway ?
Norway
['Norway', 'member of', {'concept': 'social group'}] ['United States of America', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { resource:Norway property:member_of ?t . ?t rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
Yes
(Q20,P463,c(Q874405))
['Q20', 'P463', {'concept': 'Q874405'}]
['Norway', 'member of', {'concept': 'social group'}]
[]
Q1128401 Q8908 Q782942
SYSTEM
CGIAR, Council of Europe, Australia Group
Q782942 Q1128401 Q8908 Q8932
(Q20,P463,c(Q874405))
action filter_type
action find
entity Q20
relation P463
type Q874405
[ANSWERS] were that administrative territory a member of
['Q20', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { resource:Q20 property:P463 ?t . ?t rdf:type ontology:Q874405 }
Australia Group CGIAR Council of Europe European Economic Area
CGIAR, Council of Europe and Australia Group were that administrative territory a member of
CGIAR Council of Europe Australia Group
action filter_type
action find
entity Norway
relation member of
type social group
['Norway', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { resource:Norway property:member_of ?t . ?t rdf:type ontology:social_group }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q8752
P364
Q34770 Q838948 Q2342494
USER
Which languages are the original languages of creation of less number of works of art and collectables than Basque ?
(c(Q838948)|c(Q2342494),P364,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q8752
relation P364
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?n . VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:P364 resource:Q8752 . { VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?m rdf:type ?o } } } . FILTER ( ?j < ?i ) }
Basque
action less
action union
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Basque
relation original language of work
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?n . VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:original_language_of_work resource:Basque . { VALUES ( ?o ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?m rdf:type ?o } } } . FILTER ( ?j < ?i ) }
[]
language work of art collectable
Q56530 Q182695 Q35499
SYSTEM
Wappo language, Late Old Japanese, Old Church Slavonic
Q132659 Q13414913 Q13211 Q35499 Q35668 Q1072111 Q34909 Q36765 Q33251 Q18130932 Q35726 Q36206 Q33976 Q10862919 Q35505 Q25167 Q56530 Q25164 Q36790 Q29977 Q182695 Q3110592 Q837985 Q783605
(c(Q838948)|c(Q2342494),P364,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q8752
relation P364
type Q838948
type Q2342494
[ANSWERS] are the original languages of creation of less number of works of art and collectables than Basque
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?n . VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:P364 resource:Q8752 . { VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?m rdf:type ?o } } } . FILTER ( ?j < ?i ) }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Galician-Portuguese Old Icelandic Demotic Church Slavonic Traditional Chinese Etruscan Lak Sardinian language Tibetan language 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 the original languages of creation of less number of works of art and collectables than Basque
Wappo language Late Old Japanese Old Church Slavonic
action less
action union
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Basque
relation original language of work
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?j ) WHERE { ?u rdf:type ?n . VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m property:original_language_of_work resource:Basque . { VALUES ( ?o ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?m rdf:type ?o } } } . FILTER ( ?j < ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q37041
P364
Q34770 Q838948 Q2342494
USER
And how about classical Chinese?
(c(Q838948)|c(Q2342494),P364,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q37041
relation P364
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?p WHERE { VALUES ( ?d ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?t rdf:type ?d } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?o rdf:type ?x } . ?o property:P364 resource:Q37041 } } . FILTER ( ?a < ?k ) }
classical Chinese
action less
action union
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity classical Chinese
relation original language of work
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?p WHERE { VALUES ( ?d ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?t rdf:type ?d } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?o rdf:type ?x } . ?o property:original_language_of_work resource:classical_Chinese } } . FILTER ( ?a < ?k ) }
[]
language work of art collectable
Q56530 Q182695 Q35499
SYSTEM
Wappo language, Late Old Japanese, Old Church Slavonic
Q132659 Q13414913 Q13211 Q35499 Q35668 Q1072111 Q34909 Q36765 Q33251 Q18130932 Q35726 Q36206 Q33976 Q10862919 Q8752 Q35505 Q25167 Q56530 Q25164 Q36790 Q29977 Q182695 Q3110592 Q837985 Q783605
(c(Q838948)|c(Q2342494),P364,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q37041
relation P364
type Q838948
type Q2342494
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?p WHERE { VALUES ( ?d ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?t rdf:type ?d } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?o rdf:type ?x } . ?o property:P364 resource:Q37041 } } . FILTER ( ?a < ?k ) }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Galician-Portuguese Old Icelandic Demotic Church Slavonic Traditional Chinese Etruscan Lak Sardinian language Tibetan language Basque 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 Old Church Slavonic
action less
action union
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity classical Chinese
relation original language of work
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) ?p WHERE { VALUES ( ?d ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?t rdf:type ?d } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { { VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?o rdf:type ?x } . ?o property:original_language_of_work resource:classical_Chinese } } . FILTER ( ?a < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q652
P37
Q34770 Q15617994 Q56061
USER
How many languages are the official languages of lesser number of administrative territories and administrative territories than Italian ?
(c(Q15617994)|c(Q56061),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q652
relation P37
type Q15617994
type Q56061
[[{'concept': 'Q15617994'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?k WHERE { { ?u property:P37 ?k . ?k rdf:type ontology:Q34770 . ?u rdf:type ontology:Q15617994 } UNION { ?u property:P37 ?k . ?u rdf:type ontology:Q56061 . ?k rdf:type ontology:Q34770 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P37 resource:Q652 . { { ?y rdf:type ontology:Q15617994 } UNION { ?y rdf:type ontology:Q56061 } } } } . FILTER ( ?i < ?x ) }
Italian
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Italian
relation official language
type designation for an administrative territorial entity
type administrative territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?k WHERE { { ?u property:official_language ?k . ?k rdf:type ontology:language . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:official_language ?k . ?u rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:language } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:official_language resource:Italian . { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?i < ?x ) }
[]
language designation for an administrative territorial entity administrative territorial entity
SYSTEM
13
Q9056 Q33251 Q13211 Q3110592 Q36206 Q8752 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q15617994)|c(Q56061),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q652
relation P37
type Q15617994
type Q56061
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?k WHERE { { ?u property:P37 ?k . ?k rdf:type ontology:Q34770 . ?u rdf:type ontology:Q15617994 } UNION { ?u property:P37 ?k . ?u rdf:type ontology:Q56061 . ?k rdf:type ontology:Q34770 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P37 resource:Q652 . { { ?y rdf:type ontology:Q15617994 } UNION { ?y rdf:type ontology:Q56061 } } } } . FILTER ( ?i < ?x ) }
Czech Church Slavonic Ruthenian written Chinese Lak Basque Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
13
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Italian
relation official language
type designation for an administrative territorial entity
type administrative territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?k WHERE { { ?u property:official_language ?k . ?k rdf:type ontology:language . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:official_language ?k . ?u rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:language } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:official_language resource:Italian . { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?i < ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q397
P37
Q34770 Q15617994 Q56061
USER
And how about Latin?
(c(Q15617994)|c(Q56061),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q397
relation P37
type Q15617994
type Q56061
[[{'concept': 'Q15617994'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?k WHERE { VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?m rdf:type ?t } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:P37 resource:Q397 . { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } } } } . FILTER ( ?w < ?s ) }
Latin
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Latin
relation official language
type designation for an administrative territorial entity
type administrative territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?k WHERE { VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?m rdf:type ?t } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:official_language resource:Latin . { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?w < ?s ) }
[]
language designation for an administrative territorial entity administrative territorial entity
SYSTEM
10
Q33251 Q13211 Q3110592 Q36206 Q8752 Q36880 Q33976 Q35499 Q35726 Q25164
(c(Q15617994)|c(Q56061),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q397
relation P37
type Q15617994
type Q56061
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?k WHERE { VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?m rdf:type ?t } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:P37 resource:Q397 . { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } } } } . FILTER ( ?w < ?s ) }
Church Slavonic Ruthenian written Chinese Lak Basque Bulgar language Sardinian language Old Church Slavonic Etruscan Nynorsk
10
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Latin
relation official language
type designation for an administrative territorial entity
type administrative territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?k WHERE { VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?m rdf:type ?t } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h property:official_language resource:Latin . { ?h rdf:type ?v . VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?w < ?s ) }
[]