Simple Question (Direct)
Simple Question
Q4977359
P19
Q15700808
USER
Which urban unit definition was Bruce Dawe born at ?
(Q4977359,P19,c(Q15700808))
action filter_type
action find
entity Q4977359
relation P19
type Q15700808
['Q4977359', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?l WHERE { resource:Q4977359 property:P19 ?l . ?l rdf:type ontology:Q15700808 }
Bruce Dawe
action filter_type
action find
entity Bruce Dawe
relation place of birth
type urban unit definition
['Bruce Dawe', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?l WHERE { resource:Bruce_Dawe property:place_of_birth ?l . ?l rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q1421389
SYSTEM
Fitzroy
Q1421389
(Q4977359,P19,c(Q15700808))
action filter_type
action find
entity Q4977359
relation P19
type Q15700808
Bruce Dawe was born in [ANSWER]
['Q4977359', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?l WHERE { resource:Q4977359 property:P19 ?l . ?l rdf:type ontology:Q15700808 }
Fitzroy
Bruce Dawe was born in Fitzroy
Fitzroy
action filter_type
action find
entity Bruce Dawe
relation place of birth
type urban unit definition
['Bruce Dawe', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?l WHERE { resource:Bruce_Dawe property:place_of_birth ?l . ?l rdf:type ontology:urban_unit_definition }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1421389
P47
Q15700808
USER
Which urban unit definitions have a shared border with that one ?
(Q1421389,P47,c(Q15700808))
action filter_type
action find
entity Q1421389
relation P47
type Q15700808
['Q1421389', 'P47', {'concept': 'Q15700808'}]
SELECT DISTINCT ?h WHERE { resource:Q1421389 property:P47 ?h . ?h rdf:type ontology:Q15700808 }
Fitzroy
action filter_type
action find
entity Fitzroy
relation shares border with
type urban unit definition
['Fitzroy', 'shares border with', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?h WHERE { resource:Fitzroy property:shares_border_with ?h . ?h rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q1109698 Q5455716 Q47002
SYSTEM
Collingwood, Fitzroy North, Carlton
Q47002 Q1109698 Q5455716 Q5328965
(Q1421389,P47,c(Q15700808))
action filter_type
action find
entity Q1421389
relation P47
type Q15700808
[ANSWERS] have a shared border with that one
['Q1421389', 'P47', {'concept': 'Q15700808'}]
SELECT DISTINCT ?h WHERE { resource:Q1421389 property:P47 ?h . ?h rdf:type ontology:Q15700808 }
Carlton Collingwood Fitzroy North East Melbourne
Collingwood, Fitzroy North and Carlton have a shared border with that one
Collingwood Fitzroy North Carlton
action filter_type
action find
entity Fitzroy
relation shares border with
type urban unit definition
['Fitzroy', 'shares border with', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?h WHERE { resource:Fitzroy property:shares_border_with ?h . ?h rdf:type ontology:urban_unit_definition }
[]
Clarification
Simple Question|Single Entity|Indirect
Q47002
P609
Q728937
USER
Which railroad lines are that urban unit definition a terminus location of ?
(c(Q728937),P609,Q47002)
action filter_type
action find_reverse
entity Q47002
relation P609
type Q728937
[{'concept': 'Q728937'}, 'P609', 'Q47002']
SELECT DISTINCT ?s WHERE { ?s property:P609 resource:Q47002 . ?s rdf:type ontology:Q728937 }
Carlton
action filter_type
action find_reverse
entity Carlton
relation terminus location
type railroad line
[{'concept': 'railroad line'}, 'terminus location', 'Carlton']
SELECT DISTINCT ?s WHERE { ?s property:terminus_location resource:Carlton . ?s rdf:type ontology:railroad_line }
[]
railroad line
Clarification for simple ques.
Q1109698
SYSTEM
Did you mean Collingwood ?
Q1109698 Q5455716 Q47002
(c(Q728937),P609,Q1109698) (c(Q728937),P609,Q5455716) (c(Q728937),P609,Q47002)
[ANSWER]
[{'concept': 'Q728937'}, 'P609', 'Q1109698'] [{'concept': 'Q728937'}, 'P609', 'Q5455716'] [{'concept': 'Q728937'}, 'P609', 'Q47002']
SELECT DISTINCT ?s WHERE { ?s property:P609 resource:Q47002 . ?s rdf:type ontology:Q728937 }
Collingwood Fitzroy North Carlton
Did you mean Collingwood ?
Collingwood
[{'concept': 'railroad line'}, 'terminus location', 'Collingwood'] [{'concept': 'railroad line'}, 'terminus location', 'Fitzroy North'] [{'concept': 'railroad line'}, 'terminus location', 'Carlton']
SELECT DISTINCT ?s WHERE { ?s property:terminus_location resource:Carlton . ?s rdf:type ontology:railroad_line }
[]
Simple Question (Coreferenced)
USER
No, I meant Carlton. Could you tell me the answer for that?
(c(Q728937),P609,Q47002)
Q47002
[{'concept': 'Q728937'}, 'P609', 'Q47002']
[{'concept': 'railroad line'}, 'terminus location', 'Carlton']
[]
Q6811954 Q16926791 Q16926785
SYSTEM
route 3, route 16, route 6
Q16926791 Q16926785 Q6811954 Q6811968 Q6811964 Q6811965 Q6811959
(c(Q728937),P609,Q47002)
action filter_type
action find_reverse
entity Q47002
relation P609
type Q728937
[ANSWERS] are that urban unit definition a terminus location of
[{'concept': 'Q728937'}, 'P609', 'Q47002']
SELECT DISTINCT ?s WHERE { ?s property:P609 resource:Q47002 . ?s rdf:type ontology:Q728937 }
route 16 route 6 route 3 route 72 route 64 route 67 route 5
Route 3, route 16 and route 6 are that urban unit definition a terminus location of
route 3 route 16 route 6
action filter_type
action find_reverse
entity Carlton
relation terminus location
type railroad line
[{'concept': 'railroad line'}, 'terminus location', 'Carlton']
SELECT DISTINCT ?s WHERE { ?s property:terminus_location resource:Carlton . ?s rdf:type ontology:railroad_line }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3040919
P361
Q728937 Q44377 Q55488
USER
How many railroad lines are more number of tunnels and railway stations a component of than Frankfurt U-Bahn, section A ?
(c(Q44377)|c(Q55488),P361,c(Q728937))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q728937
type Q44377
action find_reverse_tuple_counts
relation P361
type Q728937
type Q55488
action count
action filter_multi_types
action find_reverse
entity Q3040919
relation P361
type Q44377
type Q55488
[[{'concept': 'Q44377'}, {'concept': 'Q55488'}], 'P361', {'concept': 'Q728937'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) ?h WHERE { VALUES ( ?r ) { ( ontology:Q55488 ) ( ontology:Q44377 ) } . ?s rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P361 resource:Q3040919 . { { ?i rdf:type ontology:Q44377 } UNION { ?i rdf:type ontology:Q55488 } } } } . FILTER ( ?w > ?u ) }
Frankfurt U-Bahn, section A
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type railroad line
type tunnel
action find_reverse_tuple_counts
relation part of
type railroad line
type railway station
action count
action filter_multi_types
action find_reverse
entity Frankfurt U-Bahn, section A
relation part of
type tunnel
type railway station
[[{'concept': 'tunnel'}, {'concept': 'railway station'}], 'part of', {'concept': 'railroad line'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) ?h WHERE { VALUES ( ?r ) { ( ontology:railway_station ) ( ontology:tunnel ) } . ?s rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:part_of resource:Frankfurt_U-Bahn,_section_A . { { ?i rdf:type ontology:tunnel } UNION { ?i rdf:type ontology:railway_station } } } } . FILTER ( ?w > ?u ) }
[]
railroad line tunnel railway station
SYSTEM
31
Q945937 Q2534873 Q570809 Q587171 Q2261550 Q152015 Q19892 Q24641190 Q87056 Q216360 Q729631 Q3832673 Q54372 Q54373 Q54371 Q819045 Q17501 Q801885 Q850532 Q54369 Q572544 Q950794 Q2381339 Q24641690 Q1473986 Q616682 Q264936 Q585986 Q823251 Q520772 Q1147054
(c(Q44377)|c(Q55488),P361,c(Q728937))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q728937
type Q44377
action find_reverse_tuple_counts
relation P361
type Q728937
type Q55488
action count
action filter_multi_types
action find_reverse
entity Q3040919
relation P361
type Q44377
type Q55488
[ANSWER]
[[{'concept': 'Q44377'}, {'concept': 'Q55488'}], 'P361', {'concept': 'Q728937'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) ?h WHERE { VALUES ( ?r ) { ( ontology:Q55488 ) ( ontology:Q44377 ) } . ?s rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P361 resource:Q3040919 . { { ?i rdf:type ontology:Q44377 } UNION { ?i rdf:type ontology:Q55488 } } } } . FILTER ( ?w > ?u ) }
LGV Est Blue Line Hanover–Berlin high-speed railway Lübeck–Lüneburg railway Line C Blue Line Bakerloo line line a of Rennes subway Busan-Gimhae Light Rail Transit Docklands Light Railway Sokolnicheskaya Line M2 metro line Scarborough RT Sheppard line Bloor–Danforth line Hanover–Würzburg high-speed railway Seoul Subway Line 2 Bad Kleinen–Rostock railway Betuweroute Yonge–University–Spadina line Line A Bergamo–Albino light rail Línia Llobregat-Anoia line b of Rennes subway Line 1 IRT Dyre Avenue Line Cologne–Aachen high-speed railway Kalininsko-Solntsevskaya Line Market–Frankford Line Tokyo Metro Namboku Line Tokyo Metro Tōzai Line
31
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type railroad line
type tunnel
action find_reverse_tuple_counts
relation part of
type railroad line
type railway station
action count
action filter_multi_types
action find_reverse
entity Frankfurt U-Bahn, section A
relation part of
type tunnel
type railway station
[[{'concept': 'tunnel'}, {'concept': 'railway station'}], 'part of', {'concept': 'railroad line'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) ?h WHERE { VALUES ( ?r ) { ( ontology:railway_station ) ( ontology:tunnel ) } . ?s rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:part_of resource:Frankfurt_U-Bahn,_section_A . { { ?i rdf:type ontology:tunnel } UNION { ?i rdf:type ontology:railway_station } } } } . FILTER ( ?w > ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q83620 Q728937 Q728937
USER
How many railroad lines are a component of around 1 thoroughfares and railroad lines ?
(c(Q728937),P361,c(Q83620)|c(Q728937))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q728937
type Q83620
action find_tuple_counts
relation P361
type Q728937
type Q728937
value 1
[{'concept': 'Q728937'}, 'P361', [{'concept': 'Q83620'}, {'concept': 'Q728937'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?i ) WHERE { { ?q property:P361 ?s . ?q rdf:type ontology:Q728937 . ?s rdf:type ontology:Q83620 } UNION { ?q property:P361 ?s . ?q rdf:type ontology:Q728937 . ?s rdf:type ontology:Q728937 } } GROUP BY ?q } . FILTER ( ?i = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type railroad line
type thoroughfare
action find_tuple_counts
relation part of
type railroad line
type railroad line
value 1
[{'concept': 'railroad line'}, 'part of', [{'concept': 'thoroughfare'}, {'concept': 'railroad line'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?i ) WHERE { { ?q property:part_of ?s . ?q rdf:type ontology:railroad_line . ?s rdf:type ontology:thoroughfare } UNION { ?q property:part_of ?s . ?q rdf:type ontology:railroad_line . ?s rdf:type ontology:railroad_line } } GROUP BY ?q } . FILTER ( ?i = 1 ) }
[]
thoroughfare railroad line railroad line
SYSTEM
17
Q198432 Q3239226 Q3239227 Q3239225 Q3239222 Q3239223 Q3239220 Q463874 Q7985564 Q19862991 Q616682 Q3040891 Q6420650 Q4544753 Q474745 Q15150984 Q3239219
(c(Q728937),P361,c(Q83620)|c(Q728937))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q728937
type Q83620
action find_tuple_counts
relation P361
type Q728937
type Q728937
value 1
[ANSWER]
[{'concept': 'Q728937'}, 'P361', [{'concept': 'Q83620'}, {'concept': 'Q728937'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?i ) WHERE { { ?q property:P361 ?s . ?q rdf:type ontology:Q728937 . ?s rdf:type ontology:Q83620 } UNION { ?q property:P361 ?s . ?q rdf:type ontology:Q728937 . ?s rdf:type ontology:Q728937 } } GROUP BY ?q } . FILTER ( ?i = 1 ) }
U1 Line 18 Line 19 Line 17 Line 13 Line 14 Line 11 Darjeeling Himalayan Railway Extension of Island Line to Western District U3 IRT Dyre Avenue Line U2 Siu Sai Wan Extension Kolsås Line Djurgårdslinjen Eungam Circle Line 10
17
action count
action approx
action union
action find_tuple_counts
relation part of
type railroad line
type thoroughfare
action find_tuple_counts
relation part of
type railroad line
type railroad line
value 1
[{'concept': 'railroad line'}, 'part of', [{'concept': 'thoroughfare'}, {'concept': 'railroad line'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?i ) WHERE { { ?q property:part_of ?s . ?q rdf:type ontology:railroad_line . ?s rdf:type ontology:thoroughfare } UNION { ?q property:part_of ?s . ?q rdf:type ontology:railroad_line . ?s rdf:type ontology:railroad_line } } GROUP BY ?q } . FILTER ( ?i = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1109698
P159
Q43229
USER
Which organization has its HQ location at Collingwood ?
(c(Q43229),P159,Q1109698)
action filter_type
action find_reverse
entity Q1109698
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q1109698']
SELECT DISTINCT ?e WHERE { ?e property:P159 resource:Q1109698 . ?e rdf:type ontology:Q43229 }
Collingwood
action filter_type
action find_reverse
entity Collingwood
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Collingwood']
SELECT DISTINCT ?e WHERE { ?e property:headquarters_location resource:Collingwood . ?e rdf:type ontology:organization }
[]
organization
Q5773115
SYSTEM
Histology Group of Victoria
Q5773115
(c(Q43229),P159,Q1109698)
action filter_type
action find_reverse
entity Q1109698
relation P159
type Q43229
[ANSWER] has its HQ location at Collingwood
[{'concept': 'Q43229'}, 'P159', 'Q1109698']
SELECT DISTINCT ?e WHERE { ?e property:P159 resource:Q1109698 . ?e rdf:type ontology:Q43229 }
Histology Group of Victoria
Histology Group of Victoria has its HQ location at Collingwood
Histology Group of Victoria
action filter_type
action find_reverse
entity Collingwood
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Collingwood']
SELECT DISTINCT ?e WHERE { ?e property:headquarters_location resource:Collingwood . ?e rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1421389 Q207689
P20
Q502895
USER
How many people expired at Fitzroy or Piccadilly line ?
(c(Q502895),P20,Q1421389) (c(Q502895),P20,Q207689)
action count
action union
action filter_type
action find_reverse
entity Q1421389
relation P20
type Q502895
action filter_type
action find_reverse
entity Q207689
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q1421389'] [{'concept': 'Q502895'}, 'P20', 'Q207689']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:P20 resource:Q1421389 . ?o rdf:type ontology:Q502895 } UNION { ?o property:P20 resource:Q207689 . ?o rdf:type ontology:Q502895 } }
Fitzroy Piccadilly line
action count
action union
action filter_type
action find_reverse
entity Fitzroy
relation place of death
type common name
action filter_type
action find_reverse
entity Piccadilly line
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Fitzroy'] [{'concept': 'common name'}, 'place of death', 'Piccadilly line']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:place_of_death resource:Fitzroy . ?o rdf:type ontology:common_name } UNION { ?o property:place_of_death resource:Piccadilly_line . ?o rdf:type ontology:common_name } }
[]
common name
SYSTEM
19
Q6115720 Q3181170 Q4800198 Q4908208 Q5668863 Q5660084 Q322411 Q7945534 Q7297520 Q6521781 Q15995687 Q21664275 Q7350753 Q3157313 Q21079118 Q18810058 Q7582363 Q7815407 Q2379882
(c(Q502895),P20,Q1421389) (c(Q502895),P20,Q207689)
action count
action union
action filter_type
action find_reverse
entity Q1421389
relation P20
type Q502895
action filter_type
action find_reverse
entity Q207689
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q1421389'] [{'concept': 'Q502895'}, 'P20', 'Q207689']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:P20 resource:Q1421389 . ?o rdf:type ontology:Q502895 } UNION { ?o property:P20 resource:Q207689 . ?o rdf:type ontology:Q502895 } }
Jack Wells John Cade Arthur Rylah Bill Bourke Harry Foran Harold Bennett Germaine Lindsay W. F. Waters Ray Gibb Len Gale Bert Cremean Amy Eliza Castles Robert W. Thompson Jack Ryder Ellen Davitt Ambrose Tarrant Squizzy Taylor Tom Corrigan E. Phillips Fox
19
action count
action union
action filter_type
action find_reverse
entity Fitzroy
relation place of death
type common name
action filter_type
action find_reverse
entity Piccadilly line
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Fitzroy'] [{'concept': 'common name'}, 'place of death', 'Piccadilly line']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:place_of_death resource:Fitzroy . ?o rdf:type ontology:common_name } UNION { ?o property:place_of_death resource:Piccadilly_line . ?o rdf:type ontology:common_name } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1109698
P17
Q1048835
USER
How many political territories are Collingwood situated in ?
(Q1109698,P17,c(Q1048835))
action count
action filter_type
action find
entity Q1109698
relation P17
type Q1048835
['Q1109698', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Q1109698 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
Collingwood
action count
action filter_type
action find
entity Collingwood
relation country
type political territorial entity
['Collingwood', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Collingwood property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q408
(Q1109698,P17,c(Q1048835))
action count
action filter_type
action find
entity Q1109698
relation P17
type Q1048835
[ANSWER]
['Q1109698', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Q1109698 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
Australia
1
action count
action filter_type
action find
entity Collingwood
relation country
type political territorial entity
['Collingwood', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Collingwood property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7993918
Q1048835
USER
And what about Whisler Island?
(Q7993918,P17,c(Q1048835))
action count
action filter_type
action find
entity Q7993918
relation P17
type Q1048835
['Q7993918', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q7993918 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Whisler Island
action count
action filter_type
action find
entity Whisler Island
relation country
type political territorial entity
['Whisler Island', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Whisler_Island property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q7993918,P17,c(Q1048835))
action count
action filter_type
action find
entity Q7993918
relation P17
type Q1048835
[ANSWER]
['Q7993918', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q7993918 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Whisler Island
relation country
type political territorial entity
['Whisler Island', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Whisler_Island property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7993918
P206
Q337567
USER
Which still waters is situated close to that landform ?
action filter_type
action find
entity Q7993918
relation P206
type Q337567
SELECT DISTINCT ?d WHERE { resource:Q7993918 property:P206 ?d . ?d rdf:type ontology:Q337567 }
Whisler Island
action filter_type
action find
entity Whisler Island
relation located next to body of water
type still waters
SELECT DISTINCT ?d WHERE { resource:Whisler_Island property:located_next_to_body_of_water ?d . ?d rdf:type ontology:still_waters }
[]
still waters
Q1233614
SYSTEM
Lake Hazen
Q1233614
action filter_type
action find
entity Q7993918
relation P206
type Q337567
[ANSWER] is situated close to that landform
SELECT DISTINCT ?d WHERE { resource:Q7993918 property:P206 ?d . ?d rdf:type ontology:Q337567 }
Lake Hazen
Lake Hazen is situated close to that landform
Lake Hazen
action filter_type
action find
entity Whisler Island
relation located next to body of water
type still waters
SELECT DISTINCT ?d WHERE { resource:Whisler_Island property:located_next_to_body_of_water ?d . ?d rdf:type ontology:still_waters }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1233614
P201
Q355304
USER
Which watercourse gushes out from that still waters ?
(Q1233614,P201,c(Q355304))
action filter_type
action find
entity Q1233614
relation P201
type Q355304
['Q1233614', 'P201', {'concept': 'Q355304'}]
SELECT DISTINCT ?p WHERE { resource:Q1233614 property:P201 ?p . ?p rdf:type ontology:Q355304 }
Lake Hazen
action filter_type
action find
entity Lake Hazen
relation lake outflow
type watercourse
['Lake Hazen', 'lake outflow', {'concept': 'watercourse'}]
SELECT DISTINCT ?p WHERE { resource:Lake_Hazen property:lake_outflow ?p . ?p rdf:type ontology:watercourse }
[]
watercourse
Q7378585
SYSTEM
Ruggles River
Q7378585
(Q1233614,P201,c(Q355304))
action filter_type
action find
entity Q1233614
relation P201
type Q355304
[ANSWER] gushes out from that still waters
['Q1233614', 'P201', {'concept': 'Q355304'}]
SELECT DISTINCT ?p WHERE { resource:Q1233614 property:P201 ?p . ?p rdf:type ontology:Q355304 }
Ruggles River
Ruggles River gushes out from that still waters
Ruggles River
action filter_type
action find
entity Lake Hazen
relation lake outflow
type watercourse
['Lake Hazen', 'lake outflow', {'concept': 'watercourse'}]
SELECT DISTINCT ?p WHERE { resource:Lake_Hazen property:lake_outflow ?p . ?p rdf:type ontology:watercourse }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7136835 Q5455716
P17
Q1048835
USER
Which political territories are Fitzroy North or Pareora a part of ?
OR((Q5455716,P17,c(Q1048835)), (Q7136835,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q5455716
relation P17
action find
entity Q7136835
relation P17
type Q1048835
{'OR': [['Q5455716', 'P17', {'concept': 'Q1048835'}], ['Q7136835', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q5455716 property:P17 ?z } UNION { resource:Q7136835 property:P17 ?z } } . ?z rdf:type ontology:Q1048835 }
Pareora Fitzroy North
action filter_type
action union
action find
entity Fitzroy North
relation country
action find
entity Pareora
relation country
type political territorial entity
{'OR': [['Fitzroy North', 'country', {'concept': 'political territorial entity'}], ['Pareora', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Fitzroy_North property:country ?z } UNION { resource:Pareora property:country ?z } } . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q664
SYSTEM
Australia, New Zealand
Q408 Q664
OR((Q5455716,P17,c(Q1048835)), (Q7136835,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q5455716
relation P17
action find
entity Q7136835
relation P17
type Q1048835
In [ANSWERS] are Fitzroy North or Pareora a part of
{'OR': [['Q5455716', 'P17', {'concept': 'Q1048835'}], ['Q7136835', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q5455716 property:P17 ?z } UNION { resource:Q7136835 property:P17 ?z } } . ?z rdf:type ontology:Q1048835 }
Australia New Zealand
In Australia and New Zealand are Fitzroy North or Pareora a part of
Australia New Zealand
action filter_type
action union
action find
entity Fitzroy North
relation country
action find
entity Pareora
relation country
type political territorial entity
{'OR': [['Fitzroy North', 'country', {'concept': 'political territorial entity'}], ['Pareora', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Fitzroy_North property:country ?z } UNION { resource:Pareora property:country ?z } } . ?z rdf:type ontology:political_territorial_entity }
[]