Simple Question (Direct)
Simple Question
Q16633319
P19
Q15617994
USER
Which administrative territory was Edip Noyan born at ?
(Q16633319,P19,c(Q15617994))
action filter_type
action find
entity Q16633319
relation P19
type Q15617994
['Q16633319', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q16633319 property:P19 ?o . ?o rdf:type ontology:Q15617994 }
Edip Noyan
action filter_type
action find
entity Edip Noyan
relation place of birth
type designation for an administrative territorial entity
['Edip Noyan', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Edip_Noyan property:place_of_birth ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
(Q16633319,P19,c(Q15617994))
action filter_type
action find
entity Q16633319
relation P19
type Q15617994
Edip Noyan was born in [ANSWER]
['Q16633319', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q16633319 property:P19 ?o . ?o rdf:type ontology:Q15617994 }
Turkey
Edip Noyan was born in Turkey
Turkey
action filter_type
action find
entity Edip Noyan
relation place of birth
type designation for an administrative territorial entity
['Edip Noyan', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Edip_Noyan property:place_of_birth ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16633319
P937
Q56061
USER
Where did that person work ?
(Q43,P937,c(Q56061))
action filter_type
action find
entity Q16633319
relation P937
type Q56061
['Q43', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q16633319 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Edip Noyan
action filter_type
action find
entity Edip Noyan
relation work location
type administrative territorial entity
['Turkey', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Edip_Noyan property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754
SYSTEM
Stockholm
Q1754
(Q43,P937,c(Q56061))
action filter_type
action find
entity Q16633319
relation P937
type Q56061
That person worked in [ANSWER]
['Q43', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q16633319 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Stockholm
That person worked in Stockholm
Stockholm
action filter_type
action find
entity Edip Noyan
relation work location
type administrative territorial entity
['Turkey', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Edip_Noyan property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1754
P6
Q502895
USER
Which person has that administrative territory as its head of government ?
(Q1754,P6,c(Q502895))
action filter_type
action find
entity Q1754
relation P6
type Q502895
['Q1754', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1754 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Stockholm
action filter_type
action find
entity Stockholm
relation head of government
type common name
['Stockholm', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Stockholm property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
common name
Q4990192
SYSTEM
Karin Wanngård
Q4990192
(Q1754,P6,c(Q502895))
action filter_type
action find
entity Q1754
relation P6
type Q502895
[ANSWER] has that administrative territory as its head of government
['Q1754', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1754 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Karin Wanngård
Karin Wanngård has that administrative territory as its head of government
Karin Wanngård
action filter_type
action find
entity Stockholm
relation head of government
type common name
['Stockholm', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Stockholm property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q4990192 Q1754
P6
Q56061
USER
Does Stockholm have a government lead by that person ?
(Q1754,P6,Q4990192)
action is_in
entity Q4990192
action find
entity Q1754
relation P6
['Q1754', 'P6', 'Q4990192']
ASK WHERE { resource:Q1754 property:P6 resource:Q4990192 }
Karin Wanngård Stockholm
action is_in
entity Karin Wanngård
action find
entity Stockholm
relation head of government
['Stockholm', 'head of government', 'Karin Wanngård']
ASK WHERE { resource:Stockholm property:head_of_government resource:Karin_Wanngård }
[]
administrative territorial entity
SYSTEM
YES
(Q1754,P6,Q4990192)
action is_in
entity Q4990192
action find
entity Q1754
relation P6
[ANSWER]
['Q1754', 'P6', 'Q4990192']
ASK WHERE { resource:Q1754 property:P6 resource:Q4990192 }
Yes
action is_in
entity Karin Wanngård
action find
entity Stockholm
relation head of government
['Stockholm', 'head of government', 'Karin Wanngård']
ASK WHERE { resource:Stockholm property:head_of_government resource:Karin_Wanngård }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q16633319 Q3621342 Q82955
P106
Q12737077
USER
Does Edip Noyan have field hockey umpire and politician as his/her means of employment ?
(Q16633319,P106,Q3621342) (Q16633319,P106,Q82955)
action is_in
entity Q16633319
action intersection
action find_reverse
entity Q3621342
relation P106
action find_reverse
entity Q82955
relation P106
['Q16633319', 'P106', 'Q3621342'] ['Q16633319', 'P106', 'Q82955']
ASK WHERE { resource:Q16633319 property:P106 resource:Q82955 . resource:Q16633319 property:P106 resource:Q3621342 }
Edip Noyan field hockey umpire politician
action is_in
entity Edip Noyan
action intersection
action find_reverse
entity field hockey umpire
relation occupation
action find_reverse
entity politician
relation occupation
['Edip Noyan', 'occupation', 'field hockey umpire'] ['Edip Noyan', 'occupation', 'politician']
ASK WHERE { resource:Edip_Noyan property:occupation resource:politician . resource:Edip_Noyan property:occupation resource:field_hockey_umpire }
[]
occupation
SYSTEM
NO and YES respectively
(Q16633319,P106,Q3621342) (Q16633319,P106,Q82955)
action is_in
entity Q16633319
action intersection
action find_reverse
entity Q3621342
relation P106
action find_reverse
entity Q82955
relation P106
[ANSWER]
['Q16633319', 'P106', 'Q3621342'] ['Q16633319', 'P106', 'Q82955']
ASK WHERE { resource:Q16633319 property:P106 resource:Q82955 . resource:Q16633319 property:P106 resource:Q3621342 }
NO and YES respectively
action is_in
entity Edip Noyan
action intersection
action find_reverse
entity field hockey umpire
relation occupation
action find_reverse
entity politician
relation occupation
['Edip Noyan', 'occupation', 'field hockey umpire'] ['Edip Noyan', 'occupation', 'politician']
ASK WHERE { resource:Edip_Noyan property:occupation resource:politician . resource:Edip_Noyan property:occupation resource:field_hockey_umpire }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q491999
P276
Q34442
USER
What are located at Andijk ?
(c(Q34442),P276,Q491999)
action filter_type
action find_reverse
entity Q491999
relation P276
type Q34442
[{'concept': 'Q34442'}, 'P276', 'Q491999']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q491999 . ?k rdf:type ontology:Q34442 }
Andijk
action filter_type
action find_reverse
entity Andijk
relation location
type road
[{'concept': 'road'}, 'location', 'Andijk']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Andijk . ?k rdf:type ontology:road }
[]
road
Q19017765 Q19433137 Q18933670
SYSTEM
Dijkweg, Prinses Marijkestraat, Ambachtsweg
Q19343020 Q19636313 Q18983786 Q19140587 Q19515396 Q19017514 Q18942151 Q19464336 Q19640146 Q19351814 Q19116754 Q19151986 Q19123019 Q19627504 Q19635475 Q19308028 Q19266794 Q19302321 Q19511676 Q19056165 Q19017765 Q19255675 Q19243117 Q19352707 Q19342612 Q19258302 Q19433137 Q19441814 Q19293252 Q19211234 Q19635611 Q19241493 Q19319353 Q19507850 Q19316479 Q19201980 Q18947346 Q19018280 Q19220060 Q18933670 Q19320758 Q19348981 Q18949914 Q19523763 Q19481172 Q18981281 Q19340706 Q18945492 Q19302963 Q19354757 Q19185708 Q19395867 Q18978727 Q19314318 Q19258294 Q19550078 Q19303613 Q19382505 Q19120156 Q19011828 Q19396737 Q19284396 Q19293064 Q19512220 Q19542579 Q19058280 Q19011472 Q18981157 Q19481175 Q19261389 Q18945040 Q19266650 Q18941218 Q19570337 Q19345944 Q19628330 Q19294158 Q18940670 Q19472473 Q19270603 Q18942783 Q19354665 Q19318801 Q19261288 Q19351988 Q19254372 Q19304963 Q19116860 Q18958055 Q19382413 Q19342634 Q19437187 Q19282612 Q19413486
(c(Q34442),P276,Q491999)
action filter_type
action find_reverse
entity Q491999
relation P276
type Q34442
[ANSWERS] are located at Andijk
[{'concept': 'Q34442'}, 'P276', 'Q491999']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q491999 . ?k rdf:type ontology:Q34442 }
Melkweg Vleetweg Cornelis Kuinweg Gerrit de Vriesweg Singerspad Dijkgraaf Grootweg Bangert Reinderhoek Voorstuk Munnikij Elsenburg Flamingolaan Generaal de Wetlaan Veenakkers Viskuil Koopmanspolder Ibislaan Klamptweid Schoolweg Driehuizen Dijkweg Hofkesland Handelsweg Narcis Meikers Hooijschuurstraat Prinses Marijkestraat Proserpinestraat Keizerskroon Grootslagweg Visserspad Haling Lange Deelelaan Scarlet Ducstraat La Reinestraat Goudreinet Witte Valkstraat Dirk Jonkerlaan Groteweid Ambachtsweg Langeweer Molenweg Bernhardstraat Sorghvlietlaan Rose Luisantestraat Buurtje Meander Beldersweg Kleiakker Nieuwe Haven Hardegrondweg Oosterweg Burgemeester Doumastraat Krokus Hogelandje Sterappel Kleingouw Notarisappel Gedeputeerde Laanweg de Weet Oranje Nassaulaan Kadijkweg Kees Veerstraat Schoutsland Sportlaan Dwarsland Dokter d'Arnaudstraat Buttervin Rose Précocestraat Hornpad Beatrixstraat Hyacint Bakkerstraat Transportweg Middenweg Veilingweg Kerkepad Artuslaan Rikkert Industrieweg Bedrijvenweg Nieuwe Dijk Landstraat Horn Murillolaan Hoekweg Knokkel Elstar Zuidkaap Notaris Steenpoortestraat Meilag Proefpolder Julianastraat Piet Kistemakerstraat
Dijkweg, Prinses Marijkestraat and Ambachtsweg are located at Andijk
Dijkweg Prinses Marijkestraat Ambachtsweg
action filter_type
action find_reverse
entity Andijk
relation location
type road
[{'concept': 'road'}, 'location', 'Andijk']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Andijk . ?k rdf:type ontology:road }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19017765
P17
Q15617994
USER
Which administrative territory does that road belong to ?
(Q19017765,P17,c(Q15617994))
action filter_type
action find
entity Q19017765
relation P17
type Q15617994
['Q19017765', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q19017765 property:P17 ?z }
Dijkweg
action filter_type
action find
entity Dijkweg
relation country
type designation for an administrative territorial entity
['Dijkweg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dijkweg property:country ?z }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q19017765
SYSTEM
Did you mean Dijkweg ?
Q19017765 Q19433137 Q18933670
(Q19017765,P17,c(Q15617994)) (Q19433137,P17,c(Q15617994)) (Q18933670,P17,c(Q15617994))
[ANSWER]
['Q19017765', 'P17', {'concept': 'Q15617994'}] ['Q19433137', 'P17', {'concept': 'Q15617994'}] ['Q18933670', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q19017765 property:P17 ?z }
Dijkweg Prinses Marijkestraat Ambachtsweg
Did you mean Dijkweg ?
Dijkweg
['Dijkweg', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Prinses Marijkestraat', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ambachtsweg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dijkweg property:country ?z }
[]
Simple Question (Coreferenced)
USER
Yes
(Q19017765,P17,c(Q15617994))
['Q19017765', 'P17', {'concept': 'Q15617994'}]
['Dijkweg', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q55
SYSTEM
Netherlands
Q55
(Q19017765,P17,c(Q15617994))
action filter_type
action find
entity Q19017765
relation P17
type Q15617994
That road belongs to the [ANSWER]
['Q19017765', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q19017765 property:P17 ?z }
Netherlands
That road belongs to the Netherlands
Netherlands
action filter_type
action find
entity Dijkweg
relation country
type designation for an administrative territorial entity
['Dijkweg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dijkweg property:country ?z }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q2221906 Q107425 Q34442
USER
Which roads have their location as min number of geographic locations and landscapes ?
(c(Q34442),P706,c(Q2221906)|c(Q107425))
action argmin
action union
action find_tuple_counts
relation P706
type Q34442
type Q2221906
action find_tuple_counts
relation P706
type Q34442
type Q107425
[{'concept': 'Q34442'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?a WHERE { { ?a property:P706 ?q . ?a rdf:type ontology:Q34442 . ?q rdf:type ontology:Q107425 } UNION { ?a rdf:type ontology:Q34442 . ?q rdf:type ontology:Q2221906 . ?a property:P706 ?q } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?t WHERE { { ?t property:P706 ?l . ?t rdf:type ontology:Q34442 . ?l rdf:type ontology:Q2221906 } UNION { ?t property:P706 ?l . ?t rdf:type ontology:Q34442 . ?l rdf:type ontology:Q107425 } } GROUP BY ?t } . FILTER ( ?d = ?m ) }
action argmin
action union
action find_tuple_counts
relation located on terrain feature
type road
type geographic location
action find_tuple_counts
relation located on terrain feature
type road
type landscape
[{'concept': 'road'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?a WHERE { { ?a property:located_on_terrain_feature ?q . ?a rdf:type ontology:road . ?q rdf:type ontology:landscape } UNION { ?a rdf:type ontology:road . ?q rdf:type ontology:geographic_location . ?a property:located_on_terrain_feature ?q } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?t WHERE { { ?t property:located_on_terrain_feature ?l . ?t rdf:type ontology:road . ?l rdf:type ontology:geographic_location } UNION { ?t property:located_on_terrain_feature ?l . ?t rdf:type ontology:road . ?l rdf:type ontology:landscape } } GROUP BY ?t } . FILTER ( ?d = ?m ) }
[]
geographic location landscape road
Q3449922 Q1935971 Q2137946
SYSTEM
Rue Saint-Louis-en-l'Île, N217 road, N210 road
Q15909433 Q10549471 Q2476316 Q10720452 Q10517486 Q3448308 Q10570775 Q10726757 Q10510519 Q12325236 Q10543429 Q3381005 Q10670456 Q4566017 Q15132801 Q3450766 Q2113951 Q3447268 Q3447230 Q10641349 Q10727601 Q10601991 Q7433346 Q10496638 Q15132514 Q10591867 Q2137946 Q7386062 Q10405684 Q10551610 Q6476804 Q10418051 Q7651714 Q10576082 Q10430996 Q10688525 Q3449922 Q3448531 Q7332356 Q10411526 Q10661020 Q3447365 Q2010195 Q20830638 Q15829802 Q10526403 Q10636001 Q7619891 Q3451383 Q10728209 Q10707830 Q15886173 Q10549273 Q2079588 Q10685673 Q1784648 Q10604991 Q2327238 Q10474961 Q1876008 Q3451736 Q1935971 Q10496019 Q10699034 Q10505154 Q10647909 Q3449097 Q4666084 Q10688762 Q1338804 Q1334019 Q5464624 Q10562547 Q8079066 Q10546226 Q10532195 Q3450604 Q10670196 Q10544317 Q20682615 Q10532217 Q10705660 Q3273398 Q15632120 Q10625115 Q3452198 Q3451377 Q3450478 Q928901 Q1798115 Q10552463 Q10433125 Q10663209 Q10684482 Q4566192 Q3450844 Q10641315 Q15898516 Q10436980 Q10503183 Q10576436 Q10671703 Q2525148 Q15872753 Q2925286 Q15129464 Q10681579 Q7334099 Q10428499 Q10550319 Q10550318 Q7542372 Q10700114 Q10688861 Q10669813 Q15145497 Q1318025 Q10726957 Q10658723 Q316466 Q10658724 Q15795270 Q15890678 Q15801677 Q10570725 Q10535336 Q10493742 Q15206087 Q10519456 Q4874123 Q19314080 Q1559735 Q10552207 Q7861748 Q1471539 Q1685129 Q20829089 Q10661355 Q2785203 Q3140664 Q20829081 Q10526725 Q15145488 Q3451788 Q2887744 Q10601523 Q10713229 Q10572607 Q5653474 Q10677438 Q15898831 Q7541445 Q7541447 Q6520524 Q5001001 Q4566771 Q10489188 Q10508737 Q15802095 Q20828308 Q10691669 Q10673290 Q10632058 Q20830832 Q10650978 Q20830837 Q6547951 Q10705417 Q3449607 Q3452074 Q5508761 Q6936729 Q316893 Q5516746 Q7944389 Q10465848 Q10561532 Q6319999 Q7406943 Q10703501 Q10698179 Q15870363 Q2414101 Q10550321 Q732527 Q6915592 Q10418516 Q3448795 Q10593265 Q6936732 Q10512349 Q10720671 Q4979107 Q5305649 Q10655520 Q4566595 Q7620080 Q10412947
(c(Q34442),P706,c(Q2221906)|c(Q107425))
action argmin
action union
action find_tuple_counts
relation P706
type Q34442
type Q2221906
action find_tuple_counts
relation P706
type Q34442
type Q107425
[ANSWERS] have their location as min number of geographic locations and landscapes
[{'concept': 'Q34442'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?a WHERE { { ?a property:P706 ?q . ?a rdf:type ontology:Q34442 . ?q rdf:type ontology:Q107425 } UNION { ?a rdf:type ontology:Q34442 . ?q rdf:type ontology:Q2221906 . ?a property:P706 ?q } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?t WHERE { { ?t property:P706 ?l . ?t rdf:type ontology:Q34442 . ?l rdf:type ontology:Q2221906 } UNION { ?t property:P706 ?l . ?t rdf:type ontology:Q34442 . ?l rdf:type ontology:Q107425 } } GROUP BY ?t } . FILTER ( ?d = ?m ) }
Skånegatan Kronobergsgatan N216 road Wollmar Yxkullsgatan Hantverkargatan rue Henri-Robert Lundbyleden Årstalänken Guldgränd Lyngby Hovedgade Kapellgränd Bellmansgatan Skolgränd Själagårdsgatan Kvarngatan rue de Harlay N220 road rue Budé rue Boutarel Prästgatan Örlogsvägen Nordenflychtsvägen Schönfeldts gränd Fleminggatan Helgagatan Myntgatan N210 road Rådhusgränd Allmänna gränd Källargränd Rakovskaya Street Arkivgatan Svartmangatan Malmgårdsvägen Blasieholmsgatan Södergatan Rue Saint-Louis-en-l'Île rue Jean-du-Bellay Riddarhusgränd Andréegatan Samuel Owens gata rue Chanoinesse N491 road 99 Steps Björngårdsgatan Hornsbergs strand Polhemsgatan Stora Nygatan rue de la Colombe Östgötagatan Tyska stallplan Alströmergatan Kristinehovsgatan Petersburger Straße Svensksundsvägen N211 road Nytorgsgatan N223 road Djurgårdsvägen N214 road rue des Chantres N217 road Fjällgatan Tjärhovsgatan Gjörwellsgatan Pålsundsgatan rue Massillon N227 road Södermannagatan Norr Mälarstrand Alsatian Vineyard Route Folkungagatan Lindhagensgatan Österlånggatan Klevgränd Högalidsgatan rue de Bretonvilliers Skinnarviksringen Katarinavägen rue Paul-Nassivet Högbergsgatan Trångsund Ma-13 Friedrich-Wilhelm-Straße Peter Myndes backe rue du Cloître-Notre-Dame rue de la Cité rue d'Arcole Köpmangatan Västerlånggatan Laboratoriegatan Borgargatan Scheelegatan Svartensgatan Kindstugatan rue de Lutèce Pryssgränd Kocksgatan Brännkyrkagatan Garvargatan Manillavägen Slupskjulsvägen N235 road Astraat N234 road Hornsbruksgatan Strandvejen Riksgatan Bergsgatan Kungsholms strand Kungsholms hamnplan Slussplan Torkel Knutssonsgatan Södra Benickebrinken Skarpögatan Warfvinges väg Elbchaussee Åsögatan Rålambsvägen Kottbusser Tor Rålambshovsleden Grubbens gata Celsiusgatan Igeldammsgatan Lundagatan Inedalsgatan Falkenbergsgatan Vårby allé Heleneborgsgatan Bay Street Krententuin Götgatan Köpmanbrinken Tyska brinken Route des Grandes Alpes Skomakargatan Kongens Gade Sankt Göransgatan N228 road Hornsgatan Kronprindsens Gade Hovslagargatan Wargentinsgatan rue des Deux-Ponts Bastugatan Nobelgatan Varvsgatan Långholmsgatan N254 road Stallgatan Borgmästargatan Slottsbacken Slottskajen Lejonbacken N218 road Sankt Paulsgatan Essinge Brogata Grevgränd Olof Gjödingsgatan Norre Gade Teatergatan Sollidsbacken Pipersgatan King Street Renstiernas gata King Street Lilla Nygatan Tryckerigatan rue Poulletier rue des Ursins Funckens gränd Munkbrogatan Friedrichstraße Gaffelgränd Västerbroplan Dag Hammarskjölds väg Lignagatan Järntorgsgatan Salviigränd Triewaldsgränd Timmermansgatan Agnegatan N238 road Kungsholmsgatan N11 road Mosebacke Arsenalsgatan rue Le Regrattier Mäster Mikaels gata Munkbroleden Gärdesgatan Wrangelska backen Brunnsgränd Drakens gränd Ringvägen Baggensgatan Storkyrkobrinken Ansgariegatan
Rue Saint-Louis-en-l'Île, N217 road and N210 road have their location as min number of geographic locations and landscapes
Rue Saint-Louis-en-l'Île N217 road N210 road
action argmin
action union
action find_tuple_counts
relation located on terrain feature
type road
type geographic location
action find_tuple_counts
relation located on terrain feature
type road
type landscape
[{'concept': 'road'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?a WHERE { { ?a property:located_on_terrain_feature ?q . ?a rdf:type ontology:road . ?q rdf:type ontology:landscape } UNION { ?a rdf:type ontology:road . ?q rdf:type ontology:geographic_location . ?a property:located_on_terrain_feature ?q } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?t WHERE { { ?t property:located_on_terrain_feature ?l . ?t rdf:type ontology:road . ?l rdf:type ontology:geographic_location } UNION { ?t property:located_on_terrain_feature ?l . ?t rdf:type ontology:road . ?l rdf:type ontology:landscape } } GROUP BY ?t } . FILTER ( ?d = ?m ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3449922
P47
Q34442
USER
Which roads share border with that one ?
(Q3449922,P47,c(Q34442))
action filter_type
action find
entity Q3449922
relation P47
type Q34442
['Q3449922', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?c WHERE { resource:Q3449922 property:P47 ?c . ?c rdf:type ontology:Q34442 }
Rue Saint-Louis-en-l'Île
action filter_type
action find
entity Rue Saint-Louis-en-l'Île
relation shares border with
type road
["Rue Saint-Louis-en-l'Île", 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?c WHERE { resource:Rue_Saint-Louis-en-l'Île property:shares_border_with ?c . ?c rdf:type ontology:road }
[]
road
Clarification for simple ques.
Q3449922
SYSTEM
Did you mean Rue Saint-Louis-en-l'Île ?
Q3449922 Q1935971 Q2137946
(Q3449922,P47,c(Q34442)) (Q1935971,P47,c(Q34442)) (Q2137946,P47,c(Q34442))
[ANSWER]
['Q3449922', 'P47', {'concept': 'Q34442'}] ['Q1935971', 'P47', {'concept': 'Q34442'}] ['Q2137946', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?c WHERE { resource:Q3449922 property:P47 ?c . ?c rdf:type ontology:Q34442 }
Rue Saint-Louis-en-l'Île N217 road N210 road
Did you mean Rue Saint-Louis-en-l'Île ?
Rue Saint-Louis-en-l'Île
["Rue Saint-Louis-en-l'Île", 'shares border with', {'concept': 'road'}] ['N217 road', 'shares border with', {'concept': 'road'}] ['N210 road', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?c WHERE { resource:Rue_Saint-Louis-en-l'Île property:shares_border_with ?c . ?c rdf:type ontology:road }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3449922,P47,c(Q34442))
['Q3449922', 'P47', {'concept': 'Q34442'}]
["Rue Saint-Louis-en-l'Île", 'shares border with', {'concept': 'road'}]
[]
Q3451788 Q3450604 Q3448531
SYSTEM
rue des Deux-Ponts, rue de Bretonvilliers, rue Jean-du-Bellay
Q3450604 Q3448795 Q3447230 Q3447268 Q3449607 Q3451788 Q3448531
(Q3449922,P47,c(Q34442))
action filter_type
action find
entity Q3449922
relation P47
type Q34442
[ANSWERS] share border with that one
['Q3449922', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?c WHERE { resource:Q3449922 property:P47 ?c . ?c rdf:type ontology:Q34442 }
rue de Bretonvilliers rue Le Regrattier rue Boutarel rue Budé rue Poulletier rue des Deux-Ponts rue Jean-du-Bellay
Rue des Deux-Ponts, rue de Bretonvilliers and rue Jean-du-Bellay share border with that one
rue des Deux-Ponts rue de Bretonvilliers rue Jean-du-Bellay
action filter_type
action find
entity Rue Saint-Louis-en-l'Île
relation shares border with
type road
["Rue Saint-Louis-en-l'Île", 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?c WHERE { resource:Rue_Saint-Louis-en-l'Île property:shares_border_with ?c . ?c rdf:type ontology:road }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q34442 Q34442 Q44377
USER
Which roads are max number of roads or tunnels a part of ?
(c(Q34442)|c(Q44377),P361,c(Q34442))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q34442
type Q34442
action find_reverse_tuple_counts
relation P361
type Q34442
type Q44377
[[{'concept': 'Q34442'}, {'concept': 'Q44377'}], 'P361', {'concept': 'Q34442'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?t ) { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?k ) WHERE { { ?q property:P361 ?n . ?n rdf:type ontology:Q34442 . ?q rdf:type ontology:Q34442 } UNION { ?q property:P361 ?n . ?n rdf:type ontology:Q34442 . ?q rdf:type ontology:Q44377 } } GROUP BY ?n } } . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?z ) WHERE { { ?m property:P361 ?f . ?f rdf:type ontology:Q34442 . ?m rdf:type ontology:Q34442 } UNION { ?m property:P361 ?f . ?f rdf:type ontology:Q34442 . ?m rdf:type ontology:Q44377 } } GROUP BY ?f } . FILTER ( ?z = ?t ) }
action argmax
action union
action find_reverse_tuple_counts
relation part of
type road
type road
action find_reverse_tuple_counts
relation part of
type road
type tunnel
[[{'concept': 'road'}, {'concept': 'tunnel'}], 'part of', {'concept': 'road'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?t ) { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?k ) WHERE { { ?q property:part_of ?n . ?n rdf:type ontology:road . ?q rdf:type ontology:road } UNION { ?q property:part_of ?n . ?n rdf:type ontology:road . ?q rdf:type ontology:tunnel } } GROUP BY ?n } } . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?z ) WHERE { { ?m property:part_of ?f . ?f rdf:type ontology:road . ?m rdf:type ontology:road } UNION { ?m property:part_of ?f . ?f rdf:type ontology:road . ?m rdf:type ontology:tunnel } } GROUP BY ?f } . FILTER ( ?z = ?t ) }
[]
road road tunnel
Q3323272
SYSTEM
Provincial road N201
Q3323272
(c(Q34442)|c(Q44377),P361,c(Q34442))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q34442
type Q34442
action find_reverse_tuple_counts
relation P361
type Q34442
type Q44377
[ANSWER] is max number of roads or tunnels a part of
[[{'concept': 'Q34442'}, {'concept': 'Q44377'}], 'P361', {'concept': 'Q34442'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?t ) { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?k ) WHERE { { ?q property:P361 ?n . ?n rdf:type ontology:Q34442 . ?q rdf:type ontology:Q34442 } UNION { ?q property:P361 ?n . ?n rdf:type ontology:Q34442 . ?q rdf:type ontology:Q44377 } } GROUP BY ?n } } . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?z ) WHERE { { ?m property:P361 ?f . ?f rdf:type ontology:Q34442 . ?m rdf:type ontology:Q34442 } UNION { ?m property:P361 ?f . ?f rdf:type ontology:Q34442 . ?m rdf:type ontology:Q44377 } } GROUP BY ?f } . FILTER ( ?z = ?t ) }
Provincial road N201
Provincial road N201 is max number of roads or tunnels a part of
Provincial road N201
action argmax
action union
action find_reverse_tuple_counts
relation part of
type road
type road
action find_reverse_tuple_counts
relation part of
type road
type tunnel
[[{'concept': 'road'}, {'concept': 'tunnel'}], 'part of', {'concept': 'road'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?t ) { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?k ) WHERE { { ?q property:part_of ?n . ?n rdf:type ontology:road . ?q rdf:type ontology:road } UNION { ?q property:part_of ?n . ?n rdf:type ontology:road . ?q rdf:type ontology:tunnel } } GROUP BY ?n } } . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?z ) WHERE { { ?m property:part_of ?f . ?f rdf:type ontology:road . ?m rdf:type ontology:road } UNION { ?m property:part_of ?f . ?f rdf:type ontology:road . ?m rdf:type ontology:tunnel } } GROUP BY ?f } . FILTER ( ?z = ?t ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3323272
P559
Q34442
USER
Which roads have that one as terminus ?
(c(Q34442),P559,Q3323272)
action filter_type
action find_reverse
entity Q3323272
relation P559
type Q34442
[{'concept': 'Q34442'}, 'P559', 'Q3323272']
SELECT DISTINCT ?g WHERE { ?g property:P559 resource:Q3323272 . ?g rdf:type ontology:Q34442 }
Provincial road N201
action filter_type
action find_reverse
entity Provincial road N201
relation terminus
type road
[{'concept': 'road'}, 'terminus', 'Provincial road N201']
SELECT DISTINCT ?g WHERE { ?g property:terminus resource:Provincial_road_N201 . ?g rdf:type ontology:road }
[]
road
Q2223497 Q2453912
SYSTEM
N212 road, N232 road
Q2223497 Q2453912
(c(Q34442),P559,Q3323272)
action filter_type
action find_reverse
entity Q3323272
relation P559
type Q34442
[ANSWERS] have that one as terminus
[{'concept': 'Q34442'}, 'P559', 'Q3323272']
SELECT DISTINCT ?g WHERE { ?g property:P559 resource:Q3323272 . ?g rdf:type ontology:Q34442 }
N212 road N232 road
N212 road and N232 road have that one as terminus
N212 road N232 road
action filter_type
action find_reverse
entity Provincial road N201
relation terminus
type road
[{'concept': 'road'}, 'terminus', 'Provincial road N201']
SELECT DISTINCT ?g WHERE { ?g property:terminus resource:Provincial_road_N201 . ?g rdf:type ontology:road }
[]