Simple Question (Direct)
Simple Question
Q711015
P21
Q290
USER
Which sex does Mike Vallely possess ?
(Q711015,P21,c(Q290))
action filter_type
action find
entity Q711015
relation P21
type Q290
['Q711015', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q711015 property:P21 ?q . ?q rdf:type ontology:Q290 }
Mike Vallely
action filter_type
action find
entity Mike Vallely
relation gender
type sex
['Mike Vallely', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Mike_Vallely property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q711015,P21,c(Q290))
action filter_type
action find
entity Q711015
relation P21
type Q290
Mike Vallely possesses un [ANSWER]
['Q711015', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q711015 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Mike Vallely possesses un male
male
action filter_type
action find
entity Mike Vallely
relation gender
type sex
['Mike Vallely', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Mike_Vallely property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q711015
P112
Q43229
USER
Which organization was established by Mike Vallely ?
(c(Q43229),P112,Q711015)
action filter_type
action find_reverse
entity Q711015
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q711015']
SELECT DISTINCT ?k WHERE { ?k property:P112 resource:Q711015 . ?k rdf:type ontology:Q43229 }
Mike Vallely
action filter_type
action find_reverse
entity Mike Vallely
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Mike Vallely']
SELECT DISTINCT ?k WHERE { ?k property:founder resource:Mike_Vallely . ?k rdf:type ontology:organization }
[]
organization
Q3569977
SYSTEM
World Industries
Q3569977
(c(Q43229),P112,Q711015)
action filter_type
action find_reverse
entity Q711015
relation P112
type Q43229
[ANSWER] was established by Mike Vallely
[{'concept': 'Q43229'}, 'P112', 'Q711015']
SELECT DISTINCT ?k WHERE { ?k property:P112 resource:Q711015 . ?k rdf:type ontology:Q43229 }
World Industries
World Industries was established by Mike Vallely
World Industries
action filter_type
action find_reverse
entity Mike Vallely
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Mike Vallely']
SELECT DISTINCT ?k WHERE { ?k property:founder resource:Mike_Vallely . ?k rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q711015
P161
Q838948
USER
Which works of art have Mike Vallely in their star cast ?
(c(Q838948),P161,Q711015)
action filter_type
action find_reverse
entity Q711015
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q711015']
SELECT DISTINCT ?f WHERE { ?f property:P161 resource:Q711015 . ?f rdf:type ontology:Q838948 }
Mike Vallely
action filter_type
action find_reverse
entity Mike Vallely
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Mike Vallely']
SELECT DISTINCT ?f WHERE { ?f property:cast_member resource:Mike_Vallely . ?f rdf:type ontology:work_of_art }
[]
work of art
Q7762834 Q219315 Q7785874
SYSTEM
The Search for Animal Chin, The Hangover, This Is My Element
Q7762834 Q219315 Q7785874
(c(Q838948),P161,Q711015)
action filter_type
action find_reverse
entity Q711015
relation P161
type Q838948
The Search for Animal Chin, The Hangover and This is My Element have Mike Vallely in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q711015']
SELECT DISTINCT ?f WHERE { ?f property:P161 resource:Q711015 . ?f rdf:type ontology:Q838948 }
The Search for Animal Chin The Hangover This Is My Element
The Search for Animal Chin, The Hangover and This is My Element have Mike Vallely in their star cast
The Search for Animal Chin The Hangover This Is My Element
action filter_type
action find_reverse
entity Mike Vallely
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Mike Vallely']
SELECT DISTINCT ?f WHERE { ?f property:cast_member resource:Mike_Vallely . ?f rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q711015
P27
Q15617994
USER
How many administrative territories are the native countriesof Mike Vallely ?
(Q711015,P27,c(Q15617994))
action count
action filter_type
action find
entity Q711015
relation P27
type Q15617994
['Q711015', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Q711015 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Mike Vallely
action count
action filter_type
action find
entity Mike Vallely
relation country of citizenship
type designation for an administrative territorial entity
['Mike Vallely', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Mike_Vallely property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q711015,P27,c(Q15617994))
action count
action filter_type
action find
entity Q711015
relation P27
type Q15617994
[ANSWER]
['Q711015', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Q711015 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Mike Vallely
relation country of citizenship
type designation for an administrative territorial entity
['Mike Vallely', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Mike_Vallely property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5656776 Q7762834
P495
Q15617994
USER
Which administrative territories are the origins of The Search for Animal Chin or Acorralado ?
OR((Q7762834,P495,c(Q15617994)), (Q5656776,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q7762834
relation P495
action find
entity Q5656776
relation P495
type Q15617994
{'OR': [['Q7762834', 'P495', {'concept': 'Q15617994'}], ['Q5656776', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q7762834 property:P495 ?f } UNION { resource:Q5656776 property:P495 ?f } } . ?f rdf:type ontology:Q15617994 }
Acorralado The Search for Animal Chin
action filter_type
action union
action find
entity The Search for Animal Chin
relation country of origin
action find
entity Acorralado
relation country of origin
type designation for an administrative territorial entity
{'OR': [['The Search for Animal Chin', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Acorralado', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:The_Search_for_Animal_Chin property:country_of_origin ?f } UNION { resource:Acorralado property:country_of_origin ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q30
SYSTEM
Mexico, United States of America
Q96 Q30
OR((Q7762834,P495,c(Q15617994)), (Q5656776,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q7762834
relation P495
action find
entity Q5656776
relation P495
type Q15617994
[ANSWERS] are the origins of The Search for Animal Chin or Acorralado
{'OR': [['Q7762834', 'P495', {'concept': 'Q15617994'}], ['Q5656776', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q7762834 property:P495 ?f } UNION { resource:Q5656776 property:P495 ?f } } . ?f rdf:type ontology:Q15617994 }
Mexico United States of America
Mexico and United States of America are the origins of The Search for Animal Chin or Acorralado
Mexico United States of America
action filter_type
action union
action find
entity The Search for Animal Chin
relation country of origin
action find
entity Acorralado
relation country of origin
type designation for an administrative territorial entity
{'OR': [['The Search for Animal Chin', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Acorralado', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:The_Search_for_Animal_Chin property:country_of_origin ?f } UNION { resource:Acorralado property:country_of_origin ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q96
P37
Q34770
USER
What is recognized as the official language of Mexico ?
(Q96,P37,c(Q34770))
action filter_type
action find
entity Q96
relation P37
type Q34770
['Q96', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q96 property:P37 ?l . ?l rdf:type ontology:Q34770 }
Mexico
action filter_type
action find
entity Mexico
relation official language
type language
['Mexico', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Mexico property:official_language ?l . ?l rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q96,P37,c(Q34770))
action filter_type
action find
entity Q96
relation P37
type Q34770
Language [ANSWER] is recognized as the official language of Mexico
['Q96', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q96 property:P37 ?l . ?l rdf:type ontology:Q34770 }
Spanish
Language Spanish is recognized as the official language of Mexico
Spanish
action filter_type
action find
entity Mexico
relation official language
type language
['Mexico', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Mexico property:official_language ?l . ?l rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
Which languages have writing system as lesser number of writing systems than that language ?
(c(Q34770),P282,c(Q8192))
action less
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1321
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?j ) WHERE { ?p property:P282 ?d . ?p rdf:type ontology:Q34770 . ?d rdf:type ontology:Q8192 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:Q34770 . resource:Q1321 property:P282 ?u } } . FILTER ( ?j < ?a ) }
action less
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Spanish
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?j ) WHERE { ?p property:writing_system ?d . ?p rdf:type ontology:language . ?d rdf:type ontology:writing_system } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:language . resource:Spanish property:writing_system ?u } } . FILTER ( ?j < ?a ) }
[]
writing system language
Q29572 Q1860 Q447117
SYSTEM
Avestan, English, Old Egyptian
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q8192))
action less
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1321
relation P282
type Q34770
[ANSWERS] have writing system as lesser number of writing systems than that language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?j ) WHERE { ?p property:P282 ?d . ?p rdf:type ontology:Q34770 . ?d rdf:type ontology:Q8192 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:Q34770 . resource:Q1321 property:P282 ?u } } . FILTER ( ?j < ?a ) }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
Avestan, English and Old Egyptian have writing system as lesser number of writing systems than that language
Avestan English Old Egyptian
action less
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Spanish
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?j ) WHERE { ?p property:writing_system ?d . ?p rdf:type ontology:language . ?d rdf:type ontology:writing_system } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ontology:language . resource:Spanish property:writing_system ?u } } . FILTER ( ?j < ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q711015
P106
Q12737077
USER
Which occupations are the professions of Mike Vallely ?
(Q711015,P106,c(Q12737077))
action filter_type
action find
entity Q711015
relation P106
type Q12737077
['Q711015', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q711015 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Mike Vallely
action filter_type
action find
entity Mike Vallely
relation occupation
type occupation
['Mike Vallely', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Mike_Vallely property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q11774891 Q33999 Q17502714
SYSTEM
ice hockey player, actor, skateboarder
Q11774891 Q33999 Q17502714
(Q711015,P106,c(Q12737077))
action filter_type
action find
entity Q711015
relation P106
type Q12737077
The [ANSWERS] are the professions of Mike Vallely
['Q711015', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q711015 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
ice hockey player actor skateboarder
The ice hockey player, actor and skateboarder are the professions of Mike Vallely
ice hockey player actor skateboarder
action filter_type
action find
entity Mike Vallely
relation occupation
type occupation
['Mike Vallely', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Mike_Vallely property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11906046
Q12737077
USER
And how about Antonio Francesco Gaetano Saverio Pacini?
(Q11906046,P106,c(Q12737077))
action filter_type
action find
entity Q11906046
relation P106
type Q12737077
['Q11906046', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q11906046 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Antonio Francesco Gaetano Saverio Pacini
action filter_type
action find
entity Antonio Francesco Gaetano Saverio Pacini
relation occupation
type occupation
['Antonio Francesco Gaetano Saverio Pacini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Antonio_Francesco_Gaetano_Saverio_Pacini property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q36834
SYSTEM
composer
Q36834
(Q11906046,P106,c(Q12737077))
action filter_type
action find
entity Q11906046
relation P106
type Q12737077
[ANSWER]
['Q11906046', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q11906046 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
composer
composer
action filter_type
action find
entity Antonio Francesco Gaetano Saverio Pacini
relation occupation
type occupation
['Antonio Francesco Gaetano Saverio Pacini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Antonio_Francesco_Gaetano_Saverio_Pacini property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q36834 Q1295692
P417
Q502895
USER
Is Mihály Szele the name of the patron saint of that occupation ?
(Q36834,P417,Q1295692)
action is_in
entity Q1295692
action find
entity Q36834
relation P417
['Q36834', 'P417', 'Q1295692']
ASK WHERE { resource:Q36834 property:P417 resource:Q1295692 }
composer Mihály Szele
action is_in
entity Mihály Szele
action find
entity composer
relation patron saint
['composer', 'patron saint', 'Mihály Szele']
ASK WHERE { resource:composer property:patron_saint resource:Mihály_Szele }
[]
common name
SYSTEM
NO
(Q36834,P417,Q1295692)
action is_in
entity Q1295692
action find
entity Q36834
relation P417
[ANSWER]
['Q36834', 'P417', 'Q1295692']
ASK WHERE { resource:Q36834 property:P417 resource:Q1295692 }
No
action is_in
entity Mihály Szele
action find
entity composer
relation patron saint
['composer', 'patron saint', 'Mihály Szele']
ASK WHERE { resource:composer property:patron_saint resource:Mihály_Szele }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q8192 Q34770
USER
Which languages use atmost 3 notations and writing systems as the writing system ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 3
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?n ) WHERE { { ?e rdf:type ontology:Q2001982 . ?y rdf:type ontology:Q34770 . ?y property:P282 ?e } UNION { ?y property:P282 ?e . ?y rdf:type ontology:Q34770 . ?e rdf:type ontology:Q8192 } } GROUP BY ?y } . FILTER ( ?n <= 3 ) }
action atmost
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 3
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?n ) WHERE { { ?e rdf:type ontology:notation . ?y rdf:type ontology:language . ?y property:writing_system ?e } UNION { ?y property:writing_system ?e . ?y rdf:type ontology:language . ?e rdf:type ontology:writing_system } } GROUP BY ?y } . FILTER ( ?n <= 3 ) }
[]
notation writing system language
Q29572 Q1860 Q447117
SYSTEM
Avestan, English, Old Egyptian
Q7102906 Q182695 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 3
[ANSWERS] use atmost 3 notations and writing systems as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?n ) WHERE { { ?e rdf:type ontology:Q2001982 . ?y rdf:type ontology:Q34770 . ?y property:P282 ?e } UNION { ?y property:P282 ?e . ?y rdf:type ontology:Q34770 . ?e rdf:type ontology:Q8192 } } GROUP BY ?y } . FILTER ( ?n <= 3 ) }
Orizaba Nahuatl Late Old Japanese Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
Avestan, English and Old Egyptian use atmost 3 notations and writing systems as the writing system
Avestan English Old Egyptian
action atmost
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 3
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?n ) WHERE { { ?e rdf:type ontology:notation . ?y rdf:type ontology:language . ?y property:writing_system ?e } UNION { ?y property:writing_system ?e . ?y rdf:type ontology:language . ?e rdf:type ontology:writing_system } } GROUP BY ?y } . FILTER ( ?n <= 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q219315 Q3595351
P495
Q15617994
USER
How many administrative territories are the countries of origin of The Hangover or sadya ?
(Q219315,P495,c(Q15617994)) (Q3595351,P495,c(Q15617994))
action count
action union
action filter_type
action find
entity Q219315
relation P495
type Q15617994
action filter_type
action find
entity Q3595351
relation P495
type Q15617994
['Q219315', 'P495', {'concept': 'Q15617994'}] ['Q3595351', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?q property:P495 ?l . VALUES ( ?q ) { ( resource:Q219315 ) ( resource:Q3595351 ) } }
The Hangover sadya
action count
action union
action filter_type
action find
entity The Hangover
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity sadya
relation country of origin
type designation for an administrative territorial entity
['The Hangover', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['sadya', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?q property:country_of_origin ?l . VALUES ( ?q ) { ( resource:The_Hangover ) ( resource:sadya ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q30 Q668
(Q219315,P495,c(Q15617994)) (Q3595351,P495,c(Q15617994))
action count
action union
action filter_type
action find
entity Q219315
relation P495
type Q15617994
action filter_type
action find
entity Q3595351
relation P495
type Q15617994
[ANSWER]
['Q219315', 'P495', {'concept': 'Q15617994'}] ['Q3595351', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?q property:P495 ?l . VALUES ( ?q ) { ( resource:Q219315 ) ( resource:Q3595351 ) } }
United States of America India
2
action count
action union
action filter_type
action find
entity The Hangover
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity sadya
relation country of origin
type designation for an administrative territorial entity
['The Hangover', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['sadya', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?q property:country_of_origin ?l . VALUES ( ?q ) { ( resource:The_Hangover ) ( resource:sadya ) } }
[]