Simple Question (Direct)
Simple Question
Q20994127
P641
Q349
USER
What did Bruno Ibeh participate in ?
(Q20994127,P641,c(Q349))
action filter_type
action find
entity Q20994127
relation P641
type Q349
['Q20994127', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q20994127 property:P641 ?c . ?c rdf:type ontology:Q349 }
Bruno Ibeh
action filter_type
action find
entity Bruno Ibeh
relation sport
type sport
['Bruno Ibeh', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Bruno_Ibeh property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q20994127,P641,c(Q349))
action filter_type
action find
entity Q20994127
relation P641
type Q349
Bruno Ibeh participated in [ANSWER]
['Q20994127', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q20994127 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
Bruno Ibeh participated in association football
association football
action filter_type
action find
entity Bruno Ibeh
relation sport
type sport
['Bruno Ibeh', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Bruno_Ibeh property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20994127
P106
Q12737077
USER
What does Bruno Ibeh do for a living ?
(Q20994127,P106,c(Q12737077))
action filter_type
action find
entity Q20994127
relation P106
type Q12737077
['Q20994127', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q20994127 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Bruno Ibeh
action filter_type
action find
entity Bruno Ibeh
relation occupation
type occupation
['Bruno Ibeh', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Bruno_Ibeh property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q20994127,P106,c(Q12737077))
action filter_type
action find
entity Q20994127
relation P106
type Q12737077
Bruno Ibeh does for a living as [ANSWER]
['Q20994127', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q20994127 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
Bruno Ibeh does for a living as association football player
association football player
action filter_type
action find
entity Bruno Ibeh
relation occupation
type occupation
['Bruno Ibeh', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Bruno_Ibeh property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20994127
P19
Q56061
USER
Where was that person born ?
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q20994127
relation P19
type Q56061
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q20994127 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Bruno Ibeh
action filter_type
action find
entity Bruno Ibeh
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Bruno_Ibeh property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q583619
SYSTEM
Owerri
Q583619
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q20994127
relation P19
type Q56061
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q20994127 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Owerri
That person was born in Owerri
Owerri
action filter_type
action find
entity Bruno Ibeh
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Bruno_Ibeh property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q583619
P47
Q515
USER
Which city does that administrative territory share a border with ?
(c(Q515),P47,Q583619)
action filter_type
action find_reverse
entity Q583619
relation P47
type Q515
[{'concept': 'Q515'}, 'P47', 'Q583619']
SELECT DISTINCT ?r WHERE { ?r property:P47 resource:Q583619 . ?r rdf:type ontology:Q515 }
Owerri
action filter_type
action find_reverse
entity Owerri
relation shares border with
type city
[{'concept': 'city'}, 'shares border with', 'Owerri']
SELECT DISTINCT ?r WHERE { ?r property:shares_border_with resource:Owerri . ?r rdf:type ontology:city }
[]
city
Q217432
SYSTEM
Port Harcourt
Q217432
(c(Q515),P47,Q583619)
action filter_type
action find_reverse
entity Q583619
relation P47
type Q515
That administrative territory shares a border with [ANSWER]
[{'concept': 'Q515'}, 'P47', 'Q583619']
SELECT DISTINCT ?r WHERE { ?r property:P47 resource:Q583619 . ?r rdf:type ontology:Q515 }
Port Harcourt
That administrative territory shares a border with Port Harcourt
Port Harcourt
action filter_type
action find_reverse
entity Owerri
relation shares border with
type city
[{'concept': 'city'}, 'shares border with', 'Owerri']
SELECT DISTINCT ?r WHERE { ?r property:shares_border_with resource:Owerri . ?r rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q583619
P931
Q62447
USER
Which city does Owerri serve ?
(c(Q62447),P931,Q583619)
action filter_type
action find_reverse
entity Q583619
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q583619']
SELECT DISTINCT ?h WHERE { ?h property:P931 resource:Q583619 . ?h rdf:type ontology:Q62447 }
Owerri
action filter_type
action find_reverse
entity Owerri
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Owerri']
SELECT DISTINCT ?h WHERE { ?h property:place_served_by_airport resource:Owerri . ?h rdf:type ontology:aerodrome }
[]
aerodrome
Q1936787
SYSTEM
Sam Mbakwe Airport
Q1936787
(c(Q62447),P931,Q583619)
action filter_type
action find_reverse
entity Q583619
relation P931
type Q62447
Owerri serves [ANSWER]
[{'concept': 'Q62447'}, 'P931', 'Q583619']
SELECT DISTINCT ?h WHERE { ?h property:P931 resource:Q583619 . ?h rdf:type ontology:Q62447 }
Sam Mbakwe Airport
Owerri serves Sam Mbakwe Airport
Sam Mbakwe Airport
action filter_type
action find_reverse
entity Owerri
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Owerri']
SELECT DISTINCT ?h WHERE { ?h property:place_served_by_airport resource:Owerri . ?h rdf:type ontology:aerodrome }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q583619
P17
Q15617994
USER
Which administrative territory is Owerri a part of ?
(Q583619,P17,c(Q15617994))
action filter_type
action find
entity Q583619
relation P17
type Q15617994
['Q583619', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q583619 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Owerri
action filter_type
action find
entity Owerri
relation country
type designation for an administrative territorial entity
['Owerri', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Owerri property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1033
SYSTEM
Nigeria
Q1033
(Q583619,P17,c(Q15617994))
action filter_type
action find
entity Q583619
relation P17
type Q15617994
Which administrative territory is Owerri a part of
['Q583619', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q583619 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Nigeria
Which administrative territory is Owerri a part of
Nigeria
action filter_type
action find
entity Owerri
relation country
type designation for an administrative territorial entity
['Owerri', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Owerri property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P559
Q56061 Q44377 Q628179
USER
How many administrative territories are a terminus for approximately 1 tunnels or trails ?
(c(Q44377)|c(Q628179),P559,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
value 1
[[{'concept': 'Q44377'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?l WHERE { { ?v property:P559 ?l . ?l rdf:type ontology:Q56061 . ?v rdf:type ontology:Q628179 } UNION { ?v property:P559 ?l . ?l rdf:type ontology:Q56061 . ?v rdf:type ontology:Q44377 } } GROUP BY ?l } . FILTER ( ?y = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
value 1
[[{'concept': 'tunnel'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?l WHERE { { ?v property:terminus ?l . ?l rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:trail } UNION { ?v property:terminus ?l . ?l rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:tunnel } } GROUP BY ?l } . FILTER ( ?y = 1 ) }
[]
administrative territorial entity tunnel trail
SYSTEM
47
Q3051477 Q3112707 Q837211 Q375314 Q12439 Q82490 Q4825403 Q796625 Q130191 Q5902931 Q7651719 Q992420 Q727 Q7986745 Q7050868 Q28327 Q33959 Q586 Q1017331 Q35433 Q66208 Q2796951 Q687945 Q782155 Q12714367 Q6820370 Q1020951 Q257034 Q1571025 Q856860 Q517381 Q1248150 Q1781385 Q2703030 Q794802 Q6275457 Q375905 Q643160 Q1735 Q17872 Q129610 Q766594 Q1229951 Q237253 Q485186 Q634172 Q865872
(c(Q44377)|c(Q628179),P559,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
value 1
[ANSWER]
[[{'concept': 'Q44377'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?l WHERE { { ?v property:P559 ?l . ?l rdf:type ontology:Q56061 . ?v rdf:type ontology:Q628179 } UNION { ?v property:P559 ?l . ?l rdf:type ontology:Q56061 . ?v rdf:type ontology:Q44377 } } GROUP BY ?l } . FILTER ( ?y = 1 ) }
Ellewoutsdijk Sedbury Scheveningen Folkestone Detroit Lyme Regis Austrepollen Edale Norwich Horda, Norway Svartnes Fjærland Amsterdam West Vale Nordrepollen Örnsköldsvik Nice Bonn Westport, County Mayo Saint-Rhémy-en-Bosses Frutigen Cumberland Gap San Bernardino Jarrow Granvin Merritton, Ontario Ilkley Kemble Mullan Hammond Dillenburg Wallsend Björkhagen Kilsby Otira Jong, Norway Deerfield Farnham Innsbruck Alice Springs Galway Bewdley L'Estaque Great Yarmouth Key West Banihal Birstall
47
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
value 1
[[{'concept': 'tunnel'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?l WHERE { { ?v property:terminus ?l . ?l rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:trail } UNION { ?v property:terminus ?l . ?l rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:tunnel } } GROUP BY ?l } . FILTER ( ?y = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2773
P206
Q337567 Q15324 Q515
USER
How many cities are located in the neighbourhood of approximately the same number of still waterss or bodies of water as Braunschweig ?
(c(Q515),P206,c(Q337567)|c(Q15324))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q515
type Q337567
action find_tuple_counts
relation P206
type Q515
type Q15324
action count
action filter_multi_types
action find
entity Q2773
relation P206
type Q337567
type Q15324
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q2773 property:P206 ?t . { VALUES ( ?f ) { ( ontology:Q15324 ) ( ontology:Q337567 ) } . ?t rdf:type ?f } } } . FILTER ( ?r = ?l ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?s WHERE { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15324 ) ( ontology:Q337567 ) } } GROUP BY ?s } }
Braunschweig
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type city
type still waters
action find_tuple_counts
relation located next to body of water
type city
type body of water
action count
action filter_multi_types
action find
entity Braunschweig
relation located next to body of water
type still waters
type body of water
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Braunschweig property:located_next_to_body_of_water ?t . { VALUES ( ?f ) { ( ontology:body_of_water ) ( ontology:still_waters ) } . ?t rdf:type ?f } } } . FILTER ( ?r = ?l ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?s WHERE { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:body_of_water ) ( ontology:still_waters ) } } GROUP BY ?s } }
[]
still waters body of water city
SYSTEM
91
Q3075 Q1794 Q1863 Q1865 Q1519 Q496499 Q3974 Q846877 Q19689 Q1486 Q2966 Q34217 Q496479 Q602903 Q3004 Q1461 Q488869 Q217432 Q827041 Q3572 Q623549 Q2865 Q4024 Q2978 Q3806 Q2973 Q34261 Q3014 Q1773 Q1844 Q14821 Q819587 Q3958 Q3955 Q23430 Q633272 Q2773 Q612815 Q320943 Q1858 Q320416 Q7473516 Q1761 Q890122 Q4007 Q2706 Q7070 Q3826 Q653545 Q8684 Q270704 Q41474 Q2749 Q3838 Q2833 Q1209 Q23661 Q3751 Q3750 Q3200 Q3126 Q3042 Q157835 Q3046 Q847550 Q3936 Q2936 Q3214 Q2100 Q1533 Q1530 Q1731 Q1953 Q5838 Q7027 Q3994 Q19660 Q11194 Q3915 Q2119 Q3069 Q1720 Q1721 Q329996 Q3904 Q695920 Q2910 Q3861 Q1899 Q2999 Q2844
(c(Q515),P206,c(Q337567)|c(Q15324))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q515
type Q337567
action find_tuple_counts
relation P206
type Q515
type Q15324
action count
action filter_multi_types
action find
entity Q2773
relation P206
type Q337567
type Q15324
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q2773 property:P206 ?t . { VALUES ( ?f ) { ( ontology:Q15324 ) ( ontology:Q337567 ) } . ?t rdf:type ?f } } } . FILTER ( ?r = ?l ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?s WHERE { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15324 ) ( ontology:Q337567 ) } } GROUP BY ?s } }
Fürth Frankfurt Andorra la Vella Kuala Lumpur Abu Dhabi Kazuno Landshut Semboku Tirana Buenos Aires Heidelberg Oxford Yokote Yurihonjō Ingolstadt Manila Benalmádena Port Harcourt Beroun Tunis Puerto de la Cruz Kassel Frankfurt (Oder) Regensburg Tübingen Darmstadt Port-au-Prince Wolfsburg Riga Vaduz Coburg Noshiro Neubrandenburg Weimar Ulaanbaatar Yuzawa Braunschweig Garachico Matsudo Hanoi Tartessos Tokyo Dublin Bolhrad Rosenheim Bremerhaven Eisenach Muscat Kita-Akita Seoul Třebíč Kingstown Augsburg Kinshasa Freiburg im Breisgau Free Hanseatic City of Bremen Wellington Praia Gera Salzgitter Erlangen Offenbach am Main Zaporizhzhya Pforzheim Nikaho Bamberg Oldenburg Cottbus Duisburg Caracas Baghdad Dresden Yerevan Kabul Straubing Kempten Bucharest Sarajevo Antananarivo Mannheim Bottrop Mainz Wiesbaden Ōdate Mbabane Daisen Ludwigshafen Doha Kyiv Würzburg Brasília
91
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type city
type still waters
action find_tuple_counts
relation located next to body of water
type city
type body of water
action count
action filter_multi_types
action find
entity Braunschweig
relation located next to body of water
type still waters
type body of water
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Braunschweig property:located_next_to_body_of_water ?t . { VALUES ( ?f ) { ( ontology:body_of_water ) ( ontology:still_waters ) } . ?t rdf:type ?f } } } . FILTER ( ?r = ?l ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?s WHERE { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:body_of_water ) ( ontology:still_waters ) } } GROUP BY ?s } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3014
P206
Q337567 Q15324 Q515
USER
And how about Wolfsburg?
(c(Q515),P206,c(Q337567)|c(Q15324))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q515
type Q337567
action find_tuple_counts
relation P206
type Q515
type Q15324
action count
action filter_multi_types
action find
entity Q3014
relation P206
type Q337567
type Q15324
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?a ) WHERE { { ?c property:P206 ?l . ?c rdf:type ontology:Q515 . ?l rdf:type ontology:Q337567 } UNION { ?c rdf:type ontology:Q515 . ?l rdf:type ontology:Q15324 . ?c property:P206 ?l } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Q3014 property:P206 ?y . { { ?y rdf:type ontology:Q337567 } UNION { ?y rdf:type ontology:Q15324 } } } } . FILTER ( ?a = ?t ) }
Wolfsburg
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type city
type still waters
action find_tuple_counts
relation located next to body of water
type city
type body of water
action count
action filter_multi_types
action find
entity Wolfsburg
relation located next to body of water
type still waters
type body of water
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?a ) WHERE { { ?c property:located_next_to_body_of_water ?l . ?c rdf:type ontology:city . ?l rdf:type ontology:still_waters } UNION { ?c rdf:type ontology:city . ?l rdf:type ontology:body_of_water . ?c property:located_next_to_body_of_water ?l } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Wolfsburg property:located_next_to_body_of_water ?y . { { ?y rdf:type ontology:still_waters } UNION { ?y rdf:type ontology:body_of_water } } } } . FILTER ( ?a = ?t ) }
[]
still waters body of water city
SYSTEM
91
Q3075 Q1794 Q1863 Q1865 Q1519 Q496499 Q3974 Q846877 Q19689 Q1486 Q2966 Q34217 Q496479 Q602903 Q3004 Q1461 Q488869 Q217432 Q827041 Q3572 Q623549 Q2865 Q4024 Q2978 Q3806 Q2973 Q34261 Q3014 Q1773 Q1844 Q14821 Q819587 Q3958 Q3955 Q23430 Q633272 Q2773 Q612815 Q320943 Q1858 Q320416 Q7473516 Q1761 Q890122 Q4007 Q2706 Q7070 Q3826 Q653545 Q8684 Q270704 Q41474 Q2749 Q3838 Q2833 Q1209 Q23661 Q3751 Q3750 Q3200 Q3126 Q3042 Q157835 Q3046 Q847550 Q3936 Q2936 Q3214 Q2100 Q1533 Q1530 Q1731 Q1953 Q5838 Q7027 Q3994 Q19660 Q11194 Q3915 Q2119 Q3069 Q1720 Q1721 Q329996 Q3904 Q695920 Q2910 Q3861 Q1899 Q2999 Q2844
(c(Q515),P206,c(Q337567)|c(Q15324))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q515
type Q337567
action find_tuple_counts
relation P206
type Q515
type Q15324
action count
action filter_multi_types
action find
entity Q3014
relation P206
type Q337567
type Q15324
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?a ) WHERE { { ?c property:P206 ?l . ?c rdf:type ontology:Q515 . ?l rdf:type ontology:Q337567 } UNION { ?c rdf:type ontology:Q515 . ?l rdf:type ontology:Q15324 . ?c property:P206 ?l } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Q3014 property:P206 ?y . { { ?y rdf:type ontology:Q337567 } UNION { ?y rdf:type ontology:Q15324 } } } } . FILTER ( ?a = ?t ) }
Fürth Frankfurt Andorra la Vella Kuala Lumpur Abu Dhabi Kazuno Landshut Semboku Tirana Buenos Aires Heidelberg Oxford Yokote Yurihonjō Ingolstadt Manila Benalmádena Port Harcourt Beroun Tunis Puerto de la Cruz Kassel Frankfurt (Oder) Regensburg Tübingen Darmstadt Port-au-Prince Wolfsburg Riga Vaduz Coburg Noshiro Neubrandenburg Weimar Ulaanbaatar Yuzawa Braunschweig Garachico Matsudo Hanoi Tartessos Tokyo Dublin Bolhrad Rosenheim Bremerhaven Eisenach Muscat Kita-Akita Seoul Třebíč Kingstown Augsburg Kinshasa Freiburg im Breisgau Free Hanseatic City of Bremen Wellington Praia Gera Salzgitter Erlangen Offenbach am Main Zaporizhzhya Pforzheim Nikaho Bamberg Oldenburg Cottbus Duisburg Caracas Baghdad Dresden Yerevan Kabul Straubing Kempten Bucharest Sarajevo Antananarivo Mannheim Bottrop Mainz Wiesbaden Ōdate Mbabane Daisen Ludwigshafen Doha Kyiv Würzburg Brasília
91
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type city
type still waters
action find_tuple_counts
relation located next to body of water
type city
type body of water
action count
action filter_multi_types
action find
entity Wolfsburg
relation located next to body of water
type still waters
type body of water
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?a ) WHERE { { ?c property:located_next_to_body_of_water ?l . ?c rdf:type ontology:city . ?l rdf:type ontology:still_waters } UNION { ?c rdf:type ontology:city . ?l rdf:type ontology:body_of_water . ?c property:located_next_to_body_of_water ?l } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Wolfsburg property:located_next_to_body_of_water ?y . { { ?y rdf:type ontology:still_waters } UNION { ?y rdf:type ontology:body_of_water } } } } . FILTER ( ?a = ?t ) }
[]