Simple Question (Direct)
Simple Question
Q6259135
P39
Q12737077
USER
What was the position held by John Stewart, 7th Earl of Galloway ?
(Q6259135,P39,c(Q12737077))
action filter_type
action find
entity Q6259135
relation P39
type Q12737077
['Q6259135', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q6259135 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
John Stewart, 7th Earl of Galloway
action filter_type
action find
entity John Stewart, 7th Earl of Galloway
relation position held
type occupation
['John Stewart, 7th Earl of Galloway', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:John_Stewart,_7th_Earl_of_Galloway property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q18015642
SYSTEM
Member of Parliament in the Parliament of Great Britain
Q18015642
(Q6259135,P39,c(Q12737077))
action filter_type
action find
entity Q6259135
relation P39
type Q12737077
The position held by John Stewart , 7th Earl of Galloway was a [ANSWER]
['Q6259135', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q6259135 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Member of Parliament in the Parliament of Great Britain
The position held by John Stewart , 7th Earl of Galloway was a Member of Parliament in the Parliament of Great Britain
Member of Parliament in the Parliament of Great Britain
action filter_type
action find
entity John Stewart, 7th Earl of Galloway
relation position held
type occupation
['John Stewart, 7th Earl of Galloway', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:John_Stewart,_7th_Earl_of_Galloway property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6259135
P1412
Q34770
USER
Which language is spoken by that person ?
(Q18015642,P1412,c(Q34770))
action filter_type
action find
entity Q6259135
relation P1412
type Q34770
['Q18015642', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q6259135 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
John Stewart, 7th Earl of Galloway
action filter_type
action find
entity John Stewart, 7th Earl of Galloway
relation languages spoken, written or signed
type language
['Member of Parliament in the Parliament of Great Britain', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:John_Stewart,_7th_Earl_of_Galloway property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q18015642,P1412,c(Q34770))
action filter_type
action find
entity Q6259135
relation P1412
type Q34770
Are [ANSWER] is spoken by that person
['Q18015642', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q6259135 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
English
Are English is spoken by that person
English
action filter_type
action find
entity John Stewart, 7th Earl of Galloway
relation languages spoken, written or signed
type language
['Member of Parliament in the Parliament of Great Britain', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:John_Stewart,_7th_Earl_of_Galloway property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5729741 Q6259135
P1412
Q34770
USER
Or Blanca Apilánez?
OR((Q6259135,P1412,c(Q34770)), (Q5729741,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q6259135
relation P1412
action find
entity Q5729741
relation P1412
type Q34770
{'OR': [['Q6259135', 'P1412', {'concept': 'Q34770'}], ['Q5729741', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?w ) { ( resource:Q6259135 ) ( resource:Q5729741 ) } . ?w property:P1412 ?z } . ?z rdf:type ontology:Q34770 }
Blanca Apilánez John Stewart, 7th Earl of Galloway
action filter_type
action union
action find
entity John Stewart, 7th Earl of Galloway
relation languages spoken, written or signed
action find
entity Blanca Apilánez
relation languages spoken, written or signed
type language
{'OR': [['John Stewart, 7th Earl of Galloway', 'languages spoken, written or signed', {'concept': 'language'}], ['Blanca Apilánez', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?w ) { ( resource:John_Stewart,_7th_Earl_of_Galloway ) ( resource:Blanca_Apilánez ) } . ?w property:languages_spoken,_written_or_signed ?z } . ?z rdf:type ontology:language }
[]
language
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
OR((Q6259135,P1412,c(Q34770)), (Q5729741,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q6259135
relation P1412
action find
entity Q5729741
relation P1412
type Q34770
[ANSWERS]
{'OR': [['Q6259135', 'P1412', {'concept': 'Q34770'}], ['Q5729741', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?w ) { ( resource:Q6259135 ) ( resource:Q5729741 ) } . ?w property:P1412 ?z } . ?z rdf:type ontology:Q34770 }
English Spanish
English Spanish
action filter_type
action union
action find
entity John Stewart, 7th Earl of Galloway
relation languages spoken, written or signed
action find
entity Blanca Apilánez
relation languages spoken, written or signed
type language
{'OR': [['John Stewart, 7th Earl of Galloway', 'languages spoken, written or signed', {'concept': 'language'}], ['Blanca Apilánez', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?w ) { ( resource:John_Stewart,_7th_Earl_of_Galloway ) ( resource:Blanca_Apilánez ) } . ?w property:languages_spoken,_written_or_signed ?z } . ?z rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q27651331
P364
Q36649
USER
Are The Old Chateau known to be originally created in those ones language ?
(Q27651331,P364,Q1860) (Q27651331,P364,Q1321)
action is_in
entity prev_answer
action find
entity Q27651331
relation P364
['Q27651331', 'P364', 'Q1860'] ['Q27651331', 'P364', 'Q1321']
ASK WHERE { resource:Q27651331 property:P364 ?h . VALUES ( ?h ) { ( resource:Q1860 ) ( resource:Q1321 ) } }
The Old Chateau
action is_in
entity prev_answer
action find
entity The Old Chateau
relation original language of work
['The Old Chateau', 'original language of work', 'English'] ['The Old Chateau', 'original language of work', 'Spanish']
ASK WHERE { resource:The_Old_Chateau property:original_language_of_work ?h . VALUES ( ?h ) { ( resource:English ) ( resource:Spanish ) } }
[]
visual arts
SYSTEM
YES
(Q27651331,P364,Q1860) (Q27651331,P364,Q1321)
action is_in
entity prev_answer
action find
entity Q27651331
relation P364
[ANSWER]
['Q27651331', 'P364', 'Q1860'] ['Q27651331', 'P364', 'Q1321']
ASK WHERE { resource:Q27651331 property:P364 ?h . VALUES ( ?h ) { ( resource:Q1860 ) ( resource:Q1321 ) } }
Yes
action is_in
entity prev_answer
action find
entity The Old Chateau
relation original language of work
['The Old Chateau', 'original language of work', 'English'] ['The Old Chateau', 'original language of work', 'Spanish']
ASK WHERE { resource:The_Old_Chateau property:original_language_of_work ?h . VALUES ( ?h ) { ( resource:English ) ( resource:Spanish ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1860 Q3496128 Q4785927
P361
Q5962346
USER
Is English a portion of Shishumar-class submarine and Archer-class submarine ?
(Q1860,P361,Q3496128) (Q1860,P361,Q4785927)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q3496128
relation P361
action find_reverse
entity Q4785927
relation P361
['Q1860', 'P361', 'Q3496128'] ['Q1860', 'P361', 'Q4785927']
ASK WHERE { resource:Q1860 property:P361 resource:Q4785927 . resource:Q1860 property:P361 resource:Q3496128 }
English Shishumar-class submarine Archer-class submarine
action is_in
entity English
action intersection
action find_reverse
entity Shishumar-class submarine
relation part of
action find_reverse
entity Archer-class submarine
relation part of
['English', 'part of', 'Shishumar-class submarine'] ['English', 'part of', 'Archer-class submarine']
ASK WHERE { resource:English property:part_of resource:Archer-class_submarine . resource:English property:part_of resource:Shishumar-class_submarine }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q3496128) (Q1860,P361,Q4785927)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q3496128
relation P361
action find_reverse
entity Q4785927
relation P361
[ANSWER]
['Q1860', 'P361', 'Q3496128'] ['Q1860', 'P361', 'Q4785927']
ASK WHERE { resource:Q1860 property:P361 resource:Q4785927 . resource:Q1860 property:P361 resource:Q3496128 }
No
action is_in
entity English
action intersection
action find_reverse
entity Shishumar-class submarine
relation part of
action find_reverse
entity Archer-class submarine
relation part of
['English', 'part of', 'Shishumar-class submarine'] ['English', 'part of', 'Archer-class submarine']
ASK WHERE { resource:English property:part_of resource:Archer-class_submarine . resource:English property:part_of resource:Shishumar-class_submarine }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1089000
P282
Q2001982 Q34770
USER
Which notations are used as the alphabet set for approximately the same number of languages as Sarati ?
(c(Q34770),P282,c(Q2001982))
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q1089000
relation P282
type Q2001982
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:P282 ?p . ?p rdf:type ontology:Q2001982 . ?e rdf:type ontology:Q34770 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Q1089000 property:P282 ?b . ?b rdf:type ontology:Q2001982 } } . FILTER ( ?v = ?m ) }
Sarati
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Sarati
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:writing_system ?p . ?p rdf:type ontology:notation . ?e rdf:type ontology:language } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Sarati property:writing_system ?b . ?b rdf:type ontology:notation } } . FILTER ( ?v = ?m ) }
[]
notation language
Q2003257 Q473725 Q1089000
SYSTEM
Cirth, Tengwar, Sarati
Q3544702 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q26978 Q1089000 Q752854 Q185083 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q1089000
relation P282
type Q2001982
[ANSWERS] are used as the alphabet set for approximately the same number of languages as Sarati
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:P282 ?p . ?p rdf:type ontology:Q2001982 . ?e rdf:type ontology:Q34770 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Q1089000 property:P282 ?b . ?b rdf:type ontology:Q2001982 } } . FILTER ( ?v = ?m ) }
Manichaean alphabet Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Aramaic alphabet Sarati Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
Cirth, Tengwar and Sarati are used as the alphabet set for approximately the same number of languages as Sarati
Cirth Tengwar Sarati
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Sarati
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?v ) WHERE { ?e property:writing_system ?p . ?p rdf:type ontology:notation . ?e rdf:type ontology:language } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Sarati property:writing_system ?b . ?b rdf:type ontology:notation } } . FILTER ( ?v = ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q26978
P282
Q2001982 Q34770
USER
And what about Aramaic alphabet?
(c(Q34770),P282,c(Q2001982))
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q26978
relation P282
type Q2001982
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P282 ?y . ?y rdf:type ontology:Q2001982 . ?s rdf:type ontology:Q34770 } GROUP BY ?y } . FILTER ( ?o = ?w ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ontology:Q2001982 . resource:Q26978 property:P282 ?l } } }
Aramaic alphabet
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Aramaic alphabet
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:writing_system ?y . ?y rdf:type ontology:notation . ?s rdf:type ontology:language } GROUP BY ?y } . FILTER ( ?o = ?w ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ontology:notation . resource:Aramaic_alphabet property:writing_system ?l } } }
[]
notation language
Q2003257 Q473725 Q1089000
SYSTEM
Cirth, Tengwar, Sarati
Q3544702 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q26978 Q1089000 Q752854 Q185083 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q26978
relation P282
type Q2001982
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P282 ?y . ?y rdf:type ontology:Q2001982 . ?s rdf:type ontology:Q34770 } GROUP BY ?y } . FILTER ( ?o = ?w ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ontology:Q2001982 . resource:Q26978 property:P282 ?l } } }
Manichaean alphabet Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Aramaic alphabet Sarati Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
Cirth Tengwar Sarati
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Aramaic alphabet
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:writing_system ?y . ?y rdf:type ontology:notation . ?s rdf:type ontology:language } GROUP BY ?y } . FILTER ( ?o = ?w ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ontology:notation . resource:Aramaic_alphabet property:writing_system ?l } } }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q20968078
Q571
USER
And how about A Historical and Descriptive Narrative of twenty years' residence in South America?
(Q20968078,P629,c(Q571))
action count
action filter_type
action find
entity Q20968078
relation P629
type Q571
['Q20968078', 'P629', {'concept': 'Q571'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q20968078 property:P629 ?z . ?z rdf:type ontology:Q571 }
A Historical and Descriptive Narrative of twenty years' residence in South America
action count
action filter_type
action find
entity A Historical and Descriptive Narrative of twenty years' residence in South America
relation edition or translation of
type book
["A Historical and Descriptive Narrative of twenty years' residence in South America", 'edition or translation of', {'concept': 'book'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:A_Historical_and_Descriptive_Narrative_of_twenty_years'_residence_in_South_America property:edition_or_translation_of ?z . ?z rdf:type ontology:book }
[]
book
SYSTEM
1
(Q20968078,P629,c(Q571))
action count
action filter_type
action find
entity Q20968078
relation P629
type Q571
[ANSWER]
['Q20968078', 'P629', {'concept': 'Q571'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q20968078 property:P629 ?z . ?z rdf:type ontology:Q571 }
1
action count
action filter_type
action find
entity A Historical and Descriptive Narrative of twenty years' residence in South America
relation edition or translation of
type book
["A Historical and Descriptive Narrative of twenty years' residence in South America", 'edition or translation of', {'concept': 'book'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:A_Historical_and_Descriptive_Narrative_of_twenty_years'_residence_in_South_America property:edition_or_translation_of ?z . ?z rdf:type ontology:book }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q447117
P282
Q9779 Q8192 Q34770
USER
How many languages use greater number of alphabets or writing systems as the writing system than Old Egyptian ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q447117
relation P282
type Q9779
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?s WHERE { { ?s property:P282 ?a . ?s rdf:type ontology:Q34770 . ?a rdf:type ontology:Q9779 } UNION { ?s property:P282 ?a . ?s rdf:type ontology:Q34770 . ?a rdf:type ontology:Q8192 } } GROUP BY ?s } . FILTER ( ?q > ?u ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Q447117 property:P282 ?g . { VALUES ( ?r ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } . ?g rdf:type ?r } } } }
Old Egyptian
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Old Egyptian
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?s WHERE { { ?s property:writing_system ?a . ?s rdf:type ontology:language . ?a rdf:type ontology:alphabet } UNION { ?s property:writing_system ?a . ?s rdf:type ontology:language . ?a rdf:type ontology:writing_system } } GROUP BY ?s } . FILTER ( ?q > ?u ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Old_Egyptian property:writing_system ?g . { VALUES ( ?r ) { ( ontology:alphabet ) ( ontology:writing_system ) } . ?g rdf:type ?r } } } }
[]
alphabet writing system language
SYSTEM
9
Q182695 Q13211 Q35499 Q1669994 Q33251 Q21161942 Q1639124 Q36464 Q652
(c(Q34770),P282,c(Q9779)|c(Q8192))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q447117
relation P282
type Q9779
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?s WHERE { { ?s property:P282 ?a . ?s rdf:type ontology:Q34770 . ?a rdf:type ontology:Q9779 } UNION { ?s property:P282 ?a . ?s rdf:type ontology:Q34770 . ?a rdf:type ontology:Q8192 } } GROUP BY ?s } . FILTER ( ?q > ?u ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Q447117 property:P282 ?g . { VALUES ( ?r ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } . ?g rdf:type ?r } } } }
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 alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Old Egyptian
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?s WHERE { { ?s property:writing_system ?a . ?s rdf:type ontology:language . ?a rdf:type ontology:alphabet } UNION { ?s property:writing_system ?a . ?s rdf:type ontology:language . ?a rdf:type ontology:writing_system } } GROUP BY ?s } . FILTER ( ?q > ?u ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Old_Egyptian property:writing_system ?g . { VALUES ( ?r ) { ( ontology:alphabet ) ( ontology:writing_system ) } . ?g rdf:type ?r } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q35668
P282
Q9779 Q8192 Q34770
USER
And also tell me about Hittite?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q35668
relation P282
type Q9779
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?z WHERE { { ?z property:P282 ?c . ?z rdf:type ontology:Q34770 . ?c rdf:type ontology:Q8192 } UNION { ?z rdf:type ontology:Q34770 . ?c rdf:type ontology:Q9779 . ?z property:P282 ?c } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q35668 property:P282 ?h . { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } } } } . FILTER ( ?t > ?q ) }
Hittite
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Hittite
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?z WHERE { { ?z property:writing_system ?c . ?z rdf:type ontology:language . ?c rdf:type ontology:writing_system } UNION { ?z rdf:type ontology:language . ?c rdf:type ontology:alphabet . ?z property:writing_system ?c } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Hittite property:writing_system ?h . { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:alphabet ) ( ontology:writing_system ) } } } } . FILTER ( ?t > ?q ) }
[]
alphabet writing system language
SYSTEM
9
Q182695 Q13211 Q35499 Q1669994 Q33251 Q21161942 Q1639124 Q36464 Q652
(c(Q34770),P282,c(Q9779)|c(Q8192))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q35668
relation P282
type Q9779
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?z WHERE { { ?z property:P282 ?c . ?z rdf:type ontology:Q34770 . ?c rdf:type ontology:Q8192 } UNION { ?z rdf:type ontology:Q34770 . ?c rdf:type ontology:Q9779 . ?z property:P282 ?c } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q35668 property:P282 ?h . { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } } } } . FILTER ( ?t > ?q ) }
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 alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Hittite
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?z WHERE { { ?z property:writing_system ?c . ?z rdf:type ontology:language . ?c rdf:type ontology:writing_system } UNION { ?z rdf:type ontology:language . ?c rdf:type ontology:alphabet . ?z property:writing_system ?c } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Hittite property:writing_system ?h . { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:alphabet ) ( ontology:writing_system ) } } } } . FILTER ( ?t > ?q ) }
[]