Simple Question (Direct)
Simple Question
Q6451303
P734
Q82799
USER
Who is associated with Kyle Miller ?
(Q6451303,P734,c(Q82799))
action filter_type
action find
entity Q6451303
relation P734
type Q82799
['Q6451303', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q6451303 property:P734 ?l }
Kyle Miller
action filter_type
action find
entity Kyle Miller
relation family name
type name
['Kyle Miller', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Kyle_Miller property:family_name ?l }
[]
name
Q1605060
SYSTEM
Miller
Q1605060
(Q6451303,P734,c(Q82799))
action filter_type
action find
entity Q6451303
relation P734
type Q82799
Kyle [ANSWER] is associated with Kyle [ANSWER]
['Q6451303', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q6451303 property:P734 ?l }
Miller
Kyle Miller is associated with Kyle Miller
Miller
action filter_type
action find
entity Kyle Miller
relation family name
type name
['Kyle Miller', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Kyle_Miller property:family_name ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1605060
P1533
Q82799
USER
Which name is the same as that one ?
(c(Q82799),P1533,Q1605060)
action filter_type
action find_reverse
entity Q1605060
relation P1533
type Q82799
[{'concept': 'Q82799'}, 'P1533', 'Q1605060']
SELECT DISTINCT ?p WHERE { ?p property:P1533 resource:Q1605060 . ?p rdf:type ontology:Q82799 }
Miller
action filter_type
action find_reverse
entity Miller
relation family name identical to this first name
type name
[{'concept': 'name'}, 'family name identical to this first name', 'Miller']
SELECT DISTINCT ?p WHERE { ?p property:family_name_identical_to_this_first_name resource:Miller . ?p rdf:type ontology:name }
[]
name
Q19813043
SYSTEM
Miller
Q19813043
(c(Q82799),P1533,Q1605060)
action filter_type
action find_reverse
entity Q1605060
relation P1533
type Q82799
[ANSWER] is the same as that one
[{'concept': 'Q82799'}, 'P1533', 'Q1605060']
SELECT DISTINCT ?p WHERE { ?p property:P1533 resource:Q1605060 . ?p rdf:type ontology:Q82799 }
Miller
Miller is the same as that one
Miller
action filter_type
action find_reverse
entity Miller
relation family name identical to this first name
type name
[{'concept': 'name'}, 'family name identical to this first name', 'Miller']
SELECT DISTINCT ?p WHERE { ?p property:family_name_identical_to_this_first_name resource:Miller . ?p rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7369
P180
Q82799 Q838948 Q11060274
USER
How many names are expressed in less number of works of art and prints than dolphin ?
(c(Q838948)|c(Q11060274),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q7369
relation P180
type Q838948
type Q11060274
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?p ) WHERE { { ?m property:P180 ?a . ?m rdf:type ontology:Q11060274 . ?a rdf:type ontology:Q82799 } UNION { ?m property:P180 ?a . ?m rdf:type ontology:Q838948 . ?a rdf:type ontology:Q82799 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P180 resource:Q7369 . { { ?i rdf:type ontology:Q838948 } UNION { ?i rdf:type ontology:Q11060274 } } } } . FILTER ( ?p < ?n ) }
dolphin
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type print
action count
action filter_multi_types
action find_reverse
entity dolphin
relation depicts
type work of art
type print
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?p ) WHERE { { ?m property:depicts ?a . ?m rdf:type ontology:print . ?a rdf:type ontology:name } UNION { ?m property:depicts ?a . ?m rdf:type ontology:work_of_art . ?a rdf:type ontology:name } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:depicts resource:dolphin . { { ?i rdf:type ontology:work_of_art } UNION { ?i rdf:type ontology:print } } } } . FILTER ( ?p < ?n ) }
[]
name work of art print
SYSTEM
47
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q5070208 Q859257 Q10968813
(c(Q838948)|c(Q11060274),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q7369
relation P180
type Q838948
type Q11060274
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?p ) WHERE { { ?m property:P180 ?a . ?m rdf:type ontology:Q11060274 . ?a rdf:type ontology:Q82799 } UNION { ?m property:P180 ?a . ?m rdf:type ontology:Q838948 . ?a rdf:type ontology:Q82799 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P180 resource:Q7369 . { { ?i rdf:type ontology:Q838948 } UNION { ?i rdf:type ontology:Q11060274 } } } } . FILTER ( ?p < ?n ) }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp kangaroo fly jay
47
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type print
action count
action filter_multi_types
action find_reverse
entity dolphin
relation depicts
type work of art
type print
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?p ) WHERE { { ?m property:depicts ?a . ?m rdf:type ontology:print . ?a rdf:type ontology:name } UNION { ?m property:depicts ?a . ?m rdf:type ontology:work_of_art . ?a rdf:type ontology:name } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:depicts resource:dolphin . { { ?i rdf:type ontology:work_of_art } UNION { ?i rdf:type ontology:print } } } } . FILTER ( ?p < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q35505
P407
Q34770 Q82799
USER
Which languages are lesser number of names composed in than Old Norse language ?
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q35505
relation P407
type Q82799
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:P407 resource:Q35505 . ?n rdf:type ontology:Q82799 } } . FILTER ( ?q < ?e ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?q ) WHERE { ?k rdf:type ontology:Q34770 . ?d rdf:type ontology:Q82799 . ?d property:P407 ?k } GROUP BY ?k } }
Old Norse language
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Old Norse language
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:language_of_work_or_name resource:Old_Norse_language . ?n rdf:type ontology:name } } . FILTER ( ?q < ?e ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?q ) WHERE { ?k rdf:type ontology:language . ?d rdf:type ontology:name . ?d property:language_of_work_or_name ?k } GROUP BY ?k } }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q37041 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q35505
relation P407
type Q82799
[ANSWERS] are lesser number of names composed in than Old Norse language
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:P407 resource:Q35505 . ?n rdf:type ontology:Q82799 } } . FILTER ( ?q < ?e ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?q ) WHERE { ?k rdf:type ontology:Q34770 . ?d rdf:type ontology:Q82799 . ?d property:P407 ?k } GROUP BY ?k } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse classical Chinese Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are lesser number of names composed in than Old Norse language
Old Egyptian Old Church Slavonic Etruscan
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Old Norse language
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:language_of_work_or_name resource:Old_Norse_language . ?n rdf:type ontology:name } } . FILTER ( ?q < ?e ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?q ) WHERE { ?k rdf:type ontology:language . ?d rdf:type ontology:name . ?d property:language_of_work_or_name ?k } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35497
P282
Q3241972
USER
Which character is used as the script for ancient Greek ?
(Q35497,P282,c(Q3241972))
action filter_type
action find
entity Q35497
relation P282
type Q3241972
['Q35497', 'P282', {'concept': 'Q3241972'}]
SELECT DISTINCT ?g WHERE { resource:Q35497 property:P282 ?g . ?g rdf:type ontology:Q3241972 }
ancient Greek
action filter_type
action find
entity ancient Greek
relation writing system
type character
['ancient Greek', 'writing system', {'concept': 'character'}]
SELECT DISTINCT ?g WHERE { resource:ancient_Greek property:writing_system ?g . ?g rdf:type ontology:character }
[]
character
Q1475332
SYSTEM
Greek diacritics
Q1475332
(Q35497,P282,c(Q3241972))
action filter_type
action find
entity Q35497
relation P282
type Q3241972
[ANSWER] is used as the script for ancient Greek
['Q35497', 'P282', {'concept': 'Q3241972'}]
SELECT DISTINCT ?g WHERE { resource:Q35497 property:P282 ?g . ?g rdf:type ontology:Q3241972 }
Greek diacritics
Greek diacritics is used as the script for ancient Greek
Greek diacritics
action filter_type
action find
entity ancient Greek
relation writing system
type character
['ancient Greek', 'writing system', {'concept': 'character'}]
SELECT DISTINCT ?g WHERE { resource:ancient_Greek property:writing_system ?g . ?g rdf:type ontology:character }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1669994
Q3241972
USER
And what about Minoan language?
(Q1669994,P282,c(Q3241972))
action filter_type
action find
entity Q1669994
relation P282
type Q3241972
['Q1669994', 'P282', {'concept': 'Q3241972'}]
SELECT DISTINCT ?u WHERE { resource:Q1669994 property:P282 ?u . ?u rdf:type ontology:Q3241972 }
Minoan language
action filter_type
action find
entity Minoan language
relation writing system
type character
['Minoan language', 'writing system', {'concept': 'character'}]
SELECT DISTINCT ?u WHERE { resource:Minoan_language property:writing_system ?u . ?u rdf:type ontology:character }
[]
character
Q966893
SYSTEM
Cretan hieroglyphs
Q966893
(Q1669994,P282,c(Q3241972))
action filter_type
action find
entity Q1669994
relation P282
type Q3241972
[ANSWER]
['Q1669994', 'P282', {'concept': 'Q3241972'}]
SELECT DISTINCT ?u WHERE { resource:Q1669994 property:P282 ?u . ?u rdf:type ontology:Q3241972 }
Cretan hieroglyphs
Cretan hieroglyphs
action filter_type
action find
entity Minoan language
relation writing system
type character
['Minoan language', 'writing system', {'concept': 'character'}]
SELECT DISTINCT ?u WHERE { resource:Minoan_language property:writing_system ?u . ?u rdf:type ontology:character }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q966893 Q16568110
P61
Q502895
USER
Did Julio César Franco discover or invented that character ?
(Q966893,P61,Q16568110)
action is_in
entity Q16568110
action find
entity Q966893
relation P61
['Q966893', 'P61', 'Q16568110']
ASK WHERE { resource:Q966893 property:P61 resource:Q16568110 }
Cretan hieroglyphs Julio César Franco
action is_in
entity Julio César Franco
action find
entity Cretan hieroglyphs
relation discoverer or inventor
['Cretan hieroglyphs', 'discoverer or inventor', 'Julio César Franco']
ASK WHERE { resource:Cretan_hieroglyphs property:discoverer_or_inventor resource:Julio_César_Franco }
[]
common name
SYSTEM
NO
(Q966893,P61,Q16568110)
action is_in
entity Q16568110
action find
entity Q966893
relation P61
[ANSWER]
['Q966893', 'P61', 'Q16568110']
ASK WHERE { resource:Q966893 property:P61 resource:Q16568110 }
No
action is_in
entity Julio César Franco
action find
entity Cretan hieroglyphs
relation discoverer or inventor
['Cretan hieroglyphs', 'discoverer or inventor', 'Julio César Franco']
ASK WHERE { resource:Cretan_hieroglyphs property:discoverer_or_inventor resource:Julio_César_Franco }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q966893
P282
Q34770
USER
How many languages have writing system as Cretan hieroglyphs ?
(c(Q34770),P282,Q966893)
action count
action filter_type
action find_reverse
entity Q966893
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', 'Q966893']
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:P282 resource:Q966893 . ?n rdf:type ontology:Q34770 }
Cretan hieroglyphs
action count
action filter_type
action find_reverse
entity Cretan hieroglyphs
relation writing system
type language
[{'concept': 'language'}, 'writing system', 'Cretan hieroglyphs']
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:writing_system resource:Cretan_hieroglyphs . ?n rdf:type ontology:language }
[]
language
SYSTEM
1
Q1669994
(c(Q34770),P282,Q966893)
action count
action filter_type
action find_reverse
entity Q966893
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', 'Q966893']
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:P282 resource:Q966893 . ?n rdf:type ontology:Q34770 }
Minoan language
1
action count
action filter_type
action find_reverse
entity Cretan hieroglyphs
relation writing system
type language
[{'concept': 'language'}, 'writing system', 'Cretan hieroglyphs']
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:writing_system resource:Cretan_hieroglyphs . ?n rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q21161949
P282
Q8192 Q9779 Q34770
USER
How many languages utilizes more number of writing systems and alphabets as the writing system than Serbian written in Latin script ?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q21161949
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?u ) WHERE { VALUES ( ?v ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?c rdf:type ?v } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q21161949 property:P282 ?r . { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } } } } . FILTER ( ?u > ?n ) }
Serbian written in Latin script
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Serbian written in Latin script
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?u ) WHERE { VALUES ( ?v ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?c rdf:type ?v } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Serbian_written_in_Latin_script property:writing_system ?r . { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:alphabet ) ( ontology:writing_system ) } } } } . FILTER ( ?u > ?n ) }
[]
writing system alphabet language
SYSTEM
9
Q182695 Q13211 Q35499 Q1669994 Q33251 Q21161942 Q1639124 Q36464 Q652
(c(Q34770),P282,c(Q8192)|c(Q9779))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q21161949
relation P282
type Q8192
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?u ) WHERE { VALUES ( ?v ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?c rdf:type ?v } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q21161949 property:P282 ?r . { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } } } } . FILTER ( ?u > ?n ) }
Late Old Japanese Ruthenian Old Church Slavonic Minoan language Church Slavonic Serbian written in Cyrillic Slavoserbian Nivkh language Italian
9
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Serbian written in Latin script
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?u ) WHERE { VALUES ( ?v ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?c rdf:type ?v } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Serbian_written_in_Latin_script property:writing_system ?r . { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:alphabet ) ( ontology:writing_system ) } } } } . FILTER ( ?u > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1860
P282
Q8192 Q9779 Q34770
USER
And what about English?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) ?o WHERE { { ?o property:P282 ?e . ?o rdf:type ontology:Q34770 . ?e rdf:type ontology:Q8192 } UNION { ?o property:P282 ?e . ?o rdf:type ontology:Q34770 . ?e rdf:type ontology:Q9779 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Q1860 property:P282 ?d . { { ?d rdf:type ontology:Q8192 } UNION { ?d rdf:type ontology:Q9779 } } } } . FILTER ( ?i > ?j ) }
English
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity English
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) ?o WHERE { { ?o property:writing_system ?e . ?o rdf:type ontology:language . ?e rdf:type ontology:writing_system } UNION { ?o property:writing_system ?e . ?o rdf:type ontology:language . ?e rdf:type ontology:alphabet } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:English property:writing_system ?d . { { ?d rdf:type ontology:writing_system } UNION { ?d rdf:type ontology:alphabet } } } } . FILTER ( ?i > ?j ) }
[]
writing system alphabet language
SYSTEM
9
Q182695 Q13211 Q35499 Q1669994 Q33251 Q21161942 Q1639124 Q36464 Q652
(c(Q34770),P282,c(Q8192)|c(Q9779))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q8192
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) ?o WHERE { { ?o property:P282 ?e . ?o rdf:type ontology:Q34770 . ?e rdf:type ontology:Q8192 } UNION { ?o property:P282 ?e . ?o rdf:type ontology:Q34770 . ?e rdf:type ontology:Q9779 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Q1860 property:P282 ?d . { { ?d rdf:type ontology:Q8192 } UNION { ?d rdf:type ontology:Q9779 } } } } . FILTER ( ?i > ?j ) }
Late Old Japanese Ruthenian Old Church Slavonic Minoan language Church Slavonic Serbian written in Cyrillic Slavoserbian Nivkh language Italian
9
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity English
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) ?o WHERE { { ?o property:writing_system ?e . ?o rdf:type ontology:language . ?e rdf:type ontology:writing_system } UNION { ?o property:writing_system ?e . ?o rdf:type ontology:language . ?e rdf:type ontology:alphabet } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:English property:writing_system ?d . { { ?d rdf:type ontology:writing_system } UNION { ?d rdf:type ontology:alphabet } } } } . FILTER ( ?i > ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q570450
P361
Q8192 Q3241972
USER
Which writing systems are more number of characters a part of than Telugu script ?
(c(Q3241972),P361,c(Q8192))
action greater
action find_reverse_tuple_counts
relation P361
type Q8192
type Q3241972
action count
action filter_type
action find
entity Q570450
relation P361
type Q8192
[{'concept': 'Q3241972'}, 'P361', {'concept': 'Q8192'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P361 ?h . ?z rdf:type ontology:Q3241972 . ?h rdf:type ontology:Q8192 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q570450 property:P361 ?x . ?x rdf:type ontology:Q8192 } } . FILTER ( ?r > ?s ) }
Telugu script
action greater
action find_reverse_tuple_counts
relation part of
type writing system
type character
action count
action filter_type
action find
entity Telugu script
relation part of
type writing system
[{'concept': 'character'}, 'part of', {'concept': 'writing system'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:part_of ?h . ?z rdf:type ontology:character . ?h rdf:type ontology:writing_system } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Telugu_script property:part_of ?x . ?x rdf:type ontology:writing_system } } . FILTER ( ?r > ?s ) }
[]
writing system character
Q756802 Q26803 Q38592
SYSTEM
Bengali alphabet, Tamil script, Devanagari
Q756802 Q26803 Q38592
(c(Q3241972),P361,c(Q8192))
action greater
action find_reverse_tuple_counts
relation P361
type Q8192
type Q3241972
action count
action filter_type
action find
entity Q570450
relation P361
type Q8192
[ANSWERS] are more number of characters a part of than Telugu script
[{'concept': 'Q3241972'}, 'P361', {'concept': 'Q8192'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P361 ?h . ?z rdf:type ontology:Q3241972 . ?h rdf:type ontology:Q8192 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q570450 property:P361 ?x . ?x rdf:type ontology:Q8192 } } . FILTER ( ?r > ?s ) }
Bengali alphabet Tamil script Devanagari
Bengali alphabet, Tamil script and Devanagari are more number of characters a part of than Telugu script
Bengali alphabet Tamil script Devanagari
action greater
action find_reverse_tuple_counts
relation part of
type writing system
type character
action count
action filter_type
action find
entity Telugu script
relation part of
type writing system
[{'concept': 'character'}, 'part of', {'concept': 'writing system'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:part_of ?h . ?z rdf:type ontology:character . ?h rdf:type ontology:writing_system } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Telugu_script property:part_of ?x . ?x rdf:type ontology:writing_system } } . FILTER ( ?r > ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q48332
P361
Q8192 Q3241972
USER
And also tell me about hiragana?
(c(Q3241972),P361,c(Q8192))
action greater
action find_reverse_tuple_counts
relation P361
type Q8192
type Q3241972
action count
action filter_type
action find
entity Q48332
relation P361
type Q8192
[{'concept': 'Q3241972'}, 'P361', {'concept': 'Q8192'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P361 ?t . ?t rdf:type ontology:Q8192 . ?y rdf:type ontology:Q3241972 } GROUP BY ?t } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q48332 property:P361 ?f . ?f rdf:type ontology:Q8192 } } }
hiragana
action greater
action find_reverse_tuple_counts
relation part of
type writing system
type character
action count
action filter_type
action find
entity hiragana
relation part of
type writing system
[{'concept': 'character'}, 'part of', {'concept': 'writing system'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:part_of ?t . ?t rdf:type ontology:writing_system . ?y rdf:type ontology:character } GROUP BY ?t } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:hiragana property:part_of ?f . ?f rdf:type ontology:writing_system } } }
[]
writing system character
Q756802 Q839666 Q257634
SYSTEM
Bengali alphabet, Kannada alphabet, Ge'ez script
Q756802 Q839666 Q257634 Q1760127 Q26803 Q570450 Q38592
(c(Q3241972),P361,c(Q8192))
action greater
action find_reverse_tuple_counts
relation P361
type Q8192
type Q3241972
action count
action filter_type
action find
entity Q48332
relation P361
type Q8192
[ANSWERS]
[{'concept': 'Q3241972'}, 'P361', {'concept': 'Q8192'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P361 ?t . ?t rdf:type ontology:Q8192 . ?y rdf:type ontology:Q3241972 } GROUP BY ?t } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q48332 property:P361 ?f . ?f rdf:type ontology:Q8192 } } }
Bengali alphabet Kannada alphabet Ge'ez script Oriya alphabet Tamil script Telugu script Devanagari
Bengali alphabet Kannada alphabet Ge'ez script
action greater
action find_reverse_tuple_counts
relation part of
type writing system
type character
action count
action filter_type
action find
entity hiragana
relation part of
type writing system
[{'concept': 'character'}, 'part of', {'concept': 'writing system'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:part_of ?t . ?t rdf:type ontology:writing_system . ?y rdf:type ontology:character } GROUP BY ?t } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:hiragana property:part_of ?f . ?f rdf:type ontology:writing_system } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q565110
P2439
Q25295 Q8192
USER
How many language families are linked with lesser number of writing systems than Northern Thai ?
(c(Q8192),P2439,c(Q25295))
action count
action less
action find_reverse_tuple_counts
relation P2439
type Q25295
type Q8192
action count
action filter_type
action find_reverse
entity Q565110
relation P2439
type Q8192
[{'concept': 'Q8192'}, 'P2439', {'concept': 'Q25295'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P2439 ?v . ?r rdf:type ontology:Q8192 . ?v rdf:type ontology:Q25295 } GROUP BY ?v } . FILTER ( ?h < ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n rdf:type ontology:Q8192 . ?n property:P2439 resource:Q565110 } } }
Northern Thai
action count
action less
action find_reverse_tuple_counts
relation language
type language family
type writing system
action count
action filter_type
action find_reverse
entity Northern Thai
relation language
type writing system
[{'concept': 'writing system'}, 'language', {'concept': 'language family'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:language ?v . ?r rdf:type ontology:writing_system . ?v rdf:type ontology:language_family } GROUP BY ?v } . FILTER ( ?h < ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n rdf:type ontology:writing_system . ?n property:language resource:Northern_Thai } } }
[]
language family writing system
SYSTEM
4
Q9288 Q35518 Q33491 Q28244
(c(Q8192),P2439,c(Q25295))
action count
action less
action find_reverse_tuple_counts
relation P2439
type Q25295
type Q8192
action count
action filter_type
action find_reverse
entity Q565110
relation P2439
type Q8192
[ANSWER]
[{'concept': 'Q8192'}, 'P2439', {'concept': 'Q25295'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P2439 ?v . ?r rdf:type ontology:Q8192 . ?v rdf:type ontology:Q25295 } GROUP BY ?v } . FILTER ( ?h < ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n rdf:type ontology:Q8192 . ?n property:P2439 resource:Q565110 } } }
Hebrew Akkadian Haitian Creole Amharic
4
action count
action less
action find_reverse_tuple_counts
relation language
type language family
type writing system
action count
action filter_type
action find_reverse
entity Northern Thai
relation language
type writing system
[{'concept': 'writing system'}, 'language', {'concept': 'language family'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:language ?v . ?r rdf:type ontology:writing_system . ?v rdf:type ontology:language_family } GROUP BY ?v } . FILTER ( ?h < ?u ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n rdf:type ontology:writing_system . ?n property:language resource:Northern_Thai } } }
[]