Simple Question (Direct)
Simple Question
Q16089735
P641
Q349
USER
Which sport was Geoff Dyson a part of ?
(Q16089735,P641,c(Q349))
action filter_type
action find
entity Q16089735
relation P641
type Q349
['Q16089735', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q16089735 property:P641 ?p }
Geoff Dyson
action filter_type
action find
entity Geoff Dyson
relation sport
type sport
['Geoff Dyson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:Geoff_Dyson property:sport ?p }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16089735,P641,c(Q349))
action filter_type
action find
entity Q16089735
relation P641
type Q349
Were [ANSWER] was Geoff Dyson a part of
['Q16089735', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . resource:Q16089735 property:P641 ?p }
association football
Were association football was Geoff Dyson a part of
association football
action filter_type
action find
entity Geoff Dyson
relation sport
type sport
['Geoff Dyson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . resource:Geoff_Dyson property:sport ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16089735
P19
Q56061
USER
Which administrative territory was Geoff Dyson born at ?
(Q16089735,P19,c(Q56061))
action filter_type
action find
entity Q16089735
relation P19
type Q56061
['Q16089735', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q16089735 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Geoff Dyson
action filter_type
action find
entity Geoff Dyson
relation place of birth
type administrative territorial entity
['Geoff Dyson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Geoff_Dyson property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q11757617
SYSTEM
Linthwaite
Q11757617
(Q16089735,P19,c(Q56061))
action filter_type
action find
entity Q16089735
relation P19
type Q56061
Geoff Dyson was born in [ANSWER]
['Q16089735', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q16089735 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Linthwaite
Geoff Dyson was born in Linthwaite
Linthwaite
action filter_type
action find
entity Geoff Dyson
relation place of birth
type administrative territorial entity
['Geoff Dyson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Geoff_Dyson property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11757617
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
(Q11757617,P17,c(Q15617994))
action filter_type
action find
entity Q11757617
relation P17
type Q15617994
['Q11757617', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q11757617 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Linthwaite
action filter_type
action find
entity Linthwaite
relation country
type designation for an administrative territorial entity
['Linthwaite', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Linthwaite property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q11757617,P17,c(Q15617994))
action filter_type
action find
entity Q11757617
relation P17
type Q15617994
That administrative territory is located in [ANSWER]
['Q11757617', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q11757617 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
United Kingdom
That administrative territory is located in United Kingdom
United Kingdom
action filter_type
action find
entity Linthwaite
relation country
type designation for an administrative territorial entity
['Linthwaite', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Linthwaite property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P1408
Q4830453
USER
Which business enterprises are responsible for broadcasting to that administrative territory ?
(c(Q4830453),P1408,Q145)
action filter_type
action find_reverse
entity Q145
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q145']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q4830453 . ?t property:P1408 resource:Q145 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'United Kingdom']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:business_enterprise . ?t property:licensed_to_broadcast_to resource:United_Kingdom }
[]
business enterprise
Q191472 Q6459992 Q7280832
SYSTEM
BBC One, LSRfm.com, Radio Hartlepool
Q191472 Q6459992 Q7280832
(c(Q4830453),P1408,Q145)
action filter_type
action find_reverse
entity Q145
relation P1408
type Q4830453
[ANSWERS] are responsible for broadcasting to that administrative territory
[{'concept': 'Q4830453'}, 'P1408', 'Q145']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q4830453 . ?t property:P1408 resource:Q145 }
BBC One LSRfm.com Radio Hartlepool
BBC One, LSRfm.com and Radio Hartlepool are responsible for broadcasting to that administrative territory
BBC One LSRfm.com Radio Hartlepool
action filter_type
action find_reverse
entity United Kingdom
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'United Kingdom']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:business_enterprise . ?t property:licensed_to_broadcast_to resource:United_Kingdom }
[]
Clarification
Simple Question|Single Entity|Indirect
Q191472
P793
Q268592
USER
What is a significant event associated with that business enterprise ?
(Q191472,P793,c(Q268592))
action filter_type
action find
entity Q191472
relation P793
type Q268592
['Q191472', 'P793', {'concept': 'Q268592'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q268592 . resource:Q191472 property:P793 ?b }
BBC One
action filter_type
action find
entity BBC One
relation significant event
type economic branch
['BBC One', 'significant event', {'concept': 'economic branch'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:economic_branch . resource:BBC_One property:significant_event ?b }
[]
economic branch
Clarification for simple ques.
Q191472
SYSTEM
Did you mean BBC One ?
Q191472 Q6459992 Q7280832
(Q191472,P793,c(Q268592)) (Q6459992,P793,c(Q268592)) (Q7280832,P793,c(Q268592))
[ANSWER]
['Q191472', 'P793', {'concept': 'Q268592'}] ['Q6459992', 'P793', {'concept': 'Q268592'}] ['Q7280832', 'P793', {'concept': 'Q268592'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q268592 . resource:Q191472 property:P793 ?b }
BBC One LSRfm.com Radio Hartlepool
Did you mean BBC One ?
BBC One
['BBC One', 'significant event', {'concept': 'economic branch'}] ['LSRfm.com', 'significant event', {'concept': 'economic branch'}] ['Radio Hartlepool', 'significant event', {'concept': 'economic branch'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:economic_branch . resource:BBC_One property:significant_event ?b }
[]
Simple Question (Coreferenced)
USER
Yes
(Q191472,P793,c(Q268592))
['Q191472', 'P793', {'concept': 'Q268592'}]
['BBC One', 'significant event', {'concept': 'economic branch'}]
[]
Q849194
SYSTEM
color television
Q849194
(Q191472,P793,c(Q268592))
action filter_type
action find
entity Q191472
relation P793
type Q268592
A significant event associated with that business enterprise is a [ANSWER]
['Q191472', 'P793', {'concept': 'Q268592'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q268592 . resource:Q191472 property:P793 ?b }
color television
A significant event associated with that business enterprise is a color television
color television
action filter_type
action find
entity BBC One
relation significant event
type economic branch
['BBC One', 'significant event', {'concept': 'economic branch'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:economic_branch . resource:BBC_One property:significant_event ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q5962346 Q34770 Q15617994
USER
How many administrative territories designates around 1 classification schemes and languages as their official language ?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action count
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
value 1
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?l ) WHERE { { ?q property:P37 ?i . ?q rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q34770 } UNION { ?q property:P37 ?i . ?q rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q5962346 } } GROUP BY ?q } }
action count
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?l ) WHERE { { ?q property:official_language ?i . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:language } UNION { ?q property:official_language ?i . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:classification_scheme } } GROUP BY ?q } }
[]
classification scheme language designation for an administrative territorial entity
SYSTEM
84
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q34 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q20 Q1044 Q1042 Q27 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action count
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?l ) WHERE { { ?q property:P37 ?i . ?q rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q34770 } UNION { ?q property:P37 ?i . ?q rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q5962346 } } GROUP BY ?q } }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Sweden Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Norway Sierra Leone Seychelles Ireland Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
84
action count
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?l ) WHERE { { ?q property:official_language ?i . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:language } UNION { ?q property:official_language ?i . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:classification_scheme } } GROUP BY ?q } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P1433
Q2342494
USER
Which collectable does United Kingdom contain ?
(c(Q2342494),P1433,Q145)
action filter_type
action find_reverse
entity Q145
relation P1433
type Q2342494
[{'concept': 'Q2342494'}, 'P1433', 'Q145']
SELECT DISTINCT ?a WHERE { ?a property:P1433 resource:Q145 . ?a rdf:type ontology:Q2342494 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation published in
type collectable
[{'concept': 'collectable'}, 'published in', 'United Kingdom']
SELECT DISTINCT ?a WHERE { ?a property:published_in resource:United_Kingdom . ?a rdf:type ontology:collectable }
[]
collectable
Q27514793
SYSTEM
Who Was Who in Egyptology (3rd Edition)
Q27514793
(c(Q2342494),P1433,Q145)
action filter_type
action find_reverse
entity Q145
relation P1433
type Q2342494
United Kingdom contains [ANSWER]
[{'concept': 'Q2342494'}, 'P1433', 'Q145']
SELECT DISTINCT ?a WHERE { ?a property:P1433 resource:Q145 . ?a rdf:type ontology:Q2342494 }
Who Was Who in Egyptology (3rd Edition)
United Kingdom contains Who Was Who in Egyptology (3rd Edition)
Who Was Who in Egyptology (3rd Edition)
action filter_type
action find_reverse
entity United Kingdom
relation published in
type collectable
[{'concept': 'collectable'}, 'published in', 'United Kingdom']
SELECT DISTINCT ?a WHERE { ?a property:published_in resource:United_Kingdom . ?a rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27514793
P364
Q34770
USER
Which language was used originally for the creation of that collectable ?
(Q27514793,P364,c(Q34770))
action filter_type
action find
entity Q27514793
relation P364
type Q34770
['Q27514793', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q27514793 property:P364 ?c . ?c rdf:type ontology:Q34770 }
Who Was Who in Egyptology (3rd Edition)
action filter_type
action find
entity Who Was Who in Egyptology (3rd Edition)
relation original language of work
type language
['Who Was Who in Egyptology (3rd Edition)', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Who_Was_Who_in_Egyptology_(3rd_Edition) property:original_language_of_work ?c . ?c rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q27514793,P364,c(Q34770))
action filter_type
action find
entity Q27514793
relation P364
type Q34770
[ANSWER] was used originally for the creation of that collectable
['Q27514793', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q27514793 property:P364 ?c . ?c rdf:type ontology:Q34770 }
English
English was used originally for the creation of that collectable
English
action filter_type
action find
entity Who Was Who in Egyptology (3rd Edition)
relation original language of work
type language
['Who Was Who in Egyptology (3rd Edition)', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Who_Was_Who_in_Egyptology_(3rd_Edition) property:original_language_of_work ?c . ?c rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P30
Q2221906
USER
Which geographic location is United Kingdom located in ?
(Q145,P30,c(Q2221906))
action filter_type
action find
entity Q145
relation P30
type Q2221906
['Q145', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?g WHERE { resource:Q145 property:P30 ?g . ?g rdf:type ontology:Q2221906 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
['United Kingdom', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?g WHERE { resource:United_Kingdom property:continent ?g . ?g rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q145,P30,c(Q2221906))
action filter_type
action find
entity Q145
relation P30
type Q2221906
Which geographic location is United Kingdom located in
['Q145', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?g WHERE { resource:Q145 property:P30 ?g . ?g rdf:type ontology:Q2221906 }
Europe
Which geographic location is United Kingdom located in
Europe
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
['United Kingdom', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?g WHERE { resource:United_Kingdom property:continent ?g . ?g rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P85
Q7725634
USER
What is the anthem for that administrative territory ?
(Q46,P85,c(Q7725634))
action filter_type
action find
entity Q145
relation P85
type Q7725634
['Q46', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q7725634 . resource:Q145 property:P85 ?g }
United Kingdom
action filter_type
action find
entity United Kingdom
relation anthem
type literary work
['Europe', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:literary_work . resource:United_Kingdom property:anthem ?g }
[]
literary work
Q40807
SYSTEM
God Save the Queen
Q40807
(Q46,P85,c(Q7725634))
action filter_type
action find
entity Q145
relation P85
type Q7725634
The anthem for that administrative territory is the [ANSWER]
['Q46', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q7725634 . resource:Q145 property:P85 ?g }
God Save the Queen
The anthem for that administrative territory is the God Save the Queen
God Save the Queen
action filter_type
action find
entity United Kingdom
relation anthem
type literary work
['Europe', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:literary_work . resource:United_Kingdom property:anthem ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q7725634
USER
How many languages are around 12 literary works in ?
(c(Q7725634),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
value 12
[{'concept': 'Q7725634'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P407 ?y . ?y rdf:type ontology:Q34770 . ?w rdf:type ontology:Q7725634 } GROUP BY ?y } . FILTER ( ?x = 12 ) }
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
value 12
[{'concept': 'literary work'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?w rdf:type ontology:literary_work } GROUP BY ?y } . FILTER ( ?x = 12 ) }
[]
language literary work
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q7725634),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
value 12
[ANSWER]
[{'concept': 'Q7725634'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P407 ?y . ?y rdf:type ontology:Q34770 . ?w rdf:type ontology:Q7725634 } GROUP BY ?y } . FILTER ( ?x = 12 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
value 12
[{'concept': 'literary work'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?w rdf:type ontology:literary_work } GROUP BY ?y } . FILTER ( ?x = 12 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a part of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { resource:Q1860 property:P361 ?u . ?u rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { resource:English property:part_of ?u . ?u rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a part of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { resource:Q1860 property:P361 ?u . ?u rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a part of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { resource:English property:part_of ?u . ?u rdf:type ontology:classification_scheme }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6428241 Q1860
P361
Q5962346
USER
Or Kombai language?
OR((Q1860,P361,c(Q5962346)), (Q6428241,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q6428241
relation P361
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q6428241', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1860 property:P361 ?b } UNION { resource:Q6428241 property:P361 ?b } } . ?b rdf:type ontology:Q5962346 }
Kombai language English
action filter_type
action union
action find
entity English
relation part of
action find
entity Kombai language
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Kombai language', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?b WHERE { { { resource:English property:part_of ?b } UNION { resource:Kombai_language property:part_of ?b } } . ?b rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q34018 Q5329170
SYSTEM
Anglic languages, trans–New Guinea languages, Anglo-Frisian languages
Q1346342 Q34018 Q5329170
OR((Q1860,P361,c(Q5962346)), (Q6428241,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q6428241
relation P361
type Q5962346
[ANSWERS]
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q6428241', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1860 property:P361 ?b } UNION { resource:Q6428241 property:P361 ?b } } . ?b rdf:type ontology:Q5962346 }
Anglic languages trans–New Guinea languages Anglo-Frisian languages
Anglic languages trans–New Guinea languages Anglo-Frisian languages
action filter_type
action union
action find
entity English
relation part of
action find
entity Kombai language
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Kombai language', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?b WHERE { { { resource:English property:part_of ?b } UNION { resource:Kombai_language property:part_of ?b } } . ?b rdf:type ontology:classification_scheme }
[]