Simple Question (Direct)
Simple Question
Q409870
P126
Q327333
USER
Who were the custodian of U.S. Route 54 ?
(Q409870,P126,c(Q327333))
action filter_type
action find
entity Q409870
relation P126
type Q327333
['Q409870', 'P126', {'concept': 'Q327333'}]
SELECT DISTINCT ?j WHERE { resource:Q409870 property:P126 ?j . ?j rdf:type ontology:Q327333 }
U.S. Route 54
action filter_type
action find
entity U.S. Route 54
relation maintained by
type government agency
['U.S. Route 54', 'maintained by', {'concept': 'government agency'}]
SELECT DISTINCT ?j WHERE { resource:U.S._Route_54 property:maintained_by ?j . ?j rdf:type ontology:government_agency }
[]
government agency
Q5557977 Q4925916 Q4925114
SYSTEM
Missouri Department of Transportation, Kansas Department of Transportation, Illinois Department of Transportation
Q4925916 Q4925114 Q5557977 Q2171739
(Q409870,P126,c(Q327333))
action filter_type
action find
entity Q409870
relation P126
type Q327333
The custodian of U.S. Route 54 were the [ANSWERS]
['Q409870', 'P126', {'concept': 'Q327333'}]
SELECT DISTINCT ?j WHERE { resource:Q409870 property:P126 ?j . ?j rdf:type ontology:Q327333 }
Kansas Department of Transportation Illinois Department of Transportation Missouri Department of Transportation Oklahoma Department of Transportation
The custodian of U.S. Route 54 were the Missouri Department of Transportation, Kansas Department of Transportation and Illinois Department of Transportation
Missouri Department of Transportation Kansas Department of Transportation Illinois Department of Transportation
action filter_type
action find
entity U.S. Route 54
relation maintained by
type government agency
['U.S. Route 54', 'maintained by', {'concept': 'government agency'}]
SELECT DISTINCT ?j WHERE { resource:U.S._Route_54 property:maintained_by ?j . ?j rdf:type ontology:government_agency }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4925916
P127
Q83620
USER
Which thoroughfares are under posessision of that government agency ?
(c(Q83620),P127,Q4925916)
action filter_type
action find_reverse
entity Q4925916
relation P127
type Q83620
[{'concept': 'Q83620'}, 'P127', 'Q4925916']
SELECT DISTINCT ?z WHERE { ?z property:P127 resource:Q4925916 . ?z rdf:type ontology:Q83620 }
Kansas Department of Transportation
action filter_type
action find_reverse
entity Kansas Department of Transportation
relation owned by
type thoroughfare
[{'concept': 'thoroughfare'}, 'owned by', 'Kansas Department of Transportation']
SELECT DISTINCT ?z WHERE { ?z property:owned_by resource:Kansas_Department_of_Transportation . ?z rdf:type ontology:thoroughfare }
[]
thoroughfare
Clarification for simple ques.
Q5557977
SYSTEM
Did you mean Missouri Department of Transportation ?
Q5557977 Q4925916 Q4925114
(c(Q83620),P127,Q5557977) (c(Q83620),P127,Q4925916) (c(Q83620),P127,Q4925114)
[ANSWER]
[{'concept': 'Q83620'}, 'P127', 'Q5557977'] [{'concept': 'Q83620'}, 'P127', 'Q4925916'] [{'concept': 'Q83620'}, 'P127', 'Q4925114']
SELECT DISTINCT ?z WHERE { ?z property:P127 resource:Q4925916 . ?z rdf:type ontology:Q83620 }
Missouri Department of Transportation Kansas Department of Transportation Illinois Department of Transportation
Did you mean Missouri Department of Transportation ?
Missouri Department of Transportation
[{'concept': 'thoroughfare'}, 'owned by', 'Missouri Department of Transportation'] [{'concept': 'thoroughfare'}, 'owned by', 'Kansas Department of Transportation'] [{'concept': 'thoroughfare'}, 'owned by', 'Illinois Department of Transportation']
SELECT DISTINCT ?z WHERE { ?z property:owned_by resource:Kansas_Department_of_Transportation . ?z rdf:type ontology:thoroughfare }
[]
Simple Question (Coreferenced)
USER
No, I meant Kansas Department of Transportation. Could you tell me the answer for that?
(c(Q83620),P127,Q4925916)
Q4925916
[{'concept': 'Q83620'}, 'P127', 'Q4925916']
[{'concept': 'thoroughfare'}, 'owned by', 'Kansas Department of Transportation']
[]
Q409496 Q410377 Q410053
SYSTEM
U.S. Route 40, U.S. Route 75, U.S. Route 69
Q410404 Q22084882 Q4931167 Q962093 Q15684334 Q2175071 Q963165 Q961667 Q963487 Q965349 Q963563 Q13569240 Q963945 Q2174970 Q13569123 Q963009 Q409870 Q961908 Q962289 Q963846 Q963075 Q962169 Q964584 Q965690 Q961716 Q2174907 Q965617 Q965307 Q962810 Q3010218 Q965928 Q962668 Q2175059 Q965158 Q961520 Q962350 Q13569108 Q965761 Q964222 Q962212 Q962461 Q2485634 Q962943 Q646437 Q966057 Q961947 Q13589292 Q962581 Q964926 Q964190 Q962503 Q962879 Q963295 Q964123 Q965868 Q965265 Q409939 Q964081 Q965579 Q964409 Q4931127 Q966021 Q963617 Q962133 Q965120 Q962764 Q964018 Q963526 Q2396151 Q963040 Q964495 Q963712 Q963124 Q962020 Q965387 Q965832 Q963804 Q13522778 Q2395745 Q2453609 Q2349291 Q410689 Q965652 Q965797 Q963766 Q962248 Q410354 Q13415280 Q962913 Q964625 Q965196 Q966240 Q15684197 Q410661 Q961564 Q408147 Q409462 Q2175016 Q966084 Q963225 Q964874 Q1701728 Q410951 Q1480815 Q962621 Q962973 Q964537 Q965726 Q961804 Q409899 Q410053 Q409496 Q2429972 Q964967 Q963257 Q961471 Q962548 Q963668 Q2453708 Q410377 Q961611 Q13589222 Q965968
(c(Q83620),P127,Q4925916)
action filter_type
action find_reverse
entity Q4925916
relation P127
type Q83620
[ANSWERS] are under posessision of that government agency
[{'concept': 'Q83620'}, 'P127', 'Q4925916']
SELECT DISTINCT ?z WHERE { ?z property:P127 resource:Q4925916 . ?z rdf:type ontology:Q83620 }
U.S. Route 77 U.S. Route 59 in Kansas K-383 K-14 (Kansas highway) K-49 U.S. Route 283 K-61 (Kansas highway) K-5 K-82 K-238 (Kansas highway) K-89 (Kansas highway) U.S. Route 281 in Kansas K-138 (Kansas highway) U.S. Route 183 U.S. Route 183 in Kansas K-53 (Kansas highway) U.S. Route 54 K-9 K-19 K-126 (Kansas highway) K-58 (Kansas highway) K-16 (Kansas highway) K-170 (Kansas highway) K-260 (Kansas highway) K-7 (Kansas highway) U.S. Route 177 K-256 (Kansas highway) K-232 (Kansas highway) K-41 (Kansas highway) K-146 (Kansas highway) U.S. Route 66 in Kansas K-33 (Kansas highway) U.S. Route 281 K-196 (Kansas highway) K-2 K-22 U.S. Route 160 in Kansas K-284 (Kansas highway) K-153 (Kansas highway) K-17 (Kansas highway) K-26 U.S. Route 166 K-46 (Kansas highway) U.S. Route 160 Interstate 235 K-10 (Kansas highway) K-31 K-30 K-179 (Kansas highway) K-150 (Kansas highway) K-27 K-42 (Kansas highway) K-68 (Kansas highway) K-148 (Kansas highway) U.S. Route 50 in Kansas K-218 (Kansas highway) U.S. Route 59 K-143 (Kansas highway) K-254 (Kansas highway) K-156 (Kansas highway) K-158 Interstate 135 K-96 (Kansas highway) K-15 (Kansas highway) K-194 (Kansas highway) K-38 K-140 (Kansas highway) K-86 (Kansas highway) U.S. Route 383 K-55 (Kansas highway) K-157 (Kansas highway) K-104 (Kansas highway) K-60 (Kansas highway) K-12 (Kansas highway) K-244 (Kansas highway) K-368 (Kansas highway) K-114 (Kansas highway) U.S. Route 283 in Kansas U.S. Route 159 Interstate 635 K-23 U.S. Route 83 K-257 (Kansas highway) K-360 (Kansas highway) K-113 (Kansas highway) K-18 (Kansas highway) U.S. Route 73 Interstate 35 in Kansas K-43 (Kansas highway) K-171 (Kansas highway) K-209 (Kansas highway) Interstate 470 K-44 U.S. Route 81 K-3 (Kansas highway) U.S. Route 24 U.S. Route 36 U.S. Route 270 Interstate 435 K-64 (Kansas highway) K-177 (Kansas highway) K-34 U.S. Route 400 U.S. Route 169 K-32 (Kansas highway) K-52 (Kansas highway) K-161 (Kansas highway) K-264 (Kansas highway) K-8 (Kansas highway) U.S. Route 56 U.S. Route 69 U.S. Route 40 Bannered routes of U.S. Route 54 K-181 (Kansas highway) K-66 (Kansas highway) K-1 K-28 K-99 (Kansas highway) Interstate 670 U.S. Route 75 K-4 (Kansas highway) K-47 Interstate 70 in Kansas
U.S. Route 40, U.S. Route 75 and U.S. Route 69 are under posessision of that government agency
U.S. Route 40 U.S. Route 75 U.S. Route 69
action filter_type
action find_reverse
entity Kansas Department of Transportation
relation owned by
type thoroughfare
[{'concept': 'thoroughfare'}, 'owned by', 'Kansas Department of Transportation']
SELECT DISTINCT ?z WHERE { ?z property:owned_by resource:Kansas_Department_of_Transportation . ?z rdf:type ontology:thoroughfare }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1575936 Q4925916
P27 P17
Q15617994
USER
Which administrative territories are Kansas Department of Transportation situated in or are Nikifóros Bithoúlkas a civilian of ?
OR((Q4925916,P17,c(Q15617994)), (Q1575936,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4925916
relation P17
action find
entity Q1575936
relation P27
type Q15617994
{'OR': [['Q4925916', 'P17', {'concept': 'Q15617994'}], ['Q1575936', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q4925916 property:P17 ?p } UNION { resource:Q1575936 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Nikifóros Bithoúlkas Kansas Department of Transportation
action filter_type
action union
action find
entity Kansas Department of Transportation
relation country
action find
entity Nikifóros Bithoúlkas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kansas Department of Transportation', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nikifóros Bithoúlkas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Kansas_Department_of_Transportation property:country ?p } UNION { resource:Nikifóros_Bithoúlkas property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q41
SYSTEM
United States of America, Greece
Q30 Q41
OR((Q4925916,P17,c(Q15617994)), (Q1575936,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4925916
relation P17
action find
entity Q1575936
relation P27
type Q15617994
Kansas Department of Transportation are situated in the [ANSWERS] or are Nikifóros Bithoúlkas a civilian of
{'OR': [['Q4925916', 'P17', {'concept': 'Q15617994'}], ['Q1575936', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q4925916 property:P17 ?p } UNION { resource:Q1575936 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
United States of America Greece
Kansas Department of Transportation are situated in the United States of America and Greece or are Nikifóros Bithoúlkas a civilian of
United States of America Greece
action filter_type
action union
action find
entity Kansas Department of Transportation
relation country
action find
entity Nikifóros Bithoúlkas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kansas Department of Transportation', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nikifóros Bithoúlkas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Kansas_Department_of_Transportation property:country ?p } UNION { resource:Nikifóros_Bithoúlkas property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P840
Q2342494 Q838948
USER
How many collectables and works of art have their narrative set in that administrative territory ?
(c(Q2342494),P840,Q41) (c(Q838948),P840,Q41) (c(Q2342494),P840,Q30) (c(Q838948),P840,Q30) (c(Q2342494),P840,Q41) (c(Q838948),P840,Q41)
[{'concept': 'Q2342494'}, 'P840', 'Q41'] [{'concept': 'Q838948'}, 'P840', 'Q41'] [{'concept': 'Q2342494'}, 'P840', 'Q30'] [{'concept': 'Q838948'}, 'P840', 'Q30'] [{'concept': 'Q2342494'}, 'P840', 'Q41'] [{'concept': 'Q838948'}, 'P840', 'Q41']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P840 resource:Q2610369 } UNION { ?y property:P840 resource:Q2610369 } UNION { ?z property:P840 resource:Q30 } UNION { ?y property:P840 resource:Q30 } UNION { ?z property:P840 resource:Q2610369 } UNION { ?y property:P840 resource:Q2610369 } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q838948 }
[{'concept': 'collectable'}, 'narrative location', 'Greece'] [{'concept': 'work of art'}, 'narrative location', 'Greece'] [{'concept': 'collectable'}, 'narrative location', 'United States of America'] [{'concept': 'work of art'}, 'narrative location', 'United States of America'] [{'concept': 'collectable'}, 'narrative location', 'Greece'] [{'concept': 'work of art'}, 'narrative location', 'Greece']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:narrative_location resource:Greece } UNION { ?y property:narrative_location resource:Greece } UNION { ?z property:narrative_location resource:United_States_of_America } UNION { ?y property:narrative_location resource:United_States_of_America } UNION { ?z property:narrative_location resource:Greece } UNION { ?y property:narrative_location resource:Greece } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:work_of_art }
[]
collectable work of art
Quantitative|Count|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P840 resource:Q2610369 } UNION { ?y property:P840 resource:Q2610369 } UNION { ?z property:P840 resource:Q30 } UNION { ?y property:P840 resource:Q30 } UNION { ?z property:P840 resource:Q2610369 } UNION { ?y property:P840 resource:Q2610369 } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q838948 }
Did you mean United States of America ?
United States of America
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:narrative_location resource:Greece } UNION { ?y property:narrative_location resource:Greece } UNION { ?z property:narrative_location resource:United_States_of_America } UNION { ?y property:narrative_location resource:United_States_of_America } UNION { ?z property:narrative_location resource:Greece } UNION { ?y property:narrative_location resource:Greece } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Greece. Could you tell me the answer for that?
(c(Q2342494),P840,Q41) (c(Q838948),P840,Q41) (c(Q2342494),P840,Q30) (c(Q838948),P840,Q30) (c(Q2342494),P840,Q41) (c(Q838948),P840,Q41)
Q41
[{'concept': 'Q2342494'}, 'P840', 'Q41'] [{'concept': 'Q838948'}, 'P840', 'Q41'] [{'concept': 'Q2342494'}, 'P840', 'Q30'] [{'concept': 'Q838948'}, 'P840', 'Q30'] [{'concept': 'Q2342494'}, 'P840', 'Q41'] [{'concept': 'Q838948'}, 'P840', 'Q41']
[{'concept': 'collectable'}, 'narrative location', 'Greece'] [{'concept': 'work of art'}, 'narrative location', 'Greece'] [{'concept': 'collectable'}, 'narrative location', 'United States of America'] [{'concept': 'work of art'}, 'narrative location', 'United States of America'] [{'concept': 'collectable'}, 'narrative location', 'Greece'] [{'concept': 'work of art'}, 'narrative location', 'Greece']
[]
SYSTEM
6 collectables and 69 works of art
Q532633 Q3275474 Q7783792 Q4478964 Q152456 Q131840 Q759397 Q1578702 Q1576364 Q332330 Q22697488 Q1720976 Q661660 Q19898272 Q22815168 Q697646 Q5756662 Q13825110 Q990840 Q1856354 Q3484941 Q2944178 Q4003998 Q1571058 Q18639614 Q188850 Q1424825 Q517239 Q1057313 Q18603008 Q1962929 Q3212104 Q746583 Q600364 Q3888419 Q1456651 Q8029053 Q818710 Q1404361 Q1888486 Q1060293 Q10683876 Q1195822 Q1056328 Q10683877 Q19898299 Q3638873 Q2162663 Q7033337 Q1423540 Q3824199 Q1419210 Q3221025 Q2301215 Q935497 Q136605 Q3391495 Q16458 Q5480936 Q3621397 Q7729223 Q1517660 Q1570714 Q3563367 Q1113073 Q12882092 Q1430523 Q2482907 Q756882 Q2909183 Q1516287 Q3282945 Q5418385 Q40119 Q3518034
(c(Q2342494),P840,Q41) (c(Q838948),P840,Q41) (c(Q2342494),P840,Q30) (c(Q838948),P840,Q30) (c(Q2342494),P840,Q41) (c(Q838948),P840,Q41)
[ANSWER]
[{'concept': 'Q2342494'}, 'P840', 'Q41'] [{'concept': 'Q838948'}, 'P840', 'Q41'] [{'concept': 'Q2342494'}, 'P840', 'Q30'] [{'concept': 'Q838948'}, 'P840', 'Q30'] [{'concept': 'Q2342494'}, 'P840', 'Q41'] [{'concept': 'Q838948'}, 'P840', 'Q41']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P840 resource:Q2610369 } UNION { ?y property:P840 resource:Q2610369 } UNION { ?z property:P840 resource:Q30 } UNION { ?y property:P840 resource:Q30 } UNION { ?z property:P840 resource:Q2610369 } UNION { ?y property:P840 resource:Q2610369 } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q838948 }
The Greek Tycoon Madalena They Who Dare Morning Patrol Munich Eleni Sky Riders Tintin and the Golden Fleece Stella For Your Eyes Only Les quatre premiers livres des navigations et pérégrinations orientales Arrivano i titani Mediterraneo The Wretches Are Still Singing Eine Frau fährt um die Welt Sissi – Fateful Years of an Empress High Season The Magic Crystal The Brothers Bloom Phaedra Singapore Sling He Who Must Die A Pilot Returns Sea Fighting in Greece Evrydiki BA 2O37 Mamma Mia! Captain Corelli's Mandolin The Big Blue Tempest See You in Hell, My Darling Jupiter's Thigh The Case of the Scorpion's Tail Histories Swept Away Surprise Package Tsatsiki – vänner för alltid Wog Boy 2: Kings of Mykonos Zorba the Greek Shirley Valentine Antropophagus Chalte Chalte Sune i Grekland The Moon-Spinners The Magus The Anderssons in Greece The Zero Years Death on the Run The Travelling Players Night Journey Never on Sunday 40 Carats My Life in Ruins The Parting Song The Road to Corinthe Boy on a Dolphin Z Loafing and Camouflage The Sisterhood of the Traveling Pants 2 Observaciones (Pierre Belon) Arcadia Lost The Day the Fish Came Out The Mask of Dimitrios La Prise de Tournavos Voyage to the Orient Signs of Life The Loser Takes It All Escape to Athena I Am David The Guns of Navarone Before Midnight Topkapi A Woman at Her Window Evil: In the Time of Heroes The Sisterhood of the Traveling Pants Sweet Gang
6 collectables and 69 works of art
[{'concept': 'collectable'}, 'narrative location', 'Greece'] [{'concept': 'work of art'}, 'narrative location', 'Greece'] [{'concept': 'collectable'}, 'narrative location', 'United States of America'] [{'concept': 'work of art'}, 'narrative location', 'United States of America'] [{'concept': 'collectable'}, 'narrative location', 'Greece'] [{'concept': 'work of art'}, 'narrative location', 'Greece']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:narrative_location resource:Greece } UNION { ?y property:narrative_location resource:Greece } UNION { ?z property:narrative_location resource:United_States_of_America } UNION { ?y property:narrative_location resource:United_States_of_America } UNION { ?z property:narrative_location resource:Greece } UNION { ?y property:narrative_location resource:Greece } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
How many administrative territories are known to have diplomatic connections with exactly 12 administrative territories and political territories ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action equal
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 12
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?z WHERE { VALUES ( ?q ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?f rdf:type ?q } GROUP BY ?z } . FILTER ( ?w = 12 ) }
action count
action equal
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 12
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?z WHERE { VALUES ( ?q ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?f rdf:type ?q } GROUP BY ?z } . FILTER ( ?w = 12 ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
1
Q148
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action equal
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 12
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?z WHERE { VALUES ( ?q ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?f rdf:type ?q } GROUP BY ?z } . FILTER ( ?w = 12 ) }
People's Republic of China
1
action count
action equal
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 12
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?z WHERE { VALUES ( ?q ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?f rdf:type ?q } GROUP BY ?z } . FILTER ( ?w = 12 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5412391
P559
Q34442 Q79007 Q83620
USER
How many thoroughfares terminates at approximately the same number of roads and streets as Mustola harbor railway ?
(c(Q83620),P559,c(Q34442)|c(Q79007))
action count
action approx
action union
action find_tuple_counts
relation P559
type Q83620
type Q34442
action find_tuple_counts
relation P559
type Q83620
type Q79007
action count
action filter_multi_types
action find
entity Q5412391
relation P559
type Q34442
type Q79007
[{'concept': 'Q83620'}, 'P559', [{'concept': 'Q34442'}, {'concept': 'Q79007'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?y ) WHERE { { ?i property:P559 ?f . ?i rdf:type ontology:Q83620 . ?f rdf:type ontology:Q79007 } UNION { ?i property:P559 ?f . ?i rdf:type ontology:Q83620 . ?f rdf:type ontology:Q34442 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Q5412391 property:P559 ?x . { VALUES ( ?q ) { ( ontology:Q34442 ) ( ontology:Q79007 ) } . ?x rdf:type ?q } } } . FILTER ( ?y = ?n ) }
Mustola harbor railway
action count
action approx
action union
action find_tuple_counts
relation terminus
type thoroughfare
type road
action find_tuple_counts
relation terminus
type thoroughfare
type street
action count
action filter_multi_types
action find
entity Mustola harbor railway
relation terminus
type road
type street
[{'concept': 'thoroughfare'}, 'terminus', [{'concept': 'road'}, {'concept': 'street'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?y ) WHERE { { ?i property:terminus ?f . ?i rdf:type ontology:thoroughfare . ?f rdf:type ontology:street } UNION { ?i property:terminus ?f . ?i rdf:type ontology:thoroughfare . ?f rdf:type ontology:road } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Mustola_harbor_railway property:terminus ?x . { VALUES ( ?q ) { ( ontology:road ) ( ontology:street ) } . ?x rdf:type ?q } } } . FILTER ( ?y = ?n ) }
[]
road street thoroughfare
SYSTEM
692
Q2351856 Q13015455 Q13015457 Q750577 Q623656 Q17835802 Q15931242 Q2351720 Q17853012 Q1124023 Q6323251 Q11864434 Q13608230 Q15920412 Q5666591 Q1117140 Q2674092 Q19867704 Q6456295 Q886853 Q20972427 Q19852655 Q10611557 Q2174778 Q2351996 Q1124897 Q6585966 Q16928688 Q1173135 Q27454872 Q1499120 Q2351158 Q4649056 Q751513 Q10712571 Q6517269 Q10713250 Q1117221 Q200906 Q1425351 Q20972648 Q924978 Q20972640 Q17847965 Q21933166 Q17019836 Q6305457 Q93370 Q20972627 Q886891 Q93472 Q2350367 Q2138240 Q93493 Q27305962 Q18393871 Q2171644 Q886679 Q449983 Q487643 Q449987 Q449988 Q449989 Q751429 Q17865124 Q27110439 Q862417 Q981645 Q839227 Q6305051 Q15113524 Q1375855 Q613422 Q886883 Q11494533 Q205511 Q19370797 Q893314 Q1960509 Q15684197 Q886811 Q11433133 Q886701 Q2351889 Q23724473 Q623617 Q802903 Q2106670 Q11494584 Q798119 Q1054520 Q11444216 Q2653816 Q2484477 Q26710433 Q4873303 Q2492484 Q3333809 Q2492480 Q530229 Q808737 Q8095333 Q569863 Q2577223 Q892801 Q493305 Q2352449 Q2386919 Q799053 Q11869760 Q623709 Q751255 Q1057355 Q886926 Q751557 Q4648785 Q2350354 Q1040703 Q13522761 Q900758 Q1141062 Q911774 Q900756 Q900753 Q15618720 Q493120 Q777446 Q17465080 Q15733224 Q23718872 Q15733221 Q961564 Q802193 Q10604965 Q818979 Q22083666 Q3239019 Q892701 Q11401365 Q892793 Q2174886 Q7388229 Q2350328 Q772599 Q399988 Q436506 Q20972633 Q4816379 Q1158780 Q1192388 Q3377829 Q10542535 Q750275 Q21588006 Q10515359 Q2237355 Q624116 Q772342 Q13580416 Q493449 Q803099 Q18001824 Q489582 Q16555751 Q750680 Q2351402 Q10541888 Q322013 Q16993741 Q2350037 Q2506779 Q750925 Q886745 Q2171614 Q15021007 Q17836398 Q11494605 Q2488789 Q15021003 Q2239874 Q4412133 Q5187750 Q11494654 Q10713184 Q886611 Q808698 Q26710592 Q439506 Q10686725 Q2663638 Q798427 Q17832861 Q21451085 Q2172233 Q15294144 Q843157 Q6863364 Q2373640 Q772230 Q1375818 Q2351916 Q886844 Q17061504 Q668655 Q918865 Q751603 Q6765820 Q18028149 Q2442449 Q15544859 Q11757076 Q2492458 Q2492455 Q5322442 Q2492453 Q6585979 Q17852687 Q5096033 Q961520 Q11494708 Q15955093 Q13426711 Q623672 Q7274825 Q929825 Q2451115 Q802717 Q18518840 Q741981 Q887001 Q2312075 Q452338 Q453223 Q12332814 Q1261392 Q4698600 Q798163 Q93395 Q801990 Q195685 Q10534598 Q1243887 Q1031801 Q377941 Q1052566 Q177444 Q15733272 Q2504345 Q19195 Q750858 Q5412391 Q15984114 Q20980361 Q11059214 Q750969 Q4165547 Q892737 Q2754967 Q2351254 Q17853211 Q798263 Q409036 Q2351095 Q1844771 Q798979 Q17632194 Q2171658 Q14867517 Q4863162 Q10527195 Q13419340 Q11850292 Q886538 Q647060 Q2350668 Q493380 Q1960452 Q10669712 Q981632 Q1117193 Q20972593 Q2351897 Q3544570 Q886712 Q20972595 Q2351951 Q2448972 Q8095839 Q750562 Q17850130 Q2624973 Q11863961 Q886983 Q2171577 Q741818 Q20971212 Q886249 Q1194990 Q16269357 Q2351189 Q7850362 Q54313 Q1231658 Q2287468 Q886939 Q886934 Q11898755 Q6385612 Q10515358 Q26461420 Q886183 Q3375856 Q2350574 Q2492475 Q886973 Q436274 Q94975 Q2492463 Q1052967 Q94873 Q10553386 Q10553385 Q10939164 Q771932 Q26460491 Q15177551 Q2504300 Q11889855 Q1244661 Q2175099 Q774279 Q21451003 Q892773 Q18002953 Q798226 Q26461726 Q658777 Q2282817 Q4931167 Q17200 Q1067748 Q1282013 Q2669290 Q2494181 Q20972621 Q751583 Q2171757 Q17451862 Q5445974 Q2492301 Q2171599 Q11494388 Q18014906 Q18014905 Q4649206 Q2350878 Q1142773 Q5383902 Q3931896 Q809075 Q1347825 Q20972590 Q27668364 Q1192413 Q2351597 Q1751620 Q1063924 Q18691265 Q15633020 Q1339535 Q483052 Q15633028 Q886752 Q2350385 Q2171623 Q11494667 Q1559 Q7420634 Q79914 Q11465032 Q1461194 Q93561 Q10708687 Q24088913 Q2627962 Q807242 Q10498772 Q10903891 Q623635 Q11092663 Q1117162 Q17848513 Q10527471 Q2753454 Q802189 Q284828 Q989369 Q10540316 Q623592 Q5599818 Q58767 Q8095350 Q1116416 Q2350739 Q2174691 Q5410745 Q18679137 Q19851978 Q18661967 Q842649 Q10543595 Q802642 Q802846 Q623830 Q258194 Q2098330 Q18355647 Q4930439 Q802516 Q13360900 Q1885499 Q453256 Q19183 Q3508646 Q3375888 Q2289338 Q17060618 Q906312 Q2350540 Q2172683 Q21933142 Q356958 Q4649245 Q3356040 Q1853218 Q484317 Q5368210 Q803526 Q15099440 Q135176 Q23650510 Q23650512 Q5131179 Q406815 Q270391 Q10649960 Q2492459 Q7567359 Q10903987 Q10903989 Q892726 Q2108 Q2171667 Q20972613 Q624261 Q907700 Q452380 Q661935 Q940985 Q17865123 Q5139684 Q5041326 Q399991 Q4412494 Q2234955 Q1312127 Q798321 Q2351623 Q1999207 Q2006352 Q450005 Q892797 Q886729 Q892798 Q5187608 Q19189 Q10901953 Q845954 Q15744689 Q327162 Q1348422 Q11494648 Q800558 Q7331054 Q623768 Q432634 Q483339 Q18001633 Q18001630 Q94369 Q19851644 Q961471 Q11467303 Q2175090 Q623569 Q2505168 Q20972605 Q452775 Q5330513 Q439443 Q2113510 Q10539321 Q20972659 Q1032078 Q2174789 Q14081038 Q656122 Q205158 Q798037 Q3353393 Q798131 Q2442501 Q15684334 Q453164 Q2492471 Q3509784 Q94967 Q17854950 Q10841015 Q830483 Q19852938 Q26461544 Q10613205 Q1963292 Q482782 Q20972652 Q10541607 Q1116387 Q11874688 Q906598 Q1029259 Q751057 Q624133 Q687438 Q11494819 Q989559 Q11065233 Q3239962 Q802556 Q1173265 Q842701 Q10650516 Q802972 Q12300331 Q27626349 Q809049 Q432593 Q10533562 Q809041 Q20972841 Q21992852 Q11876329 Q93546 Q2174997 Q18014913 Q1063832 Q2171631 Q1800353 Q797920 Q2171637 Q449994 Q2350399 Q449999 Q18002943 Q11494677 Q20192 Q704426 Q20739528 Q886898 Q1066118 Q1369102 Q11893200 Q803083 Q11903262 Q17064843 Q751201 Q803121 Q17837732 Q11494690 Q2466781 Q2484474 Q1094251 Q10947152 Q19867697 Q886863 Q94971 Q655169 Q1053425 Q688772 Q20972477 Q20998 Q663526 Q26460278 Q453380 Q1052288 Q10434645 Q905811 Q1814953 Q18014862 Q367909 Q17488 Q10858021 Q799041 Q24239405 Q7100126 Q493338 Q6781594 Q559037 Q10396955 Q623695 Q2351802 Q10883484 Q19370782 Q900763 Q54725 Q26461013 Q3053436 Q802562 Q887021 Q3743541 Q798013 Q4223417 Q2351976 Q2198532 Q10570004 Q369432 Q798999 Q4426321 Q20388 Q1754353 Q20972843 Q13415280 Q1052748 Q3375474 Q23718869 Q11494727 Q440540 Q11883779 Q2492469 Q809127 Q892718 Q2351277 Q93660 Q2351374 Q819141 Q798202 Q3430286 Q16970384 Q6414436 Q21450640 Q20972603 Q20972600 Q20972483 Q17833914 Q418095 Q479904 Q4568805 Q3352051 Q13416598 Q2350487 Q798299 Q1052510 Q1798321 Q624101 Q19366475 Q19775096 Q449975 Q449977 Q449979 Q159861 Q16928656 Q798335 Q2718918 Q27306342 Q760038 Q750699 Q15614024 Q2180506 Q19191 Q2172150 Q19193 Q19192 Q76804 Q19194 Q4176756 Q892786 Q10903982 Q989339 Q17846349 Q10548393 Q3735728 Q989335
(c(Q83620),P559,c(Q34442)|c(Q79007))
action count
action approx
action union
action find_tuple_counts
relation P559
type Q83620
type Q34442
action find_tuple_counts
relation P559
type Q83620
type Q79007
action count
action filter_multi_types
action find
entity Q5412391
relation P559
type Q34442
type Q79007
[ANSWER]
[{'concept': 'Q83620'}, 'P559', [{'concept': 'Q34442'}, {'concept': 'Q79007'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?y ) WHERE { { ?i property:P559 ?f . ?i rdf:type ontology:Q83620 . ?f rdf:type ontology:Q79007 } UNION { ?i property:P559 ?f . ?i rdf:type ontology:Q83620 . ?f rdf:type ontology:Q34442 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Q5412391 property:P559 ?x . { VALUES ( ?q ) { ( ontology:Q34442 ) ( ontology:Q79007 ) } . ?x rdf:type ?q } } } . FILTER ( ?y = ?n ) }
Interstate 196 Paknam Railway Line Maeklong Railway South Dakota Highway 15 California State Route 75 Pemberton–Northcliffe Road Wanming Road Interstate 94 in Michigan Kulija Road Piccadilly Main road 66 Iisalmi–Ylivieska railway Oklahoma State Highway 7 Spur Xuanwumen Outer Street Harrow Road Pennsylvania Route 160 Troldhede-Kolding-Vejen Jernbane U.S. Route 33 in Michigan L.L. Tisdale Parkway Nevada State Route 207 U.S. Route 9 Business Wenchanghutong Orivesi–Jyväskylä railway U.S. Route 60 in Oklahoma Interstate 675 D6 motorway Southern Line Beiwei Road Pennsylvania Route 239 Beijing West Railway Station South Road Pennsylvania Route 642 U.S. Route 10 in Michigan A24 road South Dakota Highway 32 Huopalahti–Vantaankoski railway Legacy Way Seinäjoki–Vaasa railway Pennsylvania Route 164 RER C RER D Delaware Route 24 Alternate Dublin Port Tunnel Delaware Route 14 Truck Beeliar Drive Lübeck–Büchen railway Viking Coastal Trail Oulu–Kontiomäki railway Interstate 4 Delaware Route 9 Truck Nevada State Route 223 Interstate 15 County Road 510 European route E312 Interstate 16 Fengke Road The Tudor Trail Interstate 44 in Oklahoma Nevada State Route 140 U.S. Route 2 in Michigan AREX Business US Highway 41 (Marquette, Michigan) U.S. Route 41 in Michigan Business M-28 South Dakota Highway 30 Kenwick Link New Delhi–Mumbai main line Helsinki–Riihimäki railway Interstate 40 in New Mexico U.S. Route 141 Riihimäki–Lahti railway Interstate 90 in Wyoming European route E313 European route E311 Nevada State Route 221 Aichi Prefectural Road Route 282 Stane Street U.S. Route 18 Bypass Long Acre Lille Nord K-44 Nevada State Route 168 N40 road Nevada State Route 156 Interstate 275 Business Loop Interstate 69 (Charlotte, Michigan) California State Route 54 Nuremberg–Crailsheim railway Frederikssundbanen Aichi Prefectural Road Route 328 U.S. Route 9 in Delaware Hankyū Kōbe Main Line New Southern railway line Assensbanen Minnesota State Highway 3 Nevada State Route 79 Port Klang Line Ohio State Route 450 Sahel Metro Ohio State Route 446 D1 motorway South Dakota Highway 49 Tampere–Haapamäki railway Helsinki–Turku railway A3 road U.S. Route 6 in Nevada California State Route 186 Connector M-13 Hornbæk Line Puncheon Run Connector Main road 65 California State Route 125 South Dakota Highway 28 Illinois Route 158 Nevada State Route 229 South Dakota Highway 34 A1068 road County Road 492 Tōbu Tōjō Line U.S. Route 83 in Kansas D2 motorway Cross City Tunnel Aonami Line D3 motorway D2 motorway North Dakota Highway 54 California State Route 70 Hungarian road 442 Utmarksvägen U.S. Route 87 in Wyoming U.S. Route 112 Interstate 25 in Wyoming K-3 (Kansas highway) Dresden–Werdau railway Turku–Uusikaupunki railway Interstate 80 in Nevada De Vere Gardens Île-de-France tramway Line 7 Summerlin Parkway Kita-Osaka Kyuko railway Namboku Line U.S. Route 95 in Nevada U.S. Route 169 in Oklahoma S25 C-66 South Dakota Highway 45 Interstate 805 U.S. Route 24 in Michigan Delaware Route 10 Alternate Atlantic Coast Line, Cornwall Florence–Rome railway Tōkyū Ikegami Line Kerava–Lahti railway Kaknäsvägen South Dakota Highway 10 Engelsdorf–Leipzig-Connewitz railway line Haapamäki–Seinäjoki railway Horsens-Bryrup-Silkeborg Railway California State Route 195 South Dakota Highway 44 Vejle-Vandel-Grindsted Jernbane California State Route 282 Sydbanen Meadow Street Donghae Nambu Line Bari–Barletta railway line South Dakota Highway 17 U.S. Route 127 in Michigan M202 railway (Croatia) Kiel–Lübeck railway Hastings Line Black River National Forest Scenic Byway Legacy Parkway South Dakota Highway 22 Nevada State Route 159 H. E. Bailey Turnpike Farm to Market Road 3487 Zamia Street Aichi Prefectural Road Route 348 Tornio–Kolari railway Farm to Market Road 471 Hawaii Route 93 Riihimäki–Tampere railway Cronulla railway line Aichi Prefectural Road Route 391 Kontiomäki–Vartius railway Nevada State Route 88 South Dakota Highway 47 U.S. Route 95 in Oregon Brockway Mountain Drive Seinäjoki–Kaskinen railway Brighton Main Line Delaware Route 9A The Esplanade Węgliniec–Görlitz railway line Oklahoma State Highway 30 U.S. Route 177 in Oklahoma Interstate 90 in Idaho Mincing Lane Sydney Harbour Tunnel South Dakota Highway 43 European route E232 Interstate 375 Nevada State Route 206 Kaeng Khoi Line RER E British Columbia Highway 1 South Dakota Highway 37 Maritime Line Muchea South Road Interstate 5 in Oregon North Orleans Road Pivka–Rijeka railway line Ohio State Route 420 Ohio State Route 416 A1 motorway Ohio State Route 412 Northeastern Line Dixon Road Chichibu Main Line K-2 Aichi Prefectural Road Route 440 Nanwei Road U.S. Route 259 in Oklahoma California State Route 905 R600 road M5 South Western Motorway Interstate 410 Lübeck–Lübeck-Travemünde Strand railway U.S. Route 91 in Utah Wrocław Świebodzki–Zgorzelec railway Nevada State Route 266 N91 road Pierce Stocking Scenic Drive U.S. Route 50 in Nevada Randers-Aalborg Line Drury Lane Airdrie-Bathgate Rail Link U.S. Route 40 in Delaware Interstate 12 Haparanda Line Seibu Shinjuku Line Joensuu–Ilomantsi railway Pennsylvania Route 309 Camí de Cavalls California State Route 7 Pennsylvania Route 29 Seibu Toshima Line Interstate 80 in Wyoming Texas State Highway NASA Road 1 Ridge Route South Dakota Highway 21 Mustola harbor railway Eastern Line (Thailand) Alfons Pieterslaan Bagou Road South Dakota Highway 25 Den vestjyske længdebane U.S. Route 93 Alternate Køgebugtbanen U.S. Route 27 in Michigan Mundijong Road Delaware Route 1 Airport Express Saint Joseph Valley Parkway East-West Link Delaware Route 896 Rancagua-Sewell railway line Interstate 240 California State Route 11 Barrack Street Hunduddsvägen U.S. Route 83 in Oklahoma Kemi–Ajos railway Nevada State Route 28 Hungarian road 44 Whitefish Bay National Forest Scenic Byway California State Route 198 Varde-Grindsted Jernbane Skansbacken Interstate 10 in New Mexico Pennsylvania Route 163 U.S. Route 13 Alternate Interstate 296 Vantaankoski–Tikkurila railway Nevada State Route 157 U.S. Route 13 Alternate Interstate 475 Interstate 95 in South Carolina Karis–Hanko railway South Dakota Highway 13 Parkin Street Thy Line Hyvinkää–Karkkila railway Nevada State Route 264 Cherokee Turnpike RER A Delaware Route 1 Business Las Vegas Beltway Thameslink Sawankhalok Line U.S. Route 12 in Michigan Tsuyama Line Roslagsbanan Lane Cove Tunnel A4 road Nevada State Route 231 Nevada State Route 230 Turku–Toijala railway New Hampshire Route 18 Haapamäki–Pori railway Weg Zanderij-Apoera Interstate 15 in Nevada Siilinjärvi–Viinijärvi railway H-63 Ohio State Route 444 Nevada State Route 233 U.S. Route 16 in Michigan Interstate 99 Ohio State Route 423 Pennsylvania Route 54 Interstate 80 Lahti–Kouvola railway Lahti–Heinola railway Tianbei Road South Dakota Highway 38 National road 2 A2 road Texas State Highway 357 Raitotie Pennsylvania Route 339 Will Rogers Turnpike South Dakota Highway 46 Zgorzelec–State border railway line U.S. Route 93 in Nevada London Street U.S. Route 301 in Delaware JFK Highway European route E233 Siegburger Bahn K-383 Gyeongbu Line Yotsubashi Line Vestbanen Boulevard Line Oregon Route 501 Delaware Route 5 Alternate South Dakota Highway 36 Oklahoma State Highway 1 Trollebergsvägen Fetter Lane Ohio State Route 300 Creek Turnpike Aichi Prefectural Road Route 131 Green Street Walcott Street A3 road U.S. Route 223 Tanimachi Line Epping to Chatswood railway line Odsherredsbanen South Dakota Highway 65 RER B U.S. Route 13 Business Brilliant Branch Midōsuji Line Interstate 69 in Michigan Murman Railway Odakyū Enoshima Line Ledmozero–Vartius railway South Dakota Highway 37A Pennsylvania Route 487 Gyeongwon Line South Dakota Highway 63 Nevada State Route 160 County Road 595 Indian Nation Turnpike Aichi Prefectural Road Route 404 Rhônexpress South West railway line Interstate 10 Illawarra railway line Lemvigbanen Interstate 17 Oulu–Tornio railway Angren–Pap railway line Grenaabanen Interstate 11 Juurikorpi–Hamina railway Beiyuan Road California State Route 79 Chaoyang Road Pennsylvania Route 162 Spearwood Avenue Huutokoski–Parikkala railway Nordbanen Dresden-Klotzsche–Dresden Airport railway Nagahori Tsurumi-ryokuchi Line West Rail Line Joensuu–Kontiomäki railway California State Route 94 Great Queen Street Trans-Siberian railway Seinäjoki–Oulu railway Pennsylvania Route 118 River Road National Scenic Byway Oklahoma State Highway 325 Haapamäki–Jyväskylä railway European route E30 in the Netherlands Huajiahutong Regional road 847 Seibu Chichibu Line Kouvola–Joensuu railway Leipzig–Hof railway Neukieritzsch–Chemnitz railway California State Route 115 Götaland road Hareskovbanen U.S. Route 13 Business Svendborgbanen Laurila–Kelloselkä railway Tōbu Skytree Line Main-Radweg Interstate 80 Business California State Route 78 I/2 road Pieksämäki–Joensuu railway Frederiksværk Line Chiang Mai Main Line Keiō Dōbutsuen Line H-33 Oklahoma State Highway 74 Lüneburg–Büchen railway Trans Canada Trail A4080 road Coast Line Moscow Monorail Gwacheon line Kabe Line Węgliniec-Zgorzelec railway Abernethy Road Odakyū Odawara Line County Road 502 County Road 550 Clem Jones Tunnel U.S. Route 8 Interstate 15 in California Kokemäki–Rauma railway Ohio State Route 421 South Gippsland railway line Beichen West Road Beichen Road U.S. Route 50 Alternate Interstate 696 Interstate 244 Delaware Route 2 Business California State Route 247 Chūō Line Interstate 355 Hirtshalsbanen Buntine Highway Shepperton Road Cockspur Street Carlingford Line Interstate 210 and State Route 210 Tampere–Pori railway Interstate 90 in Montana Taubertalradweg Delaware Route 3 Interstate 75 in Michigan Fjerritslev-Frederikshavn Line Langå-Struer Line Kansas Turnpike U.S. Route 95 Truck Nevada State Route 158 Nevada State Route 439 Cromer Street California State Route 57 West Road of North 3rd Ring Road Tōbu Nikkō Line Tornio–Haparanda railway European route E40 European route E17 Aichi Prefectural Road Route 385 South Pole Traverse Richmond railway line California State Route 98 U.S. Route 80 in California Ansan Line James Street Bridge Street Interstate 57 Dongtiejianghutong K-1 Old Main South railway line U.S. Route 412 in Oklahoma California State Route 76 Farm to Market Road 1956 Delaware Route 896 Business U.S. Route 113 Eastern Suburbs railway line Forest Highway 16 Colorado State Highway 75 Bennäs–Jakobstad railway Delaware Route 54 Alternate Finnish national road 8 U.S. Route 62 in Oklahoma Luumäki–Vainikkala railway Keiō Keibajō Line Pisa–La Spezia–Genoa railway Interstate 495 Gribskovbanen U.S. Route 13 in Delaware Interstate 10 in Texas K-49 U.S. Route 40 Alternate Ohio State Route 435 I/3 road Interstate 95 Jarrahdale Road Hanoi–Lào Cai line Interstate 515 Minkanghutong Indira Gandhiweg Murtomäki–Otanmäki railway Sekundærrute 305 Donghae Bukbu Line Delaware Route 30 Alternate Jyväskylä–Haapajärvi railway Pennsylvania Route 117 Simola–Lappeenranta railway Tōbu Isesaki Line Queich Valley Cycleway South Dakota Highway 26 California State Route 243 European route E50 Aichi Prefectural Road and Mie Prefectural Road Route 168 Lollandsbanen Jianguo Road Tours–Saint-Nazaire railway Copenhagen–Fredericia/Taulov Line Pennsylvania Route 254 Yokohama Minatomirai Railway Kodomonokuni Line Regional road 110 Paris–Bordeaux railway Aarhus Nærbane Guangqu Road South Dakota Highway 52 Orlyval Iisalmi–Kontiomäki railway South Dakota Highway 50 Delaware Route 1B Railway line Praha-Smíchov - Hostivice - Rudná u Prahy Loviisa–Vesijärvi railway Seibu Ikebukuro Line U.S. Route 266 Morley Drive East Odakyū Tama Line Interstate 35 in Oklahoma Northwest Line (Denmark) Interstate 95 in Delaware Interstate 40 in Oklahoma U.S. Route 23 in Michigan F-41 Chickasaw Turnpike Charles Street Aichi Prefectural Road Route 413 Gyeongchun Line P'yŏngŭi Line U.S. Route 1A Nevada State Route 225 Imazatosuji Line Yokohama Line Regional road 848 Skreia Line Kontiomäki–Ämmänsaari railway Ubon Ratchathani Main Line South Dakota Highway 27 Lille Syd Middleton Road Aichi Prefectural Road Route 424 Asti - Genoa line Minnesota State Highway 1 City Circle Line Anli Road U.S. Route 25 in Michigan Nevada State Route 208 Interstate 96 Farm to Market Road 1957 Pennsylvania Route 93 Smíchov – Hostivice railway line U.S. Route 9 Truck Gyeongin Line Strasbourg–Basel railway National road 1 Utah State Route 103 Nippō Main Line Tuomioja–Raahe railway Beijing–Guangzhou–Shenzhen–Hong Kong High-Speed Railway Skagensbanen Bulwer Street M50 motorway Gyeongui Line M8 motorway Old Baltimore Pike Miguan Road Orbost railway line California State Route 188 Marylebone High Street Trans-Mongolian Railway Jyväskylä–Pieksämäki railway California State Route 209 Interstate 194 Rendahuitang West Road Interstate 90 Business D5 motorway Interstate 5 afobakaweg Klampenborgbanen Oresund Line Nevada State Route 278 Padua Bologna railway Interstate 295 Delaware Route 1A Interstate 496 Ringbanen Lahti–Loviisa railway Interstate 580 Delaware Turnpike Nagaragawa Railway Etsumi-Nan Line Sinbundang Line Saltsjöbanan Delaware Route 1D Interstate 35 in Kansas Pennsylvania Route 42 Kouvola–Iisalmi railway U.S. Route 102 Aichi Prefectural Road Route 462 U.S. Route 131 Vilppula–Mänttä railway Ohio State Route 430 Interstate 90 in South Dakota U.S. Route 395 in Nevada U.S. Route 31 in Michigan Interstate 19 U.S. Route 45 in Michigan European route E34 U.S. Route 202 in Delaware Aarhus-Randers Line South Dakota Highway 71 Kinuura Tunnel State border–Görlitz railway line Delaware Route 896 Alternate Delaware Route 404 Business Delaware Route 404 Truck Orrong Road Texas State Highway 151 Lübeck–Puttgarden railway Vestbanen Fredericia–Århus Line Interstate 2 H-13 Delaware Route 2 Pennsylvania Route 26 Aalborg–Frederikshavn Line California State Route 177 North Dakota Highway 32 Thung Song Junction–Kantang railway line Capitol Loop H-58 Business M-28 Dresden–Görlitz railway Dongjing Road Delaware Route 4 European route E264 Tiyuguan Road Indiana State Road 3 South Dakota Highway 19 Suphanburi Line railroad Rødkærsbro - Silkeborg California State Route 52 Oklahoma State Highway 24 Interstate 8 California State Route 56 Tobu Urban Park Line California State Route 67 Nærum Line U.S. Route 95 Alternate Beichen East Road East Rail Line Ord Street Kouvola–Kotka railway Hyvinkää–Karis railway Ma On Shan Line
692
action count
action approx
action union
action find_tuple_counts
relation terminus
type thoroughfare
type road
action find_tuple_counts
relation terminus
type thoroughfare
type street
action count
action filter_multi_types
action find
entity Mustola harbor railway
relation terminus
type road
type street
[{'concept': 'thoroughfare'}, 'terminus', [{'concept': 'road'}, {'concept': 'street'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?y ) WHERE { { ?i property:terminus ?f . ?i rdf:type ontology:thoroughfare . ?f rdf:type ontology:street } UNION { ?i property:terminus ?f . ?i rdf:type ontology:thoroughfare . ?f rdf:type ontology:road } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Mustola_harbor_railway property:terminus ?x . { VALUES ( ?q ) { ( ontology:road ) ( ontology:street ) } . ?x rdf:type ?q } } } . FILTER ( ?y = ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q410377
P127
Q327333
USER
Who are the owners of U.S. Route 75 ?
(Q410377,P127,c(Q327333))
action filter_type
action find
entity Q410377
relation P127
type Q327333
['Q410377', 'P127', {'concept': 'Q327333'}]
SELECT DISTINCT ?o WHERE { resource:Q410377 property:P127 ?o . ?o rdf:type ontology:Q327333 }
U.S. Route 75
action filter_type
action find
entity U.S. Route 75
relation owned by
type government agency
['U.S. Route 75', 'owned by', {'concept': 'government agency'}]
SELECT DISTINCT ?o WHERE { resource:U.S._Route_75 property:owned_by ?o . ?o rdf:type ontology:government_agency }
[]
government agency
Q2171739 Q3315550 Q568743
SYSTEM
Oklahoma Department of Transportation, Minnesota Department of Transportation, Texas Department of Transportation
Q2171739 Q3315550 Q568743 Q4925916 Q4925621 Q5558445
(Q410377,P127,c(Q327333))
action filter_type
action find
entity Q410377
relation P127
type Q327333
The owners of U.S. Route 75 are the [ANSWERS]
['Q410377', 'P127', {'concept': 'Q327333'}]
SELECT DISTINCT ?o WHERE { resource:Q410377 property:P127 ?o . ?o rdf:type ontology:Q327333 }
Oklahoma Department of Transportation Minnesota Department of Transportation Texas Department of Transportation Kansas Department of Transportation Iowa Department of Transportation Nebraska Department of Roads
The owners of U.S. Route 75 are the Oklahoma Department of Transportation, Minnesota Department of Transportation and Texas Department of Transportation
Oklahoma Department of Transportation Minnesota Department of Transportation Texas Department of Transportation
action filter_type
action find
entity U.S. Route 75
relation owned by
type government agency
['U.S. Route 75', 'owned by', {'concept': 'government agency'}]
SELECT DISTINCT ?o WHERE { resource:U.S._Route_75 property:owned_by ?o . ?o rdf:type ontology:government_agency }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2171739
P108
Q502895
USER
Who works for that government agency ?
(c(Q502895),P108,Q2171739)
action filter_type
action find_reverse
entity Q2171739
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q2171739']
SELECT DISTINCT ?i WHERE { ?i property:P108 resource:Q2171739 . ?i rdf:type ontology:Q502895 }
Oklahoma Department of Transportation
action filter_type
action find_reverse
entity Oklahoma Department of Transportation
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Oklahoma Department of Transportation']
SELECT DISTINCT ?i WHERE { ?i property:employer resource:Oklahoma_Department_of_Transportation . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2171739
SYSTEM
Did you mean Oklahoma Department of Transportation ?
Q2171739 Q3315550 Q568743
(c(Q502895),P108,Q2171739) (c(Q502895),P108,Q3315550) (c(Q502895),P108,Q568743)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q2171739'] [{'concept': 'Q502895'}, 'P108', 'Q3315550'] [{'concept': 'Q502895'}, 'P108', 'Q568743']
SELECT DISTINCT ?i WHERE { ?i property:P108 resource:Q2171739 . ?i rdf:type ontology:Q502895 }
Oklahoma Department of Transportation Minnesota Department of Transportation Texas Department of Transportation
Did you mean Oklahoma Department of Transportation ?
Oklahoma Department of Transportation
[{'concept': 'common name'}, 'employer', 'Oklahoma Department of Transportation'] [{'concept': 'common name'}, 'employer', 'Minnesota Department of Transportation'] [{'concept': 'common name'}, 'employer', 'Texas Department of Transportation']
SELECT DISTINCT ?i WHERE { ?i property:employer resource:Oklahoma_Department_of_Transportation . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P108,Q2171739)
[{'concept': 'Q502895'}, 'P108', 'Q2171739']
[{'concept': 'common name'}, 'employer', 'Oklahoma Department of Transportation']
[]
Q5525830 Q11775770
SYSTEM
Gary Ridley, Mike Patterson
Q5525830 Q11775770
(c(Q502895),P108,Q2171739)
action filter_type
action find_reverse
entity Q2171739
relation P108
type Q502895
[ANSWERS] work for that government agency
[{'concept': 'Q502895'}, 'P108', 'Q2171739']
SELECT DISTINCT ?i WHERE { ?i property:P108 resource:Q2171739 . ?i rdf:type ontology:Q502895 }
Gary Ridley Mike Patterson
Gary Ridley and Mike Patterson work for that government agency
Gary Ridley Mike Patterson
action filter_type
action find_reverse
entity Oklahoma Department of Transportation
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Oklahoma Department of Transportation']
SELECT DISTINCT ?i WHERE { ?i property:employer resource:Oklahoma_Department_of_Transportation . ?i rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P108
Q327333
USER
How many government agencies are the employers of that person ?
(Q11775770,P108,c(Q327333))
['Q11775770', 'P108', {'concept': 'Q327333'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6848335 property:Q3053337 ?z . ?z rdf:type ontology:Q327333 }
['Mike Patterson', 'employer', {'concept': 'government agency'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Mike_Patterson property:employer ?z . ?z rdf:type ontology:government_agency }
[]
government agency
Quantitative|Count|Single entity type|Clarification
Q5525830
SYSTEM
Did you mean Gary Ridley ?
(Q5525830,P108,c(Q327333)) (Q11775770,P108,c(Q327333))
[ANSWER]
['Q5525830', 'P108', {'concept': 'Q327333'}] ['Q11775770', 'P108', {'concept': 'Q327333'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6848335 property:Q3053337 ?z . ?z rdf:type ontology:Q327333 }
Did you mean Gary Ridley ?
Gary Ridley
['Gary Ridley', 'employer', {'concept': 'government agency'}] ['Mike Patterson', 'employer', {'concept': 'government agency'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Mike_Patterson property:employer ?z . ?z rdf:type ontology:government_agency }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Mike Patterson. Could you tell me the answer for that?
(Q11775770,P108,c(Q327333))
Q11775770
['Q11775770', 'P108', {'concept': 'Q327333'}]
['Mike Patterson', 'employer', {'concept': 'government agency'}]
[]
SYSTEM
1
Q2171739
(Q11775770,P108,c(Q327333))
[ANSWER]
['Q11775770', 'P108', {'concept': 'Q327333'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6848335 property:Q3053337 ?z . ?z rdf:type ontology:Q327333 }
Oklahoma Department of Transportation
1
['Mike Patterson', 'employer', {'concept': 'government agency'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Mike_Patterson property:employer ?z . ?z rdf:type ontology:government_agency }
[]