Simple Question (Direct)
Simple Question
Q373560
P20
Q56061
USER
Where did the expiration of Júlio Prestes occur ?
(Q373560,P20,c(Q56061))
action filter_type
action find
entity Q373560
relation P20
type Q56061
['Q373560', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q373560 property:P20 ?b }
Júlio Prestes
action filter_type
action find
entity Júlio Prestes
relation place of death
type administrative territorial entity
['Júlio Prestes', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Júlio_Prestes property:place_of_death ?b }
[]
administrative territorial entity
Q174
SYSTEM
São Paulo
Q174
(Q373560,P20,c(Q56061))
action filter_type
action find
entity Q373560
relation P20
type Q56061
The expiration of Júlio Prestes occurred in [ANSWER]
['Q373560', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q373560 property:P20 ?b }
São Paulo
The expiration of Júlio Prestes occurred in São Paulo
São Paulo
action filter_type
action find
entity Júlio Prestes
relation place of death
type administrative territorial entity
['Júlio Prestes', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Júlio_Prestes property:place_of_death ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q373560
P69
Q3918
USER
Which university is that person an alumni of ?
(Q174,P69,c(Q3918))
action filter_type
action find
entity Q373560
relation P69
type Q3918
['Q174', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q373560 property:P69 ?p . ?p rdf:type ontology:Q3918 }
Júlio Prestes
action filter_type
action find
entity Júlio Prestes
relation educated at
type university
['São Paulo', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Júlio_Prestes property:educated_at ?p . ?p rdf:type ontology:university }
[]
university
Q2667184
SYSTEM
Faculdade de Direito da Universidade de São Paulo
Q2667184
(Q174,P69,c(Q3918))
action filter_type
action find
entity Q373560
relation P69
type Q3918
[ANSWER] is that person an alumni of
['Q174', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q373560 property:P69 ?p . ?p rdf:type ontology:Q3918 }
Faculdade de Direito da Universidade de São Paulo
Faculdade de Direito da Universidade de São Paulo is that person an alumni of
Faculdade de Direito da Universidade de São Paulo
action filter_type
action find
entity Júlio Prestes
relation educated at
type university
['São Paulo', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Júlio_Prestes property:educated_at ?p . ?p rdf:type ontology:university }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11856597 Q373560
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Júlio Prestes or Edvard Berts ?
OR((Q373560,P27,c(Q15617994)), (Q11856597,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q373560
relation P27
action find
entity Q11856597
relation P27
type Q15617994
{'OR': [['Q373560', 'P27', {'concept': 'Q15617994'}], ['Q11856597', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q373560 property:P27 ?e } UNION { resource:Q11856597 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
Edvard Berts Júlio Prestes
action filter_type
action union
action find
entity Júlio Prestes
relation country of citizenship
action find
entity Edvard Berts
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Júlio Prestes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Edvard Berts', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Júlio_Prestes property:country_of_citizenship ?e } UNION { resource:Edvard_Berts property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q33
SYSTEM
Brazil, Finland
Q155 Q33
OR((Q373560,P27,c(Q15617994)), (Q11856597,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q373560
relation P27
action find
entity Q11856597
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Júlio Prestes or Edvard Berts
{'OR': [['Q373560', 'P27', {'concept': 'Q15617994'}], ['Q11856597', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q373560 property:P27 ?e } UNION { resource:Q11856597 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
Brazil Finland
Brazil and Finland are the countries of citizenship of Júlio Prestes or Edvard Berts
Brazil Finland
action filter_type
action union
action find
entity Júlio Prestes
relation country of citizenship
action find
entity Edvard Berts
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Júlio Prestes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Edvard Berts', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Júlio_Prestes property:country_of_citizenship ?e } UNION { resource:Edvard_Berts property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q33
P30
Q2221906
USER
Which geographic locations are Brazil and Finland situated in ?
(Q155,P30,c(Q2221906)) (Q33,P30,c(Q2221906))
action union
action filter_type
action find
entity Q155
relation P30
type Q2221906
action filter_type
action find
entity Q33
relation P30
type Q2221906
['Q155', 'P30', {'concept': 'Q2221906'}] ['Q33', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { { resource:Q155 property:P30 ?y . ?y rdf:type ontology:Q2221906 } UNION { resource:Q33 property:P30 ?y . ?y rdf:type ontology:Q2221906 } }
Brazil Finland
action union
action filter_type
action find
entity Brazil
relation continent
type geographic location
action filter_type
action find
entity Finland
relation continent
type geographic location
['Brazil', 'continent', {'concept': 'geographic location'}] ['Finland', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { { resource:Brazil property:continent ?y . ?y rdf:type ontology:geographic_location } UNION { resource:Finland property:continent ?y . ?y rdf:type ontology:geographic_location } }
[]
geographic location
Q18 Q46
SYSTEM
South America, Europe
Q18 Q46
(Q155,P30,c(Q2221906)) (Q33,P30,c(Q2221906))
action union
action filter_type
action find
entity Q155
relation P30
type Q2221906
action filter_type
action find
entity Q33
relation P30
type Q2221906
Brazil and Finland are situated in [ANSWERS]
['Q155', 'P30', {'concept': 'Q2221906'}] ['Q33', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { { resource:Q155 property:P30 ?y . ?y rdf:type ontology:Q2221906 } UNION { resource:Q33 property:P30 ?y . ?y rdf:type ontology:Q2221906 } }
South America Europe
Brazil and Finland are situated in South America and Europe
South America Europe
action union
action filter_type
action find
entity Brazil
relation continent
type geographic location
action filter_type
action find
entity Finland
relation continent
type geographic location
['Brazil', 'continent', {'concept': 'geographic location'}] ['Finland', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { { resource:Brazil property:continent ?y . ?y rdf:type ontology:geographic_location } UNION { resource:Finland property:continent ?y . ?y rdf:type ontology:geographic_location } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18 Q46
P30
Q337567
USER
Which still waterss are included in South America and Europe ?
(c(Q337567),P30,Q18) (c(Q337567),P30,Q46)
action union
action filter_type
action find_reverse
entity Q18
relation P30
type Q337567
action filter_type
action find_reverse
entity Q46
relation P30
type Q337567
[{'concept': 'Q337567'}, 'P30', 'Q18'] [{'concept': 'Q337567'}, 'P30', 'Q46']
SELECT DISTINCT ?i WHERE { VALUES ( ?a ) { ( resource:Q18 ) ( resource:Q46 ) } . ?i property:P30 ?a }
South America Europe
action union
action filter_type
action find_reverse
entity South America
relation continent
type still waters
action filter_type
action find_reverse
entity Europe
relation continent
type still waters
[{'concept': 'still waters'}, 'continent', 'South America'] [{'concept': 'still waters'}, 'continent', 'Europe']
SELECT DISTINCT ?i WHERE { VALUES ( ?a ) { ( resource:South_America ) ( resource:Europe ) } . ?i property:continent ?a }
[]
still waters
Q9335634 Q5633 Q11726447
SYSTEM
Serwent, Lake Vištytis, Koronowskie Lake
Q6477342 Q7178751 Q15853649 Q11739035 Q11739033 Q11726699 Q11708287 Q9396554 Q11766954 Q9381291 Q11744282 Q11729442 Q11816482 Q2178214 Q11739480 Q11726195 Q11766953 Q9335634 Q11830521 Q11726543 Q5633 Q1688787 Q1330800 Q9199546 Q11726447 Q9333051 Q1688790 Q9180988 Q11726237 Q11739503 Q9282493 Q9180996 Q4973628 Q9367444 Q387256 Q9201871 Q11740717
(c(Q337567),P30,Q18) (c(Q337567),P30,Q46)
action union
action filter_type
action find_reverse
entity Q18
relation P30
type Q337567
action filter_type
action find_reverse
entity Q46
relation P30
type Q337567
[ANSWERS] are included in South America and Europe
[{'concept': 'Q337567'}, 'P30', 'Q18'] [{'concept': 'Q337567'}, 'P30', 'Q46']
SELECT DISTINCT ?i WHERE { VALUES ( ?a ) { ( resource:Q18 ) ( resource:Q46 ) } . ?i property:P30 ?a }
Michelin y la era de los neumaticos Petrel Lake Wardąg Great Kiernoz Litle Kiernoz Lake Przystań Deep Lake Święcajty Little Mamry Wągiel Kot Juno Piecuch Rydzówka Kirsajty Black Lake Mamry Serwent Prądzono Lake Luterskie Lake Vištytis Jezioro Legińskie Lake Mamry Czos Koronowskie Lake Salęt Jezioro Silec Brzeźno Doba Lake Kisajno Guber Great Brzeźno Lake Łańskie Ustrych Śniardwy Dargin Kociołek
Serwent, Lake Vištytis and Koronowskie Lake are included in South America and Europe
Serwent Lake Vištytis Koronowskie Lake
action union
action filter_type
action find_reverse
entity South America
relation continent
type still waters
action filter_type
action find_reverse
entity Europe
relation continent
type still waters
[{'concept': 'still waters'}, 'continent', 'South America'] [{'concept': 'still waters'}, 'continent', 'Europe']
SELECT DISTINCT ?i WHERE { VALUES ( ?a ) { ( resource:South_America ) ( resource:Europe ) } . ?i property:continent ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P159
Q334453
USER
Which divisions have the principal seat at Brazil ?
(c(Q334453),P159,Q155)
action filter_type
action find_reverse
entity Q155
relation P159
type Q334453
[{'concept': 'Q334453'}, 'P159', 'Q155']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q155 . ?j rdf:type ontology:Q334453 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation headquarters location
type division
[{'concept': 'division'}, 'headquarters location', 'Brazil']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Brazil . ?j rdf:type ontology:division }
[]
division
Q1327940 Q3964488
SYSTEM
Elenco, Som Livre
Q1327940 Q3964488
(c(Q334453),P159,Q155)
action filter_type
action find_reverse
entity Q155
relation P159
type Q334453
[ANSWERS] have the principal seat at Brazil
[{'concept': 'Q334453'}, 'P159', 'Q155']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q155 . ?j rdf:type ontology:Q334453 }
Elenco Som Livre
Elenco and Som Livre have the principal seat at Brazil
Elenco Som Livre
action filter_type
action find_reverse
entity Brazil
relation headquarters location
type division
[{'concept': 'division'}, 'headquarters location', 'Brazil']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Brazil . ?j rdf:type ontology:division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3964488
P17
Q15617994
USER
Which administrative territory is that division a part of ?
(Q3964488,P17,c(Q15617994))
action filter_type
action find
entity Q3964488
relation P17
type Q15617994
['Q3964488', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q3964488 property:P17 ?o }
Som Livre
action filter_type
action find
entity Som Livre
relation country
type designation for an administrative territorial entity
['Som Livre', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Som_Livre property:country ?o }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1327940
SYSTEM
Did you mean Elenco ?
Q1327940 Q3964488
(Q1327940,P17,c(Q15617994)) (Q3964488,P17,c(Q15617994))
[ANSWER]
['Q1327940', 'P17', {'concept': 'Q15617994'}] ['Q3964488', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q3964488 property:P17 ?o }
Elenco Som Livre
Did you mean Elenco ?
Elenco
['Elenco', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Som Livre', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Som_Livre property:country ?o }
[]
Simple Question (Coreferenced)
USER
No, I meant Som Livre. Could you tell me the answer for that?
(Q3964488,P17,c(Q15617994))
Q3964488
['Q3964488', 'P17', {'concept': 'Q15617994'}]
['Som Livre', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q155
SYSTEM
Brazil
Q155
(Q3964488,P17,c(Q15617994))
action filter_type
action find
entity Q3964488
relation P17
type Q15617994
[ANSWER] is that division a part of
['Q3964488', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q3964488 property:P17 ?o }
Brazil
Brazil is that division a part of
Brazil
action filter_type
action find
entity Som Livre
relation country
type designation for an administrative territorial entity
['Som Livre', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Som_Livre property:country ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q155 Q548508
P27
Q502895
USER
Is Einar Frogner a citizen of that administrative territory ?
(Q548508,P27,Q155)
action is_in
entity Q548508
action find
entity Q155
relation P27
['Q548508', 'P27', 'Q155']
ASK WHERE { resource:Q155 property:P27 resource:Q548508 }
Brazil Einar Frogner
action is_in
entity Einar Frogner
action find
entity Brazil
relation country of citizenship
['Einar Frogner', 'country of citizenship', 'Brazil']
ASK WHERE { resource:Brazil property:country_of_citizenship resource:Einar_Frogner }
[]
common name
SYSTEM
NO
(Q548508,P27,Q155)
action is_in
entity Q548508
action find
entity Q155
relation P27
[ANSWER]
['Q548508', 'P27', 'Q155']
ASK WHERE { resource:Q155 property:P27 resource:Q548508 }
No
action is_in
entity Einar Frogner
action find
entity Brazil
relation country of citizenship
['Einar Frogner', 'country of citizenship', 'Brazil']
ASK WHERE { resource:Brazil property:country_of_citizenship resource:Einar_Frogner }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q6686132
P206
Q337567 Q33837 Q179049
USER
Which still waterss are located in the neighbourhood of greater number of archipelagos and nature reserves than Lough Leane ?
(c(Q33837)|c(Q179049),P206,c(Q337567))
action greater
action union
action find_reverse_tuple_counts
relation P206
type Q337567
type Q33837
action find_reverse_tuple_counts
relation P206
type Q337567
type Q179049
action count
action filter_multi_types
action find_reverse
entity Q6686132
relation P206
type Q33837
type Q179049
[[{'concept': 'Q33837'}, {'concept': 'Q179049'}], 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?o WHERE { VALUES ( ?f ) { ( ontology:Q33837 ) ( ontology:Q179049 ) } . ?g rdf:type ?f } GROUP BY ?o } . FILTER ( ?w > ?j ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P206 resource:Q6686132 . { VALUES ( ?c ) { ( ontology:Q33837 ) ( ontology:Q179049 ) } . ?p rdf:type ?c } } } }
Lough Leane
action greater
action union
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type archipelago
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type nature reserve
action count
action filter_multi_types
action find_reverse
entity Lough Leane
relation located next to body of water
type archipelago
type nature reserve
[[{'concept': 'archipelago'}, {'concept': 'nature reserve'}], 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?o WHERE { VALUES ( ?f ) { ( ontology:archipelago ) ( ontology:nature_reserve ) } . ?g rdf:type ?f } GROUP BY ?o } . FILTER ( ?w > ?j ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:located_next_to_body_of_water resource:Lough_Leane . { VALUES ( ?c ) { ( ontology:archipelago ) ( ontology:nature_reserve ) } . ?p rdf:type ?c } } } }
[]
still waters archipelago nature reserve
Q14379 Q565637 Q454646
SYSTEM
Lake Maggiore, Untersee, Ratzeburger See
Q454646 Q1246131 Q565637 Q1533062 Q1873172 Q187752 Q14379
(c(Q33837)|c(Q179049),P206,c(Q337567))
action greater
action union
action find_reverse_tuple_counts
relation P206
type Q337567
type Q33837
action find_reverse_tuple_counts
relation P206
type Q337567
type Q179049
action count
action filter_multi_types
action find_reverse
entity Q6686132
relation P206
type Q33837
type Q179049
[ANSWERS] are located in the neighbourhood of greater number of archipelagos and nature reserves than Lough Leane
[[{'concept': 'Q33837'}, {'concept': 'Q179049'}], 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?o WHERE { VALUES ( ?f ) { ( ontology:Q33837 ) ( ontology:Q179049 ) } . ?g rdf:type ?f } GROUP BY ?o } . FILTER ( ?w > ?j ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P206 resource:Q6686132 . { VALUES ( ?c ) { ( ontology:Q33837 ) ( ontology:Q179049 ) } . ?p rdf:type ?c } } } }
Ratzeburger See Markelfinger Winkel Untersee Gnadensee Lucherberger See Zeller See Lake Maggiore
Lake Maggiore, Untersee and Ratzeburger See are located in the neighbourhood of greater number of archipelagos and nature reserves than Lough Leane
Lake Maggiore Untersee Ratzeburger See
action greater
action union
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type archipelago
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type nature reserve
action count
action filter_multi_types
action find_reverse
entity Lough Leane
relation located next to body of water
type archipelago
type nature reserve
[[{'concept': 'archipelago'}, {'concept': 'nature reserve'}], 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?o WHERE { VALUES ( ?f ) { ( ontology:archipelago ) ( ontology:nature_reserve ) } . ?g rdf:type ?f } GROUP BY ?o } . FILTER ( ?w > ?j ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:located_next_to_body_of_water resource:Lough_Leane . { VALUES ( ?c ) { ( ontology:archipelago ) ( ontology:nature_reserve ) } . ?p rdf:type ?c } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1233614
P206
Q337567 Q33837 Q179049
USER
And what about Lake Hazen?
(c(Q33837)|c(Q179049),P206,c(Q337567))
action greater
action union
action find_reverse_tuple_counts
relation P206
type Q337567
type Q33837
action find_reverse_tuple_counts
relation P206
type Q337567
type Q179049
action count
action filter_multi_types
action find_reverse
entity Q1233614
relation P206
type Q33837
type Q179049
[[{'concept': 'Q33837'}, {'concept': 'Q179049'}], 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:P206 ?b . ?k rdf:type ontology:Q33837 . ?b rdf:type ontology:Q337567 } UNION { ?k property:P206 ?b . ?b rdf:type ontology:Q337567 . ?k rdf:type ontology:Q179049 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P206 resource:Q1233614 . { { ?p rdf:type ontology:Q33837 } UNION { ?p rdf:type ontology:Q179049 } } } } . FILTER ( ?x > ?c ) }
Lake Hazen
action greater
action union
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type archipelago
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type nature reserve
action count
action filter_multi_types
action find_reverse
entity Lake Hazen
relation located next to body of water
type archipelago
type nature reserve
[[{'concept': 'archipelago'}, {'concept': 'nature reserve'}], 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:located_next_to_body_of_water ?b . ?k rdf:type ontology:archipelago . ?b rdf:type ontology:still_waters } UNION { ?k property:located_next_to_body_of_water ?b . ?b rdf:type ontology:still_waters . ?k rdf:type ontology:nature_reserve } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:located_next_to_body_of_water resource:Lake_Hazen . { { ?p rdf:type ontology:archipelago } UNION { ?p rdf:type ontology:nature_reserve } } } } . FILTER ( ?x > ?c ) }
[]
still waters archipelago nature reserve
Q14379 Q565637 Q454646
SYSTEM
Lake Maggiore, Untersee, Ratzeburger See
Q454646 Q1246131 Q565637 Q1533062 Q1873172 Q187752 Q14379
(c(Q33837)|c(Q179049),P206,c(Q337567))
action greater
action union
action find_reverse_tuple_counts
relation P206
type Q337567
type Q33837
action find_reverse_tuple_counts
relation P206
type Q337567
type Q179049
action count
action filter_multi_types
action find_reverse
entity Q1233614
relation P206
type Q33837
type Q179049
[ANSWERS]
[[{'concept': 'Q33837'}, {'concept': 'Q179049'}], 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:P206 ?b . ?k rdf:type ontology:Q33837 . ?b rdf:type ontology:Q337567 } UNION { ?k property:P206 ?b . ?b rdf:type ontology:Q337567 . ?k rdf:type ontology:Q179049 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P206 resource:Q1233614 . { { ?p rdf:type ontology:Q33837 } UNION { ?p rdf:type ontology:Q179049 } } } } . FILTER ( ?x > ?c ) }
Ratzeburger See Markelfinger Winkel Untersee Gnadensee Lucherberger See Zeller See Lake Maggiore
Lake Maggiore Untersee Ratzeburger See
action greater
action union
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type archipelago
action find_reverse_tuple_counts
relation located next to body of water
type still waters
type nature reserve
action count
action filter_multi_types
action find_reverse
entity Lake Hazen
relation located next to body of water
type archipelago
type nature reserve
[[{'concept': 'archipelago'}, {'concept': 'nature reserve'}], 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:located_next_to_body_of_water ?b . ?k rdf:type ontology:archipelago . ?b rdf:type ontology:still_waters } UNION { ?k property:located_next_to_body_of_water ?b . ?b rdf:type ontology:still_waters . ?k rdf:type ontology:nature_reserve } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:located_next_to_body_of_water resource:Lake_Hazen . { { ?p rdf:type ontology:archipelago } UNION { ?p rdf:type ontology:nature_reserve } } } } . FILTER ( ?x > ?c ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P206
Q337567 Q15617994 Q1048835
USER
Which still waterss are located next to around the same number of administrative territories or political territories as that still waters ?
(c(Q15617994)|c(Q1048835),P206,c(Q337567))
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P206 ?y } UNION { ?x property:P206 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q337567 . ?x rdf:type ontology:Q1048835 }
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ?y WHERE { { { ?z property:located_next_to_body_of_water ?y } UNION { ?x property:located_next_to_body_of_water ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:still_waters . ?x rdf:type ontology:political_territorial_entity }
[]
still waters designation for an administrative territorial entity political territorial entity
Comparative|More/Less|Mult. entity type|Clarification
Q14379
SYSTEM
Did you mean Lake Maggiore ?
(c(Q15617994)|c(Q1048835),P206,c(Q337567))
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P206 ?y } UNION { ?x property:P206 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q337567 . ?x rdf:type ontology:Q1048835 }
Did you mean Lake Maggiore ?
Lake Maggiore
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ?y WHERE { { { ?z property:located_next_to_body_of_water ?y } UNION { ?x property:located_next_to_body_of_water ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:still_waters . ?x rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q15617994)|c(Q1048835),P206,c(Q337567))
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P206', {'concept': 'Q337567'}]
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'located next to body of water', {'concept': 'still waters'}]
[]
Q15288 Q5513 Q203462
SYSTEM
Lake Ladoga, Lake Baikal, Lake Ilmen
Q834157 Q385678 Q213769 Q10726058 Q1867253 Q629354 Q1062 Q3361334 Q1474746 Q24339867 Q1595306 Q3378044 Q5492 Q7362185 Q464562 Q4138 Q7371646 Q4992316 Q1431773 Q202929 Q3058006 Q1324180 Q215818 Q1383 Q2122783 Q1919806 Q24303992 Q18616559 Q272380 Q454646 Q2552837 Q217430 Q896125 Q204392 Q1364781 Q202905 Q776956 Q1077275 Q944707 Q203137 Q12268925 Q3360936 Q696445 Q14418 Q1402068 Q1247129 Q476618 Q3888972 Q7362220 Q14442 Q2964846 Q3215495 Q1392443 Q697916 Q2605009 Q324084 Q1246131 Q3057390 Q2596558 Q635952 Q10543775 Q1923898 Q918349 Q1135474 Q3369 Q2557105 Q3074719 Q1689557 Q1269252 Q2118703 Q565637 Q806957 Q303427 Q704793 Q10688256 Q10709015 Q14444 Q224872 Q166162 Q257232 Q624895 Q502371 Q1315765 Q882857 Q15288 Q3215029 Q184492 Q203811 Q772806 Q744741 Q173596 Q871192 Q898989 Q5505 Q19253 Q1687394 Q1761007 Q318313 Q1805169 Q906698 Q1622643 Q1675882 Q4874031 Q203462 Q543460 Q3215032 Q11479806 Q10726520 Q10713944 Q1169 Q181494 Q1533062 Q315045 Q1315570 Q21859760 Q848917 Q25907223 Q14407 Q1548883 Q5513 Q10711199 Q180839 Q18661301 Q4983082 Q883094 Q14429 Q174645 Q1800398 Q3361778 Q247082 Q14426 Q1325911 Q206942 Q7100194 Q2363216 Q2902331 Q24305783 Q10691805 Q211425 Q21859794 Q2330113 Q10657900 Q10496947 Q2500126 Q3017786 Q14518 Q1756668 Q14512 Q1484237 Q2660390 Q1233614 Q7346404 Q80629 Q3257696 Q1873172 Q891521 Q314836 Q1419902 Q47136 Q580019 Q778066 Q992937 Q1805527 Q1892320 Q188195 Q1594212 Q14714439 Q1295357 Q187752 Q271320 Q68467 Q338137 Q3564698 Q910474 Q14379 Q997345 Q5285034 Q6686132 Q3215268 Q1398428 Q15648 Q311217 Q173862 Q12150795 Q1444742 Q10577295 Q1546844 Q5525 Q1653947 Q156258 Q1714638 Q24307100 Q828804 Q2130944 Q6403 Q3908364 Q648902 Q21833560 Q3591781 Q1551809 Q6754501
(c(Q15617994)|c(Q1048835),P206,c(Q337567))
[ANSWERS] are located next to around the same number of administrative territories or political territories as that still waters
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P206 ?y } UNION { ?x property:P206 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q337567 . ?x rdf:type ontology:Q1048835 }
Schliersee Jyväsjärvi Päijänne Erlången Loch Fyne Storsjön Lake Ontario Mörtsjön Helgasjön Äkäslompolo Heiliger See Maren Lake Erie Kelontekemäjärvi Sacrower See Chiemsee Włocławek Reservoir Lake Trummen Fühlingen Lake Drontermeer Zrebar Lake Lough Erne Torneträsk Lake Huron Quenzsee Melzer See Ylläsjärvi Lake Bant Lake Managua Ratzeburger See Waupacksee Siljan Griebnitzsee Lake Prespa Hachirōgata Lake Okeechobee Lake Ioannina Nakaumi Loch Duich Lake Inari Vuontisjärvi Albysjön Tyrifjorden Lake Lugano Feisnecksee Medeweger See Bueng Boraphet Lake Väsman Vaalajärvi Lake Brienz Wolderwijd lac de Nantua Fahrlander See Lake Tegel Ashtamudi Lake Tollensesee Markelfinger Winkel Loch Snizort Wörthsee Beetzsee Karlbergssjön Binnenbedijkte Maas Lough Derg Alsensjön Müritz Weißer See Köyliönjärvi Neumühler See Woterfitzsee Lake Syväri Untersee Bansmeer Aasee Plauer See Sävelången Ulvsundasjön Walensee Lake Winnipesaukee Lake Onega Oijärvi Aradosee West Lake Lake Vygozero Groß Glienicker See Lake Ladoga Lake Macatawa Mälaren Lake Skadar Gulf of Tadjoura Wular Lake Vänern Pfaffenteich Bras d'Or Lake Lake Victoria Lake Peipus Tiefwarensee Songkhla Lake Schwielowsee Langer See Breitlingsee Ostorfer See Ivö Lake Bay Lake Lake Ilmen Veluwemeer Lake Magog Lake Ogura Åmänningen Vendelsjön Lake Michigan Jungfernsee Gnadensee Maschsee Lake Fagnano Schellensee Lough Corrib Three Valley Lake Lake Zurich Rice Lake Lake Baikal Usken Landösjön Piikajärvi Buckeye Lake Templiner See Lake Biel Walchensee Ranco Lake Ånnsjön Große Karausche Lake Thun Shuswap Lake Lough Neagh Orchard Lake wells of ekeren Mazinaw Lake Vikajärvi Teden Hjälmaren Steinsee Yalpug Lake Rusken Florsjön Loch Bracadale Lake Apanás Lake Lauerz Lake Muskoka Lake Sils Tiefer See Lake Novozero Lake Hazen Temenggor Lake Ziegelsee Loch Dunvegan Lucherberger See Bolmen Großer Eutiner See Lake Orestiada Laguna de Bay Oulujärvi Burgsee Brunnsviken Lankower See Lake Pyhäselkä Vättern Heidensee Geneva Lake Eemmeer Zeller See Åsunden (Västergötland) Lake Champlain IJ Algae Lake Dennenloher See Lake Maggiore Buada Lagoon Diyawanna Oya Lough Leane Lac Vieux Desert Fauler See Lake Iseo Schweriner See Lake Nicaragua Lake Safyany Firth of Lorn Mariebergsfjärden Grimkesee Great Bear Lake IJmeer Lake Ohrid Lake Temagami Vaattojärvi Lake Quinault Kvarnbergsvattnet Lake Geneva Großer Wannsee Lake Bled Lago Rosario étangs de Saclay Grünauer Teich Mara Lake
Lake Ladoga, Lake Baikal and Lake Ilmen are located next to around the same number of administrative territories or political territories as that still waters
Lake Ladoga Lake Baikal Lake Ilmen
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ?y WHERE { { { ?z property:located_next_to_body_of_water ?y } UNION { ?x property:located_next_to_body_of_water ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:still_waters . ?x rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q838948 Q340169
USER
How many administrative territories are expressed in exactly 1 works of art and medias ?
(c(Q838948)|c(Q340169),P180,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
value 1
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?m WHERE { { ?u property:P180 ?m . ?u rdf:type ontology:Q838948 . ?m rdf:type ontology:Q15617994 } UNION { ?u property:P180 ?m . ?m rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q340169 } } GROUP BY ?m } . FILTER ( ?g = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
value 1
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?m WHERE { { ?u property:depicts ?m . ?u rdf:type ontology:work_of_art . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:depicts ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:media } } GROUP BY ?m } . FILTER ( ?g = 1 ) }
[]
designation for an administrative territorial entity work of art media
SYSTEM
2
Q674904 Q145
(c(Q838948)|c(Q340169),P180,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
value 1
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?m WHERE { { ?u property:P180 ?m . ?u rdf:type ontology:Q838948 . ?m rdf:type ontology:Q15617994 } UNION { ?u property:P180 ?m . ?m rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q340169 } } GROUP BY ?m } . FILTER ( ?g = 1 ) }
Krumau am Kamp United Kingdom
2
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
value 1
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) ?m WHERE { { ?u property:depicts ?m . ?u rdf:type ontology:work_of_art . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:depicts ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:media } } GROUP BY ?m } . FILTER ( ?g = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5513
P706
Q1267889
USER
What is located in Lake Baikal ?
(c(Q1267889),P706,Q5513)
action filter_type
action find_reverse
entity Q5513
relation P706
type Q1267889
[{'concept': 'Q1267889'}, 'P706', 'Q5513']
SELECT DISTINCT ?h WHERE { ?h property:P706 resource:Q5513 . ?h rdf:type ontology:Q1267889 }
Lake Baikal
action filter_type
action find_reverse
entity Lake Baikal
relation located on terrain feature
type waterway
[{'concept': 'waterway'}, 'located on terrain feature', 'Lake Baikal']
SELECT DISTINCT ?h WHERE { ?h property:located_on_terrain_feature resource:Lake_Baikal . ?h rdf:type ontology:waterway }
[]
waterway
Q2045047
SYSTEM
Small Sea Strait
Q2045047
(c(Q1267889),P706,Q5513)
action filter_type
action find_reverse
entity Q5513
relation P706
type Q1267889
[ANSWER] is located in Lake Baikal
[{'concept': 'Q1267889'}, 'P706', 'Q5513']
SELECT DISTINCT ?h WHERE { ?h property:P706 resource:Q5513 . ?h rdf:type ontology:Q1267889 }
Small Sea Strait
Small Sea Strait is located in Lake Baikal
Small Sea Strait
action filter_type
action find_reverse
entity Lake Baikal
relation located on terrain feature
type waterway
[{'concept': 'waterway'}, 'located on terrain feature', 'Lake Baikal']
SELECT DISTINCT ?h WHERE { ?h property:located_on_terrain_feature resource:Lake_Baikal . ?h rdf:type ontology:waterway }
[]