Simple Question (Direct)
Simple Question
Q5563386
P27
Q15617994
USER
Which administrative territory is Giora Leshem an inhabitant of ?
(Q5563386,P27,c(Q15617994))
action filter_type
action find
entity Q5563386
relation P27
type Q15617994
['Q5563386', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q5563386 property:P27 ?k }
Giora Leshem
action filter_type
action find
entity Giora Leshem
relation country of citizenship
type designation for an administrative territorial entity
['Giora Leshem', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Giora_Leshem property:country_of_citizenship ?k }
[]
designation for an administrative territorial entity
Q801
SYSTEM
Israel
Q801
(Q5563386,P27,c(Q15617994))
action filter_type
action find
entity Q5563386
relation P27
type Q15617994
[ANSWER] is Giora Leshem an inhabitant of
['Q5563386', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q5563386 property:P27 ?k }
Israel
Israel is Giora Leshem an inhabitant of
Israel
action filter_type
action find
entity Giora Leshem
relation country of citizenship
type designation for an administrative territorial entity
['Giora Leshem', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Giora_Leshem property:country_of_citizenship ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q801
P177
Q811979
USER
What crosses that administrative territory ?
(c(Q811979),P177,Q801)
action filter_type
action find_reverse
entity Q801
relation P177
type Q811979
[{'concept': 'Q811979'}, 'P177', 'Q801']
SELECT DISTINCT ?w WHERE { ?w property:P177 resource:Q801 . ?w rdf:type ontology:Q811979 }
Israel
action filter_type
action find_reverse
entity Israel
relation crosses
type architectural structure
[{'concept': 'architectural structure'}, 'crosses', 'Israel']
SELECT DISTINCT ?w WHERE { ?w property:crosses resource:Israel . ?w rdf:type ontology:architectural_structure }
[]
architectural structure
Q2560585
SYSTEM
Netafim Border Crossing
Q2560585
(c(Q811979),P177,Q801)
action filter_type
action find_reverse
entity Q801
relation P177
type Q811979
[ANSWER] crosses that administrative territory
[{'concept': 'Q811979'}, 'P177', 'Q801']
SELECT DISTINCT ?w WHERE { ?w property:P177 resource:Q801 . ?w rdf:type ontology:Q811979 }
Netafim Border Crossing
Netafim Border Crossing crosses that administrative territory
Netafim Border Crossing
action filter_type
action find_reverse
entity Israel
relation crosses
type architectural structure
[{'concept': 'architectural structure'}, 'crosses', 'Israel']
SELECT DISTINCT ?w WHERE { ?w property:crosses resource:Israel . ?w rdf:type ontology:architectural_structure }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2560585 Q632924 Q526566
P17
Q15617994
USER
Is Netafim Border Crossing present in Rust and Frauenneuharting ?
(Q2560585,P17,Q632924) (Q2560585,P17,Q526566)
action is_in
entity Q2560585
action intersection
action find_reverse
entity Q632924
relation P17
action find_reverse
entity Q526566
relation P17
['Q2560585', 'P17', 'Q632924'] ['Q2560585', 'P17', 'Q526566']
ASK WHERE { resource:Q2560585 property:P17 resource:Q526566 . resource:Q2560585 property:P17 resource:Q632924 }
Netafim Border Crossing Rust Frauenneuharting
action is_in
entity Netafim Border Crossing
action intersection
action find_reverse
entity Rust
relation country
action find_reverse
entity Frauenneuharting
relation country
['Netafim Border Crossing', 'country', 'Rust'] ['Netafim Border Crossing', 'country', 'Frauenneuharting']
ASK WHERE { resource:Netafim_Border_Crossing property:country resource:Frauenneuharting . resource:Netafim_Border_Crossing property:country resource:Rust }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2560585,P17,Q632924) (Q2560585,P17,Q526566)
action is_in
entity Q2560585
action intersection
action find_reverse
entity Q632924
relation P17
action find_reverse
entity Q526566
relation P17
[ANSWER]
['Q2560585', 'P17', 'Q632924'] ['Q2560585', 'P17', 'Q526566']
ASK WHERE { resource:Q2560585 property:P17 resource:Q526566 . resource:Q2560585 property:P17 resource:Q632924 }
No
action is_in
entity Netafim Border Crossing
action intersection
action find_reverse
entity Rust
relation country
action find_reverse
entity Frauenneuharting
relation country
['Netafim Border Crossing', 'country', 'Rust'] ['Netafim Border Crossing', 'country', 'Frauenneuharting']
ASK WHERE { resource:Netafim_Border_Crossing property:country resource:Frauenneuharting . resource:Netafim_Border_Crossing property:country resource:Rust }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q801 Q17 Q43
P530
Q15617994
USER
Does Israel have diplomatic associations with Japan and Turkey ?
(Q801,P530,Q17) (Q801,P530,Q43)
action is_in
entity Q801
action intersection
action find_reverse
entity Q17
relation P530
action find_reverse
entity Q43
relation P530
['Q801', 'P530', 'Q17'] ['Q801', 'P530', 'Q43']
ASK WHERE { resource:Q801 property:P530 resource:Q17 . resource:Q801 property:P530 resource:Q43 }
Israel Japan Turkey
action is_in
entity Israel
action intersection
action find_reverse
entity Japan
relation diplomatic relation
action find_reverse
entity Turkey
relation diplomatic relation
['Israel', 'diplomatic relation', 'Japan'] ['Israel', 'diplomatic relation', 'Turkey']
ASK WHERE { resource:Israel property:diplomatic_relation resource:Japan . resource:Israel property:diplomatic_relation resource:Turkey }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q801,P530,Q17) (Q801,P530,Q43)
action is_in
entity Q801
action intersection
action find_reverse
entity Q17
relation P530
action find_reverse
entity Q43
relation P530
[ANSWER]
['Q801', 'P530', 'Q17'] ['Q801', 'P530', 'Q43']
ASK WHERE { resource:Q801 property:P530 resource:Q17 . resource:Q801 property:P530 resource:Q43 }
Yes
action is_in
entity Israel
action intersection
action find_reverse
entity Japan
relation diplomatic relation
action find_reverse
entity Turkey
relation diplomatic relation
['Israel', 'diplomatic relation', 'Japan'] ['Israel', 'diplomatic relation', 'Turkey']
ASK WHERE { resource:Israel property:diplomatic_relation resource:Japan . resource:Israel property:diplomatic_relation resource:Turkey }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q4685881
P669
Q811979 Q44539 Q22698
USER
Which architectural structures are the locations of lesser number of temples or parks than Mr. Visserplein ?
(c(Q44539)|c(Q22698),P669,c(Q811979))
action less
action union
action find_reverse_tuple_counts
relation P669
type Q811979
type Q44539
action find_reverse_tuple_counts
relation P669
type Q811979
type Q22698
action count
action filter_multi_types
action find_reverse
entity Q4685881
relation P669
type Q44539
type Q22698
[[{'concept': 'Q44539'}, {'concept': 'Q22698'}], 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:P669 resource:Q4685881 . { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:Q44539 ) ( ontology:Q22698 ) } } } } . FILTER ( ?g < ?s ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?g ) WHERE { { ?r property:P669 ?o . ?o rdf:type ontology:Q811979 . ?r rdf:type ontology:Q44539 } UNION { ?r property:P669 ?o . ?o rdf:type ontology:Q811979 . ?r rdf:type ontology:Q22698 } } GROUP BY ?o } }
Mr. Visserplein
action less
action union
action find_reverse_tuple_counts
relation located on street
type architectural structure
type temple
action find_reverse_tuple_counts
relation located on street
type architectural structure
type park
action count
action filter_multi_types
action find_reverse
entity Mr. Visserplein
relation located on street
type temple
type park
[[{'concept': 'temple'}, {'concept': 'park'}], 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:located_on_street resource:Mr._Visserplein . { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:temple ) ( ontology:park ) } } } } . FILTER ( ?g < ?s ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?g ) WHERE { { ?r property:located_on_street ?o . ?o rdf:type ontology:architectural_structure . ?r rdf:type ontology:temple } UNION { ?r property:located_on_street ?o . ?o rdf:type ontology:architectural_structure . ?r rdf:type ontology:park } } GROUP BY ?o } }
[]
architectural structure temple park
Q189503 Q1573359 Q390243
SYSTEM
place de la Concorde, place de la Nation, place Charles-de-Gaulle
Q3389781 Q3389771 Q3389867 Q3390360 Q834403 Q7203716 Q1201111 Q2071624 Q3390406 Q3390656 Q2187982 Q2067174 Q3390652 Q19901143 Q5482884 Q3390561 Q3390566 Q3390086 Q17347170 Q7666566 Q7126262 Q1068262 Q16510200 Q217527 Q3390009 Q15971535 Q3389787 Q3390248 Q15971536 Q19260477 Q3390247 Q3389893 Q3389863 Q1368319 Q1070882 Q3389716 Q11819038 Q6811395 Q806988 Q1573359 Q870767 Q3365803 Q10669740 Q3390657 Q5160826 Q3390524 Q847613 Q15629976 Q3389976 Q26833863 Q3881523 Q16510199 Q18638628 Q14629278 Q3390556 Q3390090 Q2550495 Q51108 Q3390094 Q2380167 Q3390099 Q3390157 Q16510203 Q3389708 Q14629250 Q390243 Q3390492 Q12012935 Q3390390 Q3389700 Q3390392 Q3390393 Q1759903 Q3390391 Q19407180 Q1959174 Q3389961 Q3390686 Q3389963 Q3389962 Q11959872 Q2915521 Q3389966 Q3390541 Q3390418 Q3390370 Q12043370 Q3390149 Q1750652 Q3390729 Q314156 Q3390637 Q15632502 Q1531008 Q3390225 Q2365348 Q3649486 Q16510119 Q1325692 Q24037808 Q5765413 Q3390380 Q3390229 Q12803454 Q14493973 Q3390013 Q3389793 Q3389946 Q3390487 Q3390435 Q3389916 Q3389917 Q3390106 Q3390430 Q3390534 Q3390537 Q1409805 Q3058440 Q3389695 Q892745 Q5016732 Q2052678 Q5055036 Q3390608 Q1656091 Q5052221 Q3649219 Q1936696 Q3389805 Q20799689 Q3390236 Q3389947 Q20796729 Q3390730 Q19670484 Q1017385 Q3389766 Q3390162 Q2099124 Q22956385 Q15992418 Q3389878 Q3390141 Q152783 Q500529 Q2032089 Q829294 Q3389828 Q16510186 Q3389904 Q3389903 Q2056775 Q3389821 Q10539292 Q1325713 Q3389826 Q16957223 Q27330007 Q3390599 Q3390613 Q3390421 Q3390617 Q1014325 Q2705335 Q2894411 Q24536371 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 Q3389840 Q3390593 Q3390596 Q3390210 Q2378453 Q3390057 Q19693351 Q3389747 Q3390054 Q1362670 Q2146085 Q2783781 Q3390699 Q2577891 Q189503 Q683180 Q3389993 Q25467425 Q1957616 Q1422975 Q805259 Q5086152 Q3390503 Q778784 Q3390181 Q20653360 Q1589941 Q3390344 Q1535 Q1811570 Q1810764 Q3390275 Q3390461 Q3390063 Q12323100 Q24493632 Q3390679 Q27325853 Q27325690 Q3390103 Q2736153 Q21777213 Q1428517 Q2406314 Q1721717 Q3389979 Q2097879 Q3390064 Q3389736 Q3389832 Q3048023 Q3902479 Q614 Q1411047 Q863759 Q3390648 Q24481510 Q7849515 Q3389814 Q3390470 Q2493255 Q3783111 Q840577 Q1006268 Q839050 Q3389676 Q3390574 Q3434140 Q970525 Q602107 Q2660380 Q827673 Q801700 Q1966521 Q1753950 Q3390310 Q3390728 Q3390578 Q1579642 Q699504 Q516873 Q12340524 Q3090480 Q1469337 Q1375505 Q16152081 Q5649425 Q3389720 Q426064 Q3390738 Q15651225 Q700753 Q319779 Q16510149 Q127212 Q1368556 Q2635425
(c(Q44539)|c(Q22698),P669,c(Q811979))
action less
action union
action find_reverse_tuple_counts
relation P669
type Q811979
type Q44539
action find_reverse_tuple_counts
relation P669
type Q811979
type Q22698
action count
action filter_multi_types
action find_reverse
entity Q4685881
relation P669
type Q44539
type Q22698
[ANSWERS] are the locations of lesser number of temples or parks than Mr. Visserplein
[[{'concept': 'Q44539'}, {'concept': 'Q22698'}], 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:P669 resource:Q4685881 . { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:Q44539 ) ( ontology:Q22698 ) } } } } . FILTER ( ?g < ?s ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?g ) WHERE { { ?r property:P669 ?o . ?o rdf:type ontology:Q811979 . ?r rdf:type ontology:Q44539 } UNION { ?r property:P669 ?o . ?o rdf:type ontology:Q811979 . ?r rdf:type ontology:Q22698 } } GROUP BY ?o } }
place Dalida place Constantin-Pecqueur 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 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 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 Flagey place Baudoyer plac Frankfurcki St. Augustine's Square Bantorget place de la Nation Place Saint-Lambert Sankt Annæ Plads Skanstorget place du Palais-Royal Congress Square 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-Georges Washingtonplatz piazza del Duomo place Saint-Germain-des-Prés place Paul-Verlaine place Saint-Louis place Vauban 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 du Trocadéro-et-du-11-Novembre place de la Porte-Molitor place du Cardinal-Luçon Münsterplatz 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 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 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 esplanade Charles-de-Gaulle 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 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 place de Bretagne place Jean-Baptiste-Clément place Theodor-Herzl Alexanderplatz St. James's Square Sloane Square Schloßplatz place Gambetta place Napoléon place Joffre place Johann-Strauss 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 du Général-Kœnig Canada Square Soho Square Belgrave Square Amtsgerichtsplatz 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 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 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) Mårtenstorget place du Châtelet Ballhausplatz 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 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 Denfert-Rochereau place Rodin place Camille-Jullian place Georges-Mulot 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 Cathédrale Public Square Hanover Square Statue Square Bundeskanzlerplatz Dam Square place Adolphe-Chérioux place du Canada Gammel Strand plaza de Colón place Pigalle 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 Beauvau place Stanislas place Émile-Goudeau Platz der Deutschen Post Karlsplatz Platz der Luftbrücke place Hardy-de-Lévaré Berkeley Square Parliament Square Victory Square
Place de la Concorde, place de la Nation and place Charles-de-Gaulle are the locations of lesser number of temples or parks than Mr. Visserplein
place de la Concorde place de la Nation place Charles-de-Gaulle
action less
action union
action find_reverse_tuple_counts
relation located on street
type architectural structure
type temple
action find_reverse_tuple_counts
relation located on street
type architectural structure
type park
action count
action filter_multi_types
action find_reverse
entity Mr. Visserplein
relation located on street
type temple
type park
[[{'concept': 'temple'}, {'concept': 'park'}], 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:located_on_street resource:Mr._Visserplein . { ?a rdf:type ?l . VALUES ( ?l ) { ( ontology:temple ) ( ontology:park ) } } } } . FILTER ( ?g < ?s ) . { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?g ) WHERE { { ?r property:located_on_street ?o . ?o rdf:type ontology:architectural_structure . ?r rdf:type ontology:temple } UNION { ?r property:located_on_street ?o . ?o rdf:type ontology:architectural_structure . ?r rdf:type ontology:park } } GROUP BY ?o } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3390375
P669
Q811979 Q44539 Q22698
USER
And what about place de la Madeleine?
(c(Q44539)|c(Q22698),P669,c(Q811979))
action less
action union
action find_reverse_tuple_counts
relation P669
type Q811979
type Q44539
action find_reverse_tuple_counts
relation P669
type Q811979
type Q22698
action count
action filter_multi_types
action find_reverse
entity Q3390375
relation P669
type Q44539
type Q22698
[[{'concept': 'Q44539'}, {'concept': 'Q22698'}], 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?u WHERE { { ?d property:P669 ?u . ?u rdf:type ontology:Q811979 . ?d rdf:type ontology:Q44539 } UNION { ?d property:P669 ?u . ?u rdf:type ontology:Q811979 . ?d rdf:type ontology:Q22698 } } GROUP BY ?u } . FILTER ( ?f < ?z ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P669 resource:Q3390375 . { { ?n rdf:type ontology:Q44539 } UNION { ?n rdf:type ontology:Q22698 } } } } }
place de la Madeleine
action less
action union
action find_reverse_tuple_counts
relation located on street
type architectural structure
type temple
action find_reverse_tuple_counts
relation located on street
type architectural structure
type park
action count
action filter_multi_types
action find_reverse
entity place de la Madeleine
relation located on street
type temple
type park
[[{'concept': 'temple'}, {'concept': 'park'}], 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?u WHERE { { ?d property:located_on_street ?u . ?u rdf:type ontology:architectural_structure . ?d rdf:type ontology:temple } UNION { ?d property:located_on_street ?u . ?u rdf:type ontology:architectural_structure . ?d rdf:type ontology:park } } GROUP BY ?u } . FILTER ( ?f < ?z ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:located_on_street resource:place_de_la_Madeleine . { { ?n rdf:type ontology:temple } UNION { ?n rdf:type ontology:park } } } } }
[]
architectural structure temple park
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 Q3390657 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 Q3058440 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 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 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(Q44539)|c(Q22698),P669,c(Q811979))
action less
action union
action find_reverse_tuple_counts
relation P669
type Q811979
type Q44539
action find_reverse_tuple_counts
relation P669
type Q811979
type Q22698
action count
action filter_multi_types
action find_reverse
entity Q3390375
relation P669
type Q44539
type Q22698
[ANSWERS]
[[{'concept': 'Q44539'}, {'concept': 'Q22698'}], 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?u WHERE { { ?d property:P669 ?u . ?u rdf:type ontology:Q811979 . ?d rdf:type ontology:Q44539 } UNION { ?d property:P669 ?u . ?u rdf:type ontology:Q811979 . ?d rdf:type ontology:Q22698 } } GROUP BY ?u } . FILTER ( ?f < ?z ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P669 resource:Q3390375 . { { ?n rdf:type ontology:Q44539 } UNION { ?n rdf:type ontology:Q22698 } } } } }
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 place du Palais-Royal 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 esplanade Charles-de-Gaulle 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 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 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 place de la Nation
action less
action union
action find_reverse_tuple_counts
relation located on street
type architectural structure
type temple
action find_reverse_tuple_counts
relation located on street
type architectural structure
type park
action count
action filter_multi_types
action find_reverse
entity place de la Madeleine
relation located on street
type temple
type park
[[{'concept': 'temple'}, {'concept': 'park'}], 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?u WHERE { { ?d property:located_on_street ?u . ?u rdf:type ontology:architectural_structure . ?d rdf:type ontology:temple } UNION { ?d property:located_on_street ?u . ?u rdf:type ontology:architectural_structure . ?d rdf:type ontology:park } } GROUP BY ?u } . FILTER ( ?f < ?z ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:located_on_street resource:place_de_la_Madeleine . { { ?n rdf:type ontology:temple } UNION { ?n rdf:type ontology:park } } } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1573359
P276
Q838948
USER
Which work of art is located at that architectural structure ?
(c(Q838948),P276,Q1573359)
action filter_type
action find_reverse
entity Q1573359
relation P276
type Q838948
[{'concept': 'Q838948'}, 'P276', 'Q1573359']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . ?l property:P276 resource:Q1573359 }
place de la Nation
action filter_type
action find_reverse
entity place de la Nation
relation location
type work of art
[{'concept': 'work of art'}, 'location', 'place de la Nation']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . ?l property:location resource:place_de_la_Nation }
[]
work of art
Clarification for simple ques.
Q1573359
SYSTEM
Did you mean place de la Nation ?
Q189503 Q175055 Q1573359
(c(Q838948),P276,Q189503) (c(Q838948),P276,Q175055) (c(Q838948),P276,Q1573359)
[ANSWER]
[{'concept': 'Q838948'}, 'P276', 'Q189503'] [{'concept': 'Q838948'}, 'P276', 'Q175055'] [{'concept': 'Q838948'}, 'P276', 'Q1573359']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . ?l property:P276 resource:Q1573359 }
place de la Concorde place de la République place de la Nation
Did you mean place de la Nation ?
place de la Nation
[{'concept': 'work of art'}, 'location', 'place de la Concorde'] [{'concept': 'work of art'}, 'location', 'place de la République'] [{'concept': 'work of art'}, 'location', 'place de la Nation']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . ?l property:location resource:place_de_la_Nation }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P276,Q1573359)
[{'concept': 'Q838948'}, 'P276', 'Q1573359']
[{'concept': 'work of art'}, 'location', 'place de la Nation']
[]
Q3227834
SYSTEM
The Triumph of the Republic
Q3227834
(c(Q838948),P276,Q1573359)
action filter_type
action find_reverse
entity Q1573359
relation P276
type Q838948
[ANSWER] is located at that architectural structure
[{'concept': 'Q838948'}, 'P276', 'Q1573359']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q838948 . ?l property:P276 resource:Q1573359 }
The Triumph of the Republic
The Triumph of the Republic is located at that architectural structure
The Triumph of the Republic
action filter_type
action find_reverse
entity place de la Nation
relation location
type work of art
[{'concept': 'work of art'}, 'location', 'place de la Nation']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:work_of_art . ?l property:location resource:place_de_la_Nation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3227834 Q142
P17
Q15617994
USER
Is The Triumph of the Republic present in France ?
(Q3227834,P17,Q142)
action is_in
entity Q142
action find
entity Q3227834
relation P17
['Q3227834', 'P17', 'Q142']
ASK WHERE { resource:Q3227834 property:P17 resource:Q142 }
The Triumph of the Republic France
action is_in
entity France
action find
entity The Triumph of the Republic
relation country
['The Triumph of the Republic', 'country', 'France']
ASK WHERE { resource:The_Triumph_of_the_Republic property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3227834,P17,Q142)
action is_in
entity Q142
action find
entity Q3227834
relation P17
[ANSWER]
['Q3227834', 'P17', 'Q142']
ASK WHERE { resource:Q3227834 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity The Triumph of the Republic
relation country
['The Triumph of the Republic', 'country', 'France']
ASK WHERE { resource:The_Triumph_of_the_Republic property:country resource:France }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P35
Q502895 Q1048835 Q15617994
USER
Which people are the heads of state of exactly 1 political territories or administrative territories ?
(c(Q1048835)|c(Q15617994),P35,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
value 1
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?v WHERE { VALUES ( ?k ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?a rdf:type ?k } GROUP BY ?v } . FILTER ( ?u = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
value 1
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?v WHERE { VALUES ( ?k ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?a rdf:type ?k } GROUP BY ?v } . FILTER ( ?u = 1 ) }
[]
common name political territorial entity designation for an administrative territorial entity
Q36233 Q2567 Q320
SYSTEM
Václav Havel, Richard von Weizsäcker, Michelle Bachelet
Q29574 Q298403 Q2573 Q356990 Q2571 Q6737124 Q6756617 Q189732 Q57530 Q110330 Q709734 Q653611 Q153620 Q9151911 Q2494376 Q67345 Q13107337 Q463533 Q365209 Q3176299 Q365196 Q217500 Q320 Q194000 Q361567 Q57534 Q329 Q45068 Q151929 Q153986 Q43179 Q56226 Q57491 Q57319 Q57258 Q57313 Q236503 Q57315 Q55758 Q18119638 Q1459699 Q57383 Q57380 Q57381 Q57385 Q128332 Q629702 Q13014 Q367825 Q1059948 Q57405 Q57407 Q57402 Q310536 Q16105972 Q57543 Q296741 Q207728 Q78490 Q152756 Q352200 Q181154 Q14362 Q151312 Q264210 Q444 Q267745 Q58056 Q16765135 Q297825 Q4413 Q57429 Q57537 Q94941 Q15382355 Q363392 Q57473 Q5901842 Q57348 Q361173 Q12967 Q157812 Q3956186 Q1245 Q57478 Q1241 Q1240 Q1242 Q181832 Q444290 Q172388 Q15031 Q1238 Q299100 Q16988 Q1230 Q1233 Q1235 Q294969 Q561837 Q12762303 Q20875 Q57449 Q57363 Q57366 Q57441 Q40722 Q57444 Q57446 Q284233 Q295212 Q76179 Q5448556 Q41117 Q445553 Q165210 Q355610 Q2625711 Q1464 Q968038 Q128416 Q29032 Q29207 Q310247 Q289285 Q2866 Q2042 Q155002 Q155004 Q196070 Q208497 Q250087 Q2416022 Q9439 Q44819 Q23530 Q1354851 Q880065 Q335323 Q2542 Q2540 Q57667 Q299152 Q57542 Q735387 Q6762928 Q377935 Q36233 Q156617 Q157789 Q976974 Q236853 Q17485808 Q57324 Q57327 Q16669148 Q57480 Q57482 Q192049 Q12149 Q2960197 Q36788 Q57390 Q57392 Q57394 Q57398 Q2594 Q52878 Q570155 Q2112764 Q57431 Q57434 Q161958 Q57436 Q57438 Q344729 Q154998 Q182266 Q156187 Q14356 Q151305 Q2105 Q189186 Q335310 Q944643 Q2038 Q19581 Q52927 Q157793 Q483672 Q12366816 Q16597 Q15850 Q373532 Q3911 Q11753 Q57506 Q284003 Q16908893 Q37181 Q52890 Q128894 Q76127 Q191045 Q44329 Q296950 Q57340 Q2665070 Q362618 Q128911 Q15029 Q218435 Q4250160 Q1079522 Q157776 Q57298 Q57295 Q150747 Q4414 Q2498541 Q57276 Q57274 Q57272 Q57379 Q57376 Q17410819 Q57371 Q57279 Q5018756 Q15054736 Q9099 Q230578 Q9094 Q102139 Q1112792 Q612803 Q3318231 Q295141 Q314791 Q153832 Q270645 Q2091478 Q52925 Q52924 Q52926 Q485946 Q1231345 Q570195 Q42410 Q156572 Q1568274 Q10665 Q2444338 Q23034482 Q335033 Q18117069 Q336285 Q602428 Q45785 Q15633683 Q172183 Q311413 Q58077 Q12911 Q76167 Q2551 Q242651 Q7176020 Q84204 Q17995110 Q42852 Q171684 Q57553 Q57311 Q379148 Q504372 Q217442 Q355053 Q313539 Q84475 Q381027 Q22513 Q57331 Q165487 Q57336 Q153940 Q471037 Q46809 Q154993 Q354705 Q154041 Q16004 Q5972763 Q57343 Q57424 Q57422 Q57421 Q14345 Q14342 Q16193958 Q473247 Q2569 Q20022984 Q76156 Q2563 Q2567 Q455854 Q157781 Q936831 Q153167 Q58132 Q156781 Q156780 Q2185 Q299629 Q11726 Q57519 Q57512 Q57517 Q57555 Q1354229 Q72856 Q154946 Q161059 Q5816 Q62483 Q57550 Q311583 Q128413 Q152265 Q357539 Q72898 Q1260 Q563297 Q313350 Q2582 Q206471 Q151729 Q34453 Q57289 Q172083 Q57282 Q153586 Q57287 Q57284 Q704339 Q57460 Q57467 Q57464 Q57308 Q3246667 Q37979 Q965155 Q57303 Q5983599 Q10707 Q26776 Q239717 Q2357762 Q50678 Q4715 Q105480 Q128307 Q154460 Q312355 Q146496 Q188667 Q298577 Q1356927 Q2498455 Q3407316 Q57413 Q57410 Q19943 Q57418 Q20090884 Q21968142 Q317894 Q163813 Q57356 Q24692 Q456902 Q5220343 Q84263 Q1707507 Q2538 Q2124 Q18352991 Q599988 Q297057 Q57521 Q57526 Q373605 Q17132 Q138048 Q212751 Q4772220 Q212058 Q878336 Q562002 Q701484 Q1382174 Q12976 Q12974 Q12973 Q12971 Q14257286 Q1459658 Q128371 Q319153 Q314514 Q57306 Q229300 Q299173 Q1228 Q1224 Q206421 Q1220 Q310136 Q57338 Q39259 Q307871 Q2757 Q51672 Q57458 Q333824 Q57350 Q57352 Q57452 Q57456 Q57454 Q183848 Q380985 Q15039600
(c(Q1048835)|c(Q15617994),P35,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
value 1
[ANSWERS] are the heads of state of exactly 1 political territories or administrative territories
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?v WHERE { VALUES ( ?k ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?a rdf:type ?k } GROUP BY ?v } . FILTER ( ?u = 1 ) }
Beatrix of the Netherlands Umar II Gustav Heinemann Michal Kováč Walter Scheel Maithripala Sirisena Marcelo Rebelo de Sousa Leonid Kravchuk Gurbanguly Berdimuhamedow Ephraim Katzir Evaristo Carvalho Hipólito Mejía Amānullāh Khān Andrzej Duda Edmund Lawrence John William, Duke of Jülich-Cleves-Berg Giorgi Margvelashvili Michel Temer Konstantinos Tsatsos Kolinda Grabar-Kitarović Phaedon Gizikis Rupiah Banda Michelle Bachelet Arnold Rüütel Muhammadu Buhari Mohammed Magariaf Nicolas Sarkozy Carl XVI Gustaf of Sweden Eduard Shevardnadze Guy Scott Ellen Johnson Sirleaf Kim Jong-un Ricardo Martinelli Norodom Sihamoni Ivo Josipović José Eduardo dos Santos Fernando Collor de Mello Salva Kiir Mayardit Aleksander Kwaśniewski Guerrino Zanotti Viktor Yushchenko Girma Wolde-Giorgis Goodluck Jonathan Haris Silajdžić Teodoro Obiang Nguema Mbasogo Hisham ibn Abd al-Malik Leonid Kuchma Franz Jonas Salman bin Abdulaziz Al Saud Khalifa bin Zayed Al Nahyan Susilo Bambang Yudhoyono Truong Tan Sang Daniel Ortega Francesco I Sforza Michel Kafando Sprent Dabwido Enrique Peña Nieto Mohammad Najibullah Thomas Klestil Frederick VIII of Denmark Charles II, Duke of Parma Muawiyah I Chun Doo-hwan Frederick IX of Denmark Muawiya II Lech Wałęsa William Deane Christopher of Bavaria Isabel Saint Malo Željko Komšić Alpha Condé Danilo Medina Letsie III of Lesotho Frederick VII of Denmark Hery Rajaonarimampianina Michel Aoun Joan Enric Vives Sicília Horacio Cartes Isaias Afewerki Sulejman Tihić Leopold II Frederick III of Denmark Sergio Mattarella Enrico De Nicola Nicolae Timofti Giovanni Gronchi Antonio Segni Luigi Einaudi Moshe Katsav Louis, King of Etruria Ashraf Ghani Ahmadzai Xi Jinping Giuseppe Saragat Zalman Shazar Liu Shaoqi Francesco Cossiga Sandro Pertini Giovanni Leone Mohamed Ould Abdel Aziz Mauricio Macri Andrej Kiska Edward VII Ian Khama Andry Rajoelina Emomali Rahmon Ram Baran Yadav Dilma Rousseff Choummaly Sayasone Pranab Mukherjee Sulayman ibn Abd al-Malik Rosen Plevneliev Megawati Sukarnoputri Filipe Nyusi Kim Il-sung Prince Charles, Count of Flanders Kim Young-sam Mohammed Nadir Shah Vseslav Izyaslavich Benigno Simeon Cojuangco Aquino III Dong Biwu Ibrahim ibn al-Walid Miloš Zeman Sauli Niinistö Mohammed Daoud Khan Filippo Maria Visconti Alexander Lukashenko Charles de Gaulle Frederick VI of Denmark Philippe of Belgium Uhuru Kenyatta Tupou VI Bill Hayden Raimonds Vējonis Queen Victoria Suharto Dmitry Medvedev John Kerr Héctor García Godoy William Morrison, 1st Viscount Dunrossil Horst Köhler Christian Wulff Dési Bouterse Emil Constantinescu Filip Vujanović William McKell Marie Louise Coleiro Preca Yang Shangkun Václav Havel Christian X of Denmark Frederick I of Denmark Peter Cosgrove Ludovico Sforza Aguila Salah Issa Blaise Compaoré Hassanal Bolkiah Patrice Talon Abdrabbuh Mansour Hadi Mahamadou Issoufou Yun Posun Thein Sein Charles Savarin Abd al-Malik ibn Marwan Ismaïl Omar Guelleh Armando Guebuza Nursultan Nazarbayev Aníbal Cavaco Silva Theodor Heuss Gustaf VI Adolf of Sweden John II, Duke of Cleves Nicos Anastasiades Tomislav Nikolić Václav Klaus Eric of Pomerania Gjorge Ivanov Macky Sall Christos Sartzetakis Christian III of Denmark Xiang Yu Frederick V of Denmark Park Chung-hee Christian IX of Denmark Jacques Chirac Zelman Cowen Richard Casey, Baron Casey Mladen Ivanić François Mitterrand Ratael Correa Charles XIV John of Sweden Christian V of Denmark Ali Abdullah Saleh Kersti Kaljulaid Jiang Zemin Oleksandr Turchynov Michail Stasinopoulos Albert II Heinz Fischer Andris Bērziņš Al-Walid I José Mário Vaz Luiz Inácio Lula da Silva Gustaf V of Sweden Yitzhak Ben-Zvi Sukarno Felipe VI Bashar al-Assad Antanas Smetona Mswati III Jozo Križanović Adolph I, Duke of Cleves Ezer Weizman Hu Jintao Zviad Gamsakhurdia Tion Otang Erasme Louis Surlet de Chokier John, King of Denmark Abdullah of Saudi Arabia Ivan Gašparovič Wilhelmina of the Netherlands Faure Gnassingbé Rogvolod Michael Higgins Yoweri Museveni Paul Biya Dalia Grybauskaitė Jigme Khesar Namgyel Wangchuck Fuad Masum Ilham Aliyev Traian Băsescu John Magufuli Mulatu Teshome Tabaré Vázquez Fernando Henrique Cardoso José Mujica Margrethe II of Denmark Anna Maria Muccioli Serzh Sargsyan Joko Widodo Chaim Herzog Yazid II Alcide De Gasperi Rose Francine Rogombé Ioannis Alevras Charles XV of Sweden Oscar II of Sweden Oscar I of Sweden Itamar Franco Paul Kagame John I, Duke of Cleves Evo Morales Christian VII of Denmark Hage Geingob Kim Jong-il Mirko Šarović Taaneti Mamau William Slim, 1st Viscount Slim Baldwin Lonsdale Tommy Remengesau Antonio Guzmán Fernández Kim Dae-jung Catherine Samba-Panza Chaim Weizmann Li Xiannian Petro Poroshenko Christopher Loeak Abdurrahman Wahid Johannes Rau Roh Tae-woo Peter Mutharika Theodor Körner Jimmy Morales Abdullah Gül Rhee Syng-man Mohammed VI of Morocco Juan Manuel Santos Jean-Pierre Bemba Ye Jianying Yazid I Michael Jeffery Beji Caid el Sebsi Michael Hainisch Pedro Pablo Kuczynski Zhu De Qaboos bin Said al Said Ahmet Necdet Sezer Ali Khamenei Christian I of Denmark Inayatullah Khan Raúl Castro Christian VI of Denmark Frederick Ballantyne Frederick II of Denmark Henri, Grand Duke of Luxembourg Jacobo Majluta Azar Pierre Nkurunziza Manuel Serifo Nhamadjo Donald Ramotar Tsakhiagiin Elbegdorj Roh Moo-hyun Lee Myung-bak Bidhya Bhandari Habibullāh Kalakāni Karl Carstens Ameenah Gurib-Fakim Bacharuddin Jusuf Habibie Roman Herzog Richard von Weizsäcker Reuven Rivlin Christian VIII of Denmark Salvador Sánchez Cerén Valdas Adamkus Nicolás Maduro Mário Soares Jorge Sampaio Georges Pompidou Léon M'ba Karl Renner Taur Matan Ruak Michel Martelly Jorge Carlos Fonseca Sabah Al-Ahmad Al-Jaber Al-Sabah Peter Hollingworth Rudolf Kirchschläger Juliana of the Netherlands Frederick IV of Denmark Mao Zedong William, Duke of Jülich-Cleves-Berg Abdul Halim of Kedah Yitzhak Navon Yazid III Mohammed Zahir Shah Gian Galeazzo Visconti Adolf Schärf Kurt Waldheim Baron Waqa Choi Kyu-ha Heinrich Lübke Borut Pahor Süleyman Demirel Boris Yeltsin Toomas Hendrik Ilves Omar Bongo Jacob Zuma Christian IV of Denmark Harald V of Norway Ólafur Ragnar Grímsson John III, Duke of Cleves Ernest Bai Koroma János Áder Abdullah II of Jordan Abdelaziz Bouteflika Abdul Hamid Akihito Teburoro Tito Karolos Papoulias Luis Guillermo Solís Robert Mugabe Momčilo Krajišnik Pearlette Louisy Izyaslav of Polotsk John Mahama Moncef Marzouki Kenneth Kaunda Al-Walid II Christian II of Denmark Bakir Izetbegović Stjepan Mesić Burhanuddin Rabbani Marwan I Ninian Stephen Bryachislav of Polotsk Prokopis Pavlopoulos Alassane Ouattara Shimon Peres Juan Carlos I Denis Sassou Nguesso Hilda C. Heine Casten Nemra Galeazzo Maria Sforza Rudolf Schuster Yahya Jammeh Almazbek Atambayev Gian Maria Visconti Danny Faure Wilhelm Miklas Eliud Williams Joachim Gauck Valéry Giscard d'Estaing Edgar Lungu Roch Marc Christian Kaboré Frederick Chiluba Ali Bongo Ondimba Bujar Nishani Epeli Nailatikau Soong Ching-ling Park Geun-hye Algirdas Brazauskas Anthony Carmona Levy Mwanawasa Gianfranco Terenzi Salvador Jorge Blanco Klaus Iohannis Paul Hasluck Baudouin of Belgium Albert I Leopold III Leopold I Mamnoon Hussain Viktor Yanukovych Marwan II Hassan Sheikh Mohamud Gian Galeazzo Sforza Jalal Talabani Quentin Bryce Michael Sata Oscar Luigi Scalfaro Carlo Azeglio Ciampi Konstantinos Stephanopoulos Giorgio Napolitano Nebojša Radmanović Mahinda Rajapaksa Recep Tayyip Erdoğan Abdel Fattah el-Sisi Lech Kaczyński Herod the Great Ikililou Dhoinine William Sidney, 1st Viscount De L'Isle Idriss Déby Hamad bin Isa Al Khalifa François Bozizé Anote Tong Hans-Adam II, Prince of Liechtenstein Alija Izetbegović Aleksandras Stulginskis Gian Carlo Capicchioni
Václav Havel, Richard von Weizsäcker and Michelle Bachelet are the heads of state of exactly 1 political territories or administrative territories
Václav Havel Richard von Weizsäcker Michelle Bachelet
action equal
action union
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
value 1
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?v WHERE { VALUES ( ?k ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?a rdf:type ?k } GROUP BY ?v } . FILTER ( ?u = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q18210097 Q801
P530 P495
Q15617994
USER
Which administrative territories holds diplomatic relationship with Israel and are the origins of Vaazhkai ?
AND((Q801,P530,c(Q15617994)), (Q18210097,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q801
relation P530
action find
entity Q18210097
relation P495
type Q15617994
{'AND': [['Q801', 'P530', {'concept': 'Q15617994'}], ['Q18210097', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { resource:Q801 property:P530 ?t . resource:Q18210097 property:P495 ?t . ?t rdf:type ontology:Q15617994 }
Vaazhkai Israel
action filter_type
action intersection
action find
entity Israel
relation diplomatic relation
action find
entity Vaazhkai
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Israel', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Vaazhkai', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { resource:Israel property:diplomatic_relation ?t . resource:Vaazhkai property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
AND((Q801,P530,c(Q15617994)), (Q18210097,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q801
relation P530
action find
entity Q18210097
relation P495
type Q15617994
[ANSWER] holds diplomatic relationship with Israel and are the origins of Vaazhkai
{'AND': [['Q801', 'P530', {'concept': 'Q15617994'}], ['Q18210097', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { resource:Q801 property:P530 ?t . resource:Q18210097 property:P495 ?t . ?t rdf:type ontology:Q15617994 }
India
India holds diplomatic relationship with Israel and are the origins of Vaazhkai
India
action filter_type
action intersection
action find
entity Israel
relation diplomatic relation
action find
entity Vaazhkai
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Israel', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Vaazhkai', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { resource:Israel property:diplomatic_relation ?t . resource:Vaazhkai property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q668 Q16386289
P495
Q838948
USER
Did In the Bar of a Tokyo Hotel originate in that administrative territory ?
(Q16386289,P495,Q668)
action is_in
entity Q16386289
action find
entity Q668
relation P495
['Q16386289', 'P495', 'Q668']
ASK WHERE { resource:Q668 property:P495 resource:Q16386289 }
India In the Bar of a Tokyo Hotel
action is_in
entity In the Bar of a Tokyo Hotel
action find
entity India
relation country of origin
['In the Bar of a Tokyo Hotel', 'country of origin', 'India']
ASK WHERE { resource:India property:country_of_origin resource:In_the_Bar_of_a_Tokyo_Hotel }
[]
work of art
SYSTEM
NO
(Q16386289,P495,Q668)
action is_in
entity Q16386289
action find
entity Q668
relation P495
[ANSWER]
['Q16386289', 'P495', 'Q668']
ASK WHERE { resource:Q668 property:P495 resource:Q16386289 }
No
action is_in
entity In the Bar of a Tokyo Hotel
action find
entity India
relation country of origin
['In the Bar of a Tokyo Hotel', 'country of origin', 'India']
ASK WHERE { resource:India property:country_of_origin resource:In_the_Bar_of_a_Tokyo_Hotel }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q189503
P84
Q502895
USER
Which person designed the architecture of place de la Concorde ?
(Q189503,P84,c(Q502895))
action filter_type
action find
entity Q189503
relation P84
type Q502895
['Q189503', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q189503 property:P84 ?e . ?e rdf:type ontology:Q502895 }
place de la Concorde
action filter_type
action find
entity place de la Concorde
relation architect
type common name
['place de la Concorde', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:place_de_la_Concorde property:architect ?e . ?e rdf:type ontology:common_name }
[]
common name
Q352451
SYSTEM
Ange-Jacques Gabriel
Q352451
(Q189503,P84,c(Q502895))
action filter_type
action find
entity Q189503
relation P84
type Q502895
Pro [ANSWER] designed the architecture of place de la Concorde
['Q189503', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q189503 property:P84 ?e . ?e rdf:type ontology:Q502895 }
Ange-Jacques Gabriel
Pro Ange-Jacques Gabriel designed the architecture of place de la Concorde
Ange-Jacques Gabriel
action filter_type
action find
entity place de la Concorde
relation architect
type common name
['place de la Concorde', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:place_de_la_Concorde property:architect ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q189503
P276
Q20667921
USER
Where is that architectural structure located ?
(Q352451,P276,c(Q20667921))
action filter_type
action find
entity Q189503
relation P276
type Q20667921
['Q352451', 'P276', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { resource:Q189503 property:P276 ?u . ?u rdf:type ontology:Q20667921 }
place de la Concorde
action filter_type
action find
entity place de la Concorde
relation location
type type of french administrative division
['Ange-Jacques Gabriel', 'location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { resource:place_de_la_Concorde property:location ?u . ?u rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q3413229
SYSTEM
Champs-Élysées
Q3413229
(Q352451,P276,c(Q20667921))
action filter_type
action find
entity Q189503
relation P276
type Q20667921
That architectural structure is located in [ANSWER]
['Q352451', 'P276', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { resource:Q189503 property:P276 ?u . ?u rdf:type ontology:Q20667921 }
Champs-Élysées
That architectural structure is located in Champs-Élysées
Champs-Élysées
action filter_type
action find
entity place de la Concorde
relation location
type type of french administrative division
['Ange-Jacques Gabriel', 'location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { resource:place_de_la_Concorde property:location ?u . ?u rdf:type ontology:type_of_french_administrative_division }
[]