Simple Question (Direct)
Simple Question
Q4877214
P102
Q7210356
USER
Which party is Beatrice Wright affiliated with ?
(Q4877214,P102,c(Q7210356))
action filter_type
action find
entity Q4877214
relation P102
type Q7210356
['Q4877214', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q4877214 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Beatrice Wright
action filter_type
action find
entity Beatrice Wright
relation member of political party
type political organization
['Beatrice Wright', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Beatrice_Wright property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
political organization
Q9626
SYSTEM
Conservative Party
Q9626
(Q4877214,P102,c(Q7210356))
action filter_type
action find
entity Q4877214
relation P102
type Q7210356
Beatrice Wright is affiliated with [ANSWER]
['Q4877214', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q4877214 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Conservative Party
Beatrice Wright is affiliated with Conservative Party
Conservative Party
action filter_type
action find
entity Beatrice Wright
relation member of political party
type political organization
['Beatrice Wright', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Beatrice_Wright property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4877214
P39
Q12737077
USER
Which occupation was a position held by that person ?
(Q9626,P39,c(Q12737077))
action filter_type
action find
entity Q4877214
relation P39
type Q12737077
['Q9626', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q4877214 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Beatrice Wright
action filter_type
action find
entity Beatrice Wright
relation position held
type occupation
['Conservative Party', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Beatrice_Wright property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q9626,P39,c(Q12737077))
action filter_type
action find
entity Q4877214
relation P39
type Q12737077
The [ANSWER] was a position held by that person
['Q9626', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q4877214 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
The Member of Parliament in the United Kingdom was a position held by that person
Member of Parliament in the United Kingdom
action filter_type
action find
entity Beatrice Wright
relation position held
type occupation
['Conservative Party', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Beatrice_Wright property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6745543 Q4877214
P27 P17
Q15617994
USER
Which administrative territories are Beatrice Wright a civilian of or are Mamboma located in ?
OR((Q4877214,P27,c(Q15617994)), (Q6745543,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4877214
relation P27
action find
entity Q6745543
relation P17
type Q15617994
{'OR': [['Q4877214', 'P27', {'concept': 'Q15617994'}], ['Q6745543', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q4877214 property:P27 ?w } UNION { resource:Q6745543 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Mamboma Beatrice Wright
action filter_type
action union
action find
entity Beatrice Wright
relation country of citizenship
action find
entity Mamboma
relation country
type designation for an administrative territorial entity
{'OR': [['Beatrice Wright', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mamboma', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Beatrice_Wright property:country_of_citizenship ?w } UNION { resource:Mamboma property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1044 Q145
SYSTEM
Sierra Leone, United Kingdom
Q1044 Q145
OR((Q4877214,P27,c(Q15617994)), (Q6745543,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4877214
relation P27
action find
entity Q6745543
relation P17
type Q15617994
[ANSWERS] are Beatrice Wright a civilian of or are Mamboma located in
{'OR': [['Q4877214', 'P27', {'concept': 'Q15617994'}], ['Q6745543', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q4877214 property:P27 ?w } UNION { resource:Q6745543 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Sierra Leone United Kingdom
Sierra Leone and United Kingdom are Beatrice Wright a civilian of or are Mamboma located in
Sierra Leone United Kingdom
action filter_type
action union
action find
entity Beatrice Wright
relation country of citizenship
action find
entity Mamboma
relation country
type designation for an administrative territorial entity
{'OR': [['Beatrice Wright', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mamboma', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Beatrice_Wright property:country_of_citizenship ?w } UNION { resource:Mamboma property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5927655
P21
Q290
USER
Which sex does Hubert Stromberger belong to ?
(Q5927655,P21,c(Q290))
action filter_type
action find
entity Q5927655
relation P21
type Q290
['Q5927655', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q5927655 property:P21 ?m . ?m rdf:type ontology:Q290 }
Hubert Stromberger
action filter_type
action find
entity Hubert Stromberger
relation gender
type sex
['Hubert Stromberger', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Hubert_Stromberger property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5927655,P21,c(Q290))
action filter_type
action find
entity Q5927655
relation P21
type Q290
Hubert Stromberger belongs to [ANSWER]
['Q5927655', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q5927655 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
Hubert Stromberger belongs to male
male
action filter_type
action find
entity Hubert Stromberger
relation gender
type sex
['Hubert Stromberger', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Hubert_Stromberger property:gender ?m . ?m rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with max number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?j ) WHERE { ?w rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 . ?w property:P530 ?b } GROUP BY ?w } . FILTER ( ?j = ?n ) . { SELECT DISTINCT ( MAX ( ?e ) AS ?n ) { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?e ) WHERE { ?x property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } } }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?j ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?b } GROUP BY ?w } . FILTER ( ?j = ?n ) . { SELECT DISTINCT ( MAX ( ?e ) AS ?n ) { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?e ) WHERE { ?x property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWER] have diplomatic relationships with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?j ) WHERE { ?w rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 . ?w property:P530 ?b } GROUP BY ?w } . FILTER ( ?j = ?n ) . { SELECT DISTINCT ( MAX ( ?e ) AS ?n ) { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?e ) WHERE { ?x property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } } }
Italy
Italy have diplomatic relationships with max number of administrative territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?j ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?b } GROUP BY ?w } . FILTER ( ?j = ?n ) . { SELECT DISTINCT ( MAX ( ?e ) AS ?n ) { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?e ) WHERE { ?x property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q38 Q11437696
P27
Q502895
USER
Is Kin'ya Ōse a native of that administrative territory ?
(Q11437696,P27,Q38)
action is_in
entity Q11437696
action find
entity Q38
relation P27
['Q11437696', 'P27', 'Q38']
ASK WHERE { resource:Q38 property:P27 resource:Q11437696 }
Italy Kin'ya Ōse
action is_in
entity Kin'ya Ōse
action find
entity Italy
relation country of citizenship
["Kin'ya Ōse", 'country of citizenship', 'Italy']
ASK WHERE { resource:Italy property:country_of_citizenship resource:Kin'ya_Ōse }
[]
common name
SYSTEM
NO
(Q11437696,P27,Q38)
action is_in
entity Q11437696
action find
entity Q38
relation P27
[ANSWER]
['Q11437696', 'P27', 'Q38']
ASK WHERE { resource:Q38 property:P27 resource:Q11437696 }
No
action is_in
entity Kin'ya Ōse
action find
entity Italy
relation country of citizenship
["Kin'ya Ōse", 'country of citizenship', 'Italy']
ASK WHERE { resource:Italy property:country_of_citizenship resource:Kin'ya_Ōse }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P1071
Q838948
USER
Which work of art has that administrative territory as its final place of assembly ?
action filter_type
action find_reverse
entity Q38
relation P1071
type Q838948
SELECT DISTINCT ?q WHERE { ?q property:P1071 resource:Q38 . ?q rdf:type ontology:Q838948 }
Italy
action filter_type
action find_reverse
entity Italy
relation location of final assembly
type work of art
SELECT DISTINCT ?q WHERE { ?q property:location_of_final_assembly resource:Italy . ?q rdf:type ontology:work_of_art }
[]
work of art
Q15123181
SYSTEM
Proserpina sarcophagus
Q15123181
action filter_type
action find_reverse
entity Q38
relation P1071
type Q838948
[ANSWER] has that administrative territory as its final place of assembly
SELECT DISTINCT ?q WHERE { ?q property:P1071 resource:Q38 . ?q rdf:type ontology:Q838948 }
Proserpina sarcophagus
Proserpina sarcophagus has that administrative territory as its final place of assembly
Proserpina sarcophagus
action filter_type
action find_reverse
entity Italy
relation location of final assembly
type work of art
SELECT DISTINCT ?q WHERE { ?q property:location_of_final_assembly resource:Italy . ?q rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19604834 Q11437696
P39 P106
Q12737077
USER
Which occupations have Kin'ya Ōse as his/her as a career or were the positions held by Xóchitl Montes de Oca ?
OR((Q11437696,P106,c(Q12737077)), (Q19604834,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q11437696
relation P106
action find
entity Q19604834
relation P39
type Q12737077
{'OR': [['Q11437696', 'P106', {'concept': 'Q12737077'}], ['Q19604834', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q11437696 property:P106 ?x } UNION { resource:Q19604834 property:P39 ?x } } . ?x rdf:type ontology:Q12737077 }
Xóchitl Montes de Oca Kin'ya Ōse
action filter_type
action union
action find
entity Kin'ya Ōse
relation occupation
action find
entity Xóchitl Montes de Oca
relation position held
type occupation
{'OR': [["Kin'ya Ōse", 'occupation', {'concept': 'occupation'}], ['Xóchitl Montes de Oca', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Kin'ya_Ōse property:occupation ?x } UNION { resource:Xóchitl_Montes_de_Oca property:position_held ?x } } . ?x rdf:type ontology:occupation }
[]
occupation
Q201788 Q18534310
SYSTEM
historian, Member of the Chamber of Deputies of Mexico
Q201788 Q18534310
OR((Q11437696,P106,c(Q12737077)), (Q19604834,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q11437696
relation P106
action find
entity Q19604834
relation P39
type Q12737077
[ANSWERS] have Kin'ya Ōse as his/her as a career or were the positions held by Xóchitl Montes de Oca
{'OR': [['Q11437696', 'P106', {'concept': 'Q12737077'}], ['Q19604834', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q11437696 property:P106 ?x } UNION { resource:Q19604834 property:P39 ?x } } . ?x rdf:type ontology:Q12737077 }
historian Member of the Chamber of Deputies of Mexico
Historian and Member of the Chamber of Deputies of Mexico have Kin'ya Ōse as his/her as a career or were the positions held by Xóchitl Montes de Oca
historian Member of the Chamber of Deputies of Mexico
action filter_type
action union
action find
entity Kin'ya Ōse
relation occupation
action find
entity Xóchitl Montes de Oca
relation position held
type occupation
{'OR': [["Kin'ya Ōse", 'occupation', {'concept': 'occupation'}], ['Xóchitl Montes de Oca', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Kin'ya_Ōse property:occupation ?x } UNION { resource:Xóchitl_Montes_de_Oca property:position_held ?x } } . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19604834
P1412
Q34770
USER
Which language can Xóchitl Montes de Oca read?
(Q201788,P1412,c(Q34770)) (Q18534310,P1412,c(Q34770))
action filter_type
action find
entity Q19604834
relation P1412
type Q34770
['Q201788', 'P1412', {'concept': 'Q34770'}] ['Q18534310', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q19604834 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Xóchitl Montes de Oca
action filter_type
action find
entity Xóchitl Montes de Oca
relation languages spoken, written or signed
type language
['historian', 'languages spoken, written or signed', {'concept': 'language'}] ['Member of the Chamber of Deputies of Mexico', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Xóchitl_Montes_de_Oca property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q201788,P1412,c(Q34770)) (Q18534310,P1412,c(Q34770))
action filter_type
action find
entity Q19604834
relation P1412
type Q34770
Xóchitl Montes de Oca can read to [ANSWER]
['Q201788', 'P1412', {'concept': 'Q34770'}] ['Q18534310', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q19604834 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Spanish
Xóchitl Montes de Oca can read to Spanish
Spanish
action filter_type
action find
entity Xóchitl Montes de Oca
relation languages spoken, written or signed
type language
['historian', 'languages spoken, written or signed', {'concept': 'language'}] ['Member of the Chamber of Deputies of Mexico', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Xóchitl_Montes_de_Oca property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1321 Q23893605
P1412
Q502895
USER
Does Guilherme Samaia speak that language ?
(Q23893605,P1412,Q1321)
action is_in
entity Q23893605
action find
entity Q1321
relation P1412
['Q23893605', 'P1412', 'Q1321']
ASK WHERE { resource:Q1321 property:P1412 resource:Q23893605 }
Spanish Guilherme Samaia
action is_in
entity Guilherme Samaia
action find
entity Spanish
relation languages spoken, written or signed
['Guilherme Samaia', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Spanish property:languages_spoken,_written_or_signed resource:Guilherme_Samaia }
[]
common name
SYSTEM
NO
(Q23893605,P1412,Q1321)
action is_in
entity Q23893605
action find
entity Q1321
relation P1412
[ANSWER]
['Q23893605', 'P1412', 'Q1321']
ASK WHERE { resource:Q1321 property:P1412 resource:Q23893605 }
No
action is_in
entity Guilherme Samaia
action find
entity Spanish
relation languages spoken, written or signed
['Guilherme Samaia', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Spanish property:languages_spoken,_written_or_signed resource:Guilherme_Samaia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1044 Q3780
P36
Q56061
USER
Is Freetown the capital of Sierra Leone ?
(Q1044,P36,Q3780)
action is_in
entity Q3780
action find
entity Q1044
relation P36
['Q1044', 'P36', 'Q3780']
ASK WHERE { resource:Q1044 property:P36 resource:Q3780 }
Sierra Leone Freetown
action is_in
entity Freetown
action find
entity Sierra Leone
relation capital
['Sierra Leone', 'capital', 'Freetown']
ASK WHERE { resource:Sierra_Leone property:capital resource:Freetown }
[]
administrative territorial entity
SYSTEM
YES
(Q1044,P36,Q3780)
action is_in
entity Q3780
action find
entity Q1044
relation P36
[ANSWER]
['Q1044', 'P36', 'Q3780']
ASK WHERE { resource:Q1044 property:P36 resource:Q3780 }
Yes
action is_in
entity Freetown
action find
entity Sierra Leone
relation capital
['Sierra Leone', 'capital', 'Freetown']
ASK WHERE { resource:Sierra_Leone property:capital resource:Freetown }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16707842 Q145
P1001
Q15617994
USER
Does United Kingdom come under the supervision of Member of Parliament in the United Kingdom ?
(Q16707842,P1001,Q145)
action is_in
entity Q145
action find
entity Q16707842
relation P1001
['Q16707842', 'P1001', 'Q145']
ASK WHERE { resource:Q16707842 property:P1001 resource:Q145 }
Member of Parliament in the United Kingdom United Kingdom
action is_in
entity United Kingdom
action find
entity Member of Parliament in the United Kingdom
relation applies to jurisdiction
['Member of Parliament in the United Kingdom', 'applies to jurisdiction', 'United Kingdom']
ASK WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:applies_to_jurisdiction resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16707842,P1001,Q145)
action is_in
entity Q145
action find
entity Q16707842
relation P1001
[ANSWER]
['Q16707842', 'P1001', 'Q145']
ASK WHERE { resource:Q16707842 property:P1001 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Member of Parliament in the United Kingdom
relation applies to jurisdiction
['Member of Parliament in the United Kingdom', 'applies to jurisdiction', 'United Kingdom']
ASK WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:applies_to_jurisdiction resource:United_Kingdom }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q16707842
P17
Q15617994 Q7275
USER
How many administrative territories or states are Member of Parliament in the United Kingdom located in ?
(Q16707842,P17,c(Q15617994)) (Q16707842,P17,c(Q7275))
action count
action union
action filter_type
action find
entity Q16707842
relation P17
type Q15617994
action filter_type
action find
entity Q16707842
relation P17
type Q7275
['Q16707842', 'P17', {'concept': 'Q15617994'}] ['Q16707842', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g rdf:type ?o . VALUES ( ?o ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } }
Member of Parliament in the United Kingdom
action count
action union
action filter_type
action find
entity Member of Parliament in the United Kingdom
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Member of Parliament in the United Kingdom
relation country
type state
['Member of Parliament in the United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Member of Parliament in the United Kingdom', 'country', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g rdf:type ?o . VALUES ( ?o ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
designation for an administrative territorial entity state
SYSTEM
2
Q174193 Q145
(Q16707842,P17,c(Q15617994)) (Q16707842,P17,c(Q7275))
action count
action union
action filter_type
action find
entity Q16707842
relation P17
type Q15617994
action filter_type
action find
entity Q16707842
relation P17
type Q7275
[ANSWER]
['Q16707842', 'P17', {'concept': 'Q15617994'}] ['Q16707842', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g rdf:type ?o . VALUES ( ?o ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } }
United Kingdom of Great Britain and Ireland United Kingdom
2
action count
action union
action filter_type
action find
entity Member of Parliament in the United Kingdom
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Member of Parliament in the United Kingdom
relation country
type state
['Member of Parliament in the United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Member of Parliament in the United Kingdom', 'country', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g rdf:type ?o . VALUES ( ?o ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q467037
P282
Q8192 Q34770
USER
How many writing systems are used as the scripts for greater number of languages than Brahmic script ?
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q467037
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P282 ?u . ?u rdf:type ontology:Q8192 . ?k rdf:type ontology:Q34770 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q467037 property:P282 ?c . ?c rdf:type ontology:Q8192 } } . FILTER ( ?b > ?g ) }
Brahmic script
action count
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Brahmic script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:writing_system ?u . ?u rdf:type ontology:writing_system . ?k rdf:type ontology:language } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Brahmic_script property:writing_system ?c . ?c rdf:type ontology:writing_system } } . FILTER ( ?b > ?g ) }
[]
writing system language
SYSTEM
3
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q467037
relation P282
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P282 ?u . ?u rdf:type ontology:Q8192 . ?k rdf:type ontology:Q34770 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q467037 property:P282 ?c . ?c rdf:type ontology:Q8192 } } . FILTER ( ?b > ?g ) }
katakana Linear A hiragana
3
action count
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Brahmic script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:writing_system ?u . ?u rdf:type ontology:writing_system . ?k rdf:type ontology:language } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Brahmic_script property:writing_system ?c . ?c rdf:type ontology:writing_system } } . FILTER ( ?b > ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q689894
P282
Q8192 Q34770
USER
And what about Gurmukhī alphabet?
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q689894
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P282 ?v . ?v rdf:type ontology:Q8192 . ?q rdf:type ontology:Q34770 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q689894 property:P282 ?k . ?k rdf:type ontology:Q8192 } } . FILTER ( ?z > ?w ) }
Gurmukhī alphabet
action count
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Gurmukhī alphabet
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:writing_system ?v . ?v rdf:type ontology:writing_system . ?q rdf:type ontology:language } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Gurmukhī_alphabet property:writing_system ?k . ?k rdf:type ontology:writing_system } } . FILTER ( ?z > ?w ) }
[]
writing system language
SYSTEM
3
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q689894
relation P282
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P282 ?v . ?v rdf:type ontology:Q8192 . ?q rdf:type ontology:Q34770 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q689894 property:P282 ?k . ?k rdf:type ontology:Q8192 } } . FILTER ( ?z > ?w ) }
katakana Linear A hiragana
3
action count
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Gurmukhī alphabet
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:writing_system ?v . ?v rdf:type ontology:writing_system . ?q rdf:type ontology:language } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Gurmukhī_alphabet property:writing_system ?k . ?k rdf:type ontology:writing_system } } . FILTER ( ?z > ?w ) }
[]