Simple Question (Direct)
Simple Question
Q1759482
P86
Q502895
USER
Who composed Desert Blue ?
(Q1759482,P86,c(Q502895))
action filter_type
action find
entity Q1759482
relation P86
type Q502895
['Q1759482', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q1759482 property:P86 ?h }
Desert Blue
action filter_type
action find
entity Desert Blue
relation composer
type common name
['Desert Blue', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Desert_Blue property:composer ?h }
[]
common name
Q1768648
SYSTEM
Vytas
Q1768648
(Q1759482,P86,c(Q502895))
action filter_type
action find
entity Q1759482
relation P86
type Q502895
[ANSWER] composed Desert Blue
['Q1759482', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q1759482 property:P86 ?h }
Vytas
Vytas composed Desert Blue
Vytas
action filter_type
action find
entity Desert Blue
relation composer
type common name
['Desert Blue', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Desert_Blue property:composer ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1759482
P57
Q502895
USER
Who was Desert Blue directed by ?
(Q1759482,P57,c(Q502895))
action filter_type
action find
entity Q1759482
relation P57
type Q502895
['Q1759482', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q1759482 property:P57 ?o }
Desert Blue
action filter_type
action find
entity Desert Blue
relation director
type common name
['Desert Blue', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Desert_Blue property:director ?o }
[]
common name
Q1947643
SYSTEM
Morgan J. Freeman
Q1947643
(Q1759482,P57,c(Q502895))
action filter_type
action find
entity Q1759482
relation P57
type Q502895
By Desert Blue was directed by [ANSWER]
['Q1759482', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q1759482 property:P57 ?o }
Morgan J. Freeman
By Desert Blue was directed by Morgan J. Freeman
Morgan J. Freeman
action filter_type
action find
entity Desert Blue
relation director
type common name
['Desert Blue', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Desert_Blue property:director ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1947643
P58
Q838948
USER
Which works of art have that person as screenwriter ?
(c(Q838948),P58,Q1947643)
action filter_type
action find_reverse
entity Q1947643
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q1947643']
SELECT DISTINCT ?m WHERE { ?m property:P58 resource:Q1947643 . ?m rdf:type ontology:Q838948 }
Morgan J. Freeman
action filter_type
action find_reverse
entity Morgan J. Freeman
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Morgan J. Freeman']
SELECT DISTINCT ?m WHERE { ?m property:screenwriter resource:Morgan_J._Freeman . ?m rdf:type ontology:work_of_art }
[]
work of art
Q5948336 Q1759482
SYSTEM
Hurricane Streets, Desert Blue
Q5948336 Q1759482
(c(Q838948),P58,Q1947643)
action filter_type
action find_reverse
entity Q1947643
relation P58
type Q838948
[ANSWERS] have that person as screenwriter
[{'concept': 'Q838948'}, 'P58', 'Q1947643']
SELECT DISTINCT ?m WHERE { ?m property:P58 resource:Q1947643 . ?m rdf:type ontology:Q838948 }
Hurricane Streets Desert Blue
Hurricane Streets and Desert Blue have that person as screenwriter
Hurricane Streets Desert Blue
action filter_type
action find_reverse
entity Morgan J. Freeman
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Morgan J. Freeman']
SELECT DISTINCT ?m WHERE { ?m property:screenwriter resource:Morgan_J._Freeman . ?m rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1947643
P57
Q838948
USER
How many works of art are Morgan J. Freeman a director of ?
(c(Q838948),P57,Q1947643)
action count
action filter_type
action find_reverse
entity Q1947643
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q1947643']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P57 resource:Q1947643 . ?p rdf:type ontology:Q838948 }
Morgan J. Freeman
action count
action filter_type
action find_reverse
entity Morgan J. Freeman
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Morgan J. Freeman']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:director resource:Morgan_J._Freeman . ?p rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
5
Q5948336 Q12125310 Q1759482 Q2252746 Q466533
(c(Q838948),P57,Q1947643)
action count
action filter_type
action find_reverse
entity Q1947643
relation P57
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q1947643']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P57 resource:Q1947643 . ?p rdf:type ontology:Q838948 }
Hurricane Streets Just Like the Son Desert Blue Homecoming American Psycho 2
5
action count
action filter_type
action find_reverse
entity Morgan J. Freeman
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Morgan J. Freeman']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:director resource:Morgan_J._Freeman . ?p rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q65906
P57
Q838948
USER
And what about Bernhard Grzimek?
(c(Q838948),P57,Q65906)
action count
action filter_type
action find_reverse
entity Q65906
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q65906']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:P57 resource:Q65906 . ?h rdf:type ontology:Q838948 }
Bernhard Grzimek
action count
action filter_type
action find_reverse
entity Bernhard Grzimek
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Bernhard Grzimek']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:director resource:Bernhard_Grzimek . ?h rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
2
Q470544 Q4853469
(c(Q838948),P57,Q65906)
action count
action filter_type
action find_reverse
entity Q65906
relation P57
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q65906']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:P57 resource:Q65906 . ?h rdf:type ontology:Q838948 }
Serengeti Shall Not Die Bambuti
2
action count
action filter_type
action find_reverse
entity Bernhard Grzimek
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Bernhard Grzimek']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:director resource:Bernhard_Grzimek . ?h rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P37
Q15617994
USER
Which administrative territories have their official language as English ?
(c(Q15617994),P37,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', 'Q1860']
SELECT DISTINCT ?o WHERE { ?o property:P37 resource:Q1860 . ?o rdf:type ontology:Q15617994 }
English
action filter_type
action find_reverse
entity English
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', 'English']
SELECT DISTINCT ?o WHERE { ?o property:official_language resource:English . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q953 Q145
SYSTEM
Netherlands, Zambia, United Kingdom
Q1036 Q1020 Q1005 Q1037 Q843 Q709 Q1009 Q668 Q2003 Q683 Q242 Q34020 Q244 Q1904 Q686 Q760 Q1974 Q754 Q55 Q1948 Q145 Q784 Q1050 Q1989 Q924 Q672 Q833 Q928 Q986 Q712 Q710 Q1033 Q1030 Q1014 Q27 Q734 Q963 Q695 Q678 Q114 Q117 Q1013 Q258 Q1979 Q233 Q1951 Q1952 Q954 Q1044 Q1042 Q953 Q2023 Q958 Q1049
(c(Q15617994),P37,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P37
type Q15617994
[ANSWERS] have their official language as English
[{'concept': 'Q15617994'}, 'P37', 'Q1860']
SELECT DISTINCT ?o WHERE { ?o property:P37 resource:Q1860 . ?o rdf:type ontology:Q15617994 }
Uganda Malawi Gambia Rwanda Pakistan Marshall Islands Cameroon India Newfoundland and Labrador Samoa Belize Niue Barbados Ontario Vanuatu Saint Lucia British Columbia Trinidad and Tobago Netherlands Manitoba United Kingdom Dominica Swaziland Saskatchewan Tanzania Tuvalu Malaysia Philippines Eritrea Fiji Kiribati Nigeria Namibia Liberia Ireland Guyana Botswana Palau Tonga Kenya Ghana Lesotho South Africa Prince Edward Island Malta Alberta Nova Scotia Zimbabwe Sierra Leone Seychelles Zambia Nunavut South Sudan Sudan
Netherlands, Zambia and United Kingdom have their official language as English
Netherlands Zambia United Kingdom
action filter_type
action find_reverse
entity English
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', 'English']
SELECT DISTINCT ?o WHERE { ?o property:official_language resource:English . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P407
Q853614
USER
Which identifiers are in English ?
(c(Q853614),P407,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P407
type Q853614
[{'concept': 'Q853614'}, 'P407', 'Q1860']
SELECT DISTINCT ?f WHERE { ?f property:P407 resource:Q1860 . ?f rdf:type ontology:Q853614 }
English
action filter_type
action find_reverse
entity English
relation language of work or name
type identifier
[{'concept': 'identifier'}, 'language of work or name', 'English']
SELECT DISTINCT ?f WHERE { ?f property:language_of_work_or_name resource:English . ?f rdf:type ontology:identifier }
[]
identifier
Q16275358 Q18055161 Q16278259
SYSTEM
Dell, Henry, Laurence
Q933270 Q18197979 Q18055161 Q20182879 Q1537946 Q16278259 Q2721206 Q16276017 Q16278498 Q3108782 Q1421260 Q474189 Q16278293 Q1985318 Q7921397 Q1964955 Q22920 Q1684580 Q1208347 Q16354707 Q3786303 Q17485430 Q16256593 Q1243982 Q4218942 Q1158291 Q783419 Q16275358 Q18325844
(c(Q853614),P407,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P407
type Q853614
As [ANSWERS] are in English
[{'concept': 'Q853614'}, 'P407', 'Q1860']
SELECT DISTINCT ?f WHERE { ?f property:P407 resource:Q1860 . ?f rdf:type ontology:Q853614 }
Grant James Henry Dale Kenneth Laurence Hunter Golden Littleton Glenn Fitz Amos Lawyer Nick Veritasium Andrew Martin Jean Kenny Darren Holly Jordan Donovan Woody Cave Noah Norman Dell Luke
As Dell, Henry and Laurence are in English
Dell Henry Laurence
action filter_type
action find_reverse
entity English
relation language of work or name
type identifier
[{'concept': 'identifier'}, 'language of work or name', 'English']
SELECT DISTINCT ?f WHERE { ?f property:language_of_work_or_name resource:English . ?f rdf:type ontology:identifier }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P361
Q5962346
USER
Which classification schemes are that language a part of ?
(Q16275358,P361,c(Q5962346)) (Q18055161,P361,c(Q5962346)) (Q16278259,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q16275358', 'P361', {'concept': 'Q5962346'}] ['Q18055161', 'P361', {'concept': 'Q5962346'}] ['Q16278259', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?k WHERE { resource:Q1860 property:P361 ?k . ?k rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['Dell', 'part of', {'concept': 'classification scheme'}] ['Henry', 'part of', {'concept': 'classification scheme'}] ['Laurence', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?k WHERE { resource:English property:part_of ?k . ?k rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q16275358,P361,c(Q5962346)) (Q18055161,P361,c(Q5962346)) (Q16278259,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWERS] are that language a part of
['Q16275358', 'P361', {'concept': 'Q5962346'}] ['Q18055161', 'P361', {'concept': 'Q5962346'}] ['Q16278259', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?k WHERE { resource:Q1860 property:P361 ?k . ?k rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Anglic languages and Anglo-Frisian languages are that language a part of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['Dell', 'part of', {'concept': 'classification scheme'}] ['Henry', 'part of', {'concept': 'classification scheme'}] ['Laurence', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?k WHERE { resource:English property:part_of ?k . ?k rdf:type ontology:classification_scheme }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q5962346 Q95074 Q2221906
USER
How many classification schemes are less number of fictional characters or geographic locations a component of than that classification scheme ?
(c(Q95074)|c(Q2221906),P361,c(Q5962346))
[[{'concept': 'Q95074'}, {'concept': 'Q2221906'}], 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?g ) { ( ?z ) ( ?x ) } . ?g property:P361 ?y } . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q5962346 . ?x rdf:type ontology:Q2221906 }
[[{'concept': 'fictional character'}, {'concept': 'geographic location'}], 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?g ) { ( ?z ) ( ?x ) } . ?g property:part_of ?y } . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:classification_scheme . ?x rdf:type ontology:geographic_location }
[]
classification scheme fictional character geographic location
Comparative|Count over More/Less|Mult. entity type|Clarification
Q5329170
SYSTEM
Did you mean Anglo-Frisian languages ?
(c(Q95074)|c(Q2221906),P361,c(Q5962346))
[ANSWER]
[[{'concept': 'Q95074'}, {'concept': 'Q2221906'}], 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?g ) { ( ?z ) ( ?x ) } . ?g property:P361 ?y } . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q5962346 . ?x rdf:type ontology:Q2221906 }
Did you mean Anglo-Frisian languages ?
Anglo-Frisian languages
[[{'concept': 'fictional character'}, {'concept': 'geographic location'}], 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?g ) { ( ?z ) ( ?x ) } . ?g property:part_of ?y } . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:classification_scheme . ?x rdf:type ontology:geographic_location }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q95074)|c(Q2221906),P361,c(Q5962346))
[[{'concept': 'Q95074'}, {'concept': 'Q2221906'}], 'P361', {'concept': 'Q5962346'}]
[[{'concept': 'fictional character'}, {'concept': 'geographic location'}], 'part of', {'concept': 'classification scheme'}]
[]
SYSTEM
0
(c(Q95074)|c(Q2221906),P361,c(Q5962346))
[ANSWER]
[[{'concept': 'Q95074'}, {'concept': 'Q2221906'}], 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q5962346 . ?x rdf:type ontology:Q2221906 }
0
[[{'concept': 'fictional character'}, {'concept': 'geographic location'}], 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:classification_scheme . ?x rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P291
Q2342494
USER
Which collectables were published in United Kingdom ?
(c(Q2342494),P291,Q145)
action filter_type
action find_reverse
entity Q145
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q145']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2342494 . ?y property:P291 resource:Q145 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'United Kingdom']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:collectable . ?y property:place_of_publication resource:United_Kingdom }
[]
collectable
Q2120111 Q20757790
SYSTEM
Tales from Watership Down, Marco Polo's Book
Q2120111 Q20757790
(c(Q2342494),P291,Q145)
action filter_type
action find_reverse
entity Q145
relation P291
type Q2342494
[ANSWERS] were published in United Kingdom
[{'concept': 'Q2342494'}, 'P291', 'Q145']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2342494 . ?y property:P291 resource:Q145 }
Tales from Watership Down Marco Polo's Book
Tales from Watership Down and Marco Polo's Book were published in United Kingdom
Tales from Watership Down Marco Polo's Book
action filter_type
action find_reverse
entity United Kingdom
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'United Kingdom']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:collectable . ?y property:place_of_publication resource:United_Kingdom }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2120111 Q20757790
P50
Q502895
USER
Who penned Tales from Watership Down and Marco Polo's Book ?
(Q2120111,P50,c(Q502895)) (Q20757790,P50,c(Q502895))
action union
action filter_type
action find
entity Q2120111
relation P50
type Q502895
action filter_type
action find
entity Q20757790
relation P50
type Q502895
['Q2120111', 'P50', {'concept': 'Q502895'}] ['Q20757790', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?p property:P50 ?v . VALUES ( ?p ) { ( resource:Q2120111 ) ( resource:Q20757790 ) } }
Tales from Watership Down Marco Polo's Book
action union
action filter_type
action find
entity Tales from Watership Down
relation author
type common name
action filter_type
action find
entity Marco Polo's Book
relation author
type common name
['Tales from Watership Down', 'author', {'concept': 'common name'}] ["Marco Polo's Book", 'author', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?p property:author ?v . VALUES ( ?p ) { ( resource:Tales_from_Watership_Down ) ( resource:Marco_Polo's_Book ) } }
[]
common name
Q313289 Q20757788
SYSTEM
Richard Adams, John S. Critchley
Q313289 Q20757788
(Q2120111,P50,c(Q502895)) (Q20757790,P50,c(Q502895))
action union
action filter_type
action find
entity Q2120111
relation P50
type Q502895
action filter_type
action find
entity Q20757790
relation P50
type Q502895
And [ANSWERS] penned Tales from Watership Down and Marco Polo's Book
['Q2120111', 'P50', {'concept': 'Q502895'}] ['Q20757790', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?p property:P50 ?v . VALUES ( ?p ) { ( resource:Q2120111 ) ( resource:Q20757790 ) } }
Richard Adams John S. Critchley
And Richard Adams and John S. Critchley penned Tales from Watership Down and Marco Polo's Book
Richard Adams John S. Critchley
action union
action filter_type
action find
entity Tales from Watership Down
relation author
type common name
action filter_type
action find
entity Marco Polo's Book
relation author
type common name
['Tales from Watership Down', 'author', {'concept': 'common name'}] ["Marco Polo's Book", 'author', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?p property:author ?v . VALUES ( ?p ) { ( resource:Tales_from_Watership_Down ) ( resource:Marco_Polo's_Book ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P38
Q8142
USER
What is used as the currency of United Kingdom ?
(Q145,P38,c(Q8142))
action filter_type
action find
entity Q145
relation P38
type Q8142
['Q145', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?n WHERE { resource:Q145 property:P38 ?n . ?n rdf:type ontology:Q8142 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation currency
type currency
['United Kingdom', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?n WHERE { resource:United_Kingdom property:currency ?n . ?n rdf:type ontology:currency }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q145,P38,c(Q8142))
action filter_type
action find
entity Q145
relation P38
type Q8142
Coin [ANSWER] is used as the currency of United Kingdom
['Q145', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?n WHERE { resource:Q145 property:P38 ?n . ?n rdf:type ontology:Q8142 }
pound sterling
Coin pound sterling is used as the currency of United Kingdom
pound sterling
action filter_type
action find
entity United Kingdom
relation currency
type currency
['United Kingdom', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?n WHERE { resource:United_Kingdom property:currency ?n . ?n rdf:type ontology:currency }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25224
P17
Q15617994
USER
Which administrative territory is that currency situated in ?
(Q25224,P17,c(Q15617994))
action filter_type
action find
entity Q25224
relation P17
type Q15617994
['Q25224', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q25224 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
pound sterling
action filter_type
action find
entity pound sterling
relation country
type designation for an administrative territorial entity
['pound sterling', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:pound_sterling property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q25224,P17,c(Q15617994))
action filter_type
action find
entity Q25224
relation P17
type Q15617994
That currency is situated in [ANSWER]
['Q25224', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q25224 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
United Kingdom
That currency is situated in United Kingdom
United Kingdom
action filter_type
action find
entity pound sterling
relation country
type designation for an administrative territorial entity
['pound sterling', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:pound_sterling property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with around 30 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 30
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?y ) WHERE { ?b property:P530 ?q . ?b rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?y = 30 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 30
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?y ) WHERE { ?b property:diplomatic_relation ?q . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?y = 30 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 30
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?y ) WHERE { ?b property:P530 ?q . ?b rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?y = 30 ) }
Russia United States of America
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 30
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?y ) WHERE { ?b property:diplomatic_relation ?q . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?y = 30 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P85
Q484692
USER
Which hymn is the anthem for United States of America ?
(Q30,P85,c(Q484692))
action filter_type
action find
entity Q30
relation P85
type Q484692
['Q30', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?f WHERE { resource:Q30 property:P85 ?f . ?f rdf:type ontology:Q484692 }
United States of America
action filter_type
action find
entity United States of America
relation anthem
type hymn
['United States of America', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?f WHERE { resource:United_States_of_America property:anthem ?f . ?f rdf:type ontology:hymn }
[]
hymn
Q44696
SYSTEM
The Star-Spangled Banner
Q44696
(Q30,P85,c(Q484692))
action filter_type
action find
entity Q30
relation P85
type Q484692
Banner [ANSWER] is the anthem for United States of America
['Q30', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?f WHERE { resource:Q30 property:P85 ?f . ?f rdf:type ontology:Q484692 }
The Star-Spangled Banner
Banner The Star-Spangled Banner is the anthem for United States of America
The Star-Spangled Banner
action filter_type
action find
entity United States of America
relation anthem
type hymn
['United States of America', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?f WHERE { resource:United_States_of_America property:anthem ?f . ?f rdf:type ontology:hymn }
[]