Simple Question (Direct)
Simple Question
Q16191441
P1412
Q34770
USER
Which language can Miquel Duran i Planas understand ?
(Q16191441,P1412,c(Q34770))
action filter_type
action find
entity Q16191441
relation P1412
type Q34770
['Q16191441', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q16191441 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Miquel Duran i Planas
action filter_type
action find
entity Miquel Duran i Planas
relation languages spoken, written or signed
type language
['Miquel Duran i Planas', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Miquel_Duran_i_Planas property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q16191441,P1412,c(Q34770))
action filter_type
action find
entity Q16191441
relation P1412
type Q34770
Miquel Duran i Planas can understand the [ANSWER]
['Q16191441', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q16191441 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Spanish
Miquel Duran i Planas can understand the Spanish
Spanish
action filter_type
action find
entity Miquel Duran i Planas
relation languages spoken, written or signed
type language
['Miquel Duran i Planas', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Miquel_Duran_i_Planas property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q185083
P282
Q2001982 Q34770
USER
How many notations are utilized as the script for more number of languages than Brahmi script ?
(c(Q34770),P282,c(Q2001982))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q185083
relation P282
type Q2001982
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h rdf:type ontology:Q2001982 . resource:Q185083 property:P282 ?h } } . FILTER ( ?d > ?k ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?d ) WHERE { ?a rdf:type ontology:Q2001982 . ?x rdf:type ontology:Q34770 . ?x property:P282 ?a } GROUP BY ?a } }
Brahmi script
action count
action greater
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Brahmi script
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h rdf:type ontology:notation . resource:Brahmi_script property:writing_system ?h } } . FILTER ( ?d > ?k ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?d ) WHERE { ?a rdf:type ontology:notation . ?x rdf:type ontology:language . ?x property:writing_system ?a } GROUP BY ?a } }
[]
notation language
SYSTEM
6
Q82772 Q8216 Q1771716 Q3322653 Q790681 Q401
(c(Q34770),P282,c(Q2001982))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q185083
relation P282
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h rdf:type ontology:Q2001982 . resource:Q185083 property:P282 ?h } } . FILTER ( ?d > ?k ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?d ) WHERE { ?a rdf:type ontology:Q2001982 . ?x rdf:type ontology:Q34770 . ?x property:P282 ?a } GROUP BY ?a } }
kanji Greek alphabet Pahlavi scripts Southwest Paleohispanic script Avestan alphabet cuneiform
6
action count
action greater
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Brahmi script
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { ?h rdf:type ontology:notation . resource:Brahmi_script property:writing_system ?h } } . FILTER ( ?d > ?k ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?d ) WHERE { ?a rdf:type ontology:notation . ?x rdf:type ontology:language . ?x property:writing_system ?a } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q14088951 Q16191441
P27
Q15617994
USER
Which administrative territories do Miquel Duran i Planas or Gonzalo Cubas Navarro belong to ?
OR((Q16191441,P27,c(Q15617994)), (Q14088951,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16191441
relation P27
action find
entity Q14088951
relation P27
type Q15617994
{'OR': [['Q16191441', 'P27', {'concept': 'Q15617994'}], ['Q14088951', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { { resource:Q16191441 property:P27 ?c } UNION { resource:Q14088951 property:P27 ?c } } }
Gonzalo Cubas Navarro Miquel Duran i Planas
action filter_type
action union
action find
entity Miquel Duran i Planas
relation country of citizenship
action find
entity Gonzalo Cubas Navarro
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Miquel Duran i Planas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gonzalo Cubas Navarro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Miquel_Duran_i_Planas property:country_of_citizenship ?c } UNION { resource:Gonzalo_Cubas_Navarro property:country_of_citizenship ?c } } }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
OR((Q16191441,P27,c(Q15617994)), (Q14088951,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16191441
relation P27
action find
entity Q14088951
relation P27
type Q15617994
Miquel Duran i Planas or Gonzalo Cubas Navarro belong to Real [ANSWER]
{'OR': [['Q16191441', 'P27', {'concept': 'Q15617994'}], ['Q14088951', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { { resource:Q16191441 property:P27 ?c } UNION { resource:Q14088951 property:P27 ?c } } }
Spain
Miquel Duran i Planas or Gonzalo Cubas Navarro belong to Real Spain
Spain
action filter_type
action union
action find
entity Miquel Duran i Planas
relation country of citizenship
action find
entity Gonzalo Cubas Navarro
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Miquel Duran i Planas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gonzalo Cubas Navarro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Miquel_Duran_i_Planas property:country_of_citizenship ?c } UNION { resource:Gonzalo_Cubas_Navarro property:country_of_citizenship ?c } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14088951
P6
Q1048835
USER
Which political territory is Gonzalo Cubas Navarro the head of the goverment of ?
(c(Q1048835),P6,Q29)
action filter_type
action find_reverse
entity Q14088951
relation P6
type Q1048835
[{'concept': 'Q1048835'}, 'P6', 'Q29']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . ?a property:P6 resource:Q14088951 }
Gonzalo Cubas Navarro
action filter_type
action find_reverse
entity Gonzalo Cubas Navarro
relation head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'head of government', 'Spain']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . ?a property:head_of_government resource:Gonzalo_Cubas_Navarro }
[]
political territorial entity
Q919911
SYSTEM
Torrejón de Velasco
Q919911
(c(Q1048835),P6,Q29)
action filter_type
action find_reverse
entity Q14088951
relation P6
type Q1048835
[ANSWER] is Gonzalo Cubas Navarro the head of the goverment of
[{'concept': 'Q1048835'}, 'P6', 'Q29']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . ?a property:P6 resource:Q14088951 }
Torrejón de Velasco
Torrejón de Velasco is Gonzalo Cubas Navarro the head of the goverment of
Torrejón de Velasco
action filter_type
action find_reverse
entity Gonzalo Cubas Navarro
relation head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'head of government', 'Spain']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . ?a property:head_of_government resource:Gonzalo_Cubas_Navarro }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q919911 Q17870 Q111961
P17
Q15617994
USER
Is that political territory present in Tigliole and Talamello ?
(Q919911,P17,Q17870) (Q919911,P17,Q111961)
action is_in
entity Q919911
action intersection
action find_reverse
entity Q17870
relation P17
action find_reverse
entity Q111961
relation P17
['Q919911', 'P17', 'Q17870'] ['Q919911', 'P17', 'Q111961']
ASK WHERE { resource:Q919911 property:P17 resource:Q111961 . resource:Q919911 property:P17 resource:Q17870 }
Torrejón de Velasco Tigliole Talamello
action is_in
entity Torrejón de Velasco
action intersection
action find_reverse
entity Tigliole
relation country
action find_reverse
entity Talamello
relation country
['Torrejón de Velasco', 'country', 'Tigliole'] ['Torrejón de Velasco', 'country', 'Talamello']
ASK WHERE { resource:Torrejón_de_Velasco property:country resource:Talamello . resource:Torrejón_de_Velasco property:country resource:Tigliole }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q919911,P17,Q17870) (Q919911,P17,Q111961)
action is_in
entity Q919911
action intersection
action find_reverse
entity Q17870
relation P17
action find_reverse
entity Q111961
relation P17
[ANSWER]
['Q919911', 'P17', 'Q17870'] ['Q919911', 'P17', 'Q111961']
ASK WHERE { resource:Q919911 property:P17 resource:Q111961 . resource:Q919911 property:P17 resource:Q17870 }
No
action is_in
entity Torrejón de Velasco
action intersection
action find_reverse
entity Tigliole
relation country
action find_reverse
entity Talamello
relation country
['Torrejón de Velasco', 'country', 'Tigliole'] ['Torrejón de Velasco', 'country', 'Talamello']
ASK WHERE { resource:Torrejón_de_Velasco property:country resource:Talamello . resource:Torrejón_de_Velasco property:country resource:Tigliole }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q919911
P21 P20
Q502895
USER
Which people expired at Torrejón de Velasco and are a male ?
AND((c(Q502895),P20,Q919911), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q919911
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q919911'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P20 resource:Q919911 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
male Torrejón de Velasco
action filter_type
action intersection
action find_reverse
entity Torrejón de Velasco
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Torrejón de Velasco'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:place_of_death resource:Torrejón_de_Velasco . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
common name
Q5953209 Q1333486
SYSTEM
Juan de Gurrea y Aragón, Nuño de Guzmán
Q5953209 Q1333486
AND((c(Q502895),P20,Q919911), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q919911
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] expired at Torrejón de Velasco and are a male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q919911'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P20 resource:Q919911 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
Juan de Gurrea y Aragón Nuño de Guzmán
Juan de Gurrea y Aragón and Nuño de Guzmán expired at Torrejón de Velasco and are a male
Juan de Gurrea y Aragón Nuño de Guzmán
action filter_type
action intersection
action find_reverse
entity Torrejón de Velasco
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Torrejón de Velasco'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:place_of_death resource:Torrejón_de_Velasco . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1613327 Q919911
P47
Q1048835
USER
Which political territories have a shared border with Torrejón de Velasco or San Sebastián de los Ballesteros ?
OR((Q919911,P47,c(Q1048835)), (Q1613327,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q919911
relation P47
action find
entity Q1613327
relation P47
type Q1048835
{'OR': [['Q919911', 'P47', {'concept': 'Q1048835'}], ['Q1613327', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?e ) { ( resource:Q919911 ) ( resource:Q1613327 ) } . ?e property:P47 ?c } . ?c rdf:type ontology:Q1048835 }
San Sebastián de los Ballesteros Torrejón de Velasco
action filter_type
action union
action find
entity Torrejón de Velasco
relation shares border with
action find
entity San Sebastián de los Ballesteros
relation shares border with
type political territorial entity
{'OR': [['Torrejón de Velasco', 'shares border with', {'concept': 'political territorial entity'}], ['San Sebastián de los Ballesteros', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?e ) { ( resource:Torrejón_de_Velasco ) ( resource:San_Sebastián_de_los_Ballesteros ) } . ?e property:shares_border_with ?c } . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1606474 Q749022 Q824651 Q909718 Q970724 Q960213 Q1645517 Q840373
SYSTEM
Illescas, La Carlota, Spain, Parla, Pinto, La Victoria, Torrejón de la Calzada, La Rambla, Valdemoro
Q1606474 Q749022 Q824651 Q909718 Q970724 Q960213 Q1645517 Q840373
OR((Q919911,P47,c(Q1048835)), (Q1613327,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q919911
relation P47
action find
entity Q1613327
relation P47
type Q1048835
[ANSWERS] have a shared border with Torrejón de Velasco or San Sebastián de los Ballesteros
{'OR': [['Q919911', 'P47', {'concept': 'Q1048835'}], ['Q1613327', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?e ) { ( resource:Q919911 ) ( resource:Q1613327 ) } . ?e property:P47 ?c } . ?c rdf:type ontology:Q1048835 }
Illescas La Carlota, Spain Parla Pinto La Victoria Torrejón de la Calzada La Rambla Valdemoro
Illescas, La Carlota, Spain, Parla, Pinto, La Victoria, Torrejón de la Calzada, La Rambla and Valdemoro have a shared border with Torrejón de Velasco or San Sebastián de los Ballesteros
Illescas La Carlota, Spain Parla Pinto La Victoria Torrejón de la Calzada La Rambla Valdemoro
action filter_type
action union
action find
entity Torrejón de Velasco
relation shares border with
action find
entity San Sebastián de los Ballesteros
relation shares border with
type political territorial entity
{'OR': [['Torrejón de Velasco', 'shares border with', {'concept': 'political territorial entity'}], ['San Sebastián de los Ballesteros', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?e ) { ( resource:Torrejón_de_Velasco ) ( resource:San_Sebastián_de_los_Ballesteros ) } . ?e property:shares_border_with ?c } . ?c rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q2221906 Q15324 Q1048835
USER
How many political territories have their location as around 1 geographic locations or bodies of water ?
(c(Q1048835),P706,c(Q2221906)|c(Q15324))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action find_tuple_counts
relation P706
type Q1048835
type Q15324
value 1
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?j ) WHERE { { ?f property:P706 ?h . ?f rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q2221906 } UNION { ?f property:P706 ?h . ?h rdf:type ontology:Q15324 . ?f rdf:type ontology:Q1048835 } } GROUP BY ?f } . FILTER ( ?j = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?j ) WHERE { { ?f property:located_on_terrain_feature ?h . ?f rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:geographic_location } UNION { ?f property:located_on_terrain_feature ?h . ?h rdf:type ontology:body_of_water . ?f rdf:type ontology:political_territorial_entity } } GROUP BY ?f } . FILTER ( ?j = 1 ) }
[]
geographic location body of water political territorial entity
SYSTEM
13
Q13353 Q6139 Q168856 Q5785 Q25228 Q170213 Q766 Q9676 Q168159 Q18221 Q778 Q5700 Q25305
(c(Q1048835),P706,c(Q2221906)|c(Q15324))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action find_tuple_counts
relation P706
type Q1048835
type Q15324
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?j ) WHERE { { ?f property:P706 ?h . ?f rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q2221906 } UNION { ?f property:P706 ?h . ?h rdf:type ontology:Q15324 . ?f rdf:type ontology:Q1048835 } } GROUP BY ?f } . FILTER ( ?j = 1 ) }
Montserrat Havelland Chernivtsi Oblast Cayman Islands Anguilla Zakarpattia Oblast Jamaica Isle of Man Anglesey Turks and Caicos Islands The Bahamas Lapland British Virgin Islands
13
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?j ) WHERE { { ?f property:located_on_terrain_feature ?h . ?f rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:geographic_location } UNION { ?f property:located_on_terrain_feature ?h . ?h rdf:type ontology:body_of_water . ?f rdf:type ontology:political_territorial_entity } } GROUP BY ?f } . FILTER ( ?j = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q824651
P47
Q1048835
USER
How many political territories have a shared border with Parla ?
(Q824651,P47,c(Q1048835))
action count
action filter_type
action find
entity Q824651
relation P47
type Q1048835
['Q824651', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q824651 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Parla
action count
action filter_type
action find
entity Parla
relation shares border with
type political territorial entity
['Parla', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Parla property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
6
Q281632 Q54902 Q919911 Q909718 Q960213 Q1772237
(Q824651,P47,c(Q1048835))
action count
action filter_type
action find
entity Q824651
relation P47
type Q1048835
[ANSWER]
['Q824651', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q824651 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Humanes de Madrid Fuenlabrada Torrejón de Velasco Pinto Torrejón de la Calzada Griñón
6
action count
action filter_type
action find
entity Parla
relation shares border with
type political territorial entity
['Parla', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Parla property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2937
Q1048835
USER
And what about Nordfriesland?
(Q2937,P47,c(Q1048835))
action count
action filter_type
action find
entity Q2937
relation P47
type Q1048835
['Q2937', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Q2937 property:P47 ?q . ?q rdf:type ontology:Q1048835 }
Nordfriesland
action count
action filter_type
action find
entity Nordfriesland
relation shares border with
type political territorial entity
['Nordfriesland', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Nordfriesland property:shares_border_with ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
(Q2937,P47,c(Q1048835))
action count
action filter_type
action find
entity Q2937
relation P47
type Q1048835
[ANSWER]
['Q2937', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Q2937 property:P47 ?q . ?q rdf:type ontology:Q1048835 }
2
action count
action filter_type
action find
entity Nordfriesland
relation shares border with
type political territorial entity
['Nordfriesland', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { resource:Nordfriesland property:shares_border_with ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2937
P610
Q14524493
USER
What is the highest point of that political territory ?
action filter_type
action find
entity Q2937
relation P610
type Q14524493
SELECT DISTINCT ?q WHERE { resource:Q2937 property:P610 ?q . ?q rdf:type ontology:Q14524493 }
Nordfriesland
action filter_type
action find
entity Nordfriesland
relation highest point
type terrain
SELECT DISTINCT ?q WHERE { resource:Nordfriesland property:highest_point ?q . ?q rdf:type ontology:terrain }
[]
terrain
Q19681520
SYSTEM
Sandesberg
Q19681520
action filter_type
action find
entity Q2937
relation P610
type Q14524493
The highest point of that political territory is the [ANSWER]
SELECT DISTINCT ?q WHERE { resource:Q2937 property:P610 ?q . ?q rdf:type ontology:Q14524493 }
Sandesberg
The highest point of that political territory is the Sandesberg
Sandesberg
action filter_type
action find
entity Nordfriesland
relation highest point
type terrain
SELECT DISTINCT ?q WHERE { resource:Nordfriesland property:highest_point ?q . ?q rdf:type ontology:terrain }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q7725634 Q15416
USER
Which administrative territories are the countries of origin of approximately 927 literary works and television programs ?
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
value 927
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?t WHERE { { ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q7725634 . ?s property:P495 ?t } UNION { ?s property:P495 ?t . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15416 } } GROUP BY ?t } . FILTER ( ?i = 927 ) }
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
value 927
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?t WHERE { { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:literary_work . ?s property:country_of_origin ?t } UNION { ?s property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:television_program } } GROUP BY ?t } . FILTER ( ?i = 927 ) }
[]
designation for an administrative territorial entity literary work television program
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
value 927
[ANSWERS] are the countries of origin of approximately 927 literary works and television programs
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?t WHERE { { ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q7725634 . ?s property:P495 ?t } UNION { ?s property:P495 ?t . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15416 } } GROUP BY ?t } . FILTER ( ?i = 927 ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the countries of origin of approximately 927 literary works and television programs
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
value 927
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?t WHERE { { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:literary_work . ?s property:country_of_origin ?t } UNION { ?s property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:television_program } } GROUP BY ?t } . FILTER ( ?i = 927 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q230
P1532
Q502895
USER
Who play for those administrative territories ?
(c(Q502895),P1532,Q38) (c(Q502895),P1532,Q155) (c(Q502895),P1532,Q230)
action filter_type
action find_reverse
entity prev_answer
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q38'] [{'concept': 'Q502895'}, 'P1532', 'Q155'] [{'concept': 'Q502895'}, 'P1532', 'Q230']
SELECT DISTINCT ?w WHERE { VALUES ( ?k ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . ?w rdf:type ontology:Q502895 . ?w property:P1532 ?k }
Italy Brazil Georgia
action filter_type
action find_reverse
entity prev_answer
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Italy'] [{'concept': 'common name'}, 'country for sport', 'Brazil'] [{'concept': 'common name'}, 'country for sport', 'Georgia']
SELECT DISTINCT ?w WHERE { VALUES ( ?k ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . ?w rdf:type ontology:common_name . ?w property:country_for_sport ?k }
[]
common name
Q10279110 Q3110622 Q20028186
SYSTEM
Fabiana Cristine da Silva, Gonzalo Garcia, Thiago André
Q25336604 Q22988707 Q22703869 Q22136991 Q20016855 Q22949274 Q21600834 Q22911603 Q23036908 Q9345554 Q3110622 Q5041564 Q3878312 Q21034233 Q25201549 Q2026418 Q22246777 Q24287413 Q21855004 Q22137017 Q1045901 Q25820084 Q22137004 Q22137011 Q22137023 Q22137020 Q23010184 Q1503228 Q26460455 Q10279110 Q20028186 Q16041141 Q11729824 Q27023191 Q25999722
(c(Q502895),P1532,Q38) (c(Q502895),P1532,Q155) (c(Q502895),P1532,Q230)
action filter_type
action find_reverse
entity prev_answer
relation P1532
type Q502895
[ANSWERS] play for those administrative territories
[{'concept': 'Q502895'}, 'P1532', 'Q38'] [{'concept': 'Q502895'}, 'P1532', 'Q155'] [{'concept': 'Q502895'}, 'P1532', 'Q230']
SELECT DISTINCT ?w WHERE { VALUES ( ?k ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . ?w rdf:type ontology:Q502895 . ?w property:P1532 ?k }
Filippo Tortu Giuseppe Leonardi Dries van Schalkwyk Virginia Troiani Stefanie Horn Osama Zoghlami Héctor De Marco Sergio Chiesa Daniele Corsa Stefano Braga Gonzalo Garcia Carlo Occhiena Norbert Bonvecchio Enrico Casella Livio Sciandra Dario Cerrato Elisa Rea Luca Pizzini Federica Curiazzi Federica Putti Carter Trevisani Yusneysi Santiusti Johanelis Herrera Abreu Eugenio Meloni Alice Mangione Martina Lorenzetto Maria Rodrigues João da Silva Alexander Russo Fabiana Cristine da Silva Thiago André Douglas de Souza Jéssica Carolina dos Reis Gianetti Bonfim Lasha Torgvaidze
Fabiana Cristine da Silva, Gonzalo Garcia and Thiago André play for those administrative territories
Fabiana Cristine da Silva Gonzalo Garcia Thiago André
action filter_type
action find_reverse
entity prev_answer
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Italy'] [{'concept': 'common name'}, 'country for sport', 'Brazil'] [{'concept': 'common name'}, 'country for sport', 'Georgia']
SELECT DISTINCT ?w WHERE { VALUES ( ?k ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . ?w rdf:type ontology:common_name . ?w property:country_for_sport ?k }
[]