Simple Question (Direct)
Simple Question
Q2394283
P410
Q4189293
USER
Which title has Dominic Salvatore Gentile achieved ?
(Q2394283,P410,c(Q4189293))
action filter_type
action find
entity Q2394283
relation P410
type Q4189293
['Q2394283', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?v WHERE { resource:Q2394283 property:P410 ?v . ?v rdf:type ontology:Q4189293 }
Dominic Salvatore Gentile
action filter_type
action find
entity Dominic Salvatore Gentile
relation military rank
type title
['Dominic Salvatore Gentile', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?v WHERE { resource:Dominic_Salvatore_Gentile property:military_rank ?v . ?v rdf:type ontology:title }
[]
title
Q983927
SYSTEM
major
Q983927
(Q2394283,P410,c(Q4189293))
action filter_type
action find
entity Q2394283
relation P410
type Q4189293
Dominic Salvatore Gentile has achieved a [ANSWER]
['Q2394283', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?v WHERE { resource:Q2394283 property:P410 ?v . ?v rdf:type ontology:Q4189293 }
major
Dominic Salvatore Gentile has achieved a major
major
action filter_type
action find
entity Dominic Salvatore Gentile
relation military rank
type title
['Dominic Salvatore Gentile', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?v WHERE { resource:Dominic_Salvatore_Gentile property:military_rank ?v . ?v rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q983927
P138
Q34442
USER
Which road is named after that title ?
(c(Q34442),P138,Q983927)
action filter_type
action find_reverse
entity Q983927
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q983927']
SELECT DISTINCT ?h WHERE { ?h property:P138 resource:Q983927 . ?h rdf:type ontology:Q34442 }
major
action filter_type
action find_reverse
entity major
relation named after
type road
[{'concept': 'road'}, 'named after', 'major']
SELECT DISTINCT ?h WHERE { ?h property:named_after resource:major . ?h rdf:type ontology:road }
[]
road
Q10575510
SYSTEM
Majorsgatan
Q10575510
(c(Q34442),P138,Q983927)
action filter_type
action find_reverse
entity Q983927
relation P138
type Q34442
Street [ANSWER] is named after that title
[{'concept': 'Q34442'}, 'P138', 'Q983927']
SELECT DISTINCT ?h WHERE { ?h property:P138 resource:Q983927 . ?h rdf:type ontology:Q34442 }
Majorsgatan
Street Majorsgatan is named after that title
Majorsgatan
action filter_type
action find_reverse
entity major
relation named after
type road
[{'concept': 'road'}, 'named after', 'major']
SELECT DISTINCT ?h WHERE { ?h property:named_after resource:major . ?h rdf:type ontology:road }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q10549273
P559
Q34442 Q44377 Q34442
USER
Which roads are a terminus for greater number of tunnels and roads than Kristinehovsgatan ?
(c(Q44377)|c(Q34442),P559,c(Q34442))
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q34442
type Q44377
action find_reverse_tuple_counts
relation P559
type Q34442
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q10549273
relation P559
type Q44377
type Q34442
[[{'concept': 'Q44377'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q34442'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?k ) WHERE { VALUES ( ?t ) { ( ontology:Q44377 ) ( ontology:Q34442 ) } . ?b rdf:type ?t } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:P559 resource:Q10549273 . { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:Q44377 ) ( ontology:Q34442 ) } } } } . FILTER ( ?k > ?q ) }
Kristinehovsgatan
action greater
action union
action find_reverse_tuple_counts
relation terminus
type road
type tunnel
action find_reverse_tuple_counts
relation terminus
type road
type road
action count
action filter_multi_types
action find_reverse
entity Kristinehovsgatan
relation terminus
type tunnel
type road
[[{'concept': 'tunnel'}, {'concept': 'road'}], 'terminus', {'concept': 'road'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?k ) WHERE { VALUES ( ?t ) { ( ontology:tunnel ) ( ontology:road ) } . ?b rdf:type ?t } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:terminus resource:Kristinehovsgatan . { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:tunnel ) ( ontology:road ) } } } } . FILTER ( ?k > ?q ) }
[]
road tunnel road
Q1557823 Q1422024 Q1479591
SYSTEM
A4 motorway, A2 motorway, A59 motorway
Q15818433 Q10661345 Q10602579 Q10517486 Q1835243 Q15813242 Q15709832 Q10660128 Q2063769 Q10717752 Q10591867 Q4570166 Q2345968 Q19316278 Q7651714 Q15813233 Q10526403 Q3375647 Q10636001 Q1512120 Q10466054 Q10713471 Q1338804 Q15736561 Q6747143 Q1422024 Q12344074 Q15120837 Q12318932 Q15848286 Q836909 Q12338726 Q1516093 Q15129464 Q10681579 Q7542372 Q4631453 Q12314725 Q1788276 Q1933910 Q2113981 Q10655520 Q10661346 Q10606799 Q11090018 Q3380264 Q10700359 Q17111245 Q12331877 Q10480563 Q3429049 Q4566771 Q10418517 Q5399045 Q10650978 Q15651133 Q10682193 Q15649549 Q15902031 Q15698004 Q10543155 Q19631998 Q16928653 Q12325236 Q11061950 Q10562858 Q10641349 Q10713229 Q2049033 Q10728353 Q3323272 Q1559735 Q1476638 Q7628957 Q15813185 Q12340735 Q15730100 Q11090017 Q11090019 Q15813238 Q1798115 Q15931840 Q10527511 Q10527100 Q14178280 Q10718395 Q15632517 Q15618597 Q10570725 Q4801129 Q7655025 Q3140664 Q15728122 Q6936732 Q10688880 Q24705808 Q15649655 Q10928273 Q1903448 Q10572109 Q15814007 Q15814003 Q6019749 Q839619 Q654031 Q15649571 Q10549471 Q15649575 Q23301880 Q1479591 Q10550886 Q10314794 Q646268 Q15848334 Q10594611 Q14178223 Q3344057 Q12337455 Q10681119 Q12329212 Q17444669 Q15926006 Q12337357 Q10487724 Q2226662 Q10550371 Q5464624 Q12321124 Q15943072 Q15694750 Q15613954 Q8079066 Q10532195 Q15813214 Q15113428 Q10602450 Q12329634 Q2301854 Q10426539 Q12332847 Q10572607 Q10532217 Q11992955 Q15813995 Q10700114 Q392713 Q15814044 Q15632498 Q10546048 Q2640101 Q15700674 Q8079244 Q1666761 Q2887744 Q679282 Q12325259 Q12311005 Q447309 Q2523030 Q15854240 Q10679910 Q10465848 Q1557823 Q10550321 Q17444686 Q21748848 Q15713793 Q13015229 Q8959958 Q2240391 Q7923412 Q10688825 Q2066219 Q10496638 Q15649562 Q2137946 Q2152999 Q10667299 Q6936729 Q10680963 Q10725782 Q15955741 Q1784648 Q10474961 Q10543777 Q12333842 Q15934246 Q10544317 Q1386673 Q928901 Q10600821 Q10638085 Q2273614 Q15736443 Q10728300 Q10688901 Q10550319 Q15920284 Q11300590 Q10684145 Q10604375 Q10435027 Q3027016 Q10869692 Q10681269 Q18071213 Q15735746 Q2286194 Q15830816 Q10376645 Q12344361 Q2060424 Q7541445 Q21748995 Q10477000 Q1821717 Q3363759 Q17451909 Q12303796
(c(Q44377)|c(Q34442),P559,c(Q34442))
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q34442
type Q44377
action find_reverse_tuple_counts
relation P559
type Q34442
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q10549273
relation P559
type Q44377
type Q34442
[ANSWERS] are a terminus for greater number of tunnels and roads than Kristinehovsgatan
[[{'concept': 'Q44377'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q34442'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?k ) WHERE { VALUES ( ?t ) { ( ontology:Q44377 ) ( ontology:Q34442 ) } . ?b rdf:type ?t } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:P559 resource:Q10549273 . { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:Q44377 ) ( ontology:Q34442 ) } } } } . FILTER ( ?k > ?q ) }
Maximilianstraße Sankt Eriksgatan Norra Stationsgatan Hantverkargatan Provincial road N331 Bonner Straße Rolandsecker Weg Sahlgrensgatan Phahonyothin Road Värtavägen Myntgatan Malmskillnadsgatan Sternstraße Kwelderweg Svartmangatan Leyboldstraße Hornsbergs strand Østerbrogade Polhemsgatan A28 motorway Dalagatan Vattugatan Norr Mälarstrand Rheinhöhenweg Købmagergade A2 motorway Vordingborggade Kungstensgatan Jagtvej Bahnhofsallee Kungsgatan Tagensvej Södra länken Hornsbruksgatan Strandvejen Slussplan N99 motorway Gyldenløvesgade Sveavägen N253 road Provincial road N302 Ringvägen Sankt Eriksgatan Odengatan Jingshan Front Street Nørre Voldgade Torsgatan Sølvgade Pile Allé Ekelundsgatan Gothersgade Sankt Paulsgatan Arsenalsgatan Esplanaden Renstiernas gata Selhofer Straße Strömgatan Bahnhofstraße Plittersdorfer Straße Bayenthalgürtel Kammakargatan Veluwemeer Sanlihenanheng Street Lyngby Hovedgade Guanganmen Inner Street Linnégatan Prästgatan Varvsgatan N48 motorway Östra Larmgatan Provincial road N201 Götgatan A50 motorway Sturegatan Marienburger Straße Vermundsgade Heisterbacher Straße Jingshan East Street Jingshan Back Street Von-Groote-Straße Västerlånggatan Beichang Street Hvitfeldtsgatan Humlegårdsgatan Provincial road N368 Västra Trädgårdsgatan Linzer Straße Luisenstraße Lundagatan Artillerigatan Swedish national road 73 Hornsgatan Hauptstraße Munkbroleden Södra Esplanaden Thanon Itsaraphap Frankenweg Dianmen Outer Street Provincial road N46 Swedish county road 226 Siebengebirgsweg Im Ellig Indiakaj Hamngatan A9 motorway Menzenberger Straße Kronobergsgatan Schulstraße Vindebrogade A59 motorway Kvarnbergsgatan Kungsgatan A73 motorway Mainzer Straße Narvavägen N248 road Norrtullsgatan Strandvænget Stora Södergatan Nordre Frihavnsgade Getingevägen Xuanwumen West Street Store Kongensgade Eriksbergsgatan Stadhouderskade Kungsträdgårdsgatan Folkungagatan Kalkbrænderihavnsgade Dianmen East Street Hauptstraße Rheinallee Österlånggatan Högalidsgatan Unter den Ulmen Engelbrektsgatan Norra Hamngatan Nørre Allé N242 road Barnhusgatan Randersgade Långholmsgatan Högbergsgatan Nørrebrogade Rheinblick Torkel Knutssonsgatan Essingeleden Eifelweg Hauptstraße Klarabergsgatan Provincial road N247 Rhöndorfer Straße Øster Voldgade A6 motorway Bastugatan Vasagatan Lyngbyvej Falkoner Allé N57 motorway Birger Jarlsgatan Nibelungenstraße Stigbergsliden Dag Hammarskjölds väg A4 motorway Kungsholmsgatan Biskopsgatan Øster Søgade Parkgatan Prajadhipok road Friedrich-Ebert-Allee Provincial route 198 in the Netherlands Vester, Nørre and Øster Farimagsgade Södertäljevägen Drottninggatan Fleminggatan Kreuzweidenstraße N210 road A7 motorway Sibyllegatan Munkbrogatan Stora Badhusgatan Älvsjövägen Yuetan South Street N211 road Djurgårdsvägen Karlbergsvägen Rothesgade Beijing Railway Station Street Katarinavägen Mannerheimintie Köpmangatan Nils Ericsonsgatan Postgatan N221 road Bachstraße Östra Hamngatan Södra Hamngatan Kungsholms strand Dianmen West Street Gammel Kongevej Surbrunnsgatan Nybrogatan Bredgatan Provincial road N480 (Netherlands) Donghuamen Street Storgatan Kanaltorgsgatan Rheinufer Provincial road N307 Belderberg Södra Larmgatan Østbanegade Provincial road N305 Slottsbacken Sankt Hans Gade Drottningholmsvägen N240 road Vesterbrogade Fjelievägen Blegdamsvej
A4 motorway, A2 motorway and A59 motorway are a terminus for greater number of tunnels and roads than Kristinehovsgatan
A4 motorway A2 motorway A59 motorway
action greater
action union
action find_reverse_tuple_counts
relation terminus
type road
type tunnel
action find_reverse_tuple_counts
relation terminus
type road
type road
action count
action filter_multi_types
action find_reverse
entity Kristinehovsgatan
relation terminus
type tunnel
type road
[[{'concept': 'tunnel'}, {'concept': 'road'}], 'terminus', {'concept': 'road'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?k ) WHERE { VALUES ( ?t ) { ( ontology:tunnel ) ( ontology:road ) } . ?b rdf:type ?t } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:terminus resource:Kristinehovsgatan . { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:tunnel ) ( ontology:road ) } } } } . FILTER ( ?k > ?q ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1382
Q34442 Q83620 Q34442
USER
How many roads overlap with greater number of roads or thoroughfares than that road ?
(c(Q34442),P1382,c(Q34442)|c(Q83620))
[{'concept': 'Q34442'}, 'P1382', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { VALUES ( ?n ) { ( ?z ) ( ?y ) } . ?z property:P1382 ?n } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q83620 }
[{'concept': 'road'}, 'coincident with', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { VALUES ( ?n ) { ( ?z ) ( ?y ) } . ?z property:coincident_with ?n } . ?z rdf:type ontology:road . ?y rdf:type ontology:thoroughfare }
[]
road thoroughfare road
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1557823
SYSTEM
Did you mean A4 motorway ?
(c(Q34442),P1382,c(Q34442)|c(Q83620))
[ANSWER]
[{'concept': 'Q34442'}, 'P1382', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { VALUES ( ?n ) { ( ?z ) ( ?y ) } . ?z property:P1382 ?n } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q83620 }
Did you mean A4 motorway ?
A4 motorway
[{'concept': 'road'}, 'coincident with', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { VALUES ( ?n ) { ( ?z ) ( ?y ) } . ?z property:coincident_with ?n } . ?z rdf:type ontology:road . ?y rdf:type ontology:thoroughfare }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q34442),P1382,c(Q34442)|c(Q83620))
[{'concept': 'Q34442'}, 'P1382', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
[{'concept': 'road'}, 'coincident with', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
[]
SYSTEM
25
Q1469578 Q1852074 Q19355601 Q2093936 Q2010195 Q1604527 Q19514326 Q18953926 Q1935971 Q19468446 Q19514444 Q1479591 Q1422024 Q2322959 Q2785188 Q19396214 Q17286915 Q19356030 Q19510476 Q15873126 Q1517975 Q1557823 Q2152975 Q1668976 Q1763757
(c(Q34442),P1382,c(Q34442)|c(Q83620))
[ANSWER]
[{'concept': 'Q34442'}, 'P1382', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1382 ?z } UNION { ?z property:P1382 ?y } } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q83620 }
A16 motorway A10 motorway Nieuweweg A12 motorway N491 road A58 motorway Serooskerkseweg Biltseweg N217 road Rijksweg 's-Gravendeelseweg A59 motorway A2 motorway Abram van Rijckevorselweg Lozerlaan Oost-westweg Wagenweg Nieuwstraat Schipholweg Biltseweg A67 motorway A4 motorway A1 motorway A8 motorway A35 motorway
25
[{'concept': 'road'}, 'coincident with', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:coincident_with ?z } UNION { ?z property:coincident_with ?y } } . ?z rdf:type ontology:road . ?y rdf:type ontology:thoroughfare }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1557823
P177
Q12280
USER
What is over/under A4 motorway ?
(c(Q12280),P177,Q1557823)
action filter_type
action find_reverse
entity Q1557823
relation P177
type Q12280
[{'concept': 'Q12280'}, 'P177', 'Q1557823']
SELECT DISTINCT ?o WHERE { ?o property:P177 resource:Q1557823 . ?o rdf:type ontology:Q12280 }
A4 motorway
action filter_type
action find_reverse
entity A4 motorway
relation crosses
type bridge
[{'concept': 'bridge'}, 'crosses', 'A4 motorway']
SELECT DISTINCT ?o WHERE { ?o property:crosses resource:A4_motorway . ?o rdf:type ontology:bridge }
[]
bridge
Q21711243
SYSTEM
Eco-aquaduct Zweth
Q21711243
(c(Q12280),P177,Q1557823)
action filter_type
action find_reverse
entity Q1557823
relation P177
type Q12280
[ANSWER] is over/under A4 motorway
[{'concept': 'Q12280'}, 'P177', 'Q1557823']
SELECT DISTINCT ?o WHERE { ?o property:P177 resource:Q1557823 . ?o rdf:type ontology:Q12280 }
Eco-aquaduct Zweth
Eco-aquaduct Zweth is over/under A4 motorway
Eco-aquaduct Zweth
action filter_type
action find_reverse
entity A4 motorway
relation crosses
type bridge
[{'concept': 'bridge'}, 'crosses', 'A4 motorway']
SELECT DISTINCT ?o WHERE { ?o property:crosses resource:A4_motorway . ?o rdf:type ontology:bridge }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1557823
P609
Q56061
USER
Which serves as the terminus locations of that road ?
(Q21711243,P609,c(Q56061))
action filter_type
action find
entity Q1557823
relation P609
type Q56061
['Q21711243', 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q1557823 property:P609 ?u }
A4 motorway
action filter_type
action find
entity A4 motorway
relation terminus location
type administrative territorial entity
['Eco-aquaduct Zweth', 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:A4_motorway property:terminus_location ?u }
[]
administrative territorial entity
Q727 Q579722
SYSTEM
Amsterdam, Ossendrecht
Q727 Q579722
(Q21711243,P609,c(Q56061))
action filter_type
action find
entity Q1557823
relation P609
type Q56061
[ANSWERS] serve as the terminus locations of that road
['Q21711243', 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q1557823 property:P609 ?u }
Amsterdam Ossendrecht
Amsterdam and Ossendrecht serve as the terminus locations of that road
Amsterdam Ossendrecht
action filter_type
action find
entity A4 motorway
relation terminus location
type administrative territorial entity
['Eco-aquaduct Zweth', 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:A4_motorway property:terminus_location ?u }
[]
Clarification
Simple Question|Single Entity|Indirect
Q579722
P276
Q34442
USER
Which roads are situated at that administrative territory ?
(c(Q34442),P276,Q579722)
action filter_type
action find_reverse
entity Q579722
relation P276
type Q34442
[{'concept': 'Q34442'}, 'P276', 'Q579722']
SELECT DISTINCT ?d WHERE { ?d property:P276 resource:Q579722 . ?d rdf:type ontology:Q34442 }
Ossendrecht
action filter_type
action find_reverse
entity Ossendrecht
relation location
type road
[{'concept': 'road'}, 'location', 'Ossendrecht']
SELECT DISTINCT ?d WHERE { ?d property:location resource:Ossendrecht . ?d rdf:type ontology:road }
[]
road
Clarification for simple ques.
Q579722
SYSTEM
Did you mean Ossendrecht ?
Q727 Q579722
(c(Q34442),P276,Q727) (c(Q34442),P276,Q579722)
[ANSWER]
[{'concept': 'Q34442'}, 'P276', 'Q727'] [{'concept': 'Q34442'}, 'P276', 'Q579722']
SELECT DISTINCT ?d WHERE { ?d property:P276 resource:Q579722 . ?d rdf:type ontology:Q34442 }
Amsterdam Ossendrecht
Did you mean Ossendrecht ?
Ossendrecht
[{'concept': 'road'}, 'location', 'Amsterdam'] [{'concept': 'road'}, 'location', 'Ossendrecht']
SELECT DISTINCT ?d WHERE { ?d property:location resource:Ossendrecht . ?d rdf:type ontology:road }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q34442),P276,Q579722)
[{'concept': 'Q34442'}, 'P276', 'Q579722']
[{'concept': 'road'}, 'location', 'Ossendrecht']
[]
Q18951370 Q19348723 Q19012749
SYSTEM
Beukenlaan, Molenstraat, Don Boscostraat
Q19305439 Q19012026 Q19405230 Q18949211 Q19323218 Q19344683 Q18982041 Q19342483 Q19379025 Q19158725 Q18947851 Q18979888 Q19517672 Q19291713 Q19292553 Q18980294 Q19293737 Q19384413 Q19327964 Q19409327 Q18956473 Q19347922 Q19254563 Q19345572 Q19010057 Q19570167 Q18946185 Q19348723 Q19241129 Q18940423 Q19352260 Q19336760 Q19015531 Q19654529 Q19320809 Q19520319 Q19251553 Q18951594 Q18940305 Q19326735 Q19428625 Q19252617 Q19251639 Q19400197 Q19006444 Q19316580 Q19057496 Q18927731 Q18951370 Q19450102 Q19347735 Q18952189 Q19198879 Q19549565 Q19509125 Q19303299 Q19323158 Q18938331 Q19634730 Q19303041 Q19006104 Q18970300 Q18958222 Q19291295 Q19012749 Q19421913 Q19123117 Q19001980 Q19307061 Q18980256 Q19480551 Q19508127 Q18931804 Q18982036 Q19427266 Q19371373 Q19012502 Q18968573 Q19122077 Q19291936 Q19634415 Q19637361 Q19354677 Q19292210 Q18958320 Q19347873 Q19645607 Q19115502 Q19352122 Q19010557 Q19329673 Q19244287 Q19058347 Q19450171 Q19508587 Q19304358 Q19655354 Q19532354 Q19210019 Q18928216 Q19253076 Q19296443 Q19185004 Q19244881 Q18980839 Q19329664 Q19429271 Q19112389 Q19409490 Q18955052
(c(Q34442),P276,Q579722)
action filter_type
action find_reverse
entity Q579722
relation P276
type Q34442
[ANSWERS] are situated at that administrative territory
[{'concept': 'Q34442'}, 'P276', 'Q579722']
SELECT DISTINCT ?d WHERE { ?d property:P276 resource:Q579722 . ?d rdf:type ontology:Q34442 }
Koeleweg Doktersstraat Pannenhoef Berklaan Leempad Meulenberg Calfvenseweg Meiduinweg Noordstraat Franciscanenstraat Bergstraat Burgemeester van Gilshof Slingerstraat Karmelietenstraat Kasteelstraat Burgemeester Voetenstr Kennedylaan O Lv Vrouw ter Duinenln Lindenlaan Paus Joanneslaan Zr Marie Adolphinestr Moleneind Hondseind Middelstraat De Kuil Trambaan Benedictijnenstraat Molenstraat Hageland Armendijk Naar het Leen Markt Dennenlaan Wilgenlaan Langeweg Smalle Lande Het Geleg Zandvlietseweg Ariënsstraat Lievevrouwestraat Postbaan Heuvelweg Het Hoefke Oude Dijk De Cichorei Laagstraat Duinstraat Aanwas Beukenlaan Putseweg Molenbosstraat Bevrijdingstraat Havenweg Stenenhoef Scheidreef Kleine Dorpsstraat Leemberg Augustijnenstraat Vijverweg Klein Brembrood De Brouwerij Bremweg Zuidpolderdijk Kapucijnenstraat Don Boscostraat Plaatsluis Generaal Foulkesstraat De Ploeg Koningin Wilhelminastr Churchillstraat Rooseveltstraat Schaepmanlaan Adolphineplein Calfven Poelsstraat Nolensstraat Dominicanenstraat Breestraat Europastraat Kartuizersstraat Vierwindenlaan Vogelenzang Nieuwe Dijk Kastanjelaan Zuidstraat Molendreef Wassevendreef Eikenlaan Mutsestraat De Maareberg Looizicht Heilooppad Dwarsstraat Putsmolentje Schapendreef Kloosterhof Wilhelmietenstraat Sparrenlaan Groote Meer Abdijlaan Hinkelenoorddijk Kerkstraat Gert Mullerplein Heistraat Clarissenstraat Looipad Pottenbergen Eikelhof Peeberg Binnenweg
Beukenlaan, Molenstraat and Don Boscostraat are situated at that administrative territory
Beukenlaan Molenstraat Don Boscostraat
action filter_type
action find_reverse
entity Ossendrecht
relation location
type road
[{'concept': 'road'}, 'location', 'Ossendrecht']
SELECT DISTINCT ?d WHERE { ?d property:location resource:Ossendrecht . ?d rdf:type ontology:road }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1479591
P361
Q1777515 Q34442
USER
How many junctions and roads are a portion of A59 motorway ?
(c(Q1777515),P361,Q1479591) (c(Q34442),P361,Q1479591)
action count
action union
action filter_type
action find_reverse
entity Q1479591
relation P361
type Q1777515
action filter_type
action find_reverse
entity Q1479591
relation P361
type Q34442
[{'concept': 'Q1777515'}, 'P361', 'Q1479591'] [{'concept': 'Q34442'}, 'P361', 'Q1479591']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:P361 resource:Q1479591 . ?o rdf:type ontology:Q1777515 } UNION { ?o property:P361 resource:Q1479591 . ?o rdf:type ontology:Q34442 } }
A59 motorway
action count
action union
action filter_type
action find_reverse
entity A59 motorway
relation part of
type junction
action filter_type
action find_reverse
entity A59 motorway
relation part of
type road
[{'concept': 'junction'}, 'part of', 'A59 motorway'] [{'concept': 'road'}, 'part of', 'A59 motorway']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:part_of resource:A59_motorway . ?o rdf:type ontology:junction } UNION { ?o property:part_of resource:A59_motorway . ?o rdf:type ontology:road } }
[]
junction road
SYSTEM
7 junctions and 5 roads
Q2411846 Q19442521 Q20898172 Q2638061 Q2465938 Q19354858 Q2486751 Q19468660 Q19468539 Q1972767 Q2834366 Q19468534
(c(Q1777515),P361,Q1479591) (c(Q34442),P361,Q1479591)
action count
action union
action filter_type
action find_reverse
entity Q1479591
relation P361
type Q1777515
action filter_type
action find_reverse
entity Q1479591
relation P361
type Q34442
[ANSWER]
[{'concept': 'Q1777515'}, 'P361', 'Q1479591'] [{'concept': 'Q34442'}, 'P361', 'Q1479591']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:P361 resource:Q1479591 . ?o rdf:type ontology:Q1777515 } UNION { ?o property:P361 resource:Q1479591 . ?o rdf:type ontology:Q34442 } }
Hintham interhange Provincialeweg Waalwijk A59 junction Paalgraven interchange Hooipolder interchange Nieuwe Koolweg Zonzeel interchange Rijksweg A59 Rijksweg Sabina interchange Noordhoek interchange Rijksweg
7 junctions and 5 roads
action count
action union
action filter_type
action find_reverse
entity A59 motorway
relation part of
type junction
action filter_type
action find_reverse
entity A59 motorway
relation part of
type road
[{'concept': 'junction'}, 'part of', 'A59 motorway'] [{'concept': 'road'}, 'part of', 'A59 motorway']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:part_of resource:A59_motorway . ?o rdf:type ontology:junction } UNION { ?o property:part_of resource:A59_motorway . ?o rdf:type ontology:road } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q34442 Q502895
USER
How many people are located on exactly 1 road ?
(c(Q502895),P669,c(Q34442))
action count
action equal
action find_tuple_counts
relation P669
type Q502895
type Q34442
value 1
[{'concept': 'Q502895'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?t ) WHERE { ?j property:P669 ?f . ?j rdf:type ontology:Q502895 . ?f rdf:type ontology:Q34442 } GROUP BY ?j } . FILTER ( ?t = 1 ) }
action count
action equal
action find_tuple_counts
relation located on street
type common name
type road
value 1
[{'concept': 'common name'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?t ) WHERE { ?j property:located_on_street ?f . ?j rdf:type ontology:common_name . ?f rdf:type ontology:road } GROUP BY ?j } . FILTER ( ?t = 1 ) }
[]
road common name
SYSTEM
2
Q21634411 Q24251410
(c(Q502895),P669,c(Q34442))
action count
action equal
action find_tuple_counts
relation P669
type Q502895
type Q34442
value 1
[ANSWER]
[{'concept': 'Q502895'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?t ) WHERE { ?j property:P669 ?f . ?j rdf:type ontology:Q502895 . ?f rdf:type ontology:Q34442 } GROUP BY ?j } . FILTER ( ?t = 1 ) }
Albert Quantin Herbert Ellerby
2
action count
action equal
action find_tuple_counts
relation located on street
type common name
type road
value 1
[{'concept': 'common name'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?t ) WHERE { ?j property:located_on_street ?f . ?j rdf:type ontology:common_name . ?f rdf:type ontology:road } GROUP BY ?j } . FILTER ( ?t = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2049817 Q1557823
P27 P17
Q15617994
USER
Which administrative territories are A4 motorway located in and are Johannes Antonius van der Ven an inhabitant of ?
AND((Q1557823,P17,c(Q15617994)), (Q2049817,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1557823
relation P17
action find
entity Q2049817
relation P27
type Q15617994
{'AND': [['Q1557823', 'P17', {'concept': 'Q15617994'}], ['Q2049817', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { resource:Q2049817 property:P27 ?r . resource:Q1557823 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Johannes Antonius van der Ven A4 motorway
action filter_type
action intersection
action find
entity A4 motorway
relation country
action find
entity Johannes Antonius van der Ven
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['A4 motorway', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Johannes Antonius van der Ven', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Johannes_Antonius_van_der_Ven property:country_of_citizenship ?r . resource:A4_motorway property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
AND((Q1557823,P17,c(Q15617994)), (Q2049817,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1557823
relation P17
action find
entity Q2049817
relation P27
type Q15617994
A4 motorway and are Johannes Antonius van der Ven an inhabitant of are located in [ANSWER]
{'AND': [['Q1557823', 'P17', {'concept': 'Q15617994'}], ['Q2049817', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { resource:Q2049817 property:P27 ?r . resource:Q1557823 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Netherlands
A4 motorway and are Johannes Antonius van der Ven an inhabitant of are located in Netherlands
Netherlands
action filter_type
action intersection
action find
entity A4 motorway
relation country
action find
entity Johannes Antonius van der Ven
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['A4 motorway', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Johannes Antonius van der Ven', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Johannes_Antonius_van_der_Ven property:country_of_citizenship ?r . resource:A4_motorway property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q55 Q6070940
P495
Q201658
USER
Is that administrative territory a country of origin of Irish Luck ?
(Q6070940,P495,Q55)
action is_in
entity Q6070940
action find
entity Q55
relation P495
['Q6070940', 'P495', 'Q55']
ASK WHERE { resource:Q55 property:P495 resource:Q6070940 }
Netherlands Irish Luck
action is_in
entity Irish Luck
action find
entity Netherlands
relation country of origin
['Irish Luck', 'country of origin', 'Netherlands']
ASK WHERE { resource:Netherlands property:country_of_origin resource:Irish_Luck }
[]
film genre
SYSTEM
NO
(Q6070940,P495,Q55)
action is_in
entity Q6070940
action find
entity Q55
relation P495
[ANSWER]
['Q6070940', 'P495', 'Q55']
ASK WHERE { resource:Q55 property:P495 resource:Q6070940 }
No
action is_in
entity Irish Luck
action find
entity Netherlands
relation country of origin
['Irish Luck', 'country of origin', 'Netherlands']
ASK WHERE { resource:Netherlands property:country_of_origin resource:Irish_Luck }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with atleast 3 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 3
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?s ) WHERE { ?y property:P530 ?b . ?y rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?s >= 3 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?s ) WHERE { ?y property:diplomatic_relation ?b . ?y rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?s >= 3 ) }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 3
[ANSWERS] are known to have diplomatic connections with atleast 3 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?s ) WHERE { ?y property:P530 ?b . ?y rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?s >= 3 ) }
Austria Germany Australia Denmark Canada
Germany, Australia and Denmark are known to have diplomatic connections with atleast 3 administrative territories
Germany Australia Denmark
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?s ) WHERE { ?y property:diplomatic_relation ?b . ?y rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?s >= 3 ) }
[]