Simple Question (Direct)
Simple Question
Q6258348
P101
Q11862829
USER
Which academic discipline is the field of work of John Smith ?
(Q6258348,P101,c(Q11862829))
action filter_type
action find
entity Q6258348
relation P101
type Q11862829
['Q6258348', 'P101', {'concept': 'Q11862829'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q11862829 . resource:Q6258348 property:P101 ?m }
John Smith
action filter_type
action find
entity John Smith
relation field of work
type academic discipline
['John Smith', 'field of work', {'concept': 'academic discipline'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:academic_discipline . resource:John_Smith property:field_of_work ?m }
[]
academic discipline
Q8087
SYSTEM
geometry
Q8087
(Q6258348,P101,c(Q11862829))
action filter_type
action find
entity Q6258348
relation P101
type Q11862829
And [ANSWER] is the field of work of John Smith
['Q6258348', 'P101', {'concept': 'Q11862829'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q11862829 . resource:Q6258348 property:P101 ?m }
geometry
And geometry is the field of work of John Smith
geometry
action filter_type
action find
entity John Smith
relation field of work
type academic discipline
['John Smith', 'field of work', {'concept': 'academic discipline'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:academic_discipline . resource:John_Smith property:field_of_work ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6258348
P69
Q1244442
USER
Which school building was that person educated at ?
(Q8087,P69,c(Q1244442))
action filter_type
action find
entity Q6258348
relation P69
type Q1244442
['Q8087', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?h WHERE { resource:Q6258348 property:P69 ?h . ?h rdf:type ontology:Q1244442 }
John Smith
action filter_type
action find
entity John Smith
relation educated at
type school building
['geometry', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?h WHERE { resource:John_Smith property:educated_at ?h . ?h rdf:type ontology:school_building }
[]
school building
Q805285
SYSTEM
Balliol College
Q805285
(Q8087,P69,c(Q1244442))
action filter_type
action find
entity Q6258348
relation P69
type Q1244442
Which school building was that person educated at
['Q8087', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?h WHERE { resource:Q6258348 property:P69 ?h . ?h rdf:type ontology:Q1244442 }
Balliol College
Which school building was that person educated at
Balliol College
action filter_type
action find
entity John Smith
relation educated at
type school building
['geometry', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?h WHERE { resource:John_Smith property:educated_at ?h . ?h rdf:type ontology:school_building }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P69
Q1244442 Q502895
USER
How many school buildings were approximately the same number of people educated as that school building ?
(c(Q502895),P69,c(Q1244442))
action count
action approx
action find_reverse_tuple_counts
relation P69
type Q1244442
type Q502895
action count
action filter_type
action find
entity Q805285
relation P69
type Q1244442
[{'concept': 'Q502895'}, 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:P69 ?c . ?d rdf:type ontology:Q502895 . ?c rdf:type ontology:Q1244442 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:Q805285 property:P69 ?q . ?q rdf:type ontology:Q1244442 } } . FILTER ( ?l = ?p ) }
action count
action approx
action find_reverse_tuple_counts
relation educated at
type school building
type common name
action count
action filter_type
action find
entity Balliol College
relation educated at
type school building
[{'concept': 'common name'}, 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:educated_at ?c . ?d rdf:type ontology:common_name . ?c rdf:type ontology:school_building } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:Balliol_College property:educated_at ?q . ?q rdf:type ontology:school_building } } . FILTER ( ?l = ?p ) }
[]
school building common name
SYSTEM
1
Q805285
(c(Q502895),P69,c(Q1244442))
action count
action approx
action find_reverse_tuple_counts
relation P69
type Q1244442
type Q502895
action count
action filter_type
action find
entity Q805285
relation P69
type Q1244442
[ANSWER]
[{'concept': 'Q502895'}, 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:P69 ?c . ?d rdf:type ontology:Q502895 . ?c rdf:type ontology:Q1244442 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:Q805285 property:P69 ?q . ?q rdf:type ontology:Q1244442 } } . FILTER ( ?l = ?p ) }
Balliol College
1
action count
action approx
action find_reverse_tuple_counts
relation educated at
type school building
type common name
action count
action filter_type
action find
entity Balliol College
relation educated at
type school building
[{'concept': 'common name'}, 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:educated_at ?c . ?d rdf:type ontology:common_name . ?c rdf:type ontology:school_building } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:Balliol_College property:educated_at ?q . ?q rdf:type ontology:school_building } } . FILTER ( ?l = ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7703264
P344
Q838948
USER
Which work of art is Terrance Hayes assigned to as the cinematographer ?
(c(Q838948),P344,Q7703264)
action filter_type
action find_reverse
entity Q7703264
relation P344
type Q838948
[{'concept': 'Q838948'}, 'P344', 'Q7703264']
SELECT DISTINCT ?a WHERE { ?a property:P344 resource:Q7703264 . ?a rdf:type ontology:Q838948 }
Terrance Hayes
action filter_type
action find_reverse
entity Terrance Hayes
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Terrance Hayes']
SELECT DISTINCT ?a WHERE { ?a property:director_of_photography resource:Terrance_Hayes . ?a rdf:type ontology:work_of_art }
[]
work of art
Q3882330
SYSTEM
On Broadway
Q3882330
(c(Q838948),P344,Q7703264)
action filter_type
action find_reverse
entity Q7703264
relation P344
type Q838948
Terrance Hayes is assigned to Play [ANSWER] as the cinematographer
[{'concept': 'Q838948'}, 'P344', 'Q7703264']
SELECT DISTINCT ?a WHERE { ?a property:P344 resource:Q7703264 . ?a rdf:type ontology:Q838948 }
On Broadway
Terrance Hayes is assigned to Play On Broadway as the cinematographer
On Broadway
action filter_type
action find_reverse
entity Terrance Hayes
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Terrance Hayes']
SELECT DISTINCT ?a WHERE { ?a property:director_of_photography resource:Terrance_Hayes . ?a rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7703264
P1412
Q34770
USER
Which language can that person read ?
(Q3882330,P1412,c(Q34770))
action filter_type
action find
entity Q7703264
relation P1412
type Q34770
['Q3882330', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q7703264 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Terrance Hayes
action filter_type
action find
entity Terrance Hayes
relation languages spoken, written or signed
type language
['On Broadway', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Terrance_Hayes property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3882330,P1412,c(Q34770))
action filter_type
action find
entity Q7703264
relation P1412
type Q34770
That person can read the [ANSWER]
['Q3882330', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q7703264 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
English
That person can read the English
English
action filter_type
action find
entity Terrance Hayes
relation languages spoken, written or signed
type language
['On Broadway', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Terrance_Hayes property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P2439
Q34770 Q43229 Q341
USER
How many languages have an association with less number of organizations and free software than that language ?
(c(Q43229)|c(Q341),P2439,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q43229
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q341
action count
action filter_multi_types
action find_reverse
entity Q1860
relation P2439
type Q43229
type Q341
[[{'concept': 'Q43229'}, {'concept': 'Q341'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?d WHERE { { ?g property:P2439 ?d . ?d rdf:type ontology:Q34770 . ?g rdf:type ontology:Q43229 } UNION { ?g property:P2439 ?d . ?g rdf:type ontology:Q341 . ?d rdf:type ontology:Q34770 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P2439 resource:Q1860 . { VALUES ( ?q ) { ( ontology:Q43229 ) ( ontology:Q341 ) } . ?x rdf:type ?q } } } . FILTER ( ?k < ?z ) }
action count
action less
action union
action find_reverse_tuple_counts
relation language
type language
type organization
action find_reverse_tuple_counts
relation language
type language
type free software
action count
action filter_multi_types
action find_reverse
entity English
relation language
type organization
type free software
[[{'concept': 'organization'}, {'concept': 'free software'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?d WHERE { { ?g property:language ?d . ?d rdf:type ontology:language . ?g rdf:type ontology:organization } UNION { ?g property:language ?d . ?g rdf:type ontology:free_software . ?d rdf:type ontology:language } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:language resource:English . { VALUES ( ?q ) { ( ontology:organization ) ( ontology:free_software ) } . ?x rdf:type ?q } } } . FILTER ( ?k < ?z ) }
[]
language organization free software
SYSTEM
11
Q36765 Q18130932 Q9056 Q13414913 Q652 Q8752 Q1321 Q397 Q35505 Q25167 Q25164
(c(Q43229)|c(Q341),P2439,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q43229
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q341
action count
action filter_multi_types
action find_reverse
entity Q1860
relation P2439
type Q43229
type Q341
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q341'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?d WHERE { { ?g property:P2439 ?d . ?d rdf:type ontology:Q34770 . ?g rdf:type ontology:Q43229 } UNION { ?g property:P2439 ?d . ?g rdf:type ontology:Q341 . ?d rdf:type ontology:Q34770 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P2439 resource:Q1860 . { VALUES ( ?q ) { ( ontology:Q43229 ) ( ontology:Q341 ) } . ?x rdf:type ?q } } } . FILTER ( ?k < ?z ) }
Demotic Traditional Chinese Czech Simplified Chinese Italian Basque Spanish Latin Old Norse language Bokmål Nynorsk
11
action count
action less
action union
action find_reverse_tuple_counts
relation language
type language
type organization
action find_reverse_tuple_counts
relation language
type language
type free software
action count
action filter_multi_types
action find_reverse
entity English
relation language
type organization
type free software
[[{'concept': 'organization'}, {'concept': 'free software'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?d WHERE { { ?g property:language ?d . ?d rdf:type ontology:language . ?g rdf:type ontology:organization } UNION { ?g property:language ?d . ?g rdf:type ontology:free_software . ?d rdf:type ontology:language } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:language resource:English . { VALUES ( ?q ) { ( ontology:organization ) ( ontology:free_software ) } . ?x rdf:type ?q } } } . FILTER ( ?k < ?z ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q22096318 Q6258348
P69 P108
Q3918
USER
Which universities employ John Smith or were Jill Levenson educated ?
OR((Q6258348,P108,c(Q3918)), (Q22096318,P69,c(Q3918)))
action filter_type
action union
action find
entity Q6258348
relation P108
action find
entity Q22096318
relation P69
type Q3918
{'OR': [['Q6258348', 'P108', {'concept': 'Q3918'}], ['Q22096318', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q6258348 property:P108 ?d } UNION { resource:Q22096318 property:P69 ?d } } . ?d rdf:type ontology:Q3918 }
Jill Levenson John Smith
action filter_type
action union
action find
entity John Smith
relation employer
action find
entity Jill Levenson
relation educated at
type university
{'OR': [['John Smith', 'employer', {'concept': 'university'}], ['Jill Levenson', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?d WHERE { { { resource:John_Smith property:employer ?d } UNION { resource:Jill_Levenson property:educated_at ?d } } . ?d rdf:type ontology:university }
[]
university
Q235034 Q34433
SYSTEM
University of Pittsburgh, University of Oxford
Q235034 Q34433
OR((Q6258348,P108,c(Q3918)), (Q22096318,P69,c(Q3918)))
action filter_type
action union
action find
entity Q6258348
relation P108
action find
entity Q22096318
relation P69
type Q3918
[ANSWERS] employ John Smith or were Jill Levenson educated
{'OR': [['Q6258348', 'P108', {'concept': 'Q3918'}], ['Q22096318', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q6258348 property:P108 ?d } UNION { resource:Q22096318 property:P69 ?d } } . ?d rdf:type ontology:Q3918 }
University of Pittsburgh University of Oxford
University of Pittsburgh and University of Oxford employ John Smith or were Jill Levenson educated
University of Pittsburgh University of Oxford
action filter_type
action union
action find
entity John Smith
relation employer
action find
entity Jill Levenson
relation educated at
type university
{'OR': [['John Smith', 'employer', {'concept': 'university'}], ['Jill Levenson', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?d WHERE { { { resource:John_Smith property:employer ?d } UNION { resource:Jill_Levenson property:educated_at ?d } } . ?d rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7174795
P108
Q502895
USER
Do Peter Hunt have those universities as their employer ?
(Q7174795,P108,Q235034) (Q7174795,P108,Q34433)
action is_in
entity prev_answer
action find
entity Q7174795
relation P108
['Q7174795', 'P108', 'Q235034'] ['Q7174795', 'P108', 'Q34433']
ASK WHERE { resource:Q7174795 property:P108 ?d . VALUES ( ?d ) { ( resource:Q235034 ) ( resource:Q34433 ) } }
Peter Hunt
action is_in
entity prev_answer
action find
entity Peter Hunt
relation employer
['Peter Hunt', 'employer', 'University of Pittsburgh'] ['Peter Hunt', 'employer', 'University of Oxford']
ASK WHERE { resource:Peter_Hunt property:employer ?d . VALUES ( ?d ) { ( resource:University_of_Pittsburgh ) ( resource:University_of_Oxford ) } }
[]
common name
SYSTEM
NO
(Q7174795,P108,Q235034) (Q7174795,P108,Q34433)
action is_in
entity prev_answer
action find
entity Q7174795
relation P108
[ANSWER]
['Q7174795', 'P108', 'Q235034'] ['Q7174795', 'P108', 'Q34433']
ASK WHERE { resource:Q7174795 property:P108 ?d . VALUES ( ?d ) { ( resource:Q235034 ) ( resource:Q34433 ) } }
No
action is_in
entity prev_answer
action find
entity Peter Hunt
relation employer
['Peter Hunt', 'employer', 'University of Pittsburgh'] ['Peter Hunt', 'employer', 'University of Oxford']
ASK WHERE { resource:Peter_Hunt property:employer ?d . VALUES ( ?d ) { ( resource:University_of_Pittsburgh ) ( resource:University_of_Oxford ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6258348 Q3578275
P108
Q3918
USER
Is École nationale vétérinaire de Toulouse the employer of John Smith ?
(Q6258348,P108,Q3578275)
action is_in
entity Q3578275
action find
entity Q6258348
relation P108
['Q6258348', 'P108', 'Q3578275']
ASK WHERE { resource:Q6258348 property:P108 resource:Q3578275 }
John Smith École nationale vétérinaire de Toulouse
action is_in
entity École nationale vétérinaire de Toulouse
action find
entity John Smith
relation employer
['John Smith', 'employer', 'École nationale vétérinaire de Toulouse']
ASK WHERE { resource:John_Smith property:employer resource:École_nationale_vétérinaire_de_Toulouse }
[]
university
SYSTEM
NO
(Q6258348,P108,Q3578275)
action is_in
entity Q3578275
action find
entity Q6258348
relation P108
[ANSWER]
['Q6258348', 'P108', 'Q3578275']
ASK WHERE { resource:Q6258348 property:P108 resource:Q3578275 }
No
action is_in
entity École nationale vétérinaire de Toulouse
action find
entity John Smith
relation employer
['John Smith', 'employer', 'École nationale vétérinaire de Toulouse']
ASK WHERE { resource:John_Smith property:employer resource:École_nationale_vétérinaire_de_Toulouse }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1860 Q38510 Q2519533
P361
Q5962346
USER
Is English a portion of Bull and Terrier and Ha-201-class submarine ?
(Q1860,P361,Q38510) (Q1860,P361,Q2519533)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q38510
relation P361
action find_reverse
entity Q2519533
relation P361
['Q1860', 'P361', 'Q38510'] ['Q1860', 'P361', 'Q2519533']
ASK WHERE { resource:Q1860 property:P361 resource:Q2519533 . resource:Q1860 property:P361 resource:Q38510 }
English Bull and Terrier Ha-201-class submarine
action is_in
entity English
action intersection
action find_reverse
entity Bull and Terrier
relation part of
action find_reverse
entity Ha-201-class submarine
relation part of
['English', 'part of', 'Bull and Terrier'] ['English', 'part of', 'Ha-201-class submarine']
ASK WHERE { resource:English property:part_of resource:Ha-201-class_submarine . resource:English property:part_of resource:Bull_and_Terrier }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q38510) (Q1860,P361,Q2519533)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q38510
relation P361
action find_reverse
entity Q2519533
relation P361
[ANSWER]
['Q1860', 'P361', 'Q38510'] ['Q1860', 'P361', 'Q2519533']
ASK WHERE { resource:Q1860 property:P361 resource:Q2519533 . resource:Q1860 property:P361 resource:Q38510 }
No
action is_in
entity English
action intersection
action find_reverse
entity Bull and Terrier
relation part of
action find_reverse
entity Ha-201-class submarine
relation part of
['English', 'part of', 'Bull and Terrier'] ['English', 'part of', 'Ha-201-class submarine']
ASK WHERE { resource:English property:part_of resource:Ha-201-class_submarine . resource:English property:part_of resource:Bull_and_Terrier }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2792065 Q805285
P17
Q15617994
USER
Which administrative territories are Balliol College or Babinden a part of ?
OR((Q805285,P17,c(Q15617994)), (Q2792065,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q805285
relation P17
action find
entity Q2792065
relation P17
type Q15617994
{'OR': [['Q805285', 'P17', {'concept': 'Q15617994'}], ['Q2792065', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q805285 property:P17 ?x } UNION { resource:Q2792065 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Babinden Balliol College
action filter_type
action union
action find
entity Balliol College
relation country
action find
entity Babinden
relation country
type designation for an administrative territorial entity
{'OR': [['Balliol College', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Babinden', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Balliol_College property:country ?x } UNION { resource:Babinden property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q159 Q145 Q184 Q219 Q29
SYSTEM
Ukraine, Russia, United Kingdom, Belarus, Bulgaria, Spain
Q212 Q159 Q145 Q184 Q219 Q29
OR((Q805285,P17,c(Q15617994)), (Q2792065,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q805285
relation P17
action find
entity Q2792065
relation P17
type Q15617994
[ANSWERS] are Balliol College or Babinden a part of
{'OR': [['Q805285', 'P17', {'concept': 'Q15617994'}], ['Q2792065', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q805285 property:P17 ?x } UNION { resource:Q2792065 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Ukraine Russia United Kingdom Belarus Bulgaria Spain
Ukraine, Russia, United Kingdom, Belarus, Bulgaria and Spain are Balliol College or Babinden a part of
Ukraine Russia United Kingdom Belarus Bulgaria Spain
action filter_type
action union
action find
entity Balliol College
relation country
action find
entity Babinden
relation country
type designation for an administrative territorial entity
{'OR': [['Balliol College', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Babinden', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Balliol_College property:country ?x } UNION { resource:Babinden property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q35499
P37
Q34770 Q13220204 Q7275
USER
How many languages are recognized as the official language of greater number of administrative country subdivisions and states than Old Church Slavonic ?
(c(Q13220204)|c(Q7275),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q35499
relation P37
type Q13220204
type Q7275
[[{'concept': 'Q13220204'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?x WHERE { { ?b property:P37 ?x . ?x rdf:type ontology:Q34770 . ?b rdf:type ontology:Q13220204 } UNION { ?b property:P37 ?x . ?x rdf:type ontology:Q34770 . ?b rdf:type ontology:Q7275 } } GROUP BY ?x } . FILTER ( ?z > ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { VALUES ( ?s ) { ( ontology:Q13220204 ) ( ontology:Q7275 ) } . ?l rdf:type ?s } . ?l property:P37 resource:Q35499 } } }
Old Church Slavonic
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation official language
type language
type state
action count
action filter_multi_types
action find_reverse
entity Old Church Slavonic
relation official language
type second-level administrative country subdivision
type state
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?x WHERE { { ?b property:official_language ?x . ?x rdf:type ontology:language . ?b rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?b property:official_language ?x . ?x rdf:type ontology:language . ?b rdf:type ontology:state } } GROUP BY ?x } . FILTER ( ?z > ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { VALUES ( ?s ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:state ) } . ?l rdf:type ?s } . ?l property:official_language resource:Old_Church_Slavonic } } }
[]
language second-level administrative country subdivision state
SYSTEM
10
Q9056 Q1860 Q13211 Q652 Q1321 Q36880 Q33976 Q397 Q8785 Q25164
(c(Q13220204)|c(Q7275),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q35499
relation P37
type Q13220204
type Q7275
[ANSWER]
[[{'concept': 'Q13220204'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?x WHERE { { ?b property:P37 ?x . ?x rdf:type ontology:Q34770 . ?b rdf:type ontology:Q13220204 } UNION { ?b property:P37 ?x . ?x rdf:type ontology:Q34770 . ?b rdf:type ontology:Q7275 } } GROUP BY ?x } . FILTER ( ?z > ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { VALUES ( ?s ) { ( ontology:Q13220204 ) ( ontology:Q7275 ) } . ?l rdf:type ?s } . ?l property:P37 resource:Q35499 } } }
Czech English Ruthenian Italian Spanish Bulgar language Sardinian language Latin Armenian Nynorsk
10
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation official language
type language
type state
action count
action filter_multi_types
action find_reverse
entity Old Church Slavonic
relation official language
type second-level administrative country subdivision
type state
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?x WHERE { { ?b property:official_language ?x . ?x rdf:type ontology:language . ?b rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?b property:official_language ?x . ?x rdf:type ontology:language . ?b rdf:type ontology:state } } GROUP BY ?x } . FILTER ( ?z > ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { { VALUES ( ?s ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:state ) } . ?l rdf:type ?s } . ?l property:official_language resource:Old_Church_Slavonic } } }
[]