Simple Question (Direct)
Simple Question
Q6152484
P27
Q15617994
USER
Which administrative territory is Jane Leslie Conly a civilian of ?
(Q6152484,P27,c(Q15617994))
action filter_type
action find
entity Q6152484
relation P27
type Q15617994
['Q6152484', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q6152484 property:P27 ?g }
Jane Leslie Conly
action filter_type
action find
entity Jane Leslie Conly
relation country of citizenship
type designation for an administrative territorial entity
['Jane Leslie Conly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jane_Leslie_Conly property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6152484,P27,c(Q15617994))
action filter_type
action find
entity Q6152484
relation P27
type Q15617994
The [ANSWER] is Jane Leslie Conly a civilian of
['Q6152484', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q6152484 property:P27 ?g }
United States of America
The United States of America is Jane Leslie Conly a civilian of
United States of America
action filter_type
action find
entity Jane Leslie Conly
relation country of citizenship
type designation for an administrative territorial entity
['Jane Leslie Conly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jane_Leslie_Conly property:country_of_citizenship ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P38
Q8142
USER
What is accepted as the currency of that administrative territory ?
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?o WHERE { resource:Q30 property:P38 ?o . ?o 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 ?o WHERE { resource:United_States_of_America property:currency ?o . ?o 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 accepted as the currency of that administrative territory
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?o WHERE { resource:Q30 property:P38 ?o . ?o rdf:type ontology:Q8142 }
United States dollar
United States dollar is accepted as the currency of that administrative territory
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 ?o WHERE { resource:United_States_of_America property:currency ?o . ?o rdf:type ontology:currency }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4917 Q30 Q818762
P17
Q15617994
USER
Is United States dollar present in United States of America and Veelböken ?
(Q4917,P17,Q30) (Q4917,P17,Q818762)
action is_in
entity Q4917
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q818762
relation P17
['Q4917', 'P17', 'Q30'] ['Q4917', 'P17', 'Q818762']
ASK WHERE { resource:Q4917 property:P17 resource:Q30 . resource:Q4917 property:P17 resource:Q818762 }
United States dollar United States of America Veelböken
action is_in
entity United States dollar
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Veelböken
relation country
['United States dollar', 'country', 'United States of America'] ['United States dollar', 'country', 'Veelböken']
ASK WHERE { resource:United_States_dollar property:country resource:United_States_of_America . resource:United_States_dollar property:country resource:Veelböken }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q4917,P17,Q30) (Q4917,P17,Q818762)
action is_in
entity Q4917
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q818762
relation P17
[ANSWER]
['Q4917', 'P17', 'Q30'] ['Q4917', 'P17', 'Q818762']
ASK WHERE { resource:Q4917 property:P17 resource:Q30 . resource:Q4917 property:P17 resource:Q818762 }
YES and NO respectively
action is_in
entity United States dollar
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Veelböken
relation country
['United States dollar', 'country', 'United States of America'] ['United States dollar', 'country', 'Veelböken']
ASK WHERE { resource:United_States_dollar property:country resource:United_States_of_America . resource:United_States_dollar property:country resource:Veelböken }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6152484 Q49204 Q5189332
P69
Q163740
USER
Is Jane Leslie Conly an alumni of Smith College and Crown College ?
(Q6152484,P69,Q49204) (Q6152484,P69,Q5189332)
action is_in
entity Q6152484
action intersection
action find_reverse
entity Q49204
relation P69
action find_reverse
entity Q5189332
relation P69
['Q6152484', 'P69', 'Q49204'] ['Q6152484', 'P69', 'Q5189332']
ASK WHERE { resource:Q6152484 property:P69 resource:Q5189332 . resource:Q6152484 property:P69 resource:Q49204 }
Jane Leslie Conly Smith College Crown College
action is_in
entity Jane Leslie Conly
action intersection
action find_reverse
entity Smith College
relation educated at
action find_reverse
entity Crown College
relation educated at
['Jane Leslie Conly', 'educated at', 'Smith College'] ['Jane Leslie Conly', 'educated at', 'Crown College']
ASK WHERE { resource:Jane_Leslie_Conly property:educated_at resource:Crown_College . resource:Jane_Leslie_Conly property:educated_at resource:Smith_College }
[]
nonprofit organization
SYSTEM
YES and NO respectively
(Q6152484,P69,Q49204) (Q6152484,P69,Q5189332)
action is_in
entity Q6152484
action intersection
action find_reverse
entity Q49204
relation P69
action find_reverse
entity Q5189332
relation P69
[ANSWER]
['Q6152484', 'P69', 'Q49204'] ['Q6152484', 'P69', 'Q5189332']
ASK WHERE { resource:Q6152484 property:P69 resource:Q5189332 . resource:Q6152484 property:P69 resource:Q49204 }
YES and NO respectively
action is_in
entity Jane Leslie Conly
action intersection
action find_reverse
entity Smith College
relation educated at
action find_reverse
entity Crown College
relation educated at
['Jane Leslie Conly', 'educated at', 'Smith College'] ['Jane Leslie Conly', 'educated at', 'Crown College']
ASK WHERE { resource:Jane_Leslie_Conly property:educated_at resource:Crown_College . resource:Jane_Leslie_Conly property:educated_at resource:Smith_College }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q806714
P38
Q8142 Q22687
USER
Which banks accepts greater number of currencies as their currency than Bank of Albania ?
(c(Q22687),P38,c(Q8142))
action greater
action find_tuple_counts
relation P38
type Q22687
type Q8142
action count
action filter_type
action find
entity Q806714
relation P38
type Q22687
[{'concept': 'Q22687'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?q ) WHERE { ?y rdf:type ontology:Q22687 . ?k rdf:type ontology:Q8142 . ?y property:P38 ?k } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:Q806714 property:P38 ?m . ?m rdf:type ontology:Q22687 } } . FILTER ( ?q > ?i ) }
Bank of Albania
action greater
action find_tuple_counts
relation currency
type bank
type currency
action count
action filter_type
action find
entity Bank of Albania
relation currency
type bank
[{'concept': 'bank'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?q ) WHERE { ?y rdf:type ontology:bank . ?k rdf:type ontology:currency . ?y property:currency ?k } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:Bank_of_Albania property:currency ?m . ?m rdf:type ontology:bank } } . FILTER ( ?q > ?i ) }
[]
currency bank
Q53536 Q429235 Q183231
SYSTEM
Federal Reserve System, National Bank of Panama, Bank of England
Q53536 Q429235 Q183231
(c(Q22687),P38,c(Q8142))
action greater
action find_tuple_counts
relation P38
type Q22687
type Q8142
action count
action filter_type
action find
entity Q806714
relation P38
type Q22687
[ANSWERS] accept greater number of currencies as their currency than Bank of Albania
[{'concept': 'Q22687'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?q ) WHERE { ?y rdf:type ontology:Q22687 . ?k rdf:type ontology:Q8142 . ?y property:P38 ?k } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:Q806714 property:P38 ?m . ?m rdf:type ontology:Q22687 } } . FILTER ( ?q > ?i ) }
Federal Reserve System National Bank of Panama Bank of England
Federal Reserve System, National Bank of Panama and Bank of England accept greater number of currencies as their currency than Bank of Albania
Federal Reserve System National Bank of Panama Bank of England
action greater
action find_tuple_counts
relation currency
type bank
type currency
action count
action filter_type
action find
entity Bank of Albania
relation currency
type bank
[{'concept': 'bank'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?q ) WHERE { ?y rdf:type ontology:bank . ?k rdf:type ontology:currency . ?y property:currency ?k } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { resource:Bank_of_Albania property:currency ?m . ?m rdf:type ontology:bank } } . FILTER ( ?q > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2600777
P38
Q8142 Q22687
USER
And also tell me about Central Bank of Barbados?
(c(Q22687),P38,c(Q8142))
action greater
action find_tuple_counts
relation P38
type Q22687
type Q8142
action count
action filter_type
action find
entity Q2600777
relation P38
type Q22687
[{'concept': 'Q22687'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?u ) WHERE { ?n property:P38 ?h . ?n rdf:type ontology:Q22687 . ?h rdf:type ontology:Q8142 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { resource:Q2600777 property:P38 ?x . ?x rdf:type ontology:Q22687 } } . FILTER ( ?u > ?q ) }
Central Bank of Barbados
action greater
action find_tuple_counts
relation currency
type bank
type currency
action count
action filter_type
action find
entity Central Bank of Barbados
relation currency
type bank
[{'concept': 'bank'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?u ) WHERE { ?n property:currency ?h . ?n rdf:type ontology:bank . ?h rdf:type ontology:currency } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { resource:Central_Bank_of_Barbados property:currency ?x . ?x rdf:type ontology:bank } } . FILTER ( ?u > ?q ) }
[]
currency bank
Q53536 Q429235 Q183231
SYSTEM
Federal Reserve System, National Bank of Panama, Bank of England
Q53536 Q429235 Q183231
(c(Q22687),P38,c(Q8142))
action greater
action find_tuple_counts
relation P38
type Q22687
type Q8142
action count
action filter_type
action find
entity Q2600777
relation P38
type Q22687
[ANSWERS]
[{'concept': 'Q22687'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?u ) WHERE { ?n property:P38 ?h . ?n rdf:type ontology:Q22687 . ?h rdf:type ontology:Q8142 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { resource:Q2600777 property:P38 ?x . ?x rdf:type ontology:Q22687 } } . FILTER ( ?u > ?q ) }
Federal Reserve System National Bank of Panama Bank of England
Federal Reserve System National Bank of Panama Bank of England
action greater
action find_tuple_counts
relation currency
type bank
type currency
action count
action filter_type
action find
entity Central Bank of Barbados
relation currency
type bank
[{'concept': 'bank'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?u ) WHERE { ?n property:currency ?h . ?n rdf:type ontology:bank . ?h rdf:type ontology:currency } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { resource:Central_Bank_of_Barbados property:currency ?x . ?x rdf:type ontology:bank } } . FILTER ( ?u > ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q23427
P38
Q8142 Q5589178
USER
Which regimes are approximately the same number of currencies the currency of as South Ossetia ?
(c(Q5589178),P38,c(Q8142))
action approx
action find_tuple_counts
relation P38
type Q5589178
type Q8142
action count
action filter_type
action find
entity Q23427
relation P38
type Q5589178
[{'concept': 'Q5589178'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:Q5589178 . resource:Q23427 property:P38 ?v } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?l ) WHERE { ?k property:P38 ?b . ?k rdf:type ontology:Q5589178 . ?b rdf:type ontology:Q8142 } GROUP BY ?k } }
South Ossetia
action approx
action find_tuple_counts
relation currency
type regime
type currency
action count
action filter_type
action find
entity South Ossetia
relation currency
type regime
[{'concept': 'regime'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:regime . resource:South_Ossetia property:currency ?v } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?l ) WHERE { ?k property:currency ?b . ?k rdf:type ontology:regime . ?b rdf:type ontology:currency } GROUP BY ?k } }
[]
currency regime
Q865 Q1246 Q219060
SYSTEM
Taiwan, Kosovo, Palestine
Q244165 Q23427 Q23681 Q1246 Q34754 Q466551 Q40362 Q219060 Q69829 Q865 Q16150196
(c(Q5589178),P38,c(Q8142))
action approx
action find_tuple_counts
relation P38
type Q5589178
type Q8142
action count
action filter_type
action find
entity Q23427
relation P38
type Q5589178
[ANSWERS] are approximately the same number of currencies the currency of as South Ossetia
[{'concept': 'Q5589178'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:Q5589178 . resource:Q23427 property:P38 ?v } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?l ) WHERE { ?k property:P38 ?b . ?k rdf:type ontology:Q5589178 . ?b rdf:type ontology:Q8142 } GROUP BY ?k } }
Nagorno-Karabakh Republic South Ossetia Turkish Republic of Northern Cyprus Kosovo Somaliland Transkei Sahrawi Arab Democratic Republic Palestine French Fourth Republic Taiwan Donetsk People's Republic
Taiwan, Kosovo and Palestine are approximately the same number of currencies the currency of as South Ossetia
Taiwan Kosovo Palestine
action approx
action find_tuple_counts
relation currency
type regime
type currency
action count
action filter_type
action find
entity South Ossetia
relation currency
type regime
[{'concept': 'regime'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:regime . resource:South_Ossetia property:currency ?v } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?l ) WHERE { ?k property:currency ?b . ?k rdf:type ontology:regime . ?b rdf:type ontology:currency } GROUP BY ?k } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q865
P38
Q8142 Q5589178
USER
And what about Taiwan?
(c(Q5589178),P38,c(Q8142))
action approx
action find_tuple_counts
relation P38
type Q5589178
type Q8142
action count
action filter_type
action find
entity Q865
relation P38
type Q5589178
[{'concept': 'Q5589178'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?z ) WHERE { ?g property:P38 ?i . ?g rdf:type ontology:Q5589178 . ?i rdf:type ontology:Q8142 } GROUP BY ?g } . FILTER ( ?z = ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q865 property:P38 ?b . ?b rdf:type ontology:Q5589178 } } }
Taiwan
action approx
action find_tuple_counts
relation currency
type regime
type currency
action count
action filter_type
action find
entity Taiwan
relation currency
type regime
[{'concept': 'regime'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?z ) WHERE { ?g property:currency ?i . ?g rdf:type ontology:regime . ?i rdf:type ontology:currency } GROUP BY ?g } . FILTER ( ?z = ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Taiwan property:currency ?b . ?b rdf:type ontology:regime } } }
[]
currency regime
Q865 Q1246 Q219060
SYSTEM
Taiwan, Kosovo, Palestine
Q244165 Q23427 Q23681 Q1246 Q34754 Q466551 Q40362 Q219060 Q69829 Q865 Q16150196
(c(Q5589178),P38,c(Q8142))
action approx
action find_tuple_counts
relation P38
type Q5589178
type Q8142
action count
action filter_type
action find
entity Q865
relation P38
type Q5589178
[ANSWERS]
[{'concept': 'Q5589178'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?z ) WHERE { ?g property:P38 ?i . ?g rdf:type ontology:Q5589178 . ?i rdf:type ontology:Q8142 } GROUP BY ?g } . FILTER ( ?z = ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q865 property:P38 ?b . ?b rdf:type ontology:Q5589178 } } }
Nagorno-Karabakh Republic South Ossetia Turkish Republic of Northern Cyprus Kosovo Somaliland Transkei Sahrawi Arab Democratic Republic Palestine French Fourth Republic Taiwan Donetsk People's Republic
Taiwan Kosovo Palestine
action approx
action find_tuple_counts
relation currency
type regime
type currency
action count
action filter_type
action find
entity Taiwan
relation currency
type regime
[{'concept': 'regime'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?z ) WHERE { ?g property:currency ?i . ?g rdf:type ontology:regime . ?i rdf:type ontology:currency } GROUP BY ?g } . FILTER ( ?z = ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Taiwan property:currency ?b . ?b rdf:type ontology:regime } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183231 Q1718790
P361
Q12737077
USER
How many occupations are a portion of Bank of England or National Assembly of Cape Verde ?
(c(Q12737077),P361,Q183231) (c(Q12737077),P361,Q1718790)
action count
action union
action filter_type
action find_reverse
entity Q183231
relation P361
type Q12737077
action filter_type
action find_reverse
entity Q1718790
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q183231'] [{'concept': 'Q12737077'}, 'P361', 'Q1718790']
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { ?a property:P361 resource:Q183231 . ?a rdf:type ontology:Q12737077 } UNION { ?a property:P361 resource:Q1718790 . ?a rdf:type ontology:Q12737077 } }
Bank of England National Assembly of Cape Verde
action count
action union
action filter_type
action find_reverse
entity Bank of England
relation part of
type occupation
action filter_type
action find_reverse
entity National Assembly of Cape Verde
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Bank of England'] [{'concept': 'occupation'}, 'part of', 'National Assembly of Cape Verde']
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { ?a property:part_of resource:Bank_of_England . ?a rdf:type ontology:occupation } UNION { ?a property:part_of resource:National_Assembly_of_Cape_Verde . ?a rdf:type ontology:occupation } }
[]
occupation
SYSTEM
2
Q21295976 Q2579905
(c(Q12737077),P361,Q183231) (c(Q12737077),P361,Q1718790)
action count
action union
action filter_type
action find_reverse
entity Q183231
relation P361
type Q12737077
action filter_type
action find_reverse
entity Q1718790
relation P361
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P361', 'Q183231'] [{'concept': 'Q12737077'}, 'P361', 'Q1718790']
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { ?a property:P361 resource:Q183231 . ?a rdf:type ontology:Q12737077 } UNION { ?a property:P361 resource:Q1718790 . ?a rdf:type ontology:Q12737077 } }
Member of the National Assembly of Cape Verde Governor of the Bank of England
2
action count
action union
action filter_type
action find_reverse
entity Bank of England
relation part of
type occupation
action filter_type
action find_reverse
entity National Assembly of Cape Verde
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Bank of England'] [{'concept': 'occupation'}, 'part of', 'National Assembly of Cape Verde']
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { ?a property:part_of resource:Bank_of_England . ?a rdf:type ontology:occupation } UNION { ?a property:part_of resource:National_Assembly_of_Cape_Verde . ?a rdf:type ontology:occupation } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183231
P138
Q1496967
USER
What is that bank named after ?
action filter_type
action find
entity Q183231
relation P138
type Q1496967
SELECT DISTINCT ?x WHERE { resource:Q183231 property:P138 ?x . ?x rdf:type ontology:Q1496967 }
Bank of England
action filter_type
action find
entity Bank of England
relation named after
type territorial entity
SELECT DISTINCT ?x WHERE { resource:Bank_of_England property:named_after ?x . ?x rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
action filter_type
action find
entity Q183231
relation P138
type Q1496967
As [ANSWER] is named after
SELECT DISTINCT ?x WHERE { resource:Q183231 property:P138 ?x . ?x rdf:type ontology:Q1496967 }
England
As England is named after
England
action filter_type
action find
entity Bank of England
relation named after
type territorial entity
SELECT DISTINCT ?x WHERE { resource:Bank_of_England property:named_after ?x . ?x rdf:type ontology:territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183231
P159
Q34442
USER
Which road is the head office of Bank of England ?
(Q183231,P159,c(Q34442))
action filter_type
action find
entity Q183231
relation P159
type Q34442
['Q183231', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?y WHERE { resource:Q183231 property:P159 ?y . ?y rdf:type ontology:Q34442 }
Bank of England
action filter_type
action find
entity Bank of England
relation headquarters location
type road
['Bank of England', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?y WHERE { resource:Bank_of_England property:headquarters_location ?y . ?y rdf:type ontology:road }
[]
road
Q2732007
SYSTEM
Threadneedle Street
Q2732007
(Q183231,P159,c(Q34442))
action filter_type
action find
entity Q183231
relation P159
type Q34442
[ANSWER] is the head office of Bank of England
['Q183231', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?y WHERE { resource:Q183231 property:P159 ?y . ?y rdf:type ontology:Q34442 }
Threadneedle Street
Threadneedle Street is the head office of Bank of England
Threadneedle Street
action filter_type
action find
entity Bank of England
relation headquarters location
type road
['Bank of England', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?y WHERE { resource:Bank_of_England property:headquarters_location ?y . ?y rdf:type ontology:road }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q668687
Q34442
USER
And also tell me about United States Postal Service?
(Q668687,P159,c(Q34442))
action filter_type
action find
entity Q668687
relation P159
type Q34442
['Q668687', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?h WHERE { resource:Q668687 property:P159 ?h . ?h rdf:type ontology:Q34442 }
United States Postal Service
action filter_type
action find
entity United States Postal Service
relation headquarters location
type road
['United States Postal Service', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?h WHERE { resource:United_States_Postal_Service property:headquarters_location ?h . ?h rdf:type ontology:road }
[]
road
Q6455669
SYSTEM
L'Enfant Plaza
Q6455669
(Q668687,P159,c(Q34442))
action filter_type
action find
entity Q668687
relation P159
type Q34442
[ANSWER]
['Q668687', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?h WHERE { resource:Q668687 property:P159 ?h . ?h rdf:type ontology:Q34442 }
L'Enfant Plaza
L'Enfant Plaza
action filter_type
action find
entity United States Postal Service
relation headquarters location
type road
['United States Postal Service', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?h WHERE { resource:United_States_Postal_Service property:headquarters_location ?h . ?h rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P937
Q874405
USER
Who is an social group who works at England ?
(c(Q874405),P937,Q21)
action filter_type
action find_reverse
entity Q21
relation P937
type Q874405
[{'concept': 'Q874405'}, 'P937', 'Q21']
SELECT DISTINCT ?w WHERE { ?w property:P937 resource:Q21 . ?w rdf:type ontology:Q874405 }
England
action filter_type
action find_reverse
entity England
relation work location
type social group
[{'concept': 'social group'}, 'work location', 'England']
SELECT DISTINCT ?w WHERE { ?w property:work_location resource:England . ?w rdf:type ontology:social_group }
[]
social group
Q20888877
SYSTEM
Bassano
Q20888877
(c(Q874405),P937,Q21)
action filter_type
action find_reverse
entity Q21
relation P937
type Q874405
An social group works at England is of [ANSWER]
[{'concept': 'Q874405'}, 'P937', 'Q21']
SELECT DISTINCT ?w WHERE { ?w property:P937 resource:Q21 . ?w rdf:type ontology:Q874405 }
Bassano
An social group works at England is of Bassano
Bassano
action filter_type
action find_reverse
entity England
relation work location
type social group
[{'concept': 'social group'}, 'work location', 'England']
SELECT DISTINCT ?w WHERE { ?w property:work_location resource:England . ?w rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P915
Q838948
USER
Which works of art were filmed at England ?
(c(Q838948),P915,Q21)
action filter_type
action find_reverse
entity Q21
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q21']
SELECT DISTINCT ?h WHERE { ?h property:P915 resource:Q21 . ?h rdf:type ontology:Q838948 }
England
action filter_type
action find_reverse
entity England
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'England']
SELECT DISTINCT ?h WHERE { ?h property:filming_location resource:England . ?h rdf:type ontology:work_of_art }
[]
work of art
Q19089 Q116852 Q165847
SYSTEM
GoldenEye, Batman, 102 Dalmatians
Q12100227 Q19089 Q165847 Q332093 Q18655611 Q116852
(c(Q838948),P915,Q21)
action filter_type
action find_reverse
entity Q21
relation P915
type Q838948
[ANSWERS] were filmed at England
[{'concept': 'Q838948'}, 'P915', 'Q21']
SELECT DISTINCT ?h WHERE { ?h property:P915 resource:Q21 . ?h rdf:type ontology:Q838948 }
'71 GoldenEye 102 Dalmatians Confetti Our Colonial Hangover Batman
GoldenEye, Batman and 102 Dalmatians were filmed at England
GoldenEye Batman 102 Dalmatians
action filter_type
action find_reverse
entity England
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'England']
SELECT DISTINCT ?h WHERE { ?h property:filming_location resource:England . ?h rdf:type ontology:work_of_art }
[]