Simple Question (Direct)
Simple Question
Q2106273
P1412
Q34770
USER
Which language is James Matisoff capable of writing ?
(Q2106273,P1412,c(Q34770))
action filter_type
action find
entity Q2106273
relation P1412
type Q34770
['Q2106273', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q2106273 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
James Matisoff
action filter_type
action find
entity James Matisoff
relation languages spoken, written or signed
type language
['James Matisoff', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:James_Matisoff property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q2106273,P1412,c(Q34770))
action filter_type
action find
entity Q2106273
relation P1412
type Q34770
[ANSWER] is James Matisoff capable of writing
['Q2106273', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q2106273 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
English
English is James Matisoff capable of writing
English
action filter_type
action find
entity James Matisoff
relation languages spoken, written or signed
type language
['James Matisoff', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:James_Matisoff property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2106273
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q1860,P19,c(Q56061))
action filter_type
action find
entity Q2106273
relation P19
type Q56061
['Q1860', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q2106273 property:P19 ?s . ?s rdf:type ontology:Q56061 }
James Matisoff
action filter_type
action find
entity James Matisoff
relation place of birth
type administrative territorial entity
['English', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:James_Matisoff property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100
SYSTEM
Boston
Q100
(Q1860,P19,c(Q56061))
action filter_type
action find
entity Q2106273
relation P19
type Q56061
That person was born in [ANSWER]
['Q1860', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q2106273 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Boston
That person was born in Boston
Boston
action filter_type
action find
entity James Matisoff
relation place of birth
type administrative territorial entity
['English', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:James_Matisoff property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P407
Q34770 Q14795564 Q2031291
USER
Which languages are min number of determinators for date of periodic occurrence and releases in ?
(c(Q14795564)|c(Q2031291),P407,c(Q34770))
action argmin
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
[[{'concept': 'Q14795564'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) ?i WHERE { VALUES ( ?s ) { ( ontology:Q2031291 ) ( ontology:Q14795564 ) } . ?x rdf:type ?s } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?w WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:Q14795564 ) ( ontology:Q2031291 ) } } GROUP BY ?w } . FILTER ( ?l = ?y ) }
action argmin
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
action find_reverse_tuple_counts
relation language of work or name
type language
type release
[[{'concept': 'determinator for date of periodic occurrence'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) ?i WHERE { VALUES ( ?s ) { ( ontology:release ) ( ontology:determinator_for_date_of_periodic_occurrence ) } . ?x rdf:type ?s } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?w WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:determinator_for_date_of_periodic_occurrence ) ( ontology:release ) } } GROUP BY ?w } . FILTER ( ?l = ?y ) }
[]
language determinator for date of periodic occurrence release
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q8752 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q14795564)|c(Q2031291),P407,c(Q34770))
action argmin
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
[ANSWERS] are min number of determinators for date of periodic occurrence and releases in
[[{'concept': 'Q14795564'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) ?i WHERE { VALUES ( ?s ) { ( ontology:Q2031291 ) ( ontology:Q14795564 ) } . ?x rdf:type ?s } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?w WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:Q14795564 ) ( ontology:Q2031291 ) } } GROUP BY ?w } . FILTER ( ?l = ?y ) }
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 Basque classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are min number of determinators for date of periodic occurrence and releases in
Old Egyptian Old Church Slavonic Etruscan
action argmin
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
action find_reverse_tuple_counts
relation language of work or name
type language
type release
[[{'concept': 'determinator for date of periodic occurrence'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) ?i WHERE { VALUES ( ?s ) { ( ontology:release ) ( ontology:determinator_for_date_of_periodic_occurrence ) } . ?x rdf:type ?s } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?w WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:determinator_for_date_of_periodic_occurrence ) ( ontology:release ) } } GROUP BY ?w } . FILTER ( ?l = ?y ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P364
Q34770 Q21114848
USER
Which languages are the original languages of creation of approximately 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 the original languages of creation of approximately 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 the original languages of creation of approximately 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 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q100
P504
Q2235308
USER
Which ship types have Boston as their base harbour ?
(c(Q2235308),P504,Q100)
action filter_type
action find_reverse
entity Q100
relation P504
type Q2235308
[{'concept': 'Q2235308'}, 'P504', 'Q100']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2235308 . ?c property:P504 resource:Q100 }
Boston
action filter_type
action find_reverse
entity Boston
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Boston']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:ship_type . ?c property:home_port resource:Boston }
[]
ship type
Q616488 Q2270033 Q7394059
SYSTEM
USS Leahy, United States lightship Nantucket, SS Minnesotan
Q3205880 Q7394059 Q1544341 Q2270033 Q616488 Q1751745 Q1278752 Q7394070
(c(Q2235308),P504,Q100)
action filter_type
action find_reverse
entity Q100
relation P504
type Q2235308
[ANSWERS] have Boston as their base harbour
[{'concept': 'Q2235308'}, 'P504', 'Q100']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2235308 . ?c property:P504 resource:Q100 }
L. A. Dunton SS Minnesotan Great Republic United States lightship Nantucket USS Leahy Thomas W. Lawson Joseph Conrad SS Montanan
USS Leahy, United States lightship Nantucket and SS Minnesotan have Boston as their base harbour
USS Leahy United States lightship Nantucket SS Minnesotan
action filter_type
action find_reverse
entity Boston
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Boston']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:ship_type . ?c property:home_port resource:Boston }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q616488 Q2270033 Q7394059
P504
Q56061
USER
Which administrative territories serve as the home port of those ship types ?
(Q616488,P504,c(Q56061)) (Q2270033,P504,c(Q56061)) (Q7394059,P504,c(Q56061))
action filter_type
action find
entity prev_answer
relation P504
type Q56061
['Q616488', 'P504', {'concept': 'Q56061'}] ['Q2270033', 'P504', {'concept': 'Q56061'}] ['Q7394059', 'P504', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?q property:P504 ?g . VALUES ( ?q ) { ( resource:Q3205880 ) ( resource:Q7394059 ) ( resource:Q1544341 ) } . ?g rdf:type ontology:Q56061 }
USS Leahy United States lightship Nantucket SS Minnesotan
action filter_type
action find
entity prev_answer
relation home port
type administrative territorial entity
['USS Leahy', 'home port', {'concept': 'administrative territorial entity'}] ['United States lightship Nantucket', 'home port', {'concept': 'administrative territorial entity'}] ['SS Minnesotan', 'home port', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?q property:home_port ?g . VALUES ( ?q ) { ( resource:L._A._Dunton ) ( resource:SS_Minnesotan ) ( resource:Great_Republic ) } . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100 Q100 Q100
SYSTEM
Boston
Q47716 Q100 Q100 Q100
(Q616488,P504,c(Q56061)) (Q2270033,P504,c(Q56061)) (Q7394059,P504,c(Q56061))
action filter_type
action find
entity prev_answer
relation P504
type Q56061
As [ANSWER], [ANSWER] and [ANSWER] serve as the home port of those ship types
['Q616488', 'P504', {'concept': 'Q56061'}] ['Q2270033', 'P504', {'concept': 'Q56061'}] ['Q7394059', 'P504', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?q property:P504 ?g . VALUES ( ?q ) { ( resource:Q3205880 ) ( resource:Q7394059 ) ( resource:Q1544341 ) } . ?g rdf:type ontology:Q56061 }
Charleston Boston Boston Boston
As Boston, Boston and Boston serve as the home port of those ship types
Boston Boston Boston
action filter_type
action find
entity prev_answer
relation home port
type administrative territorial entity
['USS Leahy', 'home port', {'concept': 'administrative territorial entity'}] ['United States lightship Nantucket', 'home port', {'concept': 'administrative territorial entity'}] ['SS Minnesotan', 'home port', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?q property:home_port ?g . VALUES ( ?q ) { ( resource:L._A._Dunton ) ( resource:SS_Minnesotan ) ( resource:Great_Republic ) } . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q100
P30
Q2221906
USER
Which geographic location is that administrative territory a part of ?
(Q100,P30,c(Q2221906)) (Q100,P30,c(Q2221906)) (Q100,P30,c(Q2221906))
action filter_type
action find
entity Q100
relation P30
type Q2221906
['Q100', 'P30', {'concept': 'Q2221906'}] ['Q100', 'P30', {'concept': 'Q2221906'}] ['Q100', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { resource:Q100 property:P30 ?b . ?b rdf:type ontology:Q2221906 }
Boston
action filter_type
action find
entity Boston
relation continent
type geographic location
['Boston', 'continent', {'concept': 'geographic location'}] ['Boston', 'continent', {'concept': 'geographic location'}] ['Boston', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { resource:Boston property:continent ?b . ?b rdf:type ontology:geographic_location }
[]
geographic location
Q49
SYSTEM
North America
Q49
(Q100,P30,c(Q2221906)) (Q100,P30,c(Q2221906)) (Q100,P30,c(Q2221906))
action filter_type
action find
entity Q100
relation P30
type Q2221906
The [ANSWER] is that administrative territory a part of
['Q100', 'P30', {'concept': 'Q2221906'}] ['Q100', 'P30', {'concept': 'Q2221906'}] ['Q100', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { resource:Q100 property:P30 ?b . ?b rdf:type ontology:Q2221906 }
North America
The North America is that administrative territory a part of
North America
action filter_type
action find
entity Boston
relation continent
type geographic location
['Boston', 'continent', {'concept': 'geographic location'}] ['Boston', 'continent', {'concept': 'geographic location'}] ['Boston', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { resource:Boston property:continent ?b . ?b rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P610
Q14524493
USER
How many terrains are the highest point of that geographic location ?
(Q49,P610,c(Q14524493))
action count
action filter_type
action find
entity Q49
relation P610
type Q14524493
['Q49', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q49 property:P610 ?h . ?h rdf:type ontology:Q14524493 }
action count
action filter_type
action find
entity North America
relation highest point
type terrain
['North America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:North_America property:highest_point ?h . ?h rdf:type ontology:terrain }
[]
terrain
SYSTEM
1
Q130018
(Q49,P610,c(Q14524493))
action count
action filter_type
action find
entity Q49
relation P610
type Q14524493
[ANSWER]
['Q49', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q49 property:P610 ?h . ?h rdf:type ontology:Q14524493 }
Denali
1
action count
action filter_type
action find
entity North America
relation highest point
type terrain
['North America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:North_America property:highest_point ?h . ?h rdf:type ontology:terrain }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1850 Q100
P206
Q355304
USER
Which watercourses are situated in the neighbourhood of Boston or Phnom Penh ?
OR((Q100,P206,c(Q355304)), (Q1850,P206,c(Q355304)))
action filter_type
action union
action find
entity Q100
relation P206
action find
entity Q1850
relation P206
type Q355304
{'OR': [['Q100', 'P206', {'concept': 'Q355304'}], ['Q1850', 'P206', {'concept': 'Q355304'}]]}
SELECT DISTINCT ?q WHERE { { ?s property:P206 ?q . VALUES ( ?s ) { ( resource:Q100 ) ( resource:Q1850 ) } } . ?q rdf:type ontology:Q355304 }
Phnom Penh Boston
action filter_type
action union
action find
entity Boston
relation located next to body of water
action find
entity Phnom Penh
relation located next to body of water
type watercourse
{'OR': [['Boston', 'located next to body of water', {'concept': 'watercourse'}], ['Phnom Penh', 'located next to body of water', {'concept': 'watercourse'}]]}
SELECT DISTINCT ?q WHERE { { ?s property:located_next_to_body_of_water ?q . VALUES ( ?s ) { ( resource:Boston ) ( resource:Phnom_Penh ) } } . ?q rdf:type ontology:watercourse }
[]
watercourse
Q1332459 Q1758000 Q794927 Q41179
SYSTEM
Neponset River, Mystic River, Charles River, Mekong River
Q1332459 Q1758000 Q794927 Q41179
OR((Q100,P206,c(Q355304)), (Q1850,P206,c(Q355304)))
action filter_type
action union
action find
entity Q100
relation P206
action find
entity Q1850
relation P206
type Q355304
[ANSWERS] are situated in the neighbourhood of Boston or Phnom Penh
{'OR': [['Q100', 'P206', {'concept': 'Q355304'}], ['Q1850', 'P206', {'concept': 'Q355304'}]]}
SELECT DISTINCT ?q WHERE { { ?s property:P206 ?q . VALUES ( ?s ) { ( resource:Q100 ) ( resource:Q1850 ) } } . ?q rdf:type ontology:Q355304 }
Neponset River Mystic River Charles River Mekong River
Neponset River, Mystic River, Charles River and Mekong River are situated in the neighbourhood of Boston or Phnom Penh
Neponset River Mystic River Charles River Mekong River
action filter_type
action union
action find
entity Boston
relation located next to body of water
action find
entity Phnom Penh
relation located next to body of water
type watercourse
{'OR': [['Boston', 'located next to body of water', {'concept': 'watercourse'}], ['Phnom Penh', 'located next to body of water', {'concept': 'watercourse'}]]}
SELECT DISTINCT ?q WHERE { { ?s property:located_next_to_body_of_water ?q . VALUES ( ?s ) { ( resource:Boston ) ( resource:Phnom_Penh ) } } . ?q rdf:type ontology:watercourse }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q397
P282
Q2001982 Q9779 Q34770
USER
Which languages utilizes greater number of notations and alphabets as the writing system than Latin ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q397
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q397 property:P282 ?t . { { ?t rdf:type ontology:Q2001982 } UNION { ?t rdf:type ontology:Q9779 } } } } . FILTER ( ?s > ?b ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?s ) WHERE { VALUES ( ?z ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?j rdf:type ?z } GROUP BY ?e } }
Latin
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Latin
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Latin property:writing_system ?t . { { ?t rdf:type ontology:notation } UNION { ?t rdf:type ontology:alphabet } } } } . FILTER ( ?s > ?b ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?s ) WHERE { VALUES ( ?z ) { ( ontology:notation ) ( ontology:alphabet ) } . ?j rdf:type ?z } GROUP BY ?e } }
[]
notation alphabet language
Q29572 Q182695 Q35499
SYSTEM
Avestan, Late Old Japanese, Old Church Slavonic
Q182695 Q29572 Q35470 Q13211 Q35499 Q33251 Q21161942 Q1639124 Q2705672 Q36795 Q20972034 Q36790 Q36751 Q36464 Q652
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q397
relation P282
type Q2001982
type Q9779
[ANSWERS] utilize greater number of notations and alphabets as the writing system than Latin
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q397 property:P282 ?t . { { ?t rdf:type ontology:Q2001982 } UNION { ?t rdf:type ontology:Q9779 } } } } . FILTER ( ?s > ?b ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?s ) WHERE { VALUES ( ?z ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?j rdf:type ?z } GROUP BY ?e } }
Late Old Japanese Avestan Elamite language Ruthenian Old Church Slavonic Church Slavonic Serbian written in Cyrillic Slavoserbian Paeonian language Tartessian Classic Greek Sumerian Phrygian language Nivkh language Italian
Avestan, Late Old Japanese and Old Church Slavonic utilize greater number of notations and alphabets as the writing system than Latin
Avestan Late Old Japanese Old Church Slavonic
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Latin
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Latin property:writing_system ?t . { { ?t rdf:type ontology:notation } UNION { ?t rdf:type ontology:alphabet } } } } . FILTER ( ?s > ?b ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?s ) WHERE { VALUES ( ?z ) { ( ontology:notation ) ( ontology:alphabet ) } . ?j rdf:type ?z } GROUP BY ?e } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q35668
P282
Q2001982 Q9779 Q34770
USER
And how about Hittite?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q35668
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Q35668 property:P282 ?z . { { ?z rdf:type ontology:Q2001982 } UNION { ?z rdf:type ontology:Q9779 } } } } . FILTER ( ?n > ?e ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?n ) WHERE { { ?h property:P282 ?u . ?h rdf:type ontology:Q34770 . ?u rdf:type ontology:Q2001982 } UNION { ?h property:P282 ?u . ?h rdf:type ontology:Q34770 . ?u rdf:type ontology:Q9779 } } GROUP BY ?h } }
Hittite
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Hittite
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Hittite property:writing_system ?z . { { ?z rdf:type ontology:notation } UNION { ?z rdf:type ontology:alphabet } } } } . FILTER ( ?n > ?e ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?n ) WHERE { { ?h property:writing_system ?u . ?h rdf:type ontology:language . ?u rdf:type ontology:notation } UNION { ?h property:writing_system ?u . ?h rdf:type ontology:language . ?u rdf:type ontology:alphabet } } GROUP BY ?h } }
[]
notation alphabet language
Q29572 Q182695 Q35499
SYSTEM
Avestan, Late Old Japanese, Old Church Slavonic
Q182695 Q29572 Q35470 Q13211 Q35499 Q33251 Q21161942 Q1639124 Q2705672 Q36795 Q20972034 Q36790 Q36751 Q36464 Q652
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q35668
relation P282
type Q2001982
type Q9779
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Q35668 property:P282 ?z . { { ?z rdf:type ontology:Q2001982 } UNION { ?z rdf:type ontology:Q9779 } } } } . FILTER ( ?n > ?e ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?n ) WHERE { { ?h property:P282 ?u . ?h rdf:type ontology:Q34770 . ?u rdf:type ontology:Q2001982 } UNION { ?h property:P282 ?u . ?h rdf:type ontology:Q34770 . ?u rdf:type ontology:Q9779 } } GROUP BY ?h } }
Late Old Japanese Avestan Elamite language Ruthenian Old Church Slavonic Church Slavonic Serbian written in Cyrillic Slavoserbian Paeonian language Tartessian Classic Greek Sumerian Phrygian language Nivkh language Italian
Avestan Late Old Japanese Old Church Slavonic
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Hittite
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Hittite property:writing_system ?z . { { ?z rdf:type ontology:notation } UNION { ?z rdf:type ontology:alphabet } } } } . FILTER ( ?n > ?e ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?n ) WHERE { { ?h property:writing_system ?u . ?h rdf:type ontology:language . ?u rdf:type ontology:notation } UNION { ?h property:writing_system ?u . ?h rdf:type ontology:language . ?u rdf:type ontology:alphabet } } GROUP BY ?h } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P407
Q34770 Q2031291 Q7725634
USER
Which languages are the languages of work for min number of releases or literary works ?
(c(Q2031291)|c(Q7725634),P407,c(Q34770))
action argmin
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?g ) { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?u ) WHERE { VALUES ( ?f ) { ( ontology:Q2031291 ) ( ontology:Q7725634 ) } . ?j rdf:type ?f } GROUP BY ?h } } . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?y ) WHERE { { ?i property:P407 ?e . ?e rdf:type ontology:Q34770 . ?i rdf:type ontology:Q7725634 } UNION { ?i property:P407 ?e . ?e rdf:type ontology:Q34770 . ?i rdf:type ontology:Q2031291 } } GROUP BY ?e } . FILTER ( ?y = ?g ) }
action argmin
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
[[{'concept': 'release'}, {'concept': 'literary work'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?g ) { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?u ) WHERE { VALUES ( ?f ) { ( ontology:release ) ( ontology:literary_work ) } . ?j rdf:type ?f } GROUP BY ?h } } . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?y ) WHERE { { ?i property:language_of_work_or_name ?e . ?e rdf:type ontology:language . ?i rdf:type ontology:literary_work } UNION { ?i property:language_of_work_or_name ?e . ?e rdf:type ontology:language . ?i rdf:type ontology:release } } GROUP BY ?e } . FILTER ( ?y = ?g ) }
[]
language release literary work
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q8752 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q2031291)|c(Q7725634),P407,c(Q34770))
action argmin
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
[ANSWERS] are the languages of work for min number of releases or literary works
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?g ) { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?u ) WHERE { VALUES ( ?f ) { ( ontology:Q2031291 ) ( ontology:Q7725634 ) } . ?j rdf:type ?f } GROUP BY ?h } } . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?y ) WHERE { { ?i property:P407 ?e . ?e rdf:type ontology:Q34770 . ?i rdf:type ontology:Q7725634 } UNION { ?i property:P407 ?e . ?e rdf:type ontology:Q34770 . ?i rdf:type ontology:Q2031291 } } GROUP BY ?e } . FILTER ( ?y = ?g ) }
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 Basque Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are the languages of work for min number of releases or literary works
Old Egyptian Old Church Slavonic Etruscan
action argmin
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
[[{'concept': 'release'}, {'concept': 'literary work'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?g ) { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?u ) WHERE { VALUES ( ?f ) { ( ontology:release ) ( ontology:literary_work ) } . ?j rdf:type ?f } GROUP BY ?h } } . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?y ) WHERE { { ?i property:language_of_work_or_name ?e . ?e rdf:type ontology:language . ?i rdf:type ontology:literary_work } UNION { ?i property:language_of_work_or_name ?e . ?e rdf:type ontology:language . ?i rdf:type ontology:release } } GROUP BY ?e } . FILTER ( ?y = ?g ) }
[]