Simple Question (Direct)
Simple Question
Q1646505
P1412
Q34770
USER
Which language can Eneko Arieta understand ?
(Q1646505,P1412,c(Q34770))
action filter_type
action find
entity Q1646505
relation P1412
type Q34770
['Q1646505', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q1646505 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Eneko Arieta
action filter_type
action find
entity Eneko Arieta
relation languages spoken, written or signed
type language
['Eneko Arieta', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Eneko_Arieta property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1646505,P1412,c(Q34770))
action filter_type
action find
entity Q1646505
relation P1412
type Q34770
Eneko Arieta can understand in [ANSWER]
['Q1646505', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q1646505 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Spanish
Eneko Arieta can understand in Spanish
Spanish
action filter_type
action find
entity Eneko Arieta
relation languages spoken, written or signed
type language
['Eneko Arieta', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Eneko_Arieta property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1646505
P20
Q1048835
USER
Where did the demise of Eneko Arieta occur ?
(Q1646505,P20,c(Q1048835))
action filter_type
action find
entity Q1646505
relation P20
type Q1048835
['Q1646505', 'P20', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q1646505 property:P20 ?x . ?x rdf:type ontology:Q1048835 }
Eneko Arieta
action filter_type
action find
entity Eneko Arieta
relation place of death
type political territorial entity
['Eneko Arieta', 'place of death', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Eneko_Arieta property:place_of_death ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1227388
SYSTEM
Galdakao
Q1227388
(Q1646505,P20,c(Q1048835))
action filter_type
action find
entity Q1646505
relation P20
type Q1048835
The demise of Eneko Arieta occurred in [ANSWER]
['Q1646505', 'P20', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q1646505 property:P20 ?x . ?x rdf:type ontology:Q1048835 }
Galdakao
The demise of Eneko Arieta occurred in Galdakao
Galdakao
action filter_type
action find
entity Eneko Arieta
relation place of death
type political territorial entity
['Eneko Arieta', 'place of death', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Eneko_Arieta property:place_of_death ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1227388
P47
Q1048835
USER
Which political territories have a shared border with that one ?
(Q1227388,P47,c(Q1048835))
action filter_type
action find
entity Q1227388
relation P47
type Q1048835
['Q1227388', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q1227388 property:P47 ?i . ?i rdf:type ontology:Q1048835 }
Galdakao
action filter_type
action find
entity Galdakao
relation shares border with
type political territorial entity
['Galdakao', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Galdakao property:shares_border_with ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q594280 Q474080 Q784127
SYSTEM
Zeberio, Amorebieta-Etxano, Larrabetzu
Q474080 Q594280 Q784127 Q1227189 Q1228107 Q146016 Q765496 Q946068 Q1242425 Q1227196
(Q1227388,P47,c(Q1048835))
action filter_type
action find
entity Q1227388
relation P47
type Q1048835
[ANSWERS] have a shared border with that one
['Q1227388', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q1227388 property:P47 ?i . ?i rdf:type ontology:Q1048835 }
Amorebieta-Etxano Zeberio Larrabetzu Zaratamo Etxebarri Zamudio Basauri Lezama Bedia Lemoa
Zeberio, Amorebieta-Etxano and Larrabetzu have a shared border with that one
Zeberio Amorebieta-Etxano Larrabetzu
action filter_type
action find
entity Galdakao
relation shares border with
type political territorial entity
['Galdakao', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Galdakao property:shares_border_with ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q559313 Q1227388
P47
Q1048835
USER
Or Dílar?
OR((Q1227388,P47,c(Q1048835)), (Q559313,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1227388
relation P47
action find
entity Q559313
relation P47
type Q1048835
{'OR': [['Q1227388', 'P47', {'concept': 'Q1048835'}], ['Q559313', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?h ) { ( resource:Q559313 ) ( resource:Q1227388 ) } . ?h property:P47 ?r } . ?r rdf:type ontology:Q1048835 }
Dílar Galdakao
action filter_type
action union
action find
entity Galdakao
relation shares border with
action find
entity Dílar
relation shares border with
type political territorial entity
{'OR': [['Galdakao', 'shares border with', {'concept': 'political territorial entity'}], ['Dílar', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?h ) { ( resource:Dílar ) ( resource:Galdakao ) } . ?h property:shares_border_with ?r } . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q593620 Q474080 Q594280 Q1228107 Q784127 Q619692 Q1227196 Q574347 Q146016 Q582995
SYSTEM
Some of them are Monachil, Amorebieta-Etxano, Zeberio, Etxebarri, Larrabetzu, La Zubia, Lemoa, Gójar, Zamudio, Lanjarón
Q593620 Q555140 Q784127 Q574347 Q474080 Q594280 Q559839 Q1227189 Q1228107 Q582995 Q146016 Q765496 Q575649 Q946068 Q1242425 Q605397 Q619692 Q605381 Q1227196
OR((Q1227388,P47,c(Q1048835)), (Q559313,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1227388
relation P47
action find
entity Q559313
relation P47
type Q1048835
[ANSWERS]
{'OR': [['Q1227388', 'P47', {'concept': 'Q1048835'}], ['Q559313', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?h ) { ( resource:Q559313 ) ( resource:Q1227388 ) } . ?h property:P47 ?r } . ?r rdf:type ontology:Q1048835 }
Monachil Capileira Larrabetzu Gójar Amorebieta-Etxano Zeberio Dúrcal Zaratamo Etxebarri Lanjarón Zamudio Basauri Güéjar Sierra Lezama Bedia El Padul La Zubia Otura Lemoa
Monachil Amorebieta-Etxano Zeberio Etxebarri Larrabetzu La Zubia Lemoa Gójar Zamudio Lanjarón
action filter_type
action union
action find
entity Galdakao
relation shares border with
action find
entity Dílar
relation shares border with
type political territorial entity
{'OR': [['Galdakao', 'shares border with', {'concept': 'political territorial entity'}], ['Dílar', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?h ) { ( resource:Dílar ) ( resource:Galdakao ) } . ?h property:shares_border_with ?r } . ?r rdf:type ontology:political_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that political territory a part of ?
(Q1227196,P17,c(Q15617994))
['Q1227196', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1227196 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Lemoa', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Lemoa property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q1227196
SYSTEM
Did you mean Lemoa ?
(Q593620,P17,c(Q15617994)) (Q474080,P17,c(Q15617994)) (Q594280,P17,c(Q15617994)) (Q1228107,P17,c(Q15617994)) (Q784127,P17,c(Q15617994)) (Q619692,P17,c(Q15617994)) (Q1227196,P17,c(Q15617994)) (Q574347,P17,c(Q15617994)) (Q146016,P17,c(Q15617994)) (Q582995,P17,c(Q15617994))
[ANSWER]
['Q593620', 'P17', {'concept': 'Q15617994'}] ['Q474080', 'P17', {'concept': 'Q15617994'}] ['Q594280', 'P17', {'concept': 'Q15617994'}] ['Q1228107', 'P17', {'concept': 'Q15617994'}] ['Q784127', 'P17', {'concept': 'Q15617994'}] ['Q619692', 'P17', {'concept': 'Q15617994'}] ['Q1227196', 'P17', {'concept': 'Q15617994'}] ['Q574347', 'P17', {'concept': 'Q15617994'}] ['Q146016', 'P17', {'concept': 'Q15617994'}] ['Q582995', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1227196 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Lemoa ?
Lemoa
['Monachil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Amorebieta-Etxano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Zeberio', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Etxebarri', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Larrabetzu', 'country', {'concept': 'designation for an administrative territorial entity'}] ['La Zubia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lemoa', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gójar', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Zamudio', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lanjarón', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Lemoa property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q1227196,P17,c(Q15617994))
['Q1227196', 'P17', {'concept': 'Q15617994'}]
['Lemoa', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q29
(Q1227196,P17,c(Q15617994))
[ANSWER]
['Q1227196', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1227196 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Spain
1
['Lemoa', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Lemoa property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q35499
P37
Q34770 Q56061 Q13220204
USER
How many languages are recognized as the official language of more number of administrative territories or administrative country subdivisions than Old Church Slavonic ?
(c(Q56061)|c(Q13220204),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q35499
relation P37
type Q56061
type Q13220204
[[{'concept': 'Q56061'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?a WHERE { { ?a rdf:type ontology:Q34770 . ?v rdf:type ontology:Q13220204 . ?v property:P37 ?a } UNION { ?a rdf:type ontology:Q34770 . ?v rdf:type ontology:Q56061 . ?v property:P37 ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:P37 resource:Q35499 . { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q13220204 ) } } } } . FILTER ( ?d > ?u ) }
Old Church Slavonic
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Old Church Slavonic
relation official language
type administrative territorial entity
type second-level administrative country subdivision
[[{'concept': 'administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?a WHERE { { ?a rdf:type ontology:language . ?v rdf:type ontology:second-level_administrative_country_subdivision . ?v property:official_language ?a } UNION { ?a rdf:type ontology:language . ?v rdf:type ontology:administrative_territorial_entity . ?v property:official_language ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:official_language resource:Old_Church_Slavonic . { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } } } } . FILTER ( ?d > ?u ) }
[]
language administrative territorial entity second-level administrative country subdivision
SYSTEM
8
Q9056 Q1860 Q652 Q1321 Q397 Q35726 Q8785 Q25164
(c(Q56061)|c(Q13220204),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q35499
relation P37
type Q56061
type Q13220204
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?a WHERE { { ?a rdf:type ontology:Q34770 . ?v rdf:type ontology:Q13220204 . ?v property:P37 ?a } UNION { ?a rdf:type ontology:Q34770 . ?v rdf:type ontology:Q56061 . ?v property:P37 ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:P37 resource:Q35499 . { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q13220204 ) } } } } . FILTER ( ?d > ?u ) }
Czech English Italian Spanish Latin Etruscan Armenian Nynorsk
8
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Old Church Slavonic
relation official language
type administrative territorial entity
type second-level administrative country subdivision
[[{'concept': 'administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?a WHERE { { ?a rdf:type ontology:language . ?v rdf:type ontology:second-level_administrative_country_subdivision . ?v property:official_language ?a } UNION { ?a rdf:type ontology:language . ?v rdf:type ontology:administrative_territorial_entity . ?v property:official_language ?a } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:official_language resource:Old_Church_Slavonic . { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } } } } . FILTER ( ?d > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1321
P37
Q34770 Q56061 Q13220204
USER
And also tell me about Spanish?
(c(Q56061)|c(Q13220204),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q1321
relation P37
type Q56061
type Q13220204
[[{'concept': 'Q56061'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?u ) WHERE { VALUES ( ?o ) { ( ontology:Q56061 ) ( ontology:Q13220204 ) } . ?m rdf:type ?o } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { { ?c rdf:type ontology:Q56061 } UNION { ?c rdf:type ontology:Q13220204 } } . ?c property:P37 resource:Q1321 } } . FILTER ( ?u > ?t ) }
Spanish
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Spanish
relation official language
type administrative territorial entity
type second-level administrative country subdivision
[[{'concept': 'administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?u ) WHERE { VALUES ( ?o ) { ( ontology:administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } . ?m rdf:type ?o } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { { ?c rdf:type ontology:administrative_territorial_entity } UNION { ?c rdf:type ontology:second-level_administrative_country_subdivision } } . ?c property:official_language resource:Spanish } } . FILTER ( ?u > ?t ) }
[]
language administrative territorial entity second-level administrative country subdivision
SYSTEM
2
Q1860 Q652
(c(Q56061)|c(Q13220204),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q1321
relation P37
type Q56061
type Q13220204
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?u ) WHERE { VALUES ( ?o ) { ( ontology:Q56061 ) ( ontology:Q13220204 ) } . ?m rdf:type ?o } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { { ?c rdf:type ontology:Q56061 } UNION { ?c rdf:type ontology:Q13220204 } } . ?c property:P37 resource:Q1321 } } . FILTER ( ?u > ?t ) }
English Italian
2
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Spanish
relation official language
type administrative territorial entity
type second-level administrative country subdivision
[[{'concept': 'administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?u ) WHERE { VALUES ( ?o ) { ( ontology:administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } . ?m rdf:type ?o } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { { ?c rdf:type ontology:administrative_territorial_entity } UNION { ?c rdf:type ontology:second-level_administrative_country_subdivision } } . ?c property:official_language resource:Spanish } } . FILTER ( ?u > ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q474080
P47
Q1048835
USER
How many political territories share the border with Amorebieta-Etxano ?
(Q474080,P47,c(Q1048835))
action count
action filter_type
action find
entity Q474080
relation P47
type Q1048835
['Q474080', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Q474080 property:P47 ?q . ?q rdf:type ontology:Q1048835 }
Amorebieta-Etxano
action count
action filter_type
action find
entity Amorebieta-Etxano
relation shares border with
type political territorial entity
['Amorebieta-Etxano', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Amorebieta-Etxano property:shares_border_with ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
9
Q663530 Q784127 Q1227388 Q668016 Q779046 Q1752925 Q732094 Q1227196 Q664870
(Q474080,P47,c(Q1048835))
action count
action filter_type
action find
entity Q474080
relation P47
type Q1048835
[ANSWER]
['Q474080', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Q474080 property:P47 ?q . ?q rdf:type ontology:Q1048835 }
Dima Larrabetzu Galdakao Iurreta Igorre Morga Durango, Biscay Lemoa Muxika
9
action count
action filter_type
action find
entity Amorebieta-Etxano
relation shares border with
type political territorial entity
['Amorebieta-Etxano', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Amorebieta-Etxano property:shares_border_with ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q474080
P1444
Q22348500
USER
Which cycling race class finishes the journey at that political territory ?
action filter_type
action find_reverse
entity Q474080
relation P1444
type Q22348500
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q22348500 . ?c property:P1444 resource:Q474080 }
Amorebieta-Etxano
action filter_type
action find_reverse
entity Amorebieta-Etxano
relation destination point
type cycling race class defined by the International Cycling Union
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?c property:destination_point resource:Amorebieta-Etxano }
[]
cycling race class defined by the International Cycling Union
Q23979088
SYSTEM
2016 Klasika Primavera
Q23979088
action filter_type
action find_reverse
entity Q474080
relation P1444
type Q22348500
[ANSWER] finishes the journey at that political territory
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q22348500 . ?c property:P1444 resource:Q474080 }
2016 Klasika Primavera
2016 Klasika Primavera finishes the journey at that political territory
2016 Klasika Primavera
action filter_type
action find_reverse
entity Amorebieta-Etxano
relation destination point
type cycling race class defined by the International Cycling Union
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?c property:destination_point resource:Amorebieta-Etxano }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q18221
P17
Q1048835 Q2235308 Q874405
USER
Which political territories are approximately the same number of ship types or social groups a part of as Turks and Caicos Islands ?
(c(Q2235308)|c(Q874405),P17,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q2235308
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q18221
relation P17
type Q2235308
type Q874405
[[{'concept': 'Q2235308'}, {'concept': 'Q874405'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?o WHERE { { ?d property:P17 ?o . ?d rdf:type ontology:Q2235308 . ?o rdf:type ontology:Q1048835 } UNION { ?d rdf:type ontology:Q874405 . ?o rdf:type ontology:Q1048835 . ?d property:P17 ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:P17 resource:Q18221 . { { ?k rdf:type ontology:Q2235308 } UNION { ?k rdf:type ontology:Q874405 } } } } . FILTER ( ?q = ?g ) }
Turks and Caicos Islands
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type ship type
action find_reverse_tuple_counts
relation country
type political territorial entity
type social group
action count
action filter_multi_types
action find_reverse
entity Turks and Caicos Islands
relation country
type ship type
type social group
[[{'concept': 'ship type'}, {'concept': 'social group'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?o WHERE { { ?d property:country ?o . ?d rdf:type ontology:ship_type . ?o rdf:type ontology:political_territorial_entity } UNION { ?d rdf:type ontology:social_group . ?o rdf:type ontology:political_territorial_entity . ?d property:country ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:country resource:Turks_and_Caicos_Islands . { { ?k rdf:type ontology:ship_type } UNION { ?k rdf:type ontology:social_group } } } } . FILTER ( ?q = ?g ) }
[]
political territorial entity ship type social group
Q35 Q40 Q5705
SYSTEM
Denmark, Austria, Catalonia
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q5785 Q35 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q40 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q2235308)|c(Q874405),P17,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q2235308
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q18221
relation P17
type Q2235308
type Q874405
[ANSWERS] are approximately the same number of ship types or social groups a part of as Turks and Caicos Islands
[[{'concept': 'Q2235308'}, {'concept': 'Q874405'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?o WHERE { { ?d property:P17 ?o . ?d rdf:type ontology:Q2235308 . ?o rdf:type ontology:Q1048835 } UNION { ?d rdf:type ontology:Q874405 . ?o rdf:type ontology:Q1048835 . ?d property:P17 ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:P17 resource:Q18221 . { { ?k rdf:type ontology:Q2235308 } UNION { ?k rdf:type ontology:Q874405 } } } } . FILTER ( ?q = ?g ) }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Denmark Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Austria Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
Denmark, Austria and Catalonia are approximately the same number of ship types or social groups a part of as Turks and Caicos Islands
Denmark Austria Catalonia
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type ship type
action find_reverse_tuple_counts
relation country
type political territorial entity
type social group
action count
action filter_multi_types
action find_reverse
entity Turks and Caicos Islands
relation country
type ship type
type social group
[[{'concept': 'ship type'}, {'concept': 'social group'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?o WHERE { { ?d property:country ?o . ?d rdf:type ontology:ship_type . ?o rdf:type ontology:political_territorial_entity } UNION { ?d rdf:type ontology:social_group . ?o rdf:type ontology:political_territorial_entity . ?d property:country ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:country resource:Turks_and_Caicos_Islands . { { ?k rdf:type ontology:ship_type } UNION { ?k rdf:type ontology:social_group } } } } . FILTER ( ?q = ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1227196
P47
Q1048835
USER
How many political territories are adjacent to Lemoa ?
(Q1227196,P47,c(Q1048835))
action count
action filter_type
action find
entity Q1227196
relation P47
type Q1048835
['Q1227196', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Q1227196 property:P47 ?a . ?a rdf:type ontology:Q1048835 }
Lemoa
action count
action filter_type
action find
entity Lemoa
relation shares border with
type political territorial entity
['Lemoa', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Lemoa property:shares_border_with ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
5
Q1242425 Q663530 Q1227388 Q779046 Q474080
(Q1227196,P47,c(Q1048835))
action count
action filter_type
action find
entity Q1227196
relation P47
type Q1048835
[ANSWER]
['Q1227196', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Q1227196 property:P47 ?a . ?a rdf:type ontology:Q1048835 }
Bedia Dima Galdakao Igorre Amorebieta-Etxano
5
action count
action filter_type
action find
entity Lemoa
relation shares border with
type political territorial entity
['Lemoa', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Lemoa property:shares_border_with ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1227196
P1313
Q12737077
USER
Which occupation is fulfilled by that political territory ?
action filter_type
action find
entity Q1227196
relation P1313
type Q12737077
SELECT DISTINCT ?l WHERE { resource:Q1227196 property:P1313 ?l . ?l rdf:type ontology:Q12737077 }
Lemoa
action filter_type
action find
entity Lemoa
relation office held by head of government
type occupation
SELECT DISTINCT ?l WHERE { resource:Lemoa property:office_held_by_head_of_government ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q26690513
SYSTEM
mayor of Lemona
Q26690513
action filter_type
action find
entity Q1227196
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that political territory
SELECT DISTINCT ?l WHERE { resource:Q1227196 property:P1313 ?l . ?l rdf:type ontology:Q12737077 }
mayor of Lemona
The mayor of Lemona is fulfilled by that political territory
mayor of Lemona
action filter_type
action find
entity Lemoa
relation office held by head of government
type occupation
SELECT DISTINCT ?l WHERE { resource:Lemoa property:office_held_by_head_of_government ?l . ?l rdf:type ontology:occupation }
[]