Simple Question (Direct)
Simple Question
Q450974
P641
Q349
USER
What was the sport that Alberto Berasategui was a part of ?
(Q450974,P641,c(Q349))
action filter_type
action find
entity Q450974
relation P641
type Q349
['Q450974', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q450974 property:P641 ?x . ?x rdf:type ontology:Q349 }
Alberto Berasategui
action filter_type
action find
entity Alberto Berasategui
relation sport
type sport
['Alberto Berasategui', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Alberto_Berasategui property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q847
SYSTEM
tennis
Q847
(Q450974,P641,c(Q349))
action filter_type
action find
entity Q450974
relation P641
type Q349
The sport that Alberto Berasategui was a part of was p [ANSWER]
['Q450974', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q450974 property:P641 ?x . ?x rdf:type ontology:Q349 }
tennis
The sport that Alberto Berasategui was a part of was p tennis
tennis
action filter_type
action find
entity Alberto Berasategui
relation sport
type sport
['Alberto Berasategui', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Alberto_Berasategui property:sport ?x . ?x rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q450974
P551
Q486972
USER
Which human settlement was the place of residence of Alberto Berasategui ?
(Q450974,P551,c(Q486972))
action filter_type
action find
entity Q450974
relation P551
type Q486972
['Q450974', 'P551', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { resource:Q450974 property:P551 ?b . ?b rdf:type ontology:Q486972 }
Alberto Berasategui
action filter_type
action find
entity Alberto Berasategui
relation residence
type human settlement
['Alberto Berasategui', 'residence', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { resource:Alberto_Berasategui property:residence ?b . ?b rdf:type ontology:human_settlement }
[]
human settlement
Q13953
SYSTEM
Bellaterra
Q13953
(Q450974,P551,c(Q486972))
action filter_type
action find
entity Q450974
relation P551
type Q486972
[ANSWER] was the place of residence of Alberto Berasategui
['Q450974', 'P551', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { resource:Q450974 property:P551 ?b . ?b rdf:type ontology:Q486972 }
Bellaterra
Bellaterra was the place of residence of Alberto Berasategui
Bellaterra
action filter_type
action find
entity Alberto Berasategui
relation residence
type human settlement
['Alberto Berasategui', 'residence', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { resource:Alberto_Berasategui property:residence ?b . ?b rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q450974
P1412
Q34770
USER
Which language is spoken by that person ?
(Q13953,P1412,c(Q34770))
action filter_type
action find
entity Q450974
relation P1412
type Q34770
['Q13953', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q450974 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Alberto Berasategui
action filter_type
action find
entity Alberto Berasategui
relation languages spoken, written or signed
type language
['Bellaterra', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Alberto_Berasategui property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q13953,P1412,c(Q34770))
action filter_type
action find
entity Q450974
relation P1412
type Q34770
[ANSWER] is spoken by that person
['Q13953', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q450974 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by that person
Spanish
action filter_type
action find
entity Alberto Berasategui
relation languages spoken, written or signed
type language
['Bellaterra', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Alberto_Berasategui property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q381861
P37
Q34770 Q56061
USER
How many administrative territories have their official language as more number of languages than Aeschlen bei Oberdiessbach ?
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q381861
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?g ) WHERE { ?h rdf:type ontology:Q56061 . ?x rdf:type ontology:Q34770 . ?h property:P37 ?x } GROUP BY ?h } . FILTER ( ?g > ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q381861 property:P37 ?s . ?s rdf:type ontology:Q56061 } } }
Aeschlen bei Oberdiessbach
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Aeschlen bei Oberdiessbach
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?g ) WHERE { ?h rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:language . ?h property:official_language ?x } GROUP BY ?h } . FILTER ( ?g > ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Aeschlen_bei_Oberdiessbach property:official_language ?s . ?s rdf:type ontology:administrative_territorial_entity } } }
[]
language administrative territorial entity
SYSTEM
52
Q2414585 Q5813 Q68449 Q668625 Q277708 Q660999 Q6029 Q16644 Q16641 Q11703 Q1014671 Q25528 Q2604700 Q2395382 Q123709 Q2214906 Q237 Q334 Q26 Q2532285 Q11935 Q1353 Q14452 Q677935 Q458 Q26180 Q16635 Q4264 Q25230 Q49192 Q67986 Q623277 Q1183 Q2499687 Q69041 Q3947670 Q668239 Q58337 Q334577 Q2217474 Q660974 Q64044 Q11959 Q1025278 Q179313 Q2215147 Q7024 Q7122288 Q67130 Q244207 Q1026296 Q2215401
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q381861
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?g ) WHERE { ?h rdf:type ontology:Q56061 . ?x rdf:type ontology:Q34770 . ?h property:P37 ?x } GROUP BY ?h } . FILTER ( ?g > ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q381861 property:P37 ?s . ?s rdf:type ontology:Q56061 } } }
Agarak Canary Islands Arogno Palagnedra Ozhukarai Malvaglia Acquasparta Northern Mariana Islands American Samoa United States Virgin Islands Wiwilí de Jinotega Saba San Rafael del Norte La Concordia Dundee El Cuá Vatican City Singapore Northern Ireland New Cumberland Locarno Delhi Easter Island Veii European Union Sint Eustatius Guam Mercosur Guernsey Middletown Rovio Aquila Puerto Rico Yatton Mendrisio San Mauro Mare Borgnone Banff Quetzaltenango Santa María de Pantasma Ludiano Bellinzona Alicante Painavu Alderney San José de Bocay Lugano Pacific Alliance Riva San Vitale Campione d'Italia Jinotega San Sebastián de Yalí
52
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Aeschlen bei Oberdiessbach
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?g ) WHERE { ?h rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:language . ?h property:official_language ?x } GROUP BY ?h } . FILTER ( ?g > ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Aeschlen_bei_Oberdiessbach property:official_language ?s . ?s rdf:type ontology:administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q68883
P37
Q34770 Q56061
USER
And how about Villars-Sainte-Croix?
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q68883
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?r ) WHERE { ?q property:P37 ?d . ?q rdf:type ontology:Q56061 . ?d rdf:type ontology:Q34770 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q68883 property:P37 ?w . ?w rdf:type ontology:Q56061 } } . FILTER ( ?r > ?x ) }
Villars-Sainte-Croix
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Villars-Sainte-Croix
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?r ) WHERE { ?q property:official_language ?d . ?q rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:language } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Villars-Sainte-Croix property:official_language ?w . ?w rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?r > ?x ) }
[]
language administrative territorial entity
SYSTEM
52
Q2414585 Q5813 Q68449 Q668625 Q277708 Q660999 Q6029 Q16644 Q16641 Q11703 Q1014671 Q25528 Q2604700 Q2395382 Q123709 Q2214906 Q237 Q334 Q26 Q2532285 Q11935 Q1353 Q14452 Q677935 Q458 Q26180 Q16635 Q4264 Q25230 Q49192 Q67986 Q623277 Q1183 Q2499687 Q69041 Q3947670 Q668239 Q58337 Q334577 Q2217474 Q660974 Q64044 Q11959 Q1025278 Q179313 Q2215147 Q7024 Q7122288 Q67130 Q244207 Q1026296 Q2215401
(c(Q56061),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q68883
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?r ) WHERE { ?q property:P37 ?d . ?q rdf:type ontology:Q56061 . ?d rdf:type ontology:Q34770 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q68883 property:P37 ?w . ?w rdf:type ontology:Q56061 } } . FILTER ( ?r > ?x ) }
Agarak Canary Islands Arogno Palagnedra Ozhukarai Malvaglia Acquasparta Northern Mariana Islands American Samoa United States Virgin Islands Wiwilí de Jinotega Saba San Rafael del Norte La Concordia Dundee El Cuá Vatican City Singapore Northern Ireland New Cumberland Locarno Delhi Easter Island Veii European Union Sint Eustatius Guam Mercosur Guernsey Middletown Rovio Aquila Puerto Rico Yatton Mendrisio San Mauro Mare Borgnone Banff Quetzaltenango Santa María de Pantasma Ludiano Bellinzona Alicante Painavu Alderney San José de Bocay Lugano Pacific Alliance Riva San Vitale Campione d'Italia Jinotega San Sebastián de Yalí
52
action count
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Villars-Sainte-Croix
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?r ) WHERE { ?q property:official_language ?d . ?q rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:language } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Villars-Sainte-Croix property:official_language ?w . ?w rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?r > ?x ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q473972 Q852446 Q486972
USER
How many human settlements are a component of around 1 protected areas and US administrative territories ?
(c(Q486972),P361,c(Q473972)|c(Q852446))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q486972
type Q473972
action find_tuple_counts
relation P361
type Q486972
type Q852446
value 1
[{'concept': 'Q486972'}, 'P361', [{'concept': 'Q473972'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?h WHERE { VALUES ( ?f ) { ( ontology:Q473972 ) ( ontology:Q852446 ) } . ?g rdf:type ?f } GROUP BY ?h } . FILTER ( ?r = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type human settlement
type protected area
action find_tuple_counts
relation part of
type human settlement
type administrative territorial entity of the United States
value 1
[{'concept': 'human settlement'}, 'part of', [{'concept': 'protected area'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?h WHERE { VALUES ( ?f ) { ( ontology:protected_area ) ( ontology:administrative_territorial_entity_of_the_United_States ) } . ?g rdf:type ?f } GROUP BY ?h } . FILTER ( ?r = 1 ) }
[]
protected area administrative territorial entity of the United States human settlement
SYSTEM
3
Q20829076 Q6207554 Q4829294
(c(Q486972),P361,c(Q473972)|c(Q852446))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q486972
type Q473972
action find_tuple_counts
relation P361
type Q486972
type Q852446
value 1
[ANSWER]
[{'concept': 'Q486972'}, 'P361', [{'concept': 'Q473972'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?h WHERE { VALUES ( ?f ) { ( ontology:Q473972 ) ( ontology:Q852446 ) } . ?g rdf:type ?f } GROUP BY ?h } . FILTER ( ?r = 1 ) }
Savan Jockey Hollow Avondale
3
action count
action approx
action union
action find_tuple_counts
relation part of
type human settlement
type protected area
action find_tuple_counts
relation part of
type human settlement
type administrative territorial entity of the United States
value 1
[{'concept': 'human settlement'}, 'part of', [{'concept': 'protected area'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?h WHERE { VALUES ( ?f ) { ( ontology:protected_area ) ( ontology:administrative_territorial_entity_of_the_United_States ) } . ?g rdf:type ?f } GROUP BY ?h } . FILTER ( ?r = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13953
P17
Q15617994
USER
Which administrative territory is Bellaterra situated in ?
(Q13953,P17,c(Q15617994))
action filter_type
action find
entity Q13953
relation P17
type Q15617994
['Q13953', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q13953 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Bellaterra
action filter_type
action find
entity Bellaterra
relation country
type designation for an administrative territorial entity
['Bellaterra', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Bellaterra property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q13953,P17,c(Q15617994))
action filter_type
action find
entity Q13953
relation P17
type Q15617994
Bellaterra is situated in [ANSWER]
['Q13953', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q13953 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Spain
Bellaterra is situated in Spain
Spain
action filter_type
action find
entity Bellaterra
relation country
type designation for an administrative territorial entity
['Bellaterra', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Bellaterra property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q29 Q340195 Q7314050
P463
Q43229
USER
Is Spain a member of African Development Bank and RepliWeb ?
(Q29,P463,Q340195) (Q29,P463,Q7314050)
action is_in
entity Q29
action intersection
action find_reverse
entity Q340195
relation P463
action find_reverse
entity Q7314050
relation P463
['Q29', 'P463', 'Q340195'] ['Q29', 'P463', 'Q7314050']
ASK WHERE { resource:Q29 property:P463 resource:Q340195 . resource:Q29 property:P463 resource:Q7314050 }
Spain African Development Bank RepliWeb
action is_in
entity Spain
action intersection
action find_reverse
entity African Development Bank
relation member of
action find_reverse
entity RepliWeb
relation member of
['Spain', 'member of', 'African Development Bank'] ['Spain', 'member of', 'RepliWeb']
ASK WHERE { resource:Spain property:member_of resource:African_Development_Bank . resource:Spain property:member_of resource:RepliWeb }
[]
organization
SYSTEM
YES and NO respectively
(Q29,P463,Q340195) (Q29,P463,Q7314050)
action is_in
entity Q29
action intersection
action find_reverse
entity Q340195
relation P463
action find_reverse
entity Q7314050
relation P463
[ANSWER]
['Q29', 'P463', 'Q340195'] ['Q29', 'P463', 'Q7314050']
ASK WHERE { resource:Q29 property:P463 resource:Q340195 . resource:Q29 property:P463 resource:Q7314050 }
YES and NO respectively
action is_in
entity Spain
action intersection
action find_reverse
entity African Development Bank
relation member of
action find_reverse
entity RepliWeb
relation member of
['Spain', 'member of', 'African Development Bank'] ['Spain', 'member of', 'RepliWeb']
ASK WHERE { resource:Spain property:member_of resource:African_Development_Bank . resource:Spain property:member_of resource:RepliWeb }
[]