Simple Question (Direct)
Simple Question
Q410063
P126
Q327333
USER
Who were the custodian of U.S. Route 70 ?
(Q410063,P126,c(Q327333))
action filter_type
action find
entity Q410063
relation P126
type Q327333
['Q410063', 'P126', {'concept': 'Q327333'}]
SELECT DISTINCT ?t WHERE { resource:Q410063 property:P126 ?t . ?t rdf:type ontology:Q327333 }
U.S. Route 70
action filter_type
action find
entity U.S. Route 70
relation maintained by
type government agency
['U.S. Route 70', 'maintained by', {'concept': 'government agency'}]
SELECT DISTINCT ?t WHERE { resource:U.S._Route_70 property:maintained_by ?t . ?t rdf:type ontology:government_agency }
[]
government agency
Q127743 Q7700070 Q807704
SYSTEM
California Department of Transportation, Tennessee Department of Transportation, Arizona Department of Transportation
Q2171739 Q568743 Q4079599 Q127743 Q7700070 Q807704
(Q410063,P126,c(Q327333))
action filter_type
action find
entity Q410063
relation P126
type Q327333
The custodian of U.S. Route 70 were the [ANSWERS]
['Q410063', 'P126', {'concept': 'Q327333'}]
SELECT DISTINCT ?t WHERE { resource:Q410063 property:P126 ?t . ?t rdf:type ontology:Q327333 }
Oklahoma Department of Transportation Texas Department of Transportation Arkansas State Highway and Transportation Department California Department of Transportation Tennessee Department of Transportation Arizona Department of Transportation
The custodian of U.S. Route 70 were the California Department of Transportation, Tennessee Department of Transportation and Arizona Department of Transportation
California Department of Transportation Tennessee Department of Transportation Arizona Department of Transportation
action filter_type
action find
entity U.S. Route 70
relation maintained by
type government agency
['U.S. Route 70', 'maintained by', {'concept': 'government agency'}]
SELECT DISTINCT ?t WHERE { resource:U.S._Route_70 property:maintained_by ?t . ?t rdf:type ontology:government_agency }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q807704
P127
Q83620
USER
Which thoroughfares are under posessision of Arizona Department of Transportation ?
(c(Q83620),P127,Q807704)
action filter_type
action find_reverse
entity Q807704
relation P127
type Q83620
[{'concept': 'Q83620'}, 'P127', 'Q807704']
SELECT DISTINCT ?d WHERE { ?d property:P127 resource:Q807704 . ?d rdf:type ontology:Q83620 }
Arizona Department of Transportation
action filter_type
action find_reverse
entity Arizona Department of Transportation
relation owned by
type thoroughfare
[{'concept': 'thoroughfare'}, 'owned by', 'Arizona Department of Transportation']
SELECT DISTINCT ?d WHERE { ?d property:owned_by resource:Arizona_Department_of_Transportation . ?d rdf:type ontology:thoroughfare }
[]
thoroughfare
Q410457 Q410063 Q410000
SYSTEM
U.S. Route 80, U.S. Route 70, U.S. Route 64
Q165347 Q815381 Q815387 Q93561 Q670722 Q798308 Q815147 Q670724 Q670601 Q410937 Q670521 Q815366 Q662399 Q670616 Q807275 Q815396 Q670597 Q670845 Q670483 Q452902 Q410000 Q410767 Q670454 Q670480 Q670583 Q670695 Q670690 Q472552 Q4924136 Q670662 Q670660 Q93660 Q807247 Q815389 Q807368 Q807242 Q670503 Q670506 Q815124 Q114785 Q670743 Q670457 Q646437 Q670673 Q678208 Q670778 Q815336 Q670474 Q815237 Q670471 Q658427 Q670766 Q670765 Q670645 Q815106 Q670567 Q807383 Q670569 Q807338 Q410457 Q670491 Q815113 Q815356 Q670798 Q670554 Q670796 Q815190 Q670814 Q670704 Q670811 Q815164 Q670708 Q807323 Q454841 Q670629 Q586020 Q670549 Q670781 Q670585 Q782606 Q670541 Q807847 Q598718 Q410826 Q670827 Q670733 Q19193 Q599860 Q807352 Q670539 Q815272 Q525990 Q410063 Q670495 Q815279 Q670613
(c(Q83620),P127,Q807704)
action filter_type
action find_reverse
entity Q807704
relation P127
type Q83620
[ANSWERS] are under posessision of Arizona Department of Transportation
[{'concept': 'Q83620'}, 'P127', 'Q807704']
SELECT DISTINCT ?d WHERE { ?d property:P127 resource:Q807704 . ?d rdf:type ontology:Q83620 }
Arizona State Route 84 Arizona State Route 373 Arizona State Route 473 Interstate 17 Arizona State Route 77 U.S. Route 466 Arizona State Route 303 State Route 78 Arizona State Route 386 U.S. Route 163 Arizona State Route 210 Arizona State Route 366 Arizona State Route 51 Arizona State Route 389 Interstate 10 in Arizona Arizona State Route 587 Arizona State Route 377 Arizona State Route 99 Arizona State Route 181 Interstate 15 in Arizona U.S. Route 64 U.S. Route 91 Arizona State Route 169 Arizona State Route 180A Arizona State Route 287 Arizona State Route 72 Arizona State Route 73 U.S. Route 191 White Tank Freeway Arizona State Route 68 Arizona State Route 67 Interstate 19 Interstate 40 in Arizona Arizona State Route 564 U.S. Route 89 in Arizona Interstate 11 Arizona State Route 188 Arizona State Route 189 Arizona State Route 989 Arizona State Route 97 Arizona State Route 82 Arizona State Route 101 U.S. Route 160 Arizona State Route 69 U.S. Route 180 Arizona State Route 88 Arizona State Route 288 Arizona State Route 179 Arizona State Route 153 Arizona State Route 177 Arizona State Route 202 Arizona State Route 87 Arizona State Route 86 Arizona State Route 66 Arizona State Route 24 Arizona State Route 277 U.S. Route 93 in Arizona Arizona State Route 286 U.S. Route 66 in Arizona U.S. Route 80 Arizona State Route 186 Arizona State Route 30 Arizona State Route 289 Arizona State Route 90 Arizona State Route 273 Arizona State Route 89A Arizona State Route 79 Arizona State Route 95 Arizona State Route 74 Arizona State Route 92 Arizona State Route 143 Arizona State Route 75 U.S. Route 60 in Arizona Arizona State Route 85 Arizona State Route 61 Arizona State Route 83 Arizona State Route 266 Arizona State Route 89 Arizona State Route 347 Arizona State Route 98 Arizona State Route 264 Pinal North–South Freeway Arizona State Route 71 U.S. Route 95 Arizona State Route 96 Arizona State Route 80 Interstate 8 Arizona State Route 64 U.S. Route 89A Arizona State Route 261 Arizona State Route 195 Arizona State Route 238 U.S. Route 70 Arizona State Route 187 Arizona State Route 260 Arizona State Route 387
U.S. Route 80, U.S. Route 70 and U.S. Route 64 are under posessision of Arizona Department of Transportation
U.S. Route 80 U.S. Route 70 U.S. Route 64
action filter_type
action find_reverse
entity Arizona Department of Transportation
relation owned by
type thoroughfare
[{'concept': 'thoroughfare'}, 'owned by', 'Arizona Department of Transportation']
SELECT DISTINCT ?d WHERE { ?d property:owned_by resource:Arizona_Department_of_Transportation . ?d rdf:type ontology:thoroughfare }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q410457 Q410063 Q410000
P361
Q83620
USER
What are a component of those ones ?
(c(Q83620),P361,Q410457) (c(Q83620),P361,Q410063) (c(Q83620),P361,Q410000)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q83620
[{'concept': 'Q83620'}, 'P361', 'Q410457'] [{'concept': 'Q83620'}, 'P361', 'Q410063'] [{'concept': 'Q83620'}, 'P361', 'Q410000']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q83620 . ?g property:P361 ?f . VALUES ( ?f ) { ( resource:Q165347 ) ( resource:Q815381 ) ( resource:Q815387 ) } }
U.S. Route 80 U.S. Route 70 U.S. Route 64
action filter_type
action find_reverse
entity prev_answer
relation part of
type thoroughfare
[{'concept': 'thoroughfare'}, 'part of', 'U.S. Route 80'] [{'concept': 'thoroughfare'}, 'part of', 'U.S. Route 70'] [{'concept': 'thoroughfare'}, 'part of', 'U.S. Route 64']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:thoroughfare . ?g property:part_of ?f . VALUES ( ?f ) { ( resource:Arizona_State_Route_84 ) ( resource:Arizona_State_Route_373 ) ( resource:Arizona_State_Route_473 ) } }
[]
thoroughfare
Q432634 Q13419289 Q13408662
SYSTEM
U.S. Route 80 in California, U.S. Route 70 in Oklahoma, U.S. Route 64 in Oklahoma
Q432634 Q13419289 Q13408662
(c(Q83620),P361,Q410457) (c(Q83620),P361,Q410063) (c(Q83620),P361,Q410000)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q83620
A component of those ones are [ANSWERS]
[{'concept': 'Q83620'}, 'P361', 'Q410457'] [{'concept': 'Q83620'}, 'P361', 'Q410063'] [{'concept': 'Q83620'}, 'P361', 'Q410000']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q83620 . ?g property:P361 ?f . VALUES ( ?f ) { ( resource:Q165347 ) ( resource:Q815381 ) ( resource:Q815387 ) } }
U.S. Route 80 in California U.S. Route 70 in Oklahoma U.S. Route 64 in Oklahoma
A component of those ones are U.S. Route 80 in California, U.S. Route 70 in Oklahoma and U.S. Route 64 in Oklahoma
U.S. Route 80 in California U.S. Route 70 in Oklahoma U.S. Route 64 in Oklahoma
action filter_type
action find_reverse
entity prev_answer
relation part of
type thoroughfare
[{'concept': 'thoroughfare'}, 'part of', 'U.S. Route 80'] [{'concept': 'thoroughfare'}, 'part of', 'U.S. Route 70'] [{'concept': 'thoroughfare'}, 'part of', 'U.S. Route 64']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:thoroughfare . ?g property:part_of ?f . VALUES ( ?f ) { ( resource:Arizona_State_Route_84 ) ( resource:Arizona_State_Route_373 ) ( resource:Arizona_State_Route_473 ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q432634 Q13419289 Q13408662
P16
Q34442
USER
Which roads are the highway systems for those thoroughfares ?
(Q432634,P16,c(Q34442)) (Q13419289,P16,c(Q34442)) (Q13408662,P16,c(Q34442))
action filter_type
action find
entity prev_answer
relation P16
type Q34442
['Q432634', 'P16', {'concept': 'Q34442'}] ['Q13419289', 'P16', {'concept': 'Q34442'}] ['Q13408662', 'P16', {'concept': 'Q34442'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q34442 . VALUES ( ?u ) { ( resource:Q432634 ) ( resource:Q13419289 ) ( resource:Q13408662 ) } . ?u property:P16 ?m }
U.S. Route 80 in California U.S. Route 70 in Oklahoma U.S. Route 64 in Oklahoma
action filter_type
action find
entity prev_answer
relation highway system
type road
['U.S. Route 80 in California', 'highway system', {'concept': 'road'}] ['U.S. Route 70 in Oklahoma', 'highway system', {'concept': 'road'}] ['U.S. Route 64 in Oklahoma', 'highway system', {'concept': 'road'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:road . VALUES ( ?u ) { ( resource:U.S._Route_80_in_California ) ( resource:U.S._Route_70_in_Oklahoma ) ( resource:U.S._Route_64_in_Oklahoma ) } . ?u property:highway_system ?m }
[]
road
Q408192 Q408192 Q408192
SYSTEM
United States Numbered Highways
Q408192 Q408192 Q408192
(Q432634,P16,c(Q34442)) (Q13419289,P16,c(Q34442)) (Q13408662,P16,c(Q34442))
action filter_type
action find
entity prev_answer
relation P16
type Q34442
[ANSWER], [ANSWER] and [ANSWER] are the highway systems for those thoroughfares
['Q432634', 'P16', {'concept': 'Q34442'}] ['Q13419289', 'P16', {'concept': 'Q34442'}] ['Q13408662', 'P16', {'concept': 'Q34442'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q34442 . VALUES ( ?u ) { ( resource:Q432634 ) ( resource:Q13419289 ) ( resource:Q13408662 ) } . ?u property:P16 ?m }
United States Numbered Highways United States Numbered Highways United States Numbered Highways
United States Numbered Highways, United States Numbered Highways and United States Numbered Highways are the highway systems for those thoroughfares
United States Numbered Highways United States Numbered Highways United States Numbered Highways
action filter_type
action find
entity prev_answer
relation highway system
type road
['U.S. Route 80 in California', 'highway system', {'concept': 'road'}] ['U.S. Route 70 in Oklahoma', 'highway system', {'concept': 'road'}] ['U.S. Route 64 in Oklahoma', 'highway system', {'concept': 'road'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:road . VALUES ( ?u ) { ( resource:U.S._Route_80_in_California ) ( resource:U.S._Route_70_in_Oklahoma ) ( resource:U.S._Route_64_in_Oklahoma ) } . ?u property:highway_system ?m }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P16
Q34442 Q83620
USER
How many roads are the network of routes for less number of thoroughfares than that road ?
(c(Q83620),P16,c(Q34442))
[{'concept': 'Q83620'}, 'P16', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q25631158 ?y . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q34442 }
[{'concept': 'thoroughfare'}, 'highway system', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:highway_system ?y . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:road }
[]
road thoroughfare
Comparative|Count over More/Less|Single entity type|Clarification
Q408192
SYSTEM
Did you mean United States Numbered Highways ?
(c(Q83620),P16,c(Q34442))
[ANSWER]
[{'concept': 'Q83620'}, 'P16', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q25631158 ?y . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q34442 }
Did you mean United States Numbered Highways ?
United States Numbered Highways
[{'concept': 'thoroughfare'}, 'highway system', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:highway_system ?y . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:road }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q83620),P16,c(Q34442))
[{'concept': 'Q83620'}, 'P16', {'concept': 'Q34442'}]
[{'concept': 'thoroughfare'}, 'highway system', {'concept': 'road'}]
[]
SYSTEM
14
Q1664068 Q16653151 Q26792858 Q10372229 Q561431 Q3456602 Q5177947 Q24282625 Q1407379 Q6825768 Q742208 Q1369525 Q12763914 Q24284451
(c(Q83620),P16,c(Q34442))
[ANSWER]
[{'concept': 'Q83620'}, 'P16', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q25631158 ?y . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q34442 }
Místní komunikace Western Europe — Western China motorway in Belgium Highway system of the state of Rio de Janeiro Bundesstraße French autoroute County routes in New Jersey National Routes of Bolivia National Routes of Argentina Mexican Federal Highway highway in Finland Shuto Expressway third-class roads in the Czech Republic National Routes of Uruguay
14
[{'concept': 'thoroughfare'}, 'highway system', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:highway_system ?y . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:road }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P559
Q34442 Q34442
USER
Which roads are a terminus for atleast 1 road ?
(c(Q34442),P559,c(Q34442))
action atleast
action find_reverse_tuple_counts
relation P559
type Q34442
type Q34442
value 1
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q34442'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P559 ?e . ?e rdf:type ontology:Q34442 . ?c rdf:type ontology:Q34442 } GROUP BY ?e } }
action atleast
action find_reverse_tuple_counts
relation terminus
type road
type road
value 1
[{'concept': 'road'}, 'terminus', {'concept': 'road'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:terminus ?e . ?e rdf:type ontology:road . ?c rdf:type ontology:road } GROUP BY ?e } }
[]
road road
Q1557823 Q1422024 Q1479591
SYSTEM
A4 motorway, A2 motorway, A59 motorway
Q15818433 Q15818431 Q10661345 Q10602579 Q11053012 Q3432062 Q10517486 Q10720407 Q19545950 Q12323643 Q1835243 Q10700092 Q12340757 Q17486163 Q15813242 Q7861748 Q15709832 Q10660128 Q15915275 Q19575890 Q11892668 Q1953180 Q2063769 Q10717752 Q10591867 Q18962736 Q4570166 Q2345968 Q11706754 Q19316278 Q19263327 Q7651714 Q15649855 Q10430996 Q15649708 Q15813235 Q15813233 Q15829802 Q2246546 Q10526403 Q3375647 Q10636001 Q1512120 Q12334066 Q10718255 Q10508714 Q15745389 Q10685673 Q10604991 Q10466054 Q10525252 Q1876008 Q15719299 Q10713471 Q1935971 Q10699034 Q19345502 Q19658314 Q19199066 Q12334561 Q1338804 Q2079588 Q15736561 Q19403892 Q6747143 Q18660803 Q10436980 Q1422024 Q19482272 Q19121244 Q2160498 Q1674847 Q12344074 Q11090023 Q10684482 Q17379423 Q17379745 Q15728920 Q17379740 Q10503183 Q15120837 Q11869047 Q12318932 Q17451951 Q15848286 Q836909 Q12338726 Q1516093 Q15129464 Q10681579 Q19118345 Q7542372 Q4631453 Q15804558 Q12314725 Q10561376 Q10658724 Q1788276 Q15885626 Q10908343 Q1933910 Q2113982 Q2113981 Q12312799 Q10655520 Q10661346 Q10606799 Q19522495 Q15955268 Q2752186 Q11090018 Q10526725 Q3380264 Q10700359 Q3432537 Q15814038 Q17111245 Q15739781 Q12331877 Q10480563 Q10715333 Q15735753 Q10931763 Q3450514 Q3429049 Q10489188 Q18947477 Q15802095 Q4566771 Q19575949 Q10418516 Q10418517 Q5399045 Q10650978 Q15651133 Q10705417 Q10682193 Q7309831 Q15649549 Q10501281 Q15902031 Q15698004 Q15784160 Q18071190 Q10728072 Q3050156 Q10543155 Q10672528 Q15784485 Q15651129 Q943946 Q10681082 Q19631998 Q11063275 Q16928653 Q2453912 Q10572547 Q10418184 Q12325236 Q11061950 Q4566017 Q15632521 Q10691873 Q15854261 Q10562858 Q10641349 Q1960424 Q10713229 Q2049033 Q10677438 Q11080044 Q10728353 Q13015299 Q10689042 Q15649683 Q15651115 Q779444 Q3323272 Q12327257 Q10405684 Q12313475 Q15887908 Q10613662 Q19599804 Q3434133 Q11995702 Q1469578 Q2113972 Q2127875 Q1559735 Q1476638 Q5398377 Q10505154 Q7628957 Q15813185 Q12340735 Q7050867 Q15730100 Q10572140 Q10572148 Q15632120 Q12303606 Q11090017 Q7825197 Q11090019 Q3387215 Q15813238 Q1798115 Q19429896 Q15931840 Q10641315 Q10498797 Q10527511 Q19511746 Q2496208 Q10671097 Q10527100 Q14178280 Q10718395 Q2925286 Q15745499 Q10428499 Q15632517 Q5559427 Q1925337 Q10726957 Q15618597 Q2391108 Q2863936 Q15887881 Q10570725 Q27853995 Q4801129 Q7655025 Q15848271 Q10903218 Q15802429 Q5613683 Q12313283 Q2046735 Q11869021 Q19258347 Q3140664 Q18123845 Q15728122 Q19195716 Q6936732 Q10595667 Q10512349 Q10727442 Q3272030 Q10688880 Q5684026 Q24705808 Q10550335 Q15649655 Q10928273 Q15728130 Q15728132 Q10609262 Q1903448 Q785402 Q22100035 Q10572109 Q15814007 Q10572106 Q15814003 Q6019749 Q15870363 Q5136521 Q12312494 Q839619 Q15805244 Q1553809 Q14541043 Q654031 Q11065245 Q2092837 Q15649571 Q10549471 Q15649575 Q10720452 Q15649579 Q18952065 Q13313473 Q23301880 Q17111229 Q3381005 Q15699976 Q1479591 Q14922950 Q19566374 Q10726192 Q15739760 Q2551156 Q12317648 Q10550886 Q15724830 Q10314794 Q646268 Q10613433 Q15848334 Q10594611 Q14178223 Q3380382 Q15838817 Q15979752 Q2462535 Q3344057 Q4943680 Q12337455 Q10681119 Q12329212 Q18964449 Q10418051 Q17444669 Q15926006 Q10576082 Q12337357 Q2093936 Q15854274 Q10691845 Q12333856 Q160899 Q10487724 Q10602871 Q3380335 Q5105706 Q2226662 Q24661520 Q15784303 Q10674345 Q10551492 Q7916306 Q10550371 Q5464624 Q12321124 Q15943072 Q18954385 Q15694750 Q21855562 Q15613950 Q15613954 Q2314833 Q18955730 Q15265855 Q877007 Q8079066 Q10532195 Q19634420 Q2113967 Q23309196 Q10903032 Q15813218 Q430370 Q18953340 Q15813214 Q15813190 Q5499323 Q15113428 Q10602450 Q12329634 Q2301854 Q10426539 Q1865839 Q785481 Q10870015 Q18918299 Q12332847 Q19291893 Q12325385 Q10572607 Q2284573 Q15813999 Q10532217 Q11992955 Q2061534 Q15813995 Q10700114 Q7619891 Q392713 Q1279817 Q15814044 Q10546043 Q15632498 Q15801677 Q10546048 Q2466934 Q10540507 Q10519456 Q2640101 Q17163622 Q11850691 Q12304195 Q15700674 Q8079244 Q1859275 Q11143803 Q1666761 Q10498840 Q10676629 Q5451014 Q2887744 Q679282 Q10532361 Q10478625 Q15898831 Q11990783 Q12325259 Q10669372 Q12335322 Q15649560 Q12311005 Q10604249 Q447309 Q19286660 Q2319434 Q2523030 Q15854241 Q15854240 Q10679910 Q15854248 Q15818421 Q16434047 Q15818425 Q10465848 Q15802854 Q1557823 Q2152975 Q2118454 Q10550321 Q19429910 Q15728128 Q18661480 Q17444686 Q17451637 Q15728121 Q15728127 Q13015285 Q21748848 Q7620080 Q15909433 Q21683407 Q15713793 Q13015229 Q8959958 Q2240391 Q12314006 Q7923412 Q11977596 Q2113951 Q10688825 Q15649844 Q15715637 Q19282845 Q16928668 Q17639897 Q15813244 Q2066219 Q12312797 Q10496638 Q15649565 Q15725671 Q15725670 Q15649562 Q2137946 Q6552137 Q15780506 Q18949734 Q10551610 Q3451989 Q21605510 Q4276816 Q4908758 Q15905329 Q18960428 Q15782721 Q2152999 Q10667299 Q12336508 Q6936729 Q18960720 Q1604527 Q10680963 Q10725782 Q10575227 Q3442591 Q15955741 Q2320048 Q15848285 Q12337444 Q1784648 Q10474961 Q12329613 Q10543777 Q12333842 Q2223266 Q2380528 Q15934246 Q10602696 Q10544317 Q2122164 Q18193310 Q12332864 Q2729678 Q685888 Q1386673 Q19551423 Q10524699 Q4909118 Q928901 Q2794048 Q15116455 Q3451807 Q15745240 Q785443 Q3380402 Q16928650 Q10600821 Q10638085 Q2273614 Q15736443 Q10870819 Q10728300 Q2786015 Q15950649 Q10688901 Q10550319 Q18385700 Q22334364 Q15920284 Q589064 Q15145497 Q11300590 Q10684145 Q15736381 Q10688861 Q10604375 Q10650487 Q10535336 Q10435027 Q17641358 Q3027016 Q10869692 Q10681269 Q17641298 Q15940010 Q18071213 Q2223497 Q15735746 Q2739753 Q19575951 Q19548524 Q15830813 Q15830810 Q2286194 Q15830816 Q12329712 Q10376645 Q12344367 Q12344361 Q2060424 Q7541445 Q21748995 Q26714332 Q10707709 Q12326215 Q10477000 Q15618601 Q785246 Q1821717 Q10549273 Q12341786 Q3363759 Q15848314 Q9210868 Q1716983 Q2566891 Q17451909 Q677808 Q1903183 Q12303796 Q15697954 Q15883867 Q10467140
(c(Q34442),P559,c(Q34442))
action atleast
action find_reverse_tuple_counts
relation P559
type Q34442
type Q34442
value 1
[ANSWERS] are a terminus for atleast 1 road
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q34442'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P559 ?e . ?e rdf:type ontology:Q34442 . ?c rdf:type ontology:Q34442 } GROUP BY ?e } }
Maximilianstraße Gangolfstraße Sankt Eriksgatan Norra Stationsgatan Chongwenmen Outer Street Amaliegade Hantverkargatan Wittstocksgatan Staartweg Landemærket Provincial road N331 Torggatan Vester Farimagsgade Bryggaregatan Bonner Straße Tyska brinken Rolandsecker Weg Sahlgrensgatan Guangningbo Street Usselerrondweg Savilahdentie N225 road Phahonyothin Road Värtavägen Myntgatan Borneolaan Malmskillnadsgatan Sternstraße Bělohorská Kwelderweg Houtribweg Svartmangatan Heinrich-Brüning-Straße Blasieholmsgatan Nachtigallenweg Eugen-Langen-Straße Leyboldstraße Björngårdsgatan Plantage Doklaan Hornsbergs strand Østerbrogade Polhemsgatan A28 motorway Ryvangen Västra Hamngatan Grev Turegatan Auf dem Schnitzenbusch Svensksundsvägen Nytorgsgatan Dalagatan Holländargatan N214 road Flurgasse Vattugatan N217 road Tjärhovsgatan Middellaan Willemsweg Havenweg Sankt Jakobs Gade Norr Mälarstrand Petersburger Straße Rheinhöhenweg P. Hans Frankfurthersingel Købmagergade Merikoskenkatu Brännkyrkagatan A2 motorway Rotterdamseweg Europa-allee N244 road Istedgade Vordingborggade Jingshan West Street Svartensgatan Vorgebirgsstraße Brunnenallee Berliner Straße Koblenzer Straße Garvargatan Kungstensgatan Kaivokatu Jagtvej Brunnsgatan Bahnhofsallee Kungsgatan Tagensvej Södra länken Hornsbruksgatan Strandvejen Entrepothof Slussplan N99 motorway Am Hof Gyldenløvesgade Lidingövägen Rålambshovsleden Sveavägen Habsburgerstraße Nanheyan Street N253 road Provincial road N34 Provincial road N302 Frederiksborgvej Ringvägen Sankt Eriksgatan Odengatan Sneekermeer Østergade De Berekuil Jingshan Front Street Hovslagargatan Nørre Voldgade Torsgatan Bredgade Hainbuchenweg Sølvgade Heinrich-Lübke-Straße Pile Allé Ekelundsgatan Viktoriagatan Königstraße Fuxingmen North Street rue d'Espagne Gothersgade Essinge Brogata Wittenburgerweg Olof Gjödingsgatan Sankt Paulsgatan Utrechtseweg Arsenalsgatan Arsenalsgatan Esplanaden Renstiernas gata Selhofer Straße Tryckerigatan Strömgatan Rehnsgatan Bahnhofstraße Föreningsgatan Plittersdorfer Straße Bayenthalgürtel Willy-Brandt-Allee Lasarettsgatan Östermalmsgatan Erottaja Kammakargatan Smålandsgatan Rheinweg Karl-Simrock-Straße Nyhavn Stora Nygatan Veluwemeer Fuyou Street Sanlihenanheng Street N232 road Långbrodalsvägen Armfeltsgatan Lyngby Hovedgade Guanganmen Inner Street Själagårdsgatan Karlstraße Tegnérgatan Austraße Linnégatan Prästgatan Provincial road N711 Varvsgatan N48 motorway Stallgatan Wenjin Street Östra Larmgatan Arun Amarin road Södra Vägen Am Spitzenbach Rheinpromenade Bishopsgate Provincial road N201 Mimersgade Allmänna gränd Gammel Kalkbrænderi Vej Ludwig-Erhard-Allee Oxenstiernsgatan Veerstoep Holmens Kanal Pilestræde A16 motorway N261 road Cameretten Götgatan A50 motorway Puijonlaaksontie Gjörwellsgatan Sturegatan Marienburger Straße Vermundsgade Nordre Toldbod Heisterbacher Straße Stockholm county road 271 Länsväg 279 Friedrich-Wilhelm-Straße Bispeengbuen Jingshan East Street Krystalgade Jingshan Back Street G1501 Guangzhou Ring Expressway Von-Groote-Straße Västerlånggatan Prins Bernhardlaan Beichang Street Pryssgränd Fredsgatan Hvitfeldtsgatan Schoonenburglaan N233 road Skånegatan Humlegårdsgatan Provincial road N368 Västra Trädgårdsgatan N234 road Bergstraße Bergsgatan Linzer Straße Vrouwjuttenland N14 road Åsögatan Luisenstraße St. Anna Street Provincial road N765 Godesberger Allee Lundagatan Karlovarská Artillerigatan Swedish national road 73 Pfefferstraße Beiheyan Street Apelbergsgatan Guangshen Expressway Fælledvej Sarphatistraat Kaisaniemenkatu Hogelandsterweg Hornsgatan Karl Johansgatan Hauptstraße Havenplein Munkbroleden Nedre Kvarnbergsgatan Gärdesgatan Örbyleden Provincial road N208 Södra Esplanaden Havnegade Thanon Itsaraphap Kungshöjdsgatan Frankenweg Dianmen Outer Street Bürresheimer Straße Rheinstraße Olof Palmes gata Provincial road N46 G20 Qingdao–Yinchuan Expressway Deshengmen Outer Street Swedish county road 226 Siebengebirgsweg Swedish county road 222 Im Ellig Indiakaj Agnegatan Haagweg Fredensgade Hamngatan Remigiusstraße Phet Kasem Road Heussallee A9 motorway Jianguomen South Street Provincial road N367 Menzenberger Straße Kronobergsgatan Schulstraße Wollmar Yxkullsgatan Beueler Straße Zeedijk Kurt-Schumacher-Straße Vindebrogade Smallegade Bellmansgatan Rüdigerstraße A59 motorway Korte Steigerstraat Thorbeckestraat Åbyvägen Achim-von-Arnim-Straße Provincial road N306 Hyskenstræde Kvarnbergsgatan Reitersdorfer Straße Kungsgatan A73 motorway Otterhällegatan Mainzer Straße Narvavägen N248 road Skindergade Denglerstraße Thanon Charan Sanit Wong N246 road Norrtullsgatan Unioninkatu Strandvænget Stora Södergatan Nordre Frihavnsgade Boulevard Barnaart Arkivgatan Getingevägen Xuanwumen West Street Malmgårdsvägen Store Kongensgade A12 motorway Konstantinstraße Tegeluddsvägen Rovsingsgade Unter den Linden Eriksbergsgatan Norrlandsgatan Vester Voldgade Provincial road N702 Stadhouderskade Somdet Phra Pinklao road Walter-Flex-Straße Spannmålsgatan Kyrkogatan Vasagatan Kungsträdgårdsgatan Folkungagatan Kalkbrænderihavnsgade Dianmen East Street Zijpendaalseweg Hauptstraße Reventlowsgade Graurheindorfer Straße Rheinallee Provincial road N764 Blaardorpseweg Pembroke Street Prenzlauer Allee Österlånggatan Högalidsgatan Vierwoudstedenmeer A256 motorway Børsgade Beixinhua Street Tiberiusstraße Provincial road N348 Bijlmerdreef Unter den Ulmen Pferdmengesstraße Frederiksberg Allé Engelbrektsgatan Norra Hamngatan Nørre Allé N242 road Barnhusgatan Provincial road N205 G4011 Yangzhou–Liyang Expressway Dong'anmen Street Baden Powellweg Randersgade Karspeldreef Løgstørgade Långholmsgatan Brabantse Turfmarkt Westerwaldweg Högbergsgatan Nørrebrogade provinciale weg 320 Rheinblick Torkel Knutssonsgatan Stora Nygatan Essingeleden Eberswalder Straße Eifelweg Klara norra kyrkogata Hauptstraße Igeldammsgatan Klarabergsgatan Van Baerlestraat Johannesgatan Heleneborgsgatan Provincial road N247 Rodderbergstraße Aleksanterinkatu Borthigsgade Rhöndorfer Straße Øster Voldgade Provincial road N229 Siyang–Suzhou Expressway A6 motorway Frejgatan Sprängkullsgatan Fiolstræde Bastugatan Vasagatan Högsboleden Döbelnsgatan Borgmästargatan Naboløs Lyngbyvej Sjättenovembervägen Silkeborggade Bergstraße Falkoner Allé Nya Allén N57 motorway Kamperdijk Stichtse Rotonde Birger Jarlsgatan Gunterstraße Nibelungenstraße Stigbergsliden Siegfriedstraße Kasernenstraße Fai Chai Intersection Kölnstraße Dag Hammarskjölds väg Brunnenstraße A4 motorway A1 motorway Hobbemakade Kungsholmsgatan Prins Bernhardplein Mühlenweg Puijonkatu Biskopsgatan Norra ringen Rheinblickstraße Maarweg Thanon Sutthawat Øster Søgade Storkyrkobrinken Skånegatan Rigensgade Parkgatan Prajadhipok road Friedrich-Ebert-Allee Provincial route 198 in the Netherlands Glasvej Vester, Nørre and Øster Farimagsgade Islands Brygge N220 road Södertäljevägen Petra-Kelly-Allee Malteserstraße Julianastraat Xingsheng Street Simrockallee Militärringstraße Drottninggatan Frederiksborggade Fleminggatan Reichenberger Straße Godesberger Straße Friesdorfer Straße Kreuzweidenstraße N210 road Lindarängsvägen Johanniterstraße Wulverhorstbaan Källargränd rue des Prébendes Rosenborggade Grønningen Annankatu Observatoriegatan Boerhaavelaan Sträßchensweg A7 motorway Sibyllegatan Sortedam Dossering Munkbrogatan Zwarte Pad A58 motorway Stora Badhusgatan Älvsjövägen Magasinsgatan Provincial road N969 Yuetan South Street Ookmeerweg Kurfürstenstraße Strandpromenaden N211 road Djurgårdsvägen Nøjsomhedsvej Karlbergsvägen Rothesgade N224 road Provincial road N708 Beijing Railway Station Street Norrbackagatan Katarinavägen Prins Hendrikkade Sten Sturegatan Rantzausgade Waterlinieweg A27 motorway Mannerheimintie Stontelerweg Hjalmar Brantingsgatan Hämeentie Köpmangatan Provincial road N479 (Netherlands) Västmannagatan rue des Faures An der Luhs G15 Shenyang–Haikou Expressway Borgergade Sanlihe South 1st Street Nils Ericsonsgatan Postgatan N221 road Bachstraße Dongzhimen Inner Street Östra Hamngatan De Ruijterkade Beichizi Street Södra Hamngatan Kungsholms strand Stormgade Nørre Farimagsgade Dianmen West Street A15 motorway Warfvinges väg Gammel Kongevej Surbrunnsgatan Herzogstraße Södra Benickebrinken Nybrogatan Regeringsgatan Inedalsgatan Bredgatan Am Büchel Provincial road N480 (Netherlands) Donghuamen Street Storgatan Ubierstraße S85 Kanaltorgsgatan N212 road Rheinufer Provincial road N335 Utrechtseweg Steinhagenseweg Friedrichstraße Oxfordstraße Provincial road N307 Belderberg Nørregade Södra Larmgatan Øster Allé Østbanegade Provincial road N305 Slottsbacken Sankt Hans Gade Folke Bernadottes Allé Tyresövägen Marstalsgade Drottningholmsvägen Bismarckstraße G56 Hangzhou–Ruili Expressway N240 road Kristinehovsgatan Ågade Vesterbrogade Schlossallee Provincial road N709 Norra länken Provincial road N706 Fjelievägen Wilhelmstrasse Nieuwe Amstelstraat Blegdamsvej Oberländer Ufer Waterstraat David Bagares gata
A4 motorway, A2 motorway and A59 motorway are a terminus for atleast 1 road
A4 motorway A2 motorway A59 motorway
action atleast
action find_reverse_tuple_counts
relation terminus
type road
type road
value 1
[{'concept': 'road'}, 'terminus', {'concept': 'road'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:terminus ?e . ?e rdf:type ontology:road . ?c rdf:type ontology:road } GROUP BY ?e } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q34442 Q41176 Q83620
USER
Which roads are max number of buildings or thoroughfares named after ?
(c(Q41176)|c(Q83620),P138,c(Q34442))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q34442
type Q41176
action find_reverse_tuple_counts
relation P138
type Q34442
type Q83620
[[{'concept': 'Q41176'}, {'concept': 'Q83620'}], 'P138', {'concept': 'Q34442'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?d WHERE { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:Q41176 ) ( ontology:Q83620 ) } } GROUP BY ?d } } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?s WHERE { { ?r property:P138 ?s . ?s rdf:type ontology:Q34442 . ?r rdf:type ontology:Q41176 } UNION { ?s rdf:type ontology:Q34442 . ?r rdf:type ontology:Q83620 . ?r property:P138 ?s } } GROUP BY ?s } }
action argmax
action union
action find_reverse_tuple_counts
relation named after
type road
type building
action find_reverse_tuple_counts
relation named after
type road
type thoroughfare
[[{'concept': 'building'}, {'concept': 'thoroughfare'}], 'named after', {'concept': 'road'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?d WHERE { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:building ) ( ontology:thoroughfare ) } } GROUP BY ?d } } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?s WHERE { { ?r property:named_after ?s . ?s rdf:type ontology:road . ?r rdf:type ontology:building } UNION { ?s rdf:type ontology:road . ?r rdf:type ontology:thoroughfare . ?r property:named_after ?s } } GROUP BY ?s } }
[]
road building thoroughfare
Q493084 Q1478999 Q3449933
SYSTEM
rue du Faubourg-Saint-Antoine, rue Saint-Martin, rue Saint-Maur
Q3447715 Q3447241 Q3452526 Q3452514 Q3452517 Q3450806 Q3452452 Q3448069 Q2391741 Q3451754 Q13015224 Q3446922 Q3451615 Q3449951 Q3448948 Q3448826 Q2388933 Q15410585 Q3452026 Q3452569 Q3447616 Q3452138 Q214820 Q3451420 Q3452047 Q3451621 Q2373120 Q3448445 Q3452577 Q3450860 Q3450903 Q3452349 Q3450256 Q3450744 Q2188497 Q3449933 Q3450694 Q3450089 Q3451578 Q3452466 Q3449225 Q3449198 Q3449851 Q3450008 Q3451803 Q3447758 Q3449755 Q3447689 Q3449149 Q3451412 Q3452165 Q3452168 Q3447887 Q3449592 Q3452015 Q3447357 Q3449844 Q3451950 Q3447218 Q4276745 Q3451114 Q3449675 Q3452622 Q3452382 Q3450186 Q3449974 Q3449966 Q3451940 Q3447731 Q3447626 Q3450515 Q3447145 Q3450070 Q3450704 Q3451507 Q3449605 Q3452564 Q1478999 Q3448556 Q3450797 Q3452627 Q493084 Q3451607 Q3451840 Q3451846 Q3451963 Q3448845 Q3448652
(c(Q41176)|c(Q83620),P138,c(Q34442))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q34442
type Q41176
action find_reverse_tuple_counts
relation P138
type Q34442
type Q83620
[ANSWERS] max number of buildings or thoroughfares named after
[[{'concept': 'Q41176'}, {'concept': 'Q83620'}], 'P138', {'concept': 'Q34442'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?d WHERE { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:Q41176 ) ( ontology:Q83620 ) } } GROUP BY ?d } } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?s WHERE { { ?r property:P138 ?s . ?s rdf:type ontology:Q34442 . ?r rdf:type ontology:Q41176 } UNION { ?s rdf:type ontology:Q34442 . ?r rdf:type ontology:Q83620 . ?r property:P138 ?s } } GROUP BY ?s } }
rue Du Guesclin rue Brantôme rue du Poteau rue du Plateau rue du Ponceau rue de Lappe rue du Mont-Cenis rue Ganneron rue du Buisson-Saint-Louis rue des Cloÿs Thanon Borommaratchachonnani rue Amelot rue des Abbesses rue Saint-Paul rue Léon rue Legendre rue Basfroi The Crescent rue des Récollets rue du Roi-d'Alger rue Dareau rue du Caire Whitehall rue de la Folie-Regnault rue des Taillandiers rue des Acacias rue des Tourelles rue Jean-Beausire rue du Sahel rue de Marignan rue de Montpensier rue du Général-Guilhem rue Vandrezanne rue de Gergovie rue Montgallet rue Saint-Maur rue de Crimée rue Stendhal rue de la Sorbonne rue du Moulin-des-Prés rue Montbrun rue Mondétour rue Saint-Charles rue Sainte-Foy rue des Entrepreneurs rue Duris rue Rochebrune rue Dombasle rue Meslay rue de la Duée rue du Charolais rue du Chemin-Vert rue Fermat rue Poncelet rue des Rondeaux rue Championnet rue Saint-Bernard rue des Patriarches rue Boulay Malaya Bronnaya Street rue de Valois rue Ramey rue du Télégraphe rue du Havre rue Tourlaque rue Saint-Sébastien rue Saint-Sabin rue des Ormeaux rue Duhesme rue Dauphine rue d'Eupatoria rue Berzélius rue Singer rue de Dantzig rue de la Moselle rue Pouchet rue du Retrait rue Saint-Martin rue Joanès rue de Lagny rue du Vertbois rue du Faubourg-Saint-Antoine rue de la Voûte rue des Grands-Champs rue des Gravilliers rue des Petits-Pères rue Lepic rue Julien-Lacroix
Rue du Faubourg-Saint-Antoine, rue Saint-Martin and rue Saint-Maur max number of buildings or thoroughfares named after
rue du Faubourg-Saint-Antoine rue Saint-Martin rue Saint-Maur
action argmax
action union
action find_reverse_tuple_counts
relation named after
type road
type building
action find_reverse_tuple_counts
relation named after
type road
type thoroughfare
[[{'concept': 'building'}, {'concept': 'thoroughfare'}], 'named after', {'concept': 'road'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) ?d WHERE { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:building ) ( ontology:thoroughfare ) } } GROUP BY ?d } } . FILTER ( ?x = ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?s WHERE { { ?r property:named_after ?s . ?s rdf:type ontology:road . ?r rdf:type ontology:building } UNION { ?s rdf:type ontology:road . ?r rdf:type ontology:thoroughfare . ?r property:named_after ?s } } GROUP BY ?s } }
[]