Simple Question (Direct)
Simple Question
Q76032
P937
Q515
USER
What are the work locations of Georg von Below ?
(Q76032,P937,c(Q515))
action filter_type
action find
entity Q76032
relation P937
type Q515
['Q76032', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q515 . resource:Q76032 property:P937 ?i }
Georg von Below
action filter_type
action find
entity Georg von Below
relation work location
type city
['Georg von Below', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:city . resource:Georg_von_Below property:work_location ?i }
[]
city
Q2833 Q3806
SYSTEM
Freiburg im Breisgau, Tübingen
Q2833 Q3806
(Q76032,P937,c(Q515))
action filter_type
action find
entity Q76032
relation P937
type Q515
The work locations of Georg von Below are in [ANSWERS]
['Q76032', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q515 . resource:Q76032 property:P937 ?i }
Freiburg im Breisgau Tübingen
The work locations of Georg von Below are in Freiburg im Breisgau and Tübingen
Freiburg im Breisgau Tübingen
action filter_type
action find
entity Georg von Below
relation work location
type city
['Georg von Below', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:city . resource:Georg_von_Below property:work_location ?i }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2833 Q3806
P190
Q56061
USER
Which administrative territories are a sister city of Freiburg im Breisgau and Tübingen ?
(c(Q56061),P190,Q2833) (c(Q56061),P190,Q3806)
action union
action filter_type
action find
entity Q2833
relation P190
type Q56061
action filter_type
action find
entity Q3806
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q2833'] [{'concept': 'Q56061'}, 'P190', 'Q3806']
SELECT DISTINCT ?a WHERE { VALUES ( ?b ) { ( resource:Q2833 ) ( resource:Q3806 ) } . ?b property:P190 ?a }
Freiburg im Breisgau Tübingen
action union
action filter_type
action find
entity Freiburg im Breisgau
relation sister city
type administrative territorial entity
action filter_type
action find
entity Tübingen
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Freiburg im Breisgau'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Tübingen']
SELECT DISTINCT ?a WHERE { VALUES ( ?b ) { ( resource:Freiburg_im_Breisgau ) ( resource:Tübingen ) } . ?b property:sister_city ?a }
[]
administrative territorial entity
Q36036 Q37776 Q617
SYSTEM
Lviv, Besançon, Padua
Q200022 Q1014671 Q37776 Q36036 Q617 Q1735 Q42053 Q8810 Q43788 Q179815 Q3437 Q485172 Q1895
(c(Q56061),P190,Q2833) (c(Q56061),P190,Q3806)
action union
action filter_type
action find
entity Q2833
relation P190
type Q56061
action filter_type
action find
entity Q3806
relation P190
type Q56061
[ANSWERS] are a sister city of Freiburg im Breisgau and Tübingen
[{'concept': 'Q56061'}, 'P190', 'Q2833'] [{'concept': 'Q56061'}, 'P190', 'Q3806']
SELECT DISTINCT ?a WHERE { VALUES ( ?b ) { ( resource:Q2833 ) ( resource:Q3806 ) } . ?b property:P190 ?a }
Matsuyama Wiwilí de Jinotega Besançon Lviv Padua Innsbruck Isfahan Granada Madison Durham Perugia Ann Arbor Petrozavodsk
Lviv, Besançon and Padua are a sister city of Freiburg im Breisgau and Tübingen
Lviv Besançon Padua
action union
action filter_type
action find
entity Freiburg im Breisgau
relation sister city
type administrative territorial entity
action filter_type
action find
entity Tübingen
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Freiburg im Breisgau'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Tübingen']
SELECT DISTINCT ?a WHERE { VALUES ( ?b ) { ( resource:Freiburg_im_Breisgau ) ( resource:Tübingen ) } . ?b property:sister_city ?a }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q36036 Q37776 Q617
P17
Q15617994
USER
Which administrative territories are those administrative territories located in ?
(Q36036,P17,c(Q15617994)) (Q37776,P17,c(Q15617994)) (Q617,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q36036', 'P17', {'concept': 'Q15617994'}] ['Q37776', 'P17', {'concept': 'Q15617994'}] ['Q617', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?m property:P17 ?f . ?f rdf:type ontology:Q15617994 . VALUES ( ?m ) { ( resource:Q200022 ) ( resource:Q1014671 ) ( resource:Q37776 ) } }
Lviv Besançon Padua
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Lviv', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Besançon', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Padua', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?m property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?m ) { ( resource:Matsuyama ) ( resource:Wiwilí_de_Jinotega ) ( resource:Besançon ) } }
[]
designation for an administrative territorial entity
Q38 Q142 Q36
SYSTEM
Italy, France, Poland
Q212 Q153136 Q36 Q239502 Q142 Q38 Q153136
(Q36036,P17,c(Q15617994)) (Q37776,P17,c(Q15617994)) (Q617,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those administrative territories are located in [ANSWERS]
['Q36036', 'P17', {'concept': 'Q15617994'}] ['Q37776', 'P17', {'concept': 'Q15617994'}] ['Q617', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?m property:P17 ?f . ?f rdf:type ontology:Q15617994 . VALUES ( ?m ) { ( resource:Q200022 ) ( resource:Q1014671 ) ( resource:Q37776 ) } }
Ukraine Habsburg Empire Poland Kingdom of Galicia–Volhynia France Italy Habsburg Empire
Those administrative territories are located in Italy, France and Poland
Italy France Poland
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Lviv', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Besançon', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Padua', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?m property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?m ) { ( resource:Matsuyama ) ( resource:Wiwilí_de_Jinotega ) ( resource:Besançon ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q36036
P1376
Q7275
USER
Which states have that administrative territory have their first city ?
(Q36036,P1376,c(Q7275))
action filter_type
action find
entity Q36036
relation P1376
type Q7275
['Q36036', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q36036 property:P1376 ?i . ?i rdf:type ontology:Q7275 }
Lviv
action filter_type
action find
entity Lviv
relation capital of
type state
['Lviv', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Lviv property:capital_of ?i . ?i rdf:type ontology:state }
[]
state
Clarification for simple ques.
Q36036
SYSTEM
Did you mean Lviv ?
Q38 Q142 Q36
(Q38,P1376,c(Q7275)) (Q142,P1376,c(Q7275)) (Q36,P1376,c(Q7275))
[ANSWER]
['Q38', 'P1376', {'concept': 'Q7275'}] ['Q142', 'P1376', {'concept': 'Q7275'}] ['Q36', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q36036 property:P1376 ?i . ?i rdf:type ontology:Q7275 }
Italy France Poland
Did you mean Lviv ?
Lviv
['Italy', 'capital of', {'concept': 'state'}] ['France', 'capital of', {'concept': 'state'}] ['Poland', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Lviv property:capital_of ?i . ?i rdf:type ontology:state }
[]
Simple Question (Coreferenced)
USER
Yes
(Q36036,P1376,c(Q7275))
['Q36036', 'P1376', {'concept': 'Q7275'}]
['Lviv', 'capital of', {'concept': 'state'}]
[]
Q2396442 Q457167
SYSTEM
Kingdom of Galicia and Lodomeria, West Ukrainian People's Republic
Q2396442 Q457167
(Q36036,P1376,c(Q7275))
action filter_type
action find
entity Q36036
relation P1376
type Q7275
[ANSWERS] have that administrative territory have their first city
['Q36036', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q36036 property:P1376 ?i . ?i rdf:type ontology:Q7275 }
Kingdom of Galicia and Lodomeria West Ukrainian People's Republic
Kingdom of Galicia and Lodomeria and West Ukrainian People's Republic have that administrative territory have their first city
Kingdom of Galicia and Lodomeria West Ukrainian People's Republic
action filter_type
action find
entity Lviv
relation capital of
type state
['Lviv', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Lviv property:capital_of ?i . ?i rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q8053379
P1376
Q56061
USER
Are Yeşiltepe, Mersin the county seat for those states ?
(Q8053379,P1376,Q2396442) (Q8053379,P1376,Q457167)
action is_in
entity prev_answer
action find
entity Q8053379
relation P1376
['Q8053379', 'P1376', 'Q2396442'] ['Q8053379', 'P1376', 'Q457167']
ASK WHERE { resource:Q8053379 property:P1376 ?b . VALUES ( ?b ) { ( resource:Q2396442 ) ( resource:Q457167 ) } }
Yeşiltepe, Mersin
action is_in
entity prev_answer
action find
entity Yeşiltepe, Mersin
relation capital of
['Yeşiltepe, Mersin', 'capital of', 'Kingdom of Galicia and Lodomeria'] ['Yeşiltepe, Mersin', 'capital of', "West Ukrainian People's Republic"]
ASK WHERE { resource:Yeşiltepe,_Mersin property:capital_of ?b . VALUES ( ?b ) { ( resource:Kingdom_of_Galicia_and_Lodomeria ) ( resource:West_Ukrainian_People's_Republic ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q8053379,P1376,Q2396442) (Q8053379,P1376,Q457167)
action is_in
entity prev_answer
action find
entity Q8053379
relation P1376
[ANSWER]
['Q8053379', 'P1376', 'Q2396442'] ['Q8053379', 'P1376', 'Q457167']
ASK WHERE { resource:Q8053379 property:P1376 ?b . VALUES ( ?b ) { ( resource:Q2396442 ) ( resource:Q457167 ) } }
No
action is_in
entity prev_answer
action find
entity Yeşiltepe, Mersin
relation capital of
['Yeşiltepe, Mersin', 'capital of', 'Kingdom of Galicia and Lodomeria'] ['Yeşiltepe, Mersin', 'capital of', "West Ukrainian People's Republic"]
ASK WHERE { resource:Yeşiltepe,_Mersin property:capital_of ?b . VALUES ( ?b ) { ( resource:Kingdom_of_Galicia_and_Lodomeria ) ( resource:West_Ukrainian_People's_Republic ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1780
P206
Q355304 Q1267889 Q56061
USER
Which administrative territories are located next to greater number of watercourses or waterways than Bratislava ?
(c(Q56061),P206,c(Q355304)|c(Q1267889))
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q1780
relation P206
type Q355304
type Q1267889
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?i ) WHERE { { ?b property:P206 ?l . ?b rdf:type ontology:Q56061 . ?l rdf:type ontology:Q355304 } UNION { ?b property:P206 ?l . ?l rdf:type ontology:Q1267889 . ?b rdf:type ontology:Q56061 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Q1780 property:P206 ?w . { { ?w rdf:type ontology:Q355304 } UNION { ?w rdf:type ontology:Q1267889 } } } } . FILTER ( ?i > ?e ) }
Bratislava
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Bratislava
relation located next to body of water
type watercourse
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?i ) WHERE { { ?b property:located_next_to_body_of_water ?l . ?b rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:watercourse } UNION { ?b property:located_next_to_body_of_water ?l . ?l rdf:type ontology:waterway . ?b rdf:type ontology:administrative_territorial_entity } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Bratislava property:located_next_to_body_of_water ?w . { { ?w rdf:type ontology:watercourse } UNION { ?w rdf:type ontology:waterway } } } } . FILTER ( ?i > ?e ) }
[]
watercourse waterway administrative territorial entity
Q216 Q64 Q647
SYSTEM
Vilnius, Berlin, Rennes
Q1718 Q305067 Q898 Q3711 Q1395576 Q1715 Q895123 Q253741 Q934511 Q387502 Q1022 Q251091 Q103255 Q2599767 Q379531 Q793407 Q925506 Q13403152 Q1963 Q1842 Q740066 Q988658 Q3037 Q3033 Q1741 Q987797 Q2090 Q2103 Q60 Q23564 Q3828 Q252466 Q244327 Q14945 Q1726 Q503640 Q569804 Q1729 Q64 Q61 Q1567437 Q1591499 Q50960 Q3640 Q1394778 Q647 Q3012 Q140147 Q79848 Q820024 Q220 Q1040 Q100 Q216 Q615732 Q4190
(c(Q56061),P206,c(Q355304)|c(Q1267889))
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q1780
relation P206
type Q355304
type Q1267889
[ANSWERS] are located next to greater number of watercourses or waterways than Bratislava
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?i ) WHERE { { ?b property:P206 ?l . ?b rdf:type ontology:Q56061 . ?l rdf:type ontology:Q355304 } UNION { ?b property:P206 ?l . ?l rdf:type ontology:Q1267889 . ?b rdf:type ontology:Q56061 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Q1780 property:P206 ?w . { { ?w rdf:type ontology:Q355304 } UNION { ?w rdf:type ontology:Q1267889 } } } } . FILTER ( ?i > ?e ) }
Düsseldorf Gniew Omsk Belgrade Nussdorf Hanover Boumba Grinzing Papendrecht Świecie Stuttgart Athy Alatyr Yatakala Heiligenstadt Ayourou Brok Loenen aan de Vecht Khartoum Luxembourg Kinderdijk Połaniec Kathmandu Göttingen Vienna Leixlip Nuremberg Bochum New York City Podgorica Dessau-Roßlau Treuchtlingen Gorinchem Merseburg Munich Gunzenhausen Wyszogród Erfurt Berlin Washington, D.C. Hadersdorf-Weidlingau Havelse Demmin Ankara Falmey Rennes Ulm Brest Southampton Kupiškis Rome Karlsruhe Boston Vilnius Breukelen Passau
Vilnius, Berlin and Rennes are located next to greater number of watercourses or waterways than Bratislava
Vilnius Berlin Rennes
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Bratislava
relation located next to body of water
type watercourse
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?i ) WHERE { { ?b property:located_next_to_body_of_water ?l . ?b rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:watercourse } UNION { ?b property:located_next_to_body_of_water ?l . ?l rdf:type ontology:waterway . ?b rdf:type ontology:administrative_territorial_entity } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Bratislava property:located_next_to_body_of_water ?w . { { ?w rdf:type ontology:watercourse } UNION { ?w rdf:type ontology:waterway } } } } . FILTER ( ?i > ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2069566
P206
Q355304 Q1267889 Q56061
USER
And how about Penzing?
(c(Q56061),P206,c(Q355304)|c(Q1267889))
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q2069566
relation P206
type Q355304
type Q1267889
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?m WHERE { FILTER ( ?w > ?g ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q2069566 property:P206 ?i . { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?m WHERE { VALUES ( ?c ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?x rdf:type ?c } GROUP BY ?m } }
Penzing
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Penzing
relation located next to body of water
type watercourse
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?m WHERE { FILTER ( ?w > ?g ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Penzing property:located_next_to_body_of_water ?i . { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:watercourse ) ( ontology:waterway ) } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?m WHERE { VALUES ( ?c ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?x rdf:type ?c } GROUP BY ?m } }
[]
watercourse waterway administrative territorial entity
Q216 Q64 Q647
SYSTEM
Vilnius, Berlin, Rennes
Q1718 Q305067 Q898 Q3711 Q1395576 Q1715 Q895123 Q253741 Q934511 Q387502 Q1022 Q251091 Q103255 Q2599767 Q379531 Q793407 Q925506 Q13403152 Q1963 Q1842 Q740066 Q988658 Q3037 Q3033 Q1741 Q987797 Q2090 Q2103 Q60 Q23564 Q3828 Q252466 Q244327 Q14945 Q1726 Q503640 Q569804 Q1729 Q64 Q61 Q1567437 Q1591499 Q50960 Q3640 Q1394778 Q647 Q3012 Q140147 Q79848 Q820024 Q220 Q1040 Q100 Q216 Q615732 Q4190
(c(Q56061),P206,c(Q355304)|c(Q1267889))
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q2069566
relation P206
type Q355304
type Q1267889
[ANSWERS]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?m WHERE { FILTER ( ?w > ?g ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q2069566 property:P206 ?i . { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?m WHERE { VALUES ( ?c ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?x rdf:type ?c } GROUP BY ?m } }
Düsseldorf Gniew Omsk Belgrade Nussdorf Hanover Boumba Grinzing Papendrecht Świecie Stuttgart Athy Alatyr Yatakala Heiligenstadt Ayourou Brok Loenen aan de Vecht Khartoum Luxembourg Kinderdijk Połaniec Kathmandu Göttingen Vienna Leixlip Nuremberg Bochum New York City Podgorica Dessau-Roßlau Treuchtlingen Gorinchem Merseburg Munich Gunzenhausen Wyszogród Erfurt Berlin Washington, D.C. Hadersdorf-Weidlingau Havelse Demmin Ankara Falmey Rennes Ulm Brest Southampton Kupiškis Rome Karlsruhe Boston Vilnius Breukelen Passau
Vilnius Berlin Rennes
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Penzing
relation located next to body of water
type watercourse
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?m WHERE { FILTER ( ?w > ?g ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Penzing property:located_next_to_body_of_water ?i . { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:watercourse ) ( ontology:waterway ) } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?m WHERE { VALUES ( ?c ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?x rdf:type ?c } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q216 Q64 Q647
P17
Q15617994
USER
Which administrative territories are Vilnius, Berlin and Rennes a part of ?
(Q216,P17,c(Q15617994)) (Q64,P17,c(Q15617994)) (Q647,P17,c(Q15617994))
action union
action filter_type
action find
entity Q216
relation P17
type Q15617994
action filter_type
action find
entity Q64
relation P17
type Q15617994
action filter_type
action find
entity Q647
relation P17
type Q15617994
['Q216', 'P17', {'concept': 'Q15617994'}] ['Q64', 'P17', {'concept': 'Q15617994'}] ['Q647', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:Q15617994 . resource:Q216 property:P17 ?j } UNION { resource:Q64 property:P17 ?j . ?j rdf:type ontology:Q15617994 } }
Vilnius Berlin Rennes
action union
action filter_type
action find
entity Vilnius
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Berlin
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Rennes
relation country
type designation for an administrative territorial entity
['Vilnius', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Berlin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Rennes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Vilnius property:country ?j } UNION { resource:Berlin property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q142 Q36 Q37
SYSTEM
France, Poland, Lithuania
Q37 Q36 Q148499 Q142
(Q216,P17,c(Q15617994)) (Q64,P17,c(Q15617994)) (Q647,P17,c(Q15617994))
action union
action filter_type
action find
entity Q216
relation P17
type Q15617994
action filter_type
action find
entity Q64
relation P17
type Q15617994
action filter_type
action find
entity Q647
relation P17
type Q15617994
[ANSWERS] are Vilnius, Berlin and Rennes a part of
['Q216', 'P17', {'concept': 'Q15617994'}] ['Q64', 'P17', {'concept': 'Q15617994'}] ['Q647', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:Q15617994 . resource:Q216 property:P17 ?j } UNION { resource:Q64 property:P17 ?j . ?j rdf:type ontology:Q15617994 } }
Lithuania Poland Margraviate of Brandenburg France
France, Poland and Lithuania are Vilnius, Berlin and Rennes a part of
France Poland Lithuania
action union
action filter_type
action find
entity Vilnius
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Berlin
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Rennes
relation country
type designation for an administrative territorial entity
['Vilnius', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Berlin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Rennes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Vilnius property:country ?j } UNION { resource:Berlin property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q37
P530
Q15617994
USER
Who have diplomatic relationships with that one ?
(Q37,P530,c(Q15617994))
action filter_type
action find
entity Q37
relation P530
type Q15617994
['Q37', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q37 property:P530 ?b . ?b rdf:type ontology:Q15617994 }
Lithuania
action filter_type
action find
entity Lithuania
relation diplomatic relation
type designation for an administrative territorial entity
['Lithuania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Lithuania property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q36
SYSTEM
Did you mean Poland ?
Q142 Q36 Q37
(Q142,P530,c(Q15617994)) (Q36,P530,c(Q15617994)) (Q37,P530,c(Q15617994))
[ANSWER]
['Q142', 'P530', {'concept': 'Q15617994'}] ['Q36', 'P530', {'concept': 'Q15617994'}] ['Q37', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q37 property:P530 ?b . ?b rdf:type ontology:Q15617994 }
France Poland Lithuania
Did you mean Poland ?
Poland
['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Poland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Lithuania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Lithuania property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Lithuania. Could you tell me the answer for that?
(Q37,P530,c(Q15617994))
Q37
['Q37', 'P530', {'concept': 'Q15617994'}]
['Lithuania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q30 Q145
SYSTEM
Italy, United States of America, United Kingdom
Q38 Q30 Q145
(Q37,P530,c(Q15617994))
action filter_type
action find
entity Q37
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with that one
['Q37', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q37 property:P530 ?b . ?b rdf:type ontology:Q15617994 }
Italy United States of America United Kingdom
Italy, United States of America and United Kingdom have diplomatic relationships with that one
Italy United States of America United Kingdom
action filter_type
action find
entity Lithuania
relation diplomatic relation
type designation for an administrative territorial entity
['Lithuania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Lithuania property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q222702
P206
Q15324 Q355304 Q56061
USER
How many administrative territories are located in the neighbourhood of more number of bodies of water and watercourses than Tarifa ?
(c(Q56061),P206,c(Q15324)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q222702
relation P206
type Q15324
type Q355304
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?w WHERE { { ?w property:P206 ?e . ?w rdf:type ontology:Q56061 . ?e rdf:type ontology:Q15324 } UNION { ?w property:P206 ?e . ?e rdf:type ontology:Q355304 . ?w rdf:type ontology:Q56061 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?y rdf:type ontology:Q15324 } UNION { ?y rdf:type ontology:Q355304 } } . resource:Q222702 property:P206 ?y } } . FILTER ( ?c > ?x ) }
Tarifa
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Tarifa
relation located next to body of water
type body of water
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?w WHERE { { ?w property:located_next_to_body_of_water ?e . ?w rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:body_of_water } UNION { ?w property:located_next_to_body_of_water ?e . ?e rdf:type ontology:watercourse . ?w rdf:type ontology:administrative_territorial_entity } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?y rdf:type ontology:body_of_water } UNION { ?y rdf:type ontology:watercourse } } . resource:Tarifa property:located_next_to_body_of_water ?y } } . FILTER ( ?c > ?x ) }
[]
body of water watercourse administrative territorial entity
SYSTEM
676
Q165736 Q991950 Q1721578 Q84 Q2003600 Q157478 Q1718 Q2752171 Q539767 Q305067 Q3876 Q990253 Q898 Q1586529 Q3246724 Q12273 Q3818 Q3711 Q23311 Q3238 Q3143983 Q41057 Q16650704 Q2207185 Q2222516 Q3844 Q770885 Q1395576 Q18682692 Q2047623 Q10014 Q643835 Q515728 Q321197 Q4083209 Q7054 Q2335714 Q2454052 Q501661 Q501744 Q11882295 Q1939468 Q1715 Q1520342 Q3150 Q18682889 Q16168559 Q10084 Q895123 Q846242 Q1083051 Q18808 Q253741 Q985642 Q548441 Q331556 Q369911 Q1309 Q991532 Q934511 Q4093 Q955992 Q144773 Q3659 Q1780116 Q1667345 Q2415951 Q987 Q2451654 Q6672525 Q11874170 Q577891 Q2943426 Q17151 Q15982011 Q13648690 Q175258 Q209176 Q1636296 Q1754096 Q746096 Q2135238 Q653025 Q387502 Q2284683 Q105342 Q162857 Q1521199 Q1757 Q1025910 Q1754 Q4201085 Q1022 Q769631 Q15377069 Q251091 Q571970 Q2987335 Q1685683 Q15241516 Q257034 Q2500974 Q1252635 Q9365 Q9361 Q47048 Q90 Q1519942 Q3563897 Q986645 Q2441552 Q588293 Q501090 Q486792 Q1610396 Q371532 Q3397397 Q956954 Q1113813 Q34820 Q9375247 Q1930 Q786111 Q2007261 Q1033978 Q2539726 Q2305394 Q20205325 Q17332337 Q597 Q73462 Q3183256 Q2287228 Q3036324 Q991661 Q20714928 Q185404 Q93347 Q3748 Q11901685 Q365 Q5836 Q1020231 Q641390 Q1845104 Q572034 Q26362 Q624065 Q11866294 Q2465220 Q2060910 Q617407 Q3323 Q103255 Q2060859 Q8546656 Q2921491 Q16015040 Q3026650 Q478036 Q18923859 Q9270 Q2886833 Q15981916 Q2599767 Q1335 Q635806 Q1779522 Q2916660 Q968631 Q379531 Q24861 Q28721 Q1526933 Q793407 Q1009524 Q7018666 Q427708 Q160642 Q14935628 Q903595 Q163091 Q2078223 Q185582 Q73221 Q9326 Q156717 Q573599 Q1520 Q1646181 Q925506 Q9911 Q1776515 Q554655 Q6465685 Q1709 Q28218 Q4527424 Q41295 Q2861 Q793 Q621483 Q13403152 Q6477002 Q18682920 Q1614071 Q43070 Q932008 Q3703 Q2059003 Q1963 Q37133 Q2069566 Q314367 Q1842 Q207998 Q3792 Q52437 Q2525207 Q740066 Q2598092 Q2983392 Q463937 Q997775 Q550373 Q2174345 Q2627252 Q504544 Q3630 Q200783 Q988658 Q18682241 Q4070552 Q16636995 Q1165854 Q5474003 Q755657 Q3832 Q239 Q12994 Q4083 Q282461 Q995806 Q1094123 Q733368 Q35178 Q15377091 Q995159 Q508998 Q2300996 Q3037 Q2379952 Q3033 Q1004822 Q4119405 Q238803 Q932955 Q1908062 Q542647 Q948468 Q145638 Q894535 Q1563 Q523651 Q1741 Q987797 Q987790 Q2543792 Q18682719 Q2335535 Q991274 Q2391779 Q3299785 Q85 Q15241507 Q533456 Q9536 Q849441 Q15068816 Q10707890 Q2090 Q2255057 Q3947670 Q2933890 Q1487909 Q629786 Q2229853 Q737877 Q2103 Q2918470 Q73031 Q2543086 Q969531 Q1735 Q851034 Q3595479 Q1143278 Q984973 Q773280 Q2950738 Q2924158 Q19297212 Q3856 Q614919 Q1785679 Q36281 Q7481520 Q1000107 Q1442470 Q21060 Q70 Q2021057 Q425780 Q3743068 Q1648515 Q1585348 Q831527 Q200036 Q1390387 Q2321706 Q12191 Q3674 Q517053 Q5912898 Q992474 Q270 Q60 Q1957 Q109535 Q2336499 Q23564 Q1519434 Q39178 Q690 Q1906235 Q3828 Q285323 Q961068 Q537214 Q18681966 Q2684898 Q109386 Q2729544 Q2160909 Q3051477 Q192098 Q15241652 Q26296883 Q18663090 Q5189288 Q649738 Q715 Q567332 Q4374268 Q3001 Q21197 Q9310 Q1052027 Q10717 Q1874 Q1129607 Q1018225 Q837211 Q180333 Q543904 Q592123 Q990651 Q2578642 Q252466 Q239496 Q7107283 Q959 Q2842582 Q437 Q390588 Q3932309 Q3551 Q1265670 Q384 Q2745332 Q213707 Q1770 Q41699 Q858775 Q425786 Q865808 Q938379 Q18419 Q2329846 Q1780 Q1781 Q658902 Q2659563 Q1003576 Q2529554 Q2682753 Q1025014 Q11897598 Q4067724 Q914755 Q227064 Q1850 Q1070428 Q2893117 Q477232 Q244327 Q7314172 Q1314479 Q1490863 Q840867 Q285778 Q2807 Q133123 Q4357920 Q35381 Q986387 Q259617 Q3825 Q865021 Q3407596 Q4405293 Q959517 Q5638429 Q4207520 Q183104 Q2238911 Q17315652 Q2225806 Q1025055 Q2424732 Q2538313 Q1330853 Q5379235 Q208143 Q806414 Q593141 Q1785595 Q165486 Q3739 Q2637838 Q16015068 Q2787064 Q1823092 Q617 Q952497 Q181359 Q1243780 Q19613854 Q1012411 Q15241991 Q19906849 Q2574529 Q155955 Q34713 Q5068781 Q1737 Q1545679 Q10690 Q5926907 Q915 Q16953999 Q1200892 Q161912 Q3028239 Q1997485 Q11889617 Q2007254 Q14945 Q2911365 Q1538830 Q12047 Q724394 Q2267399 Q4347874 Q671557 Q4454 Q1800099 Q9974 Q989288 Q987243 Q614706 Q2927534 Q276274 Q1726 Q36526 Q503640 Q1792879 Q2511670 Q569804 Q1423660 Q345389 Q1729 Q1721184 Q2727978 Q2666506 Q3909 Q2931074 Q7056872 Q755389 Q64 Q1419813 Q1011866 Q61 Q62 Q736131 Q41572 Q306440 Q3882 Q1567437 Q3766 Q3889 Q9125 Q1861 Q15552182 Q1616324 Q1870405 Q868647 Q2194010 Q12439 Q83065 Q269 Q1794939 Q2392235 Q661700 Q1947 Q2674551 Q1981987 Q162065 Q1591499 Q50960 Q2751941 Q2928585 Q676689 Q2498737 Q939609 Q1533868 Q795623 Q79716 Q840681 Q2077402 Q2784834 Q2351343 Q985659 Q971550 Q930204 Q13400194 Q2868 Q10313 Q1886770 Q3640 Q1394778 Q5132825 Q2682566 Q647 Q40747 Q2087380 Q820949 Q727 Q649 Q3012 Q894955 Q2579332 Q504678 Q990527 Q2014445 Q2948574 Q140147 Q990130 Q427044 Q28848 Q3112541 Q598948 Q368275 Q79848 Q2413248 Q806799 Q34692 Q910997 Q766896 Q2830827 Q586 Q913649 Q585 Q34370 Q954764 Q1734018 Q1669399 Q16531502 Q630478 Q9279 Q820024 Q220 Q2729387 Q2704 Q1040 Q986675 Q1713141 Q579556 Q11900887 Q176749 Q464955 Q508056 Q100 Q506700 Q6899495 Q11873187 Q963894 Q36262 Q2281721 Q2319224 Q569080 Q18386455 Q204234 Q787279 Q750760 Q19613699 Q3932 Q988100 Q1006998 Q353307 Q2235 Q1025353 Q1572113 Q2432955 Q55630 Q7618827 Q4100 Q216 Q4914513 Q16016733 Q878809 Q4998230 Q683125 Q19612988 Q3726 Q57006 Q1742334 Q5674391 Q615732 Q2978763 Q36600 Q36168 Q956125 Q630334 Q2051589 Q1553283 Q2409481 Q743521 Q1807728 Q1341 Q578026 Q1964137 Q503763 Q11901258 Q2355915 Q2303243 Q1531454 Q446232 Q1017 Q41547 Q4190 Q18399563 Q15241523 Q1552720 Q505601 Q1850580 Q2585002 Q1522881 Q5646331 Q179385 Q1248930 Q1728043 Q1743660 Q991400 Q1085 Q1758944
(c(Q56061),P206,c(Q15324)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q222702
relation P206
type Q15324
type Q355304
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?w WHERE { { ?w property:P206 ?e . ?w rdf:type ontology:Q56061 . ?e rdf:type ontology:Q15324 } UNION { ?w property:P206 ?e . ?e rdf:type ontology:Q355304 . ?w rdf:type ontology:Q56061 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?y rdf:type ontology:Q15324 } UNION { ?y rdf:type ontology:Q355304 } } . resource:Q222702 property:P206 ?y } } . FILTER ( ?c > ?x ) }
Doesburg Karczew Tagazar London Walton-on-Thames Lesozavodsk Düsseldorf Ardnacrusha Ivalo Gniew Lilongwe Henley-on-Thames Omsk Rothneusiedl Bisham Gijón Malabo Belgrade City of London Tegucigalpa Lekkerkerk Topeka Innokent'evka Terneuzen Sansané Haoussa Brazzaville Bergen aan Zee Nussdorf Kirkonkylä Strzyżów Kampen Arfurt Harburg-Wilhelmsburg Cieszyn Seymour Arm Dalnegorsk Steeden Olney Schleswig Alert Metsäkylä Paravur Hanover Turvey Jena Väli-Olhava Novozhatkovo Vlissingen Boumba Nieuw-Lekkerland Swanscombe Pyongyang Grinzing Góra Kalwaria Portugalete Bosaso Athlone Maastricht Grays Papendrecht Glasgow Kobryn Zakroczym N'Djamena Cold Brayfield Marienwerder Whitchurch-on-Thames New Delhi Trentemoult Long Ditton Kätkäsuvanto East St. Louis Cayo Santa María Thessaloniki El Teso Taradei Novosil Ely Hulhumalé Weybridge North Shields East Tilbury Bergambacht Świecie Mobridge Bolshoy Kamen Kourfeye Centre Great Barford Helsinki Maïné-Soroa Stockholm Innishannon Stuttgart Drohiczyn Zellerfeld Athy Torgelow East Cowes Jean Marie River Alchan Kemble Richmond Doulsou Dushanbe Bishkek Oulu Paris Bromham Vyadhapura Imanan Tondikandia Sonning Castro Urdiales Aranjuez Egham Hythe Lisala Radley Kaspi Come By Chance, Newfoundland and Labrador Santo Domingo Winniki Ottawa Kokorou N'Gonga Canvey Island Ashton Keynes Karesuvanto Hattian Dupatta Grand Forks, Yukon Lisbon Zaltbommel Opheusden Simmering Pangbourne Callantsoog Port Famine Bundaberg Mostar Monrovia Virkkula Cologne Toledo Newport Pagnell Breskens Little Thetford Eggesin Lebus Molesey Jeesiö Putney Fuvahmulah Eton Belgorod Alatyr Nieuw-Beijerland Hurley Katwijk aan Zee Ariadnoye Lexmond Schoonhoven Busse Thimphu Basildon, Berkshire El Sargento Yatakala Montevideo Runkel Kolmane Brakel Corringham, Essex Heiligenstadt Albany Beeston Regis Hacking Ayourou Whalley Newnham Murren Chamberlain Salisbury Lune River Volendam Zwiesel Kelmscott Knoxville Tiel Vientiane Khmelnytskyi Weilburg Astana Worcester Brok Den Helder New Bradwell Ronneburg La Ventana Schwerin Baton Rouge Shuyskoye, Vologda Oblast Basseterre Rostock Zwolle Villmar Loenen aan de Vecht Vuotso Yli-Olhava Dodewaard Donetsk Maarssen Bamako Bourne End Khartoum Mariupol Penzing Tunxdorf Luxembourg Fethiye Lomé Murano Ochten Kinderdijk Shorne Colliers Saint Thomas Palojoensuu Godstow Rudolfsheim Katwijk aan den Rijn Ellingen Jakarta Monschau Połaniec Mankila Arkhangelovka Glazovka Dargol Köngäs Athlunkard Bangui Brussels Bruges Eschweiler IJmuiden Dobrzyń nad Wisłą Rhoda Island Hoofdplaat Kuwait City Clausthal Ciechanowiec Marlow Caversham, Berkshire Kathmandu Moulsford Göttingen Bumba, Democratic Republic of the Congo Nabih Saleh Maidenhead Scharsterbrug Matankari Méhana Carabane Kashira Bosso Havana St Mary Hoo Vienna Leixlip Inagh Youri Tepasto Deest Kalamos Tamou Halat Nuaim Cairo Arkhipovka Cricklade Bad Doberan Saint John Norris Arm Olhava Nuremberg Iffley San Mauro Mare Stoneleigh Sinder Wraysbury Velsen-Noord Termunten Bochum Rossum, Gelderland Kessel Blanchland Monster Innsbruck San Leandro Andrott Twickenham Laleham Aumenau Waarde Bray Neuses Nicosia Atokos Sambéra Roseau Wolvercote Kijkduin Santoña Ouddorp Bern Hindersön 's-Gravendeel Muonio Tounouga Harikanassou Djurgården Volos Fabidji Kingston upon Thames Nantes Niamey De Koog Houghton, Cambridgeshire Taplow Warsaw New York City Vologda Zutphen Higham, Kent Podgorica Carlton Port of Spain Delft Łomianki Dessau-Roßlau Staines-upon-Thames Chétimari Prenzlau Kaukonen Ter Heijde Nampho Rotterdam Centrum Rodaun Ellewoutsdijk Oymyakon Busse Deventer Ylikiiminki Crowmarsh Gifford Alto Douro Heilbronn Annopol Mapledurham Paramaribo Chișinău Dili Cayo Largo del Sur Georgetown Odessa Cookham St Neots Scheveningen Foča Bagdad, Tamaulipas Medmenham Kozienice Purley on Thames Treuchtlingen Sheringham Osney Vladivostok Ameide Ljubljana Metković Nieuw-Haamstede Rabat Dungass Skopje Villa Las Estrellas Grímsey Tallinn Castries Dartford 's-Gravenzande Birni N'Gaouré Samarai Brooklyn Sandford-on-Thames Bratislava Budapest Otley Little Wittenham Say Old Windsor Werkendam Inari Tikkaperä Anuchino Dogo Zoutelande Phnom Penh Chertsey Beit Ummar Aktobe Gorinchem Reposaari Sorbon Haoussa Gaden bei Pförring Rudnaya Pristan Datchet Madrid Patras Kuttura Colombo Cárdenas Wasserburg am Inn Libreville Birchington-on-Sea Kennington, Oxfordshire Fobbing Koygolo Hafslundsøy Kazakevichevo Feldkirch Kumta Siikajoenkylä Sassoumbroum Kruiningen Zuilichem Wacha Vilsandi Ennore Wigan Bandé Philip Kourteye Kempston Bissau Vlissingen-Oost Venyukovo Long Wittenham Liboré Padua Letterkenny Talavera de la Reina Dorchester on Thames Bogoslovka Culham Nizhnie Luzhki Novorossiyka Stanford-le-Hope Kuybyshev Salzburg Chalk, Kent Bregenz Shepperton Cardiff Hubbards, Nova Scotia Perm Daloloia Group Dessa Solec Kujawski Greenhithe Littleport Raattama N'Dounga Merseburg Borssele Gothèye Mügeln Poros Krimpen aan de Lek Emäsalo Brackley Khabarovsk Wytham Weesp Yankton Kollo Anzourou Allhallows Wolverton Munich Port Moresby Gunzenhausen Canning Town Tima Wyszogród Hütteldorf Łochów Erfurt Kahlenbergerdorf Karwar Panaeati Island Maseru Termunterzijl North Stoke, Oxfordshire Athenry Berlin Roatán Tillabéri Washington, D.C. San Francisco Alblasserdam Mykolaiv Abbeyfeale Manama Hadersdorf-Weidlingau Damascus Maputo Winterthur Bangkok Tikhmenevo Egmond aan Zee Lorrha Southport Sunbury-on-Thames Detroit Leicester Tashkent Kwaya Tanda Sankt Andreasberg Juba West Tilbury Neuwaldegg Dishoek Havelse Demmin South Stoke, Oxfordshire Burnt Islands, Newfoundland and Labrador Gravesend Dorney Lechlade Godmanchester Oud-Beijerland Whittier Kinsale Aldeburgh Dreumel Benson, Oxfordshire Ciechocinek West Thurrock Wells-next-the-Sea Dornbach Lima Donostia/San Sebastián Malawa Ankara Falmey Cliffe, Kent Clifton Hampden Rennes Pierre Northfleet Gougane Barra Amsterdam Moscow Ulm Boubon Appleford-on-Thames Berwick-upon-Tweed Diffa Bath, Netherlands Champ d'Asile Brest Hook of Holland Guilladjé Saint Paul Vuren Wargrave Spetses Southampton Cayo Romano Bankilaré Kingston Wyszków Gaya Remenham Bonn Wijk aan Zee Oslo Rotterdam Thames Ditton Karma Killorglin Baryshevo Rixensart Bandar Seri Begawan Kupiškis Rome Huisduinen Pescara Karlsruhe Gorouol Juliusplate Labasa Venetpalo Villingili Windsor Filingué Boston Ueckermünde Mongewell Kuivaniemi Kilrush St. John's Teddington Goring-on-Thames Koipsi Canoe Island Milton Keynes Stony Stratford Sliedrecht Beloyarovo São Tomé Wallingford Sutton Courtenay Addlestone Veliky Novgorod Cadzand-Bad Útila Isleworth Novi Sad Stone, Kent Baden-Baden Vilnius Binsey, Oxfordshire Orlinoye Bitinkodji Burcot, Oxfordshire Ustronie Morskie Abaykan Banjul Emmerich am Rhein Kiota Hartford, Cambridgeshire Breukelen Clearwater Beach The Hague Bridgetown Kouré Bad Berka Streatley, Berkshire Gueskérou Little Thurrock Scarborough Samhah Tolyatti Kleszczele Namaro Pappenheim Vihiluoto Czyżew Shiplake Glin Petten Aachen St. George's Passau Argunskoye Abramovka Guanaja Wassenaar Hambleden Brockham Killaloe, County Clare Hampton Wick Greenwich Bishop's Waltham Sheremetyevo Kirtachi Puerto Barrios Prague Rottumeroog
676
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Tarifa
relation located next to body of water
type body of water
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?w WHERE { { ?w property:located_next_to_body_of_water ?e . ?w rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:body_of_water } UNION { ?w property:located_next_to_body_of_water ?e . ?e rdf:type ontology:watercourse . ?w rdf:type ontology:administrative_territorial_entity } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { { ?y rdf:type ontology:body_of_water } UNION { ?y rdf:type ontology:watercourse } } . resource:Tarifa property:located_next_to_body_of_water ?y } } . FILTER ( ?c > ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q276274
P206
Q15324 Q355304 Q56061
USER
And what about Wolverton?
(c(Q56061),P206,c(Q15324)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q276274
relation P206
type Q15324
type Q355304
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?m WHERE { { ?m property:P206 ?e . ?m rdf:type ontology:Q56061 . ?e rdf:type ontology:Q15324 } UNION { ?m rdf:type ontology:Q56061 . ?e rdf:type ontology:Q355304 . ?m property:P206 ?e } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Q276274 property:P206 ?u . { ?u rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } } } } . FILTER ( ?n > ?a ) }
Wolverton
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Wolverton
relation located next to body of water
type body of water
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?m WHERE { { ?m property:located_next_to_body_of_water ?e . ?m rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:body_of_water } UNION { ?m rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:watercourse . ?m property:located_next_to_body_of_water ?e } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Wolverton property:located_next_to_body_of_water ?u . { ?u rdf:type ?b . VALUES ( ?b ) { ( ontology:body_of_water ) ( ontology:watercourse ) } } } } . FILTER ( ?n > ?a ) }
[]
body of water watercourse administrative territorial entity
SYSTEM
79
Q1718 Q305067 Q898 Q3711 Q1395576 Q1715 Q895123 Q253741 Q934511 Q387502 Q1757 Q1022 Q251091 Q47048 Q34820 Q11901685 Q103255 Q2599767 Q379531 Q793407 Q925506 Q2861 Q13403152 Q1963 Q37133 Q1842 Q740066 Q2598092 Q3630 Q988658 Q3037 Q3033 Q1563 Q1741 Q987797 Q9536 Q10707890 Q2090 Q2229853 Q2103 Q36281 Q831527 Q60 Q23564 Q3828 Q252466 Q18419 Q227064 Q244327 Q3825 Q10690 Q14945 Q1726 Q503640 Q569804 Q1729 Q64 Q61 Q1567437 Q1591499 Q50960 Q3640 Q1394778 Q647 Q3012 Q140147 Q990130 Q79848 Q585 Q820024 Q220 Q1040 Q100 Q11873187 Q1025353 Q216 Q615732 Q36168 Q4190
(c(Q56061),P206,c(Q15324)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q276274
relation P206
type Q15324
type Q355304
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?m WHERE { { ?m property:P206 ?e . ?m rdf:type ontology:Q56061 . ?e rdf:type ontology:Q15324 } UNION { ?m rdf:type ontology:Q56061 . ?e rdf:type ontology:Q355304 . ?m property:P206 ?e } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Q276274 property:P206 ?u . { ?u rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } } } } . FILTER ( ?n > ?a ) }
Düsseldorf Gniew Omsk Belgrade Nussdorf Hanover Boumba Grinzing Papendrecht Świecie Helsinki Stuttgart Athy Oulu Santo Domingo Virkkula Alatyr Yatakala Heiligenstadt Ayourou Brok Rostock Loenen aan de Vecht Khartoum Mariupol Luxembourg Kinderdijk Shorne Jakarta Połaniec Kathmandu Göttingen Havana Vienna Leixlip Bad Doberan Olhava Nuremberg Velsen-Noord Bochum Roseau Djurgården New York City Podgorica Dessau-Roßlau Treuchtlingen Brooklyn Zoutelande Gorinchem Libreville Cardiff Merseburg Munich Gunzenhausen Wyszogród Erfurt Berlin Washington, D.C. Hadersdorf-Weidlingau Havelse Demmin Ankara Falmey Rennes Ulm Brest Hook of Holland Southampton Oslo Kupiškis Rome Karlsruhe Boston Kuivaniemi Cadzand-Bad Vilnius Breukelen Bridgetown Passau
79
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Wolverton
relation located next to body of water
type body of water
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?m WHERE { { ?m property:located_next_to_body_of_water ?e . ?m rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:body_of_water } UNION { ?m rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:watercourse . ?m property:located_next_to_body_of_water ?e } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Wolverton property:located_next_to_body_of_water ?u . { ?u rdf:type ?b . VALUES ( ?b ) { ( ontology:body_of_water ) ( ontology:watercourse ) } } } } . FILTER ( ?n > ?a ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P495
Q15617994 Q201658 Q7725634
USER
Which administrative territories are the origins of max number of film genres or literary works ?
(c(Q201658)|c(Q7725634),P495,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) ?s WHERE { { ?y property:P495 ?s . ?s rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q201658 } UNION { ?y property:P495 ?s . ?y rdf:type ontology:Q7725634 . ?s rdf:type ontology:Q15617994 } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) ?t WHERE { { ?g property:P495 ?t . ?g rdf:type ontology:Q7725634 . ?t rdf:type ontology:Q15617994 } UNION { ?g rdf:type ontology:Q201658 . ?t rdf:type ontology:Q15617994 . ?g property:P495 ?t } } GROUP BY ?t } . FILTER ( ?x = ?u ) }
action argmax
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) ?s WHERE { { ?y property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:film_genre } UNION { ?y property:country_of_origin ?s . ?y rdf:type ontology:literary_work . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) ?t WHERE { { ?g property:country_of_origin ?t . ?g rdf:type ontology:literary_work . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g rdf:type ontology:film_genre . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:country_of_origin ?t } } GROUP BY ?t } . FILTER ( ?x = ?u ) }
[]
designation for an administrative territorial entity film genre literary work
Q30
SYSTEM
United States of America
Q30
(c(Q201658)|c(Q7725634),P495,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
[ANSWER] is the origins of max number of film genres or literary works
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) ?s WHERE { { ?y property:P495 ?s . ?s rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q201658 } UNION { ?y property:P495 ?s . ?y rdf:type ontology:Q7725634 . ?s rdf:type ontology:Q15617994 } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) ?t WHERE { { ?g property:P495 ?t . ?g rdf:type ontology:Q7725634 . ?t rdf:type ontology:Q15617994 } UNION { ?g rdf:type ontology:Q201658 . ?t rdf:type ontology:Q15617994 . ?g property:P495 ?t } } GROUP BY ?t } . FILTER ( ?x = ?u ) }
United States of America
United States of America is the origins of max number of film genres or literary works
United States of America
action argmax
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) ?s WHERE { { ?y property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:film_genre } UNION { ?y property:country_of_origin ?s . ?y rdf:type ontology:literary_work . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) ?t WHERE { { ?g property:country_of_origin ?t . ?g rdf:type ontology:literary_work . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g rdf:type ontology:film_genre . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:country_of_origin ?t } } GROUP BY ?t } . FILTER ( ?x = ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q201658
USER
Which administrative territories are the origin of less number of musical ensembles and film genres than that administrative territory ?
(c(Q2088357)|c(Q201658),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q2088357
type Q201658
[[{'concept': 'Q2088357'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?x WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2088357 ) ( ontology:Q201658 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P495 resource:Q30 . { VALUES ( ?z ) { ( ontology:Q2088357 ) ( ontology:Q201658 ) } . ?c rdf:type ?z } } } . FILTER ( ?q < ?n ) }
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type musical ensemble
type film genre
[[{'concept': 'musical ensemble'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?x WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:musical_ensemble ) ( ontology:film_genre ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:country_of_origin resource:United_States_of_America . { VALUES ( ?z ) { ( ontology:musical_ensemble ) ( ontology:film_genre ) } . ?c rdf:type ?z } } } . FILTER ( ?q < ?n ) }
[]
designation for an administrative territorial entity musical ensemble film genre
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 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(Q2088357)|c(Q201658),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q2088357
type Q201658
[ANSWERS] are the origin of less number of musical ensembles and film genres than that administrative territory
[[{'concept': 'Q2088357'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?x WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2088357 ) ( ontology:Q201658 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P495 resource:Q30 . { VALUES ( ?z ) { ( ontology:Q2088357 ) ( ontology:Q201658 ) } . ?c rdf:type ?z } } } . FILTER ( ?q < ?n ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom 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 origin of less number of musical ensembles and film genres than that administrative territory
Italy Brazil Georgia
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type musical ensemble
type film genre
[[{'concept': 'musical ensemble'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?x WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:musical_ensemble ) ( ontology:film_genre ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:country_of_origin resource:United_States_of_America . { VALUES ( ?z ) { ( ontology:musical_ensemble ) ( ontology:film_genre ) } . ?c rdf:type ?z } } } . FILTER ( ?q < ?n ) }
[]