Simple Question (Direct)
Simple Question
Q7606372
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Stefania Sempołowska ?
(Q7606372,P27,c(Q15617994))
action filter_type
action find
entity Q7606372
relation P27
type Q15617994
['Q7606372', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q7606372 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Stefania Sempołowska
action filter_type
action find
entity Stefania Sempołowska
relation country of citizenship
type designation for an administrative territorial entity
['Stefania Sempołowska', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Stefania_Sempołowska property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q7606372,P27,c(Q15617994))
action filter_type
action find
entity Q7606372
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Stefania Sempołowska
['Q7606372', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q7606372 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Poland
Poland is the country of citizenship of Stefania Sempołowska
Poland
action filter_type
action find
entity Stefania Sempołowska
relation country of citizenship
type designation for an administrative territorial entity
['Stefania Sempołowska', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Stefania_Sempołowska property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36
P30
Q2221906
USER
Where is that administrative territory situated ?
(Q36,P30,c(Q2221906))
action filter_type
action find
entity Q36
relation P30
type Q2221906
['Q36', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { resource:Q36 property:P30 ?o . ?o rdf:type ontology:Q2221906 }
Poland
action filter_type
action find
entity Poland
relation continent
type geographic location
['Poland', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { resource:Poland property:continent ?o . ?o rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q36,P30,c(Q2221906))
action filter_type
action find
entity Q36
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q36', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { resource:Q36 property:P30 ?o . ?o rdf:type ontology:Q2221906 }
Europe
That administrative territory is situated in Europe
Europe
action filter_type
action find
entity Poland
relation continent
type geographic location
['Poland', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { resource:Poland property:continent ?o . ?o rdf:type ontology:geographic_location }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q109773
P706
Q553036 Q2221906
USER
Which natural region of Germanys are the location where approximately the same number of geographic locations are located as Teutoburg Forest ?
(c(Q2221906),P706,c(Q553036))
action approx
action find_reverse_tuple_counts
relation P706
type Q553036
type Q2221906
action count
action filter_type
action find
entity Q109773
relation P706
type Q553036
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q553036'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P706 ?t . ?t rdf:type ontology:Q553036 . ?z rdf:type ontology:Q2221906 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q109773 property:P706 ?o . ?o rdf:type ontology:Q553036 } } . FILTER ( ?w = ?s ) }
Teutoburg Forest
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type natural region of Germany
type geographic location
action count
action filter_type
action find
entity Teutoburg Forest
relation located on terrain feature
type natural region of Germany
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:located_on_terrain_feature ?t . ?t rdf:type ontology:natural_region_of_Germany . ?z rdf:type ontology:geographic_location } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Teutoburg_Forest property:located_on_terrain_feature ?o . ?o rdf:type ontology:natural_region_of_Germany } } . FILTER ( ?w = ?s ) }
[]
natural region of Germany geographic location
Q152356 Q4198 Q157290
SYSTEM
Eifel, Ore Mountains, Bohemian Forest
Q157290 Q152356 Q152131 Q707004 Q159589 Q8359 Q640966 Q109773 Q4207 Q525051 Q4198 Q158884 Q896061 Q179378 Q4210 Q685984 Q148988 Q182470 Q157728 Q15079119
(c(Q2221906),P706,c(Q553036))
action approx
action find_reverse_tuple_counts
relation P706
type Q553036
type Q2221906
action count
action filter_type
action find
entity Q109773
relation P706
type Q553036
[ANSWERS] are the location where approximately the same number of geographic locations are located as Teutoburg Forest
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q553036'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P706 ?t . ?t rdf:type ontology:Q553036 . ?z rdf:type ontology:Q2221906 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q109773 property:P706 ?o . ?o rdf:type ontology:Q553036 } } . FILTER ( ?w = ?s ) }
Bohemian Forest Eifel Sudetes Palatinate Forest Swabian Jura Odenwald Westerwald Teutoburg Forest Bavarian Forest Kellerwald Ore Mountains Taunus Kaufungen Forest Reinhardswald Thuringian Forest Upper Palatine Forest Rhön Mountains Spessart Fichtelgebirge Steigerwald
Eifel, Ore Mountains and Bohemian Forest are the location where approximately the same number of geographic locations are located as Teutoburg Forest
Eifel Ore Mountains Bohemian Forest
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type natural region of Germany
type geographic location
action count
action filter_type
action find
entity Teutoburg Forest
relation located on terrain feature
type natural region of Germany
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:located_on_terrain_feature ?t . ?t rdf:type ontology:natural_region_of_Germany . ?z rdf:type ontology:geographic_location } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Teutoburg_Forest property:located_on_terrain_feature ?o . ?o rdf:type ontology:natural_region_of_Germany } } . FILTER ( ?w = ?s ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36
P206
Q355304 Q15324
USER
How many watercourses and bodies of water are situated close to Poland ?
(Q36,P206,c(Q355304)) (Q36,P206,c(Q15324))
action count
action union
action filter_type
action find
entity Q36
relation P206
type Q355304
action filter_type
action find
entity Q36
relation P206
type Q15324
['Q36', 'P206', {'concept': 'Q355304'}] ['Q36', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { resource:Q36 property:P206 ?n . ?n rdf:type ontology:Q355304 } UNION { ?n rdf:type ontology:Q15324 . resource:Q36 property:P206 ?n } }
Poland
action count
action union
action filter_type
action find
entity Poland
relation located next to body of water
type watercourse
action filter_type
action find
entity Poland
relation located next to body of water
type body of water
['Poland', 'located next to body of water', {'concept': 'watercourse'}] ['Poland', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { resource:Poland property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse } UNION { ?n rdf:type ontology:body_of_water . resource:Poland property:located_next_to_body_of_water ?n } }
[]
watercourse body of water
SYSTEM
12 watercourses and 1 bodies of water
Q756302 Q552 Q2142065 Q4176549 Q548 Q840694 Q582675 Q5602 Q1331973 Q156237 Q828869 Q545 Q577026
(Q36,P206,c(Q355304)) (Q36,P206,c(Q15324))
action count
action union
action filter_type
action find
entity Q36
relation P206
type Q355304
action filter_type
action find
entity Q36
relation P206
type Q15324
[ANSWER]
['Q36', 'P206', {'concept': 'Q355304'}] ['Q36', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { resource:Q36 property:P206 ?n . ?n rdf:type ontology:Q355304 } UNION { ?n rdf:type ontology:Q15324 . resource:Q36 property:P206 ?n } }
Poprad Oder Divoká Orlice Białka Vistula Dunajec Jizera Lusatian Neisse Olza Western Bug Noteć Baltic Sea Opava
12 watercourses and 1 bodies of water
action count
action union
action filter_type
action find
entity Poland
relation located next to body of water
type watercourse
action filter_type
action find
entity Poland
relation located next to body of water
type body of water
['Poland', 'located next to body of water', {'concept': 'watercourse'}] ['Poland', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { resource:Poland property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse } UNION { ?n rdf:type ontology:body_of_water . resource:Poland property:located_next_to_body_of_water ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1490
P6
Q502895
USER
Which people have Tokyo as their heads of government ?
(Q1490,P6,c(Q502895))
action filter_type
action find
entity Q1490
relation P6
type Q502895
['Q1490', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1490 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Tokyo
action filter_type
action find
entity Tokyo
relation head of government
type common name
['Tokyo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Tokyo property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
common name
Q38849 Q1280894 Q3119116
SYSTEM
Shintarō Ishihara, Naoki Inose, Yukio Aoshima
Q3119116 Q1064841 Q261703 Q389617 Q1280894 Q3482657 Q3454090 Q38849 Q3477896
(Q1490,P6,c(Q502895))
action filter_type
action find
entity Q1490
relation P6
type Q502895
[ANSWERS] have Tokyo as their heads of government
['Q1490', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1490 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Yukio Aoshima Ryokichi Minobe Yuriko Koike Yōichi Masuzoe Naoki Inose Shunichi Suzuki Ryotaro Azuma Shintarō Ishihara Seiichirō Yasui
Shintarō Ishihara, Naoki Inose and Yukio Aoshima have Tokyo as their heads of government
Shintarō Ishihara Naoki Inose Yukio Aoshima
action filter_type
action find
entity Tokyo
relation head of government
type common name
['Tokyo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Tokyo property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1490
P1376
Q15617994
USER
What has that administrative territory as its capital ?
(Q38849,P1376,c(Q15617994)) (Q1280894,P1376,c(Q15617994)) (Q3119116,P1376,c(Q15617994))
action filter_type
action find
entity Q1490
relation P1376
type Q15617994
['Q38849', 'P1376', {'concept': 'Q15617994'}] ['Q1280894', 'P1376', {'concept': 'Q15617994'}] ['Q3119116', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q1490 property:P1376 ?s . ?s rdf:type ontology:Q15617994 }
Tokyo
action filter_type
action find
entity Tokyo
relation capital of
type designation for an administrative territorial entity
['Shintarō Ishihara', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Naoki Inose', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Yukio Aoshima', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Tokyo property:capital_of ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q38849,P1376,c(Q15617994)) (Q1280894,P1376,c(Q15617994)) (Q3119116,P1376,c(Q15617994))
action filter_type
action find
entity Q1490
relation P1376
type Q15617994
[ANSWER] has that administrative territory as its capital
['Q38849', 'P1376', {'concept': 'Q15617994'}] ['Q1280894', 'P1376', {'concept': 'Q15617994'}] ['Q3119116', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q1490 property:P1376 ?s . ?s rdf:type ontology:Q15617994 }
Japan
Japan has that administrative territory as its capital
Japan
action filter_type
action find
entity Tokyo
relation capital of
type designation for an administrative territorial entity
['Shintarō Ishihara', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Naoki Inose', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Yukio Aoshima', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Tokyo property:capital_of ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38849
P26
Q502895
USER
Who is married to Shintarō Ishihara ?
(Q38849,P26,c(Q502895))
action filter_type
action find
entity Q38849
relation P26
type Q502895
['Q38849', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q38849 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Shintarō Ishihara
action filter_type
action find
entity Shintarō Ishihara
relation spouse
type common name
['Shintarō Ishihara', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Shintarō_Ishihara property:spouse ?e . ?e rdf:type ontology:common_name }
[]
common name
Q11585241
SYSTEM
Noriko Ishihara
Q11585241
(Q38849,P26,c(Q502895))
action filter_type
action find
entity Q38849
relation P26
type Q502895
[ANSWER] is married to Shintarō Ishihara
['Q38849', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q38849 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Noriko Ishihara
Noriko Ishihara is married to Shintarō Ishihara
Noriko Ishihara
action filter_type
action find
entity Shintarō Ishihara
relation spouse
type common name
['Shintarō Ishihara', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Shintarō_Ishihara property:spouse ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P127
Q1269299
USER
Which business organization belongs to Japan ?
(c(Q1269299),P127,Q17)
action filter_type
action find_reverse
entity Q17
relation P127
type Q1269299
[{'concept': 'Q1269299'}, 'P127', 'Q17']
SELECT DISTINCT ?k WHERE { ?k property:P127 resource:Q17 . ?k rdf:type ontology:Q1269299 }
Japan
action filter_type
action find_reverse
entity Japan
relation owned by
type type of business entity
[{'concept': 'type of business entity'}, 'owned by', 'Japan']
SELECT DISTINCT ?k WHERE { ?k property:owned_by resource:Japan . ?k rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q15935991
SYSTEM
Brand's
Q15935991
(c(Q1269299),P127,Q17)
action filter_type
action find_reverse
entity Q17
relation P127
type Q1269299
[ANSWER] belongs to Japan
[{'concept': 'Q1269299'}, 'P127', 'Q17']
SELECT DISTINCT ?k WHERE { ?k property:P127 resource:Q17 . ?k rdf:type ontology:Q1269299 }
Brand's
Brand's belongs to Japan
Brand's
action filter_type
action find_reverse
entity Japan
relation owned by
type type of business entity
[{'concept': 'type of business entity'}, 'owned by', 'Japan']
SELECT DISTINCT ?k WHERE { ?k property:owned_by resource:Japan . ?k rdf:type ontology:type_of_business_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17
P710
Q198
USER
Which war has that administrative territory as its participant ?
(c(Q198),P710,Q15935991)
action filter_type
action find_reverse
entity Q17
relation P710
type Q198
[{'concept': 'Q198'}, 'P710', 'Q15935991']
SELECT DISTINCT ?j WHERE { ?j property:P710 resource:Q17 . ?j rdf:type ontology:Q198 }
Japan
action filter_type
action find_reverse
entity Japan
relation participant
type war
[{'concept': 'war'}, 'participant', "Brand's"]
SELECT DISTINCT ?j WHERE { ?j property:participant resource:Japan . ?j rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(c(Q198),P710,Q15935991)
action filter_type
action find_reverse
entity Q17
relation P710
type Q198
[ANSWER] has that administrative territory as its participant
[{'concept': 'Q198'}, 'P710', 'Q15935991']
SELECT DISTINCT ?j WHERE { ?j property:P710 resource:Q17 . ?j rdf:type ontology:Q198 }
World War II
World War II has that administrative territory as its participant
World War II
action filter_type
action find_reverse
entity Japan
relation participant
type war
[{'concept': 'war'}, 'participant', "Brand's"]
SELECT DISTINCT ?j WHERE { ?j property:participant resource:Japan . ?j rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q362
P137
Q2235308
USER
Which ship types can be described as service operator of that war ?
(c(Q2235308),P137,Q362)
action filter_type
action find_reverse
entity Q362
relation P137
type Q2235308
[{'concept': 'Q2235308'}, 'P137', 'Q362']
SELECT DISTINCT ?s WHERE { ?s property:P137 resource:Q362 . ?s rdf:type ontology:Q2235308 }
World War II
action filter_type
action find_reverse
entity World War II
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'World War II']
SELECT DISTINCT ?s WHERE { ?s property:operator resource:World_War_II . ?s rdf:type ontology:ship_type }
[]
ship type
Q11705699 Q7500115 Q11708758
SYSTEM
Toku Daihatsu-class landing craft, Shohatsu class landing craft, Moku Daihatsu-class landing craft
Q11705699 Q7500115 Q11708758 Q5115983
(c(Q2235308),P137,Q362)
action filter_type
action find_reverse
entity Q362
relation P137
type Q2235308
[ANSWERS] can be described as service operator of that war
[{'concept': 'Q2235308'}, 'P137', 'Q362']
SELECT DISTINCT ?s WHERE { ?s property:P137 resource:Q362 . ?s rdf:type ontology:Q2235308 }
Toku Daihatsu-class landing craft Shohatsu class landing craft Moku Daihatsu-class landing craft Chuhatsu class landing craft
Toku Daihatsu-class landing craft, Shohatsu class landing craft and Moku Daihatsu-class landing craft can be described as service operator of that war
Toku Daihatsu-class landing craft Shohatsu class landing craft Moku Daihatsu-class landing craft
action filter_type
action find_reverse
entity World War II
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'World War II']
SELECT DISTINCT ?s WHERE { ?s property:operator resource:World_War_II . ?s rdf:type ontology:ship_type }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q4093
P532
Q56061 Q2235308
USER
Which administrative territories are the port of registry of approximately the same number of ship types as Glasgow ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_reverse_tuple_counts
relation P532
type Q56061
type Q2235308
action count
action filter_type
action find
entity Q4093
relation P532
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ontology:Q56061 . resource:Q4093 property:P532 ?q } } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P532 ?j . ?j rdf:type ontology:Q56061 . ?y rdf:type ontology:Q2235308 } GROUP BY ?j } }
Glasgow
action approx
action find_reverse_tuple_counts
relation port of registry
type administrative territorial entity
type ship type
action count
action filter_type
action find
entity Glasgow
relation port of registry
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Glasgow property:port_of_registry ?q } } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:port_of_registry ?j . ?j rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:ship_type } GROUP BY ?j } }
[]
administrative territorial entity ship type
Q1874 Q727 Q60
SYSTEM
Odessa, Amsterdam, New York City
Q1754 Q58976 Q193367 Q727 Q1544563 Q185632 Q3130 Q641390 Q1770 Q33518 Q996129 Q4093 Q26793 Q79848 Q188304 Q3141 Q38511 Q3306 Q3304501 Q34116 Q172996 Q1874 Q60 Q34370 Q499355 Q1851 Q334 Q26563 Q18569 Q3519 Q959
(c(Q2235308),P532,c(Q56061))
action approx
action find_reverse_tuple_counts
relation P532
type Q56061
type Q2235308
action count
action filter_type
action find
entity Q4093
relation P532
type Q56061
[ANSWERS] are the port of registry of approximately the same number of ship types as Glasgow
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ontology:Q56061 . resource:Q4093 property:P532 ?q } } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P532 ?j . ?j rdf:type ontology:Q56061 . ?y rdf:type ontology:Q2235308 } GROUP BY ?j } }
Stockholm Piraeus Porvoo Amsterdam Hellerup Limassol Sydney Breskens Tallinn Dover Cap d'Agde Glasgow Bergen Southampton Sunderland Melbourne Turku Panama City Taarbæk Thunder Bay George Town Odessa New York City Rotterdam Parrsboro Arkhangelsk Singapore Roskilde Douglas Bari Vladivostok
Odessa, Amsterdam and New York City are the port of registry of approximately the same number of ship types as Glasgow
Odessa Amsterdam New York City
action approx
action find_reverse_tuple_counts
relation port of registry
type administrative territorial entity
type ship type
action count
action filter_type
action find
entity Glasgow
relation port of registry
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Glasgow property:port_of_registry ?q } } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:port_of_registry ?j . ?j rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:ship_type } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P931
Q62447
USER
Which aerodromes serve the place named New York City ?
(c(Q62447),P931,Q60)
action filter_type
action find_reverse
entity Q60
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q60']
SELECT DISTINCT ?f WHERE { ?f property:P931 resource:Q60 . ?f rdf:type ontology:Q62447 }
New York City
action filter_type
action find_reverse
entity New York City
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'New York City']
SELECT DISTINCT ?f WHERE { ?f property:place_served_by_airport resource:New_York_City . ?f rdf:type ontology:aerodrome }
[]
aerodrome
Q7984216 Q5462911 Q1575175
SYSTEM
West 30th Street Heliport, Flushing Airport, Downtown Manhattan Heliport
Q7984216 Q5462911 Q1575175 Q3375426 Q10860385
(c(Q62447),P931,Q60)
action filter_type
action find_reverse
entity Q60
relation P931
type Q62447
[ANSWERS] serve the place named New York City
[{'concept': 'Q62447'}, 'P931', 'Q60']
SELECT DISTINCT ?f WHERE { ?f property:P931 resource:Q60 . ?f rdf:type ontology:Q62447 }
West 30th Street Heliport Flushing Airport Downtown Manhattan Heliport East 34th Street Heliport New York Skyports Inc. Seaplane Base
West 30th Street Heliport, Flushing Airport and Downtown Manhattan Heliport serve the place named New York City
West 30th Street Heliport Flushing Airport Downtown Manhattan Heliport
action filter_type
action find_reverse
entity New York City
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'New York City']
SELECT DISTINCT ?f WHERE { ?f property:place_served_by_airport resource:New_York_City . ?f rdf:type ontology:aerodrome }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7984216 Q5462911 Q1575175
P931
Q56061
USER
Which administrative territories do West 30th Street Heliport, Flushing Airport and Downtown Manhattan Heliport serve ?
(Q7984216,P931,c(Q56061)) (Q5462911,P931,c(Q56061)) (Q1575175,P931,c(Q56061))
action union
action filter_type
action find
entity Q7984216
relation P931
type Q56061
action filter_type
action find
entity Q5462911
relation P931
type Q56061
action filter_type
action find
entity Q1575175
relation P931
type Q56061
['Q7984216', 'P931', {'concept': 'Q56061'}] ['Q5462911', 'P931', {'concept': 'Q56061'}] ['Q1575175', 'P931', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { resource:Q5462911 property:P931 ?t . ?t rdf:type ontology:Q56061 } UNION { resource:Q7984216 property:P931 ?t . ?t rdf:type ontology:Q56061 } }
West 30th Street Heliport Flushing Airport Downtown Manhattan Heliport
action union
action filter_type
action find
entity West 30th Street Heliport
relation place served by airport
type administrative territorial entity
action filter_type
action find
entity Flushing Airport
relation place served by airport
type administrative territorial entity
action filter_type
action find
entity Downtown Manhattan Heliport
relation place served by airport
type administrative territorial entity
['West 30th Street Heliport', 'place served by airport', {'concept': 'administrative territorial entity'}] ['Flushing Airport', 'place served by airport', {'concept': 'administrative territorial entity'}] ['Downtown Manhattan Heliport', 'place served by airport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { resource:Flushing_Airport property:place_served_by_airport ?t . ?t rdf:type ontology:administrative_territorial_entity } UNION { resource:West_30th_Street_Heliport property:place_served_by_airport ?t . ?t rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q60 Q60 Q60
SYSTEM
New York City
Q60 Q60 Q60
(Q7984216,P931,c(Q56061)) (Q5462911,P931,c(Q56061)) (Q1575175,P931,c(Q56061))
action union
action filter_type
action find
entity Q7984216
relation P931
type Q56061
action filter_type
action find
entity Q5462911
relation P931
type Q56061
action filter_type
action find
entity Q1575175
relation P931
type Q56061
City [ANSWER], [ANSWER] and [ANSWER] West 30th Street Heliport, Flushing Airport and Downtown Manhattan Heliport serve
['Q7984216', 'P931', {'concept': 'Q56061'}] ['Q5462911', 'P931', {'concept': 'Q56061'}] ['Q1575175', 'P931', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { resource:Q5462911 property:P931 ?t . ?t rdf:type ontology:Q56061 } UNION { resource:Q7984216 property:P931 ?t . ?t rdf:type ontology:Q56061 } }
New York City New York City New York City
City New York City, New York City and New York City West 30th Street Heliport, Flushing Airport and Downtown Manhattan Heliport serve
New York City New York City New York City
action union
action filter_type
action find
entity West 30th Street Heliport
relation place served by airport
type administrative territorial entity
action filter_type
action find
entity Flushing Airport
relation place served by airport
type administrative territorial entity
action filter_type
action find
entity Downtown Manhattan Heliport
relation place served by airport
type administrative territorial entity
['West 30th Street Heliport', 'place served by airport', {'concept': 'administrative territorial entity'}] ['Flushing Airport', 'place served by airport', {'concept': 'administrative territorial entity'}] ['Downtown Manhattan Heliport', 'place served by airport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { resource:Flushing_Airport property:place_served_by_airport ?t . ?t rdf:type ontology:administrative_territorial_entity } UNION { resource:West_30th_Street_Heliport property:place_served_by_airport ?t . ?t rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q60
P163
Q14660
USER
What is associated with that administrative territory ?
(Q60,P163,c(Q14660)) (Q60,P163,c(Q14660)) (Q60,P163,c(Q14660))
action filter_type
action find
entity Q60
relation P163
type Q14660
['Q60', 'P163', {'concept': 'Q14660'}] ['Q60', 'P163', {'concept': 'Q14660'}] ['Q60', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?g WHERE { resource:Q60 property:P163 ?g . ?g rdf:type ontology:Q14660 }
New York City
action filter_type
action find
entity New York City
relation flag
type flag
['New York City', 'flag', {'concept': 'flag'}] ['New York City', 'flag', {'concept': 'flag'}] ['New York City', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?g WHERE { resource:New_York_City property:flag ?g . ?g rdf:type ontology:flag }
[]
flag
Q1414813
SYSTEM
Flag of New York City
Q1414813
(Q60,P163,c(Q14660)) (Q60,P163,c(Q14660)) (Q60,P163,c(Q14660))
action filter_type
action find
entity Q60
relation P163
type Q14660
City [ANSWER] is associated with that administrative territory
['Q60', 'P163', {'concept': 'Q14660'}] ['Q60', 'P163', {'concept': 'Q14660'}] ['Q60', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?g WHERE { resource:Q60 property:P163 ?g . ?g rdf:type ontology:Q14660 }
Flag of New York City
City Flag of New York City is associated with that administrative territory
Flag of New York City
action filter_type
action find
entity New York City
relation flag
type flag
['New York City', 'flag', {'concept': 'flag'}] ['New York City', 'flag', {'concept': 'flag'}] ['New York City', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?g WHERE { resource:New_York_City property:flag ?g . ?g rdf:type ontology:flag }
[]