Simple Question (Direct)
Simple Question
Q3624953
P7
Q502895
USER
Which people are the brothers of Ash Baron-Cohen ?
(Q3624953,P7,c(Q502895))
action filter_type
action find
entity Q3624953
relation P7
type Q502895
['Q3624953', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q3624953 property:P7 ?p . ?p rdf:type ontology:Q502895 }
Ash Baron-Cohen
action filter_type
action find
entity Ash Baron-Cohen
relation brother
type common name
['Ash Baron-Cohen', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Ash_Baron-Cohen property:brother ?p . ?p rdf:type ontology:common_name }
[]
common name
Q16728123 Q918343
SYSTEM
Dan Baron Cohen, Simon Baron-Cohen
Q16728123 Q918343
(Q3624953,P7,c(Q502895))
action filter_type
action find
entity Q3624953
relation P7
type Q502895
[ANSWERS] are the brothers of Ash Baron-Cohen
['Q3624953', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q3624953 property:P7 ?p . ?p rdf:type ontology:Q502895 }
Dan Baron Cohen Simon Baron-Cohen
Dan Baron Cohen and Simon Baron-Cohen are the brothers of Ash Baron-Cohen
Dan Baron Cohen Simon Baron-Cohen
action filter_type
action find
entity Ash Baron-Cohen
relation brother
type common name
['Ash Baron-Cohen', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Ash_Baron-Cohen property:brother ?p . ?p rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16728123
P21
Q290
USER
What is the sex of that person ?
(Q16728123,P21,c(Q290))
action filter_type
action find
entity Q16728123
relation P21
type Q290
['Q16728123', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q16728123 property:P21 ?m }
Dan Baron Cohen
action filter_type
action find
entity Dan Baron Cohen
relation gender
type sex
['Dan Baron Cohen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Dan_Baron_Cohen property:gender ?m }
[]
sex
Clarification for simple ques.
Q16728123
SYSTEM
Did you mean Dan Baron Cohen ?
Q16728123 Q918343
(Q16728123,P21,c(Q290)) (Q918343,P21,c(Q290))
[ANSWER]
['Q16728123', 'P21', {'concept': 'Q290'}] ['Q918343', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q16728123 property:P21 ?m }
Dan Baron Cohen Simon Baron-Cohen
Did you mean Dan Baron Cohen ?
Dan Baron Cohen
['Dan Baron Cohen', 'gender', {'concept': 'sex'}] ['Simon Baron-Cohen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Dan_Baron_Cohen property:gender ?m }
[]
Simple Question (Coreferenced)
USER
Yes
(Q16728123,P21,c(Q290))
['Q16728123', 'P21', {'concept': 'Q290'}]
['Dan Baron Cohen', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q16728123,P21,c(Q290))
action filter_type
action find
entity Q16728123
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q16728123', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q16728123 property:P21 ?m }
male
The sex of that person is a male
male
action filter_type
action find
entity Dan Baron Cohen
relation gender
type sex
['Dan Baron Cohen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Dan_Baron_Cohen property:gender ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can exactly 2 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?k = 2 ) }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?k = 2 ) }
[]
musical instrument common name
SYSTEM
8
Q201129 Q424017 Q3574843 Q182718 Q862501 Q537750 Q1300012 Q483994
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?k = 2 ) }
lyre acoustic bass guitar tonbak Nyckelharpa ondes Martenot Djembe toy piano Kazoo
8
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?k = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q918343
P40
Q502895
USER
Which person is a child of Simon Baron-Cohen ?
(Q918343,P40,c(Q502895))
action filter_type
action find
entity Q918343
relation P40
type Q502895
['Q918343', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q918343 property:P40 ?a . ?a rdf:type ontology:Q502895 }
Simon Baron-Cohen
action filter_type
action find
entity Simon Baron-Cohen
relation child
type common name
['Simon Baron-Cohen', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Simon_Baron-Cohen property:child ?a . ?a rdf:type ontology:common_name }
[]
common name
Q15999775
SYSTEM
Sam Baron
Q15999775
(Q918343,P40,c(Q502895))
action filter_type
action find
entity Q918343
relation P40
type Q502895
[ANSWER] is a child of Simon Baron-Cohen
['Q918343', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q918343 property:P40 ?a . ?a rdf:type ontology:Q502895 }
Sam Baron
Sam Baron is a child of Simon Baron-Cohen
Sam Baron
action filter_type
action find
entity Simon Baron-Cohen
relation child
type common name
['Simon Baron-Cohen', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Simon_Baron-Cohen property:child ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15999775
P22
Q502895
USER
Which person was the father of that one ?
(Q15999775,P22,c(Q502895))
action filter_type
action find
entity Q15999775
relation P22
type Q502895
['Q15999775', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q15999775 property:P22 ?d . ?d rdf:type ontology:Q502895 }
Sam Baron
action filter_type
action find
entity Sam Baron
relation father
type common name
['Sam Baron', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Sam_Baron property:father ?d . ?d rdf:type ontology:common_name }
[]
common name
Q918343
SYSTEM
Simon Baron-Cohen
Q918343
(Q15999775,P22,c(Q502895))
action filter_type
action find
entity Q15999775
relation P22
type Q502895
[ANSWER] was the father of that one
['Q15999775', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q15999775 property:P22 ?d . ?d rdf:type ontology:Q502895 }
Simon Baron-Cohen
Simon Baron-Cohen was the father of that one
Simon Baron-Cohen
action filter_type
action find
entity Sam Baron
relation father
type common name
['Sam Baron', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Sam_Baron property:father ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P38
Q8142
USER
What is considered to be the currency of United States of America ?
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?w WHERE { resource:Q30 property:P38 ?w . ?w rdf:type ontology:Q8142 }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?w WHERE { resource:United_States_of_America property:currency ?w . ?w rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
[ANSWER] is considered to be the currency of United States of America
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?w WHERE { resource:Q30 property:P38 ?w . ?w rdf:type ontology:Q8142 }
United States dollar
United States dollar is considered to be the currency of United States of America
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?w WHERE { resource:United_States_of_America property:currency ?w . ?w rdf:type ontology:currency }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26180
Q8142
USER
And how about Sint Eustatius?
(Q26180,P38,c(Q8142))
action filter_type
action find
entity Q26180
relation P38
type Q8142
['Q26180', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?o WHERE { resource:Q26180 property:P38 ?o . ?o rdf:type ontology:Q8142 }
Sint Eustatius
action filter_type
action find
entity Sint Eustatius
relation currency
type currency
['Sint Eustatius', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?o WHERE { resource:Sint_Eustatius property:currency ?o . ?o rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q26180,P38,c(Q8142))
action filter_type
action find
entity Q26180
relation P38
type Q8142
[ANSWER]
['Q26180', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?o WHERE { resource:Q26180 property:P38 ?o . ?o rdf:type ontology:Q8142 }
United States dollar
United States dollar
action filter_type
action find
entity Sint Eustatius
relation currency
type currency
['Sint Eustatius', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?o WHERE { resource:Sint_Eustatius property:currency ?o . ?o rdf:type ontology:currency }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P38
Q8142 Q13220204 Q5589178
USER
How many currencies are used as the currencies of greater number of administrative country subdivisions or regimes than that currency ?
(c(Q13220204)|c(Q5589178),P38,c(Q8142))
action count
action greater
action union
action find_reverse_tuple_counts
relation P38
type Q8142
type Q13220204
action find_reverse_tuple_counts
relation P38
type Q8142
type Q5589178
action count
action filter_multi_types
action find_reverse
entity Q4917
relation P38
type Q13220204
type Q5589178
[[{'concept': 'Q13220204'}, {'concept': 'Q5589178'}], 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?h ) WHERE { { ?y property:P38 ?m . ?m rdf:type ontology:Q8142 . ?y rdf:type ontology:Q13220204 } UNION { ?y property:P38 ?m . ?m rdf:type ontology:Q8142 . ?y rdf:type ontology:Q5589178 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:Q13220204 ) ( ontology:Q5589178 ) } } . ?v property:P38 resource:Q4917 } } . FILTER ( ?h > ?i ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation currency
type currency
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation currency
type currency
type regime
action count
action filter_multi_types
action find_reverse
entity United States dollar
relation currency
type second-level administrative country subdivision
type regime
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'regime'}], 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?h ) WHERE { { ?y property:currency ?m . ?m rdf:type ontology:currency . ?y rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?y property:currency ?m . ?m rdf:type ontology:currency . ?y rdf:type ontology:regime } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:regime ) } } . ?v property:currency resource:United_States_dollar } } . FILTER ( ?h > ?i ) }
[]
currency second-level administrative country subdivision regime
SYSTEM
2
Q200979 Q615640
(c(Q13220204)|c(Q5589178),P38,c(Q8142))
action count
action greater
action union
action find_reverse_tuple_counts
relation P38
type Q8142
type Q13220204
action find_reverse_tuple_counts
relation P38
type Q8142
type Q5589178
action count
action filter_multi_types
action find_reverse
entity Q4917
relation P38
type Q13220204
type Q5589178
[ANSWER]
[[{'concept': 'Q13220204'}, {'concept': 'Q5589178'}], 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?h ) WHERE { { ?y property:P38 ?m . ?m rdf:type ontology:Q8142 . ?y rdf:type ontology:Q13220204 } UNION { ?y property:P38 ?m . ?m rdf:type ontology:Q8142 . ?y rdf:type ontology:Q5589178 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:Q13220204 ) ( ontology:Q5589178 ) } } . ?v property:P38 resource:Q4917 } } . FILTER ( ?h > ?i ) }
Transnistrian ruble Soviet ruble
2
action count
action greater
action union
action find_reverse_tuple_counts
relation currency
type currency
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation currency
type currency
type regime
action count
action filter_multi_types
action find_reverse
entity United States dollar
relation currency
type second-level administrative country subdivision
type regime
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'regime'}], 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?h ) WHERE { { ?y property:currency ?m . ?m rdf:type ontology:currency . ?y rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?y property:currency ?m . ?m rdf:type ontology:currency . ?y rdf:type ontology:regime } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:regime ) } } . ?v property:currency resource:United_States_dollar } } . FILTER ( ?h > ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2661296
P38
Q8142 Q22687
USER
How many banks have around the same number of currencies as their currency as Monetary Authority of Singapore ?
(c(Q22687),P38,c(Q8142))
action count
action approx
action find_tuple_counts
relation P38
type Q22687
type Q8142
action count
action filter_type
action find
entity Q2661296
relation P38
type Q22687
[{'concept': 'Q22687'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?k ) WHERE { ?f property:P38 ?w . ?f rdf:type ontology:Q22687 . ?w rdf:type ontology:Q8142 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Q2661296 property:P38 ?p . ?p rdf:type ontology:Q22687 } } . FILTER ( ?k = ?o ) }
Monetary Authority of Singapore
action count
action approx
action find_tuple_counts
relation currency
type bank
type currency
action count
action filter_type
action find
entity Monetary Authority of Singapore
relation currency
type bank
[{'concept': 'bank'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?k ) WHERE { ?f property:currency ?w . ?f rdf:type ontology:bank . ?w rdf:type ontology:currency } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Monetary_Authority_of_Singapore property:currency ?p . ?p rdf:type ontology:bank } } . FILTER ( ?k = ?o ) }
[]
currency bank
SYSTEM
39
Q806714 Q2981941 Q1184535 Q3359424 Q1025119 Q190223 Q8901 Q4504275 Q2607787 Q366960 Q920699 Q806646 Q967861 Q1494550 Q1481791 Q2982584 Q2598067 Q4504270 Q2472280 Q189972 Q3374585 Q1156372 Q2600777 Q2661296 Q3365778 Q1141425 Q1595286 Q2920146 Q244411 Q162222 Q620942 Q328198 Q1906161 Q806651 Q789966 Q580829 Q190230 Q485531 Q2632072
(c(Q22687),P38,c(Q8142))
action count
action approx
action find_tuple_counts
relation P38
type Q22687
type Q8142
action count
action filter_type
action find
entity Q2661296
relation P38
type Q22687
[ANSWER]
[{'concept': 'Q22687'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?k ) WHERE { ?f property:P38 ?w . ?f rdf:type ontology:Q22687 . ?w rdf:type ontology:Q8142 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Q2661296 property:P38 ?p . ?p rdf:type ontology:Q22687 } } . FILTER ( ?k = ?o ) }
Bank of Albania Centrale Bank van Suriname Central Bank of Bosnia and Herzegovina Bank of Guatemala Reserve Bank of Zimbabwe Central Bank of Armenia European Central Bank Central Bank of Paraguay Central Bank of Cuba Bank of Estonia Central Bank of Egypt Bank Negara Malaysia National Bank of Romania Reserve Bank of New Zealand National Bank of Slovakia Central Bank of the United Arab Emirates National Bank of the Republic of Macedonia Central Bank of The Bahamas National Bank of Kazakhstan Bank of Central African States Bank of Jamaica Da Afghanistan Bank Central Bank of Barbados Monetary Authority of Singapore Qatar Central Bank Central Bank of the Democratic People's Republic of Korea Hong Kong Monetary Authority Central Bank of Honduras Bank of Israel Deutsche Bundesbank Central Bank of West African States Bank Al-Maghrib Bank Indonesia Central Bank of Russia Bank of Spain Central Bank of Turkey Central Bank of Azerbaijan Bank of Korea Central Bank of Samoa
39
action count
action approx
action find_tuple_counts
relation currency
type bank
type currency
action count
action filter_type
action find
entity Monetary Authority of Singapore
relation currency
type bank
[{'concept': 'bank'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?k ) WHERE { ?f property:currency ?w . ?f rdf:type ontology:bank . ?w rdf:type ontology:currency } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Monetary_Authority_of_Singapore property:currency ?p . ?p rdf:type ontology:bank } } . FILTER ( ?k = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1906161
P38
Q8142 Q22687
USER
And how about Bank Indonesia?
(c(Q22687),P38,c(Q8142))
action count
action approx
action find_tuple_counts
relation P38
type Q22687
type Q8142
action count
action filter_type
action find
entity Q1906161
relation P38
type Q22687
[{'concept': 'Q22687'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?e ) WHERE { ?q property:P38 ?k . ?q rdf:type ontology:Q22687 . ?k rdf:type ontology:Q8142 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q1906161 property:P38 ?l . ?l rdf:type ontology:Q22687 } } . FILTER ( ?e = ?p ) }
Bank Indonesia
action count
action approx
action find_tuple_counts
relation currency
type bank
type currency
action count
action filter_type
action find
entity Bank Indonesia
relation currency
type bank
[{'concept': 'bank'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?e ) WHERE { ?q property:currency ?k . ?q rdf:type ontology:bank . ?k rdf:type ontology:currency } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Bank_Indonesia property:currency ?l . ?l rdf:type ontology:bank } } . FILTER ( ?e = ?p ) }
[]
currency bank
SYSTEM
39
Q806714 Q2981941 Q1184535 Q3359424 Q1025119 Q190223 Q8901 Q4504275 Q2607787 Q366960 Q920699 Q806646 Q967861 Q1494550 Q1481791 Q2982584 Q2598067 Q4504270 Q2472280 Q189972 Q3374585 Q1156372 Q2600777 Q2661296 Q3365778 Q1141425 Q1595286 Q2920146 Q244411 Q162222 Q620942 Q328198 Q1906161 Q806651 Q789966 Q580829 Q190230 Q485531 Q2632072
(c(Q22687),P38,c(Q8142))
action count
action approx
action find_tuple_counts
relation P38
type Q22687
type Q8142
action count
action filter_type
action find
entity Q1906161
relation P38
type Q22687
[ANSWER]
[{'concept': 'Q22687'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?e ) WHERE { ?q property:P38 ?k . ?q rdf:type ontology:Q22687 . ?k rdf:type ontology:Q8142 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q1906161 property:P38 ?l . ?l rdf:type ontology:Q22687 } } . FILTER ( ?e = ?p ) }
Bank of Albania Centrale Bank van Suriname Central Bank of Bosnia and Herzegovina Bank of Guatemala Reserve Bank of Zimbabwe Central Bank of Armenia European Central Bank Central Bank of Paraguay Central Bank of Cuba Bank of Estonia Central Bank of Egypt Bank Negara Malaysia National Bank of Romania Reserve Bank of New Zealand National Bank of Slovakia Central Bank of the United Arab Emirates National Bank of the Republic of Macedonia Central Bank of The Bahamas National Bank of Kazakhstan Bank of Central African States Bank of Jamaica Da Afghanistan Bank Central Bank of Barbados Monetary Authority of Singapore Qatar Central Bank Central Bank of the Democratic People's Republic of Korea Hong Kong Monetary Authority Central Bank of Honduras Bank of Israel Deutsche Bundesbank Central Bank of West African States Bank Al-Maghrib Bank Indonesia Central Bank of Russia Bank of Spain Central Bank of Turkey Central Bank of Azerbaijan Bank of Korea Central Bank of Samoa
39
action count
action approx
action find_tuple_counts
relation currency
type bank
type currency
action count
action filter_type
action find
entity Bank Indonesia
relation currency
type bank
[{'concept': 'bank'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?e ) WHERE { ?q property:currency ?k . ?q rdf:type ontology:bank . ?k rdf:type ontology:currency } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Bank_Indonesia property:currency ?l . ?l rdf:type ontology:bank } } . FILTER ( ?e = ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4917
P17
Q15617994
USER
Which administrative territory is United States dollar located in ?
(Q4917,P17,c(Q15617994))
action filter_type
action find
entity Q4917
relation P17
type Q15617994
['Q4917', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q4917 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
United States dollar
action filter_type
action find
entity United States dollar
relation country
type designation for an administrative territorial entity
['United States dollar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:United_States_dollar property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q4917,P17,c(Q15617994))
action filter_type
action find
entity Q4917
relation P17
type Q15617994
United States dollar is located in [ANSWER]
['Q4917', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q4917 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
United States dollar is located in United States of America
United States of America
action filter_type
action find
entity United States dollar
relation country
type designation for an administrative territorial entity
['United States dollar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:United_States_dollar property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P30
Q2221906
USER
Where are that administrative territory situated ?
(Q30,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q30 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:United_States_of_America property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
geographic location
Q49 Q538
SYSTEM
North America, Oceania
Q49 Q538
(Q30,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
That administrative territory are situated in [ANSWERS]
['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q30 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
North America Oceania
That administrative territory are situated in North America and Oceania
North America Oceania
action filter_type
action find
entity United States of America
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:United_States_of_America property:continent ?l . ?l rdf:type ontology:geographic_location }
[]