Simple Question (Direct)
Simple Question
Q5606263
P39
Q12737077
USER
What was the position for which Greg Smith was appointed ?
(Q5606263,P39,c(Q12737077))
action filter_type
action find
entity Q5606263
relation P39
type Q12737077
['Q5606263', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q5606263 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Greg Smith
action filter_type
action find
entity Greg Smith
relation position held
type occupation
['Greg Smith', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Greg_Smith property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q19360415
SYSTEM
member of the Oregon House of Representatives
Q19360415
(Q5606263,P39,c(Q12737077))
action filter_type
action find
entity Q5606263
relation P39
type Q12737077
The [ANSWER]
['Q5606263', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q5606263 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
member of the Oregon House of Representatives
The member of the Oregon House of Representatives
member of the Oregon House of Representatives
action filter_type
action find
entity Greg Smith
relation position held
type occupation
['Greg Smith', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Greg_Smith property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5606263
P734
Q82799
USER
Which name is associated with that person ?
(Q19360415,P734,c(Q82799))
action filter_type
action find
entity Q5606263
relation P734
type Q82799
['Q19360415', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q5606263 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Greg Smith
action filter_type
action find
entity Greg Smith
relation family name
type name
['member of the Oregon House of Representatives', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Greg_Smith property:family_name ?z . ?z rdf:type ontology:name }
[]
name
Q1158446
SYSTEM
Smith
Q1158446
(Q19360415,P734,c(Q82799))
action filter_type
action find
entity Q5606263
relation P734
type Q82799
[ANSWER] is associated with that person
['Q19360415', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q5606263 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Smith
Smith is associated with that person
Smith
action filter_type
action find
entity Greg Smith
relation family name
type name
['member of the Oregon House of Representatives', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Greg_Smith property:family_name ?z . ?z rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2938881 Q5606263
P19
Q56061
USER
Which administrative territories were Greg Smith or C. C. A. Christensen born at ?
OR((Q5606263,P19,c(Q56061)), (Q2938881,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5606263
relation P19
action find
entity Q2938881
relation P19
type Q56061
{'OR': [['Q5606263', 'P19', {'concept': 'Q56061'}], ['Q2938881', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q5606263 property:P19 ?d } UNION { resource:Q2938881 property:P19 ?d } } . ?d rdf:type ontology:Q56061 }
C. C. A. Christensen Greg Smith
action filter_type
action union
action find
entity Greg Smith
relation place of birth
action find
entity C. C. A. Christensen
relation place of birth
type administrative territorial entity
{'OR': [['Greg Smith', 'place of birth', {'concept': 'administrative territorial entity'}], ['C. C. A. Christensen', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Greg_Smith property:place_of_birth ?d } UNION { resource:C._C._A._Christensen property:place_of_birth ?d } } . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1748 Q6106
SYSTEM
Copenhagen, Portland
Q1748 Q6106
OR((Q5606263,P19,c(Q56061)), (Q2938881,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5606263
relation P19
action find
entity Q2938881
relation P19
type Q56061
Greg Smith or C. A. Christensen were born at [ANSWERS]
{'OR': [['Q5606263', 'P19', {'concept': 'Q56061'}], ['Q2938881', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q5606263 property:P19 ?d } UNION { resource:Q2938881 property:P19 ?d } } . ?d rdf:type ontology:Q56061 }
Copenhagen Portland
Greg Smith or C. A. Christensen were born at Copenhagen and Portland
Copenhagen Portland
action filter_type
action union
action find
entity Greg Smith
relation place of birth
action find
entity C. C. A. Christensen
relation place of birth
type administrative territorial entity
{'OR': [['Greg Smith', 'place of birth', {'concept': 'administrative territorial entity'}], ['C. C. A. Christensen', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Greg_Smith property:place_of_birth ?d } UNION { resource:C._C._A._Christensen property:place_of_birth ?d } } . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2938881
P69
Q3914
USER
What is the school where C. C. A. Christensen was educated?
(Q1748,P69,c(Q3914)) (Q6106,P69,c(Q3914))
action filter_type
action find
entity Q2938881
relation P69
type Q3914
['Q1748', 'P69', {'concept': 'Q3914'}] ['Q6106', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?v WHERE { resource:Q2938881 property:P69 ?v . ?v rdf:type ontology:Q3914 }
C. C. A. Christensen
action filter_type
action find
entity C. C. A. Christensen
relation educated at
type school
['Copenhagen', 'educated at', {'concept': 'school'}] ['Portland', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?v WHERE { resource:C._C._A._Christensen property:educated_at ?v . ?v rdf:type ontology:school }
[]
school
Q1641001
SYSTEM
Royal Danish Academy of Fine Arts
Q1641001
(Q1748,P69,c(Q3914)) (Q6106,P69,c(Q3914))
action filter_type
action find
entity Q2938881
relation P69
type Q3914
The school C. A. Christensen was educated is the [ANSWER]
['Q1748', 'P69', {'concept': 'Q3914'}] ['Q6106', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?v WHERE { resource:Q2938881 property:P69 ?v . ?v rdf:type ontology:Q3914 }
Royal Danish Academy of Fine Arts
The school C. A. Christensen was educated is the Royal Danish Academy of Fine Arts
Royal Danish Academy of Fine Arts
action filter_type
action find
entity C. C. A. Christensen
relation educated at
type school
['Copenhagen', 'educated at', {'concept': 'school'}] ['Portland', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?v WHERE { resource:C._C._A._Christensen property:educated_at ?v . ?v rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1641001
P669
Q811979
USER
Where is that school located ?
(Q1641001,P669,c(Q811979))
action filter_type
action find
entity Q1641001
relation P669
type Q811979
['Q1641001', 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?u WHERE { resource:Q1641001 property:P669 ?u . ?u rdf:type ontology:Q811979 }
Royal Danish Academy of Fine Arts
action filter_type
action find
entity Royal Danish Academy of Fine Arts
relation located on street
type architectural structure
['Royal Danish Academy of Fine Arts', 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?u WHERE { resource:Royal_Danish_Academy_of_Fine_Arts property:located_on_street ?u . ?u rdf:type ontology:architectural_structure }
[]
architectural structure
Q1589941
SYSTEM
Kongens Nytorv
Q1589941
(Q1641001,P669,c(Q811979))
action filter_type
action find
entity Q1641001
relation P669
type Q811979
That school is located in [ANSWER]
['Q1641001', 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?u WHERE { resource:Q1641001 property:P669 ?u . ?u rdf:type ontology:Q811979 }
Kongens Nytorv
That school is located in Kongens Nytorv
Kongens Nytorv
action filter_type
action find
entity Royal Danish Academy of Fine Arts
relation located on street
type architectural structure
['Royal Danish Academy of Fine Arts', 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?u WHERE { resource:Royal_Danish_Academy_of_Fine_Arts property:located_on_street ?u . ?u rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P669
Q811979 Q860861
USER
Which architectural structures are around the same number of sculptures located on as that architectural structure ?
(c(Q860861),P669,c(Q811979))
action approx
action find_reverse_tuple_counts
relation P669
type Q811979
type Q860861
action count
action filter_type
action find
entity Q1589941
relation P669
type Q811979
[{'concept': 'Q860861'}, 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:P669 ?v . ?v rdf:type ontology:Q811979 . ?c rdf:type ontology:Q860861 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Q1589941 property:P669 ?d . ?d rdf:type ontology:Q811979 } } . FILTER ( ?r = ?k ) }
action approx
action find_reverse_tuple_counts
relation located on street
type architectural structure
type sculpture
action count
action filter_type
action find
entity Kongens Nytorv
relation located on street
type architectural structure
[{'concept': 'sculpture'}, 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:located_on_street ?v . ?v rdf:type ontology:architectural_structure . ?c rdf:type ontology:sculpture } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Kongens_Nytorv property:located_on_street ?d . ?d rdf:type ontology:architectural_structure } } . FILTER ( ?r = ?k ) }
[]
architectural structure sculpture
Q189503 Q175055 Q1573359
SYSTEM
place de la Concorde, place de la République, place de la Nation
Q3389781 Q3389771 Q1019208 Q3389867 Q3390360 Q834403 Q7203716 Q1201111 Q2071624 Q3390406 Q3390656 Q2187982 Q2067174 Q27325650 Q3390652 Q19901143 Q5482884 Q3390561 Q3390566 Q3390086 Q17347170 Q7666566 Q7126262 Q1068262 Q16510200 Q217527 Q3390009 Q3390164 Q15971535 Q3389787 Q3390248 Q15971536 Q19260477 Q3390247 Q3389893 Q3389863 Q1368319 Q175055 Q1070882 Q3389716 Q11819038 Q6811395 Q806988 Q1573359 Q743548 Q870767 Q3365803 Q10669740 Q5160826 Q3390151 Q3390524 Q847613 Q15629976 Q3389976 Q26833863 Q3881523 Q16510199 Q18638628 Q14629278 Q3390556 Q3390091 Q3390090 Q2550495 Q51108 Q3390094 Q2380167 Q3390099 Q27186278 Q3390157 Q3902429 Q16510203 Q3389708 Q14629250 Q390243 Q3390492 Q12012935 Q3390390 Q3389700 Q3390392 Q3390393 Q3390394 Q3390082 Q3390259 Q1759903 Q3390391 Q19407180 Q1959174 Q129143 Q2735858 Q3389961 Q3390686 Q3389963 Q3389962 Q11959872 Q2915521 Q3389966 Q3390541 Q3390418 Q3390370 Q27330020 Q12043370 Q3390149 Q1750652 Q3390729 Q314156 Q3390637 Q15632502 Q1531008 Q3390225 Q2365348 Q3649486 Q16510119 Q1325692 Q24037808 Q5765413 Q3390380 Q3390229 Q12803454 Q14493973 Q3390013 Q3389793 Q24757167 Q3389946 Q3390487 Q3390435 Q3389916 Q3389917 Q3390106 Q3390430 Q3390534 Q3390537 Q1409805 Q3389695 Q892745 Q5016732 Q2052678 Q5055036 Q3390608 Q1656091 Q5052221 Q3649219 Q1936696 Q3389805 Q20799689 Q3390339 Q3390236 Q3389947 Q20796729 Q3390730 Q19670484 Q1017385 Q3389766 Q3390162 Q2099124 Q22956385 Q421678 Q15992418 Q3389878 Q16510156 Q3390141 Q152783 Q500529 Q2032089 Q829294 Q3389828 Q16510186 Q3389904 Q3389903 Q3390330 Q2056775 Q3389821 Q10539292 Q1325713 Q3389826 Q16957223 Q27330007 Q3390599 Q3390613 Q3390421 Q3390444 Q3390617 Q1014325 Q2705335 Q2894411 Q24536371 Q998415 Q10436362 Q16510109 Q4775954 Q701662 Q3390041 Q885408 Q3390123 Q2756450 Q848912 Q7332366 Q3389990 Q3390049 Q17347173 Q1541068 Q20792932 Q16620193 Q3389858 Q643520 Q3390691 Q2748428 Q3362818 Q3389853 Q10548447 Q15715962 Q16670291 Q3390511 Q1810430 Q1506 Q16912462 Q3389831 Q12302841 Q3389837 Q6747523 Q3390544 Q3390598 Q3390667 Q3389840 Q3390593 Q3390596 Q3390210 Q2378453 Q3390057 Q19693351 Q3389747 Q3390054 Q3390053 Q1362670 Q2146085 Q2783781 Q3390699 Q2577891 Q189503 Q683180 Q3389993 Q25467425 Q3390694 Q1957616 Q1422975 Q805259 Q4685881 Q5086152 Q3390503 Q778784 Q3390181 Q20653360 Q1589941 Q3390344 Q1535 Q1811570 Q1810764 Q3390275 Q3390461 Q3390063 Q12323100 Q24493632 Q3390115 Q3390679 Q27325853 Q27325690 Q3390103 Q2736153 Q21777213 Q1428517 Q2406314 Q1721717 Q3389979 Q2402940 Q2097879 Q3390064 Q3389736 Q3389832 Q3389738 Q3048023 Q3902479 Q614 Q1411047 Q863759 Q3390648 Q24481510 Q7849515 Q3389814 Q3390375 Q3390470 Q2493255 Q3783111 Q840577 Q27325663 Q1006268 Q839050 Q3389676 Q3390574 Q3434140 Q970525 Q602107 Q3390077 Q3390076 Q2660380 Q827673 Q801700 Q1966521 Q1753950 Q3390310 Q3390728 Q3390578 Q1579642 Q699504 Q516873 Q12340524 Q3090480 Q1469337 Q1375505 Q16152081 Q5649425 Q3389696 Q3389720 Q426064 Q3390738 Q15651225 Q700753 Q319779 Q16510149 Q127212 Q1368556 Q898629 Q2635425
(c(Q860861),P669,c(Q811979))
action approx
action find_reverse_tuple_counts
relation P669
type Q811979
type Q860861
action count
action filter_type
action find
entity Q1589941
relation P669
type Q811979
[ANSWERS] are around the same number of sculptures located on as that architectural structure
[{'concept': 'Q860861'}, 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:P669 ?v . ?v rdf:type ontology:Q811979 . ?c rdf:type ontology:Q860861 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Q1589941 property:P669 ?d . ?d rdf:type ontology:Q811979 } } . FILTER ( ?r = ?k ) }
place Dalida place Constantin-Pecqueur Malostranské náměstí place Jacques-Bainville place de la Fontaine-aux-Lions Schinkelplatz Plaza del Potro place Saint-Michel Piazza Cordusio place de la Reine-Astrid place du Palais-Bourbon Oudekerksplein plaça del Rei Münzplatz place du Maréchal-de-Lattre-de-Tassigny place des Cordeliers plaza de las Cortes place du 25-Août-1944 place du Bataillon-du-Pacifique place Saint-Ferdinand place de Jacksonville Søren Kierkegaards Plads plaza de San Clemente Carlton House Terrace place du Théâtre Piazza San Marco place Nationale place Victor-et-Hélène-Basch place Clemenceau place Delorme place de Mexico place François-Ier Plaça Major (Montblanc) place de Jaude Place Jean-Paul Riopelle place Hubert-Monmarché Esplanadi place de la République Place Flagey place Baudoyer plac Frankfurcki St. Augustine's Square Bantorget place de la Nation place du Vieux-Marché Place Saint-Lambert Sankt Annæ Plads Skanstorget Congress Square place Valhubert place des Martyrs-Juifs-du-Vélodrome-d'Hiver Wenceslas Square Berliner Platz place Martin-Nadaud plaza de Cuzco Old Palace Yard place Henri-Dunant Praça dos Trabalhadores place de Narvik place des États-Unis place Saint-Gervais place Saint-Georges Washingtonplatz piazza del Duomo place Saint-Germain-des-Prés place Paul-Verlaine place Saint-Louis plaza de los Carros place Vauban piazza Bocca della Verità place Monseigneur-Ruch place Armand-Carrel place Denys-Cochin place Charles-de-Gaulle place des Capucines Jonas Daniël Meijerplein place de la Petite-Hollande place André-Malraux place de la Porte-d'Auteuil place de la Porte-de-Bagnolet place de la Porte-de-Champerret Saint-Epvre square place de Rio-de-Janeiro place du Trocadéro-et-du-11-Novembre place de la Porte-Molitor place du Cardinal-Luçon Münsterplatz Trafalgar Square place Saint-Sulpice place Marc-Elder place du Pont-Neuf place Marcel-Aymé place Marcel-Achard Axeltorv Nathan Phillips Square place Marcelin-Berthelot place des Ternes place de la République place de la Libération Grossmünsterplatz Ovocný trh place Tristan-Bernard Norrmalmstorg place Édith-Piaf Ernst-Reuter-Platz place du Louvre Franz-Xaver-Trips-Platz plaza del Dos de Mayo place de Breteuil Place du 11-Novembre-1918 Cadogan Square place Amédée-Larrieu Place d'Armes Heimplatz Victoria Square Place de la Monnaie place de Colombie Old Square Gemeindehausplatz place Olympe-de-Gouges place Edmond-Rostand Marienplatz place Louis-Lépine place des Abbesses place de la République place Jules-Joffrin place Jules-Renard place Saint-Pierre place de la République Place des Palais/Paleizenplein place des Petits-Pères Leidseplein place Alphonse-Deville Markt Town Square Frederiksplein Cavendish Square place du Guatemala Platz der Vereinten Nationen Cathedral Close, Exeter Cabot Square Tavistock Square place Ferdinand-Brunot place Saint-Martin place de la Bergère-d'Ivry place de Fontenoy place Léon-Blum place de la Liberté place Édouard-VII Place des Nations Piazza Santa Croce place Colette place Victor-Hugo Plaza San Martín Alexandrinenplatz Old Town Square place de Bretagne place Jean-Baptiste-Clément place Notre-Dame place Theodor-Herzl Alexanderplatz St. James's Square Sloane Square Schloßplatz place Gambetta place Napoléon place Joffre place Johann-Strauss place de l'Église-d'Auteuil Paternoster Square place Gaillon Jakobs torg Place Jacques-Cartier place Félix-Éboué Senovážné náměstí Hechtplatz place du Docteur-Alfred-Fournier place du Général-Catroux place de la République place de la Réunion place du Général-Kœnig Canada Square Soho Square Belgrave Square Amtsgerichtsplatz place Franz-Liszt Brunkebergstorg place Aristide-Briand Anton Pieck Square Stephansplatz place Pey-Berland Bloomsbury Square place Salvador-Allende place de l'Opéra Leicester Square Riddarhustorget place Meissonier place Prosper-Goubaux place Guillaume-le-Conquérant largo di Torre Argentina place de la Résistance plaza de Cánovas del Castillo place Henri-Mondor place Vendôme place du Québec College Green Birger Jarls torg place Henri-Krasucki Krafts torg Rathausplatz Emir Abdelkader square place des Fêtes place Dauphine place des Terreaux place de la Mairie place Georges-Guillaumin Banegårdspladsen place Goldoni Manchester Square place des Pyramides place du Colonel-Fabien place du Panthéon place Graslin place du Commerce place du Commerce place d'Iéna place Lucien-Herr place Rhin-et-Danube Theaterplatz place Charles-Dullin place René-Cassin place Raoul-Follereau place des Victoires Mechelseplein Piazza San Babila place du Venezuela place de la Bataille-de-Stalingrad place de la Concorde Muntplein place Michel-Debré Városház Square (Székesfehérvár) place du Sanitat Mårtenstorget place du Châtelet Ballhausplatz Mr. Visserplein Charlotte Square place des Deux-Écus place de la Bastille place Wilson Gough Square Kongens Nytorv place de la Bourse place Antonin-Poncet Haarlemmerplein place de Clichy place de Varsovie place de la Sorbonne place Rochambeau Kultorvet San Francisco Square place Saint-Thomas-d’Aquin place du Président-Mithouard Predigerplatz Zähringerplatz place Saint-Michel Lincoln's Inn Fields Ludwigkirchplatz place d'Armes Tessinerplatz Kaiserplatz place Maréchal-Foch place Saint-Pierre place Denfert-Rochereau place Rodin place Camille-Jullian place Georges-Mulot Cardinal Mercier square Stortorget Piazzale Cadorna place Bellecour Náměstí Republiky Maidan Nezalezhnosti place du Maréchal-Juin Santa Bárbara Square Münsterhof place Fréhel place de la Madeleine place de la Cathédrale Public Square Hanover Square Statue Square St. Peterhofstatt Bundeskanzlerplatz Dam Square place Adolphe-Chérioux place du Canada Gammel Strand plaza de Colón place Pigalle place Saint-Blaise place Saint-Augustin Rijswijkseplein Bertha-von-Suttner-Platz Bahnhofplatz place d'Italie place Kléber place de l'Odéon place Édouard-Renard place du Capitole de Toulouse Rembrandtplein Bebelplatz Agincourt Square Vandkunsten Bolívar Square place de l'Hôtel-de-Ville - Esplanade de la Libération Europaplatz Agias Sofias Square Hanover Square, Manhattan place Alphonse-Laveran place Beauvau place Stanislas place Émile-Goudeau Platz der Deutschen Post Karlsplatz Platz der Luftbrücke place Hardy-de-Lévaré Berkeley Square Parliament Square place des Vosges Victory Square
Place de la Concorde, place de la République and place de la Nation are around the same number of sculptures located on as that architectural structure
place de la Concorde place de la République place de la Nation
action approx
action find_reverse_tuple_counts
relation located on street
type architectural structure
type sculpture
action count
action filter_type
action find
entity Kongens Nytorv
relation located on street
type architectural structure
[{'concept': 'sculpture'}, 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:located_on_street ?v . ?v rdf:type ontology:architectural_structure . ?c rdf:type ontology:sculpture } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Kongens_Nytorv property:located_on_street ?d . ?d rdf:type ontology:architectural_structure } } . FILTER ( ?r = ?k ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2873654 Q189503
P47
Q34442
USER
Which roads are adjacent to place de la Concorde or avenue Gambetta ?
OR((Q189503,P47,c(Q34442)), (Q2873654,P47,c(Q34442)))
action filter_type
action union
action find
entity Q189503
relation P47
action find
entity Q2873654
relation P47
type Q34442
{'OR': [['Q189503', 'P47', {'concept': 'Q34442'}], ['Q2873654', 'P47', {'concept': 'Q34442'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34442 . { { resource:Q189503 property:P47 ?d } UNION { resource:Q2873654 property:P47 ?d } } }
avenue Gambetta place de la Concorde
action filter_type
action union
action find
entity place de la Concorde
relation shares border with
action find
entity avenue Gambetta
relation shares border with
type road
{'OR': [['place de la Concorde', 'shares border with', {'concept': 'road'}], ['avenue Gambetta', 'shares border with', {'concept': 'road'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:road . { { resource:place_de_la_Concorde property:shares_border_with ?d } UNION { resource:avenue_Gambetta property:shares_border_with ?d } } }
[]
road
Q3451851 Q3451336 Q3449455 Q3452142 Q3448284 Q3450077 Q3452389 Q141747 Q3451987 Q3447184
SYSTEM
Some of them are rue des Gâtines, rue de la Bidassoa, rue Pelleport, rue du Cambodge, rue Henri-Dubouillon, rue Sorbier, rue du Japon, rue de Rivoli, rue des Pruniers, rue Boissy-d'Anglas
Q3448304 Q3447772 Q3447809 Q3452327 Q3451368 Q3449869 Q141747 Q3451932 Q3449864 Q3451851 Q3452015 Q3452389 Q3450077 Q1027719 Q3449021 Q3452142 Q3449455 Q3447747 Q3451987 Q3448272 Q3452277 Q3449349 Q3451336 Q2373120 Q3496877 Q3448284 Q3447184
OR((Q189503,P47,c(Q34442)), (Q2873654,P47,c(Q34442)))
action filter_type
action union
action find
entity Q189503
relation P47
action find
entity Q2873654
relation P47
type Q34442
[ANSWERS] are adjacent to place de la Concorde or avenue Gambetta
{'OR': [['Q189503', 'P47', {'concept': 'Q34442'}], ['Q2873654', 'P47', {'concept': 'Q34442'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34442 . { { resource:Q189503 property:P47 ?d } UNION { resource:Q2873654 property:P47 ?d } } }
rue Henri-Poincaré rue Désirée rue Ernest-Lefèvre rue du Groupe-Manouchian rue de la Chine rue Saint-Florentin rue de Rivoli rue des Mûriers rue Saint-Fargeau rue des Gâtines rue des Rondeaux rue du Japon rue Sorbier rue Royale rue Malte-Brun rue du Cambodge rue Pelleport rue Dupont-de-l'Eure rue des Pruniers rue Haxo rue du Docteur-Paquelin rue Orfila rue de la Bidassoa rue des Tourelles voie Georges-Pompidou rue Henri-Dubouillon rue Boissy-d'Anglas
Rue des Gâtines, rue de la Bidassoa, rue Pelleport, rue du Cambodge, rue Henri-Dubouillon, rue Sorbier, rue du Japon, rue de Rivoli, rue des Pruniers and rue Boissy-d'Anglas are adjacent to place de la Concorde or avenue Gambetta
rue des Gâtines rue de la Bidassoa rue Pelleport rue du Cambodge rue Henri-Dubouillon rue Sorbier rue du Japon rue de Rivoli rue des Pruniers rue Boissy-d'Anglas
action filter_type
action union
action find
entity place de la Concorde
relation shares border with
action find
entity avenue Gambetta
relation shares border with
type road
{'OR': [['place de la Concorde', 'shares border with', {'concept': 'road'}], ['avenue Gambetta', 'shares border with', {'concept': 'road'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:road . { { resource:place_de_la_Concorde property:shares_border_with ?d } UNION { resource:avenue_Gambetta property:shares_border_with ?d } } }
[]