Simple Question (Direct)
Simple Question
Q20811165
P54
Q43229
USER
What is the team that Tommy Leigh is a member of ?
(Q20811165,P54,c(Q43229))
action filter_type
action find
entity Q20811165
relation P54
type Q43229
['Q20811165', 'P54', {'concept': 'Q43229'}]
SELECT DISTINCT ?v WHERE { resource:Q20811165 property:P54 ?v . ?v rdf:type ontology:Q43229 }
Tommy Leigh
action filter_type
action find
entity Tommy Leigh
relation member of sports team
type organization
['Tommy Leigh', 'member of sports team', {'concept': 'organization'}]
SELECT DISTINCT ?v WHERE { resource:Tommy_Leigh property:member_of_sports_team ?v . ?v rdf:type ontology:organization }
[]
organization
Q18656
SYSTEM
Manchester United F.C.
Q18656
(Q20811165,P54,c(Q43229))
action filter_type
action find
entity Q20811165
relation P54
type Q43229
The team that Tommy Leigh is a member of is the [ANSWER]
['Q20811165', 'P54', {'concept': 'Q43229'}]
SELECT DISTINCT ?v WHERE { resource:Q20811165 property:P54 ?v . ?v rdf:type ontology:Q43229 }
Manchester United F.C.
The team that Tommy Leigh is a member of is the Manchester United F.C.
Manchester United F.C.
action filter_type
action find
entity Tommy Leigh
relation member of sports team
type organization
['Tommy Leigh', 'member of sports team', {'concept': 'organization'}]
SELECT DISTINCT ?v WHERE { resource:Tommy_Leigh property:member_of_sports_team ?v . ?v rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18656
P112
Q4830453
USER
Who founded that organization ?
(Q18656,P112,c(Q4830453))
action filter_type
action find
entity Q18656
relation P112
type Q4830453
['Q18656', 'P112', {'concept': 'Q4830453'}]
SELECT DISTINCT ?z WHERE { resource:Q18656 property:P112 ?z . ?z rdf:type ontology:Q4830453 }
Manchester United F.C.
action filter_type
action find
entity Manchester United F.C.
relation founder
type business enterprise
['Manchester United F.C.', 'founder', {'concept': 'business enterprise'}]
SELECT DISTINCT ?z WHERE { resource:Manchester_United_F.C. property:founder ?z . ?z rdf:type ontology:business_enterprise }
[]
business enterprise
Q1779703
SYSTEM
Lancashire and Yorkshire Railway
Q1779703
(Q18656,P112,c(Q4830453))
action filter_type
action find
entity Q18656
relation P112
type Q4830453
The [ANSWER] founded that organization
['Q18656', 'P112', {'concept': 'Q4830453'}]
SELECT DISTINCT ?z WHERE { resource:Q18656 property:P112 ?z . ?z rdf:type ontology:Q4830453 }
Lancashire and Yorkshire Railway
The Lancashire and Yorkshire Railway founded that organization
Lancashire and Yorkshire Railway
action filter_type
action find
entity Manchester United F.C.
relation founder
type business enterprise
['Manchester United F.C.', 'founder', {'concept': 'business enterprise'}]
SELECT DISTINCT ?z WHERE { resource:Manchester_United_F.C. property:founder ?z . ?z rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18656
P127
Q811979
USER
Which architectural structure belongs to Manchester United F.C. ?
(c(Q811979),P127,Q18656)
action filter_type
action find_reverse
entity Q18656
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q18656']
SELECT DISTINCT ?y WHERE { ?y property:P127 resource:Q18656 . ?y rdf:type ontology:Q811979 }
Manchester United F.C.
action filter_type
action find_reverse
entity Manchester United F.C.
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Manchester United F.C.']
SELECT DISTINCT ?y WHERE { ?y property:owned_by resource:Manchester_United_F.C. . ?y rdf:type ontology:architectural_structure }
[]
architectural structure
Q2044156
SYSTEM
The Cliff
Q2044156
(c(Q811979),P127,Q18656)
action filter_type
action find_reverse
entity Q18656
relation P127
type Q811979
[ANSWER] belongs to Manchester United F.C.
[{'concept': 'Q811979'}, 'P127', 'Q18656']
SELECT DISTINCT ?y WHERE { ?y property:P127 resource:Q18656 . ?y rdf:type ontology:Q811979 }
The Cliff
The Cliff belongs to Manchester United F.C.
The Cliff
action filter_type
action find_reverse
entity Manchester United F.C.
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Manchester United F.C.']
SELECT DISTINCT ?y WHERE { ?y property:owned_by resource:Manchester_United_F.C. . ?y rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2044156
P17
Q15617994
USER
Which administrative territory is that architectural structure situated in ?
(Q2044156,P17,c(Q15617994))
action filter_type
action find
entity Q2044156
relation P17
type Q15617994
['Q2044156', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q2044156 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
The Cliff
action filter_type
action find
entity The Cliff
relation country
type designation for an administrative territorial entity
['The Cliff', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:The_Cliff property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2044156,P17,c(Q15617994))
action filter_type
action find
entity Q2044156
relation P17
type Q15617994
That architectural structure is situated in [ANSWER]
['Q2044156', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q2044156 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
United Kingdom
That architectural structure is situated in United Kingdom
United Kingdom
action filter_type
action find
entity The Cliff
relation country
type designation for an administrative territorial entity
['The Cliff', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:The_Cliff property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q145 Q23010
P530
Q15617994
USER
Does Börsborn have diplomatic relationships with that one ?
(Q145,P530,Q23010)
action is_in
entity Q23010
action find
entity Q145
relation P530
['Q145', 'P530', 'Q23010']
ASK WHERE { resource:Q145 property:P530 resource:Q23010 }
United Kingdom Börsborn
action is_in
entity Börsborn
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Börsborn']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Börsborn }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q145,P530,Q23010)
action is_in
entity Q23010
action find
entity Q145
relation P530
[ANSWER]
['Q145', 'P530', 'Q23010']
ASK WHERE { resource:Q145 property:P530 resource:Q23010 }
No
action is_in
entity Börsborn
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Börsborn']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Börsborn }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2097879
P669
Q811979 Q811430 Q55488
USER
Which architectural structures are the locations of around the same number of constructions and railway stations as place Denfert-Rochereau ?
(c(Q811430)|c(Q55488),P669,c(Q811979))
action approx
action union
action find_reverse_tuple_counts
relation P669
type Q811979
type Q811430
action find_reverse_tuple_counts
relation P669
type Q811979
type Q55488
action count
action filter_multi_types
action find_reverse
entity Q2097879
relation P669
type Q811430
type Q55488
[[{'concept': 'Q811430'}, {'concept': 'Q55488'}], 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?l WHERE { { ?p property:P669 ?l . ?l rdf:type ontology:Q811979 . ?p rdf:type ontology:Q811430 } UNION { ?l rdf:type ontology:Q811979 . ?p rdf:type ontology:Q55488 . ?p property:P669 ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:P669 resource:Q2097879 . { VALUES ( ?f ) { ( ontology:Q811430 ) ( ontology:Q55488 ) } . ?k rdf:type ?f } } } . FILTER ( ?s = ?i ) }
place Denfert-Rochereau
action approx
action union
action find_reverse_tuple_counts
relation located on street
type architectural structure
type construction
action find_reverse_tuple_counts
relation located on street
type architectural structure
type railway station
action count
action filter_multi_types
action find_reverse
entity place Denfert-Rochereau
relation located on street
type construction
type railway station
[[{'concept': 'construction'}, {'concept': 'railway station'}], 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?l WHERE { { ?p property:located_on_street ?l . ?l rdf:type ontology:architectural_structure . ?p rdf:type ontology:construction } UNION { ?l rdf:type ontology:architectural_structure . ?p rdf:type ontology:railway_station . ?p property:located_on_street ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:located_on_street resource:place_Denfert-Rochereau . { VALUES ( ?f ) { ( ontology:construction ) ( ontology:railway_station ) } . ?k rdf:type ?f } } } . FILTER ( ?s = ?i ) }
[]
architectural structure construction railway station
Q2097879 Q3390162 Q3390598
SYSTEM
place Denfert-Rochereau, place Victor-Hugo, place du Colonel-Fabien
Q2071624 Q3390657 Q3389976 Q2550495 Q51108 Q3390541 Q3389946 Q3390487 Q1656091 Q3390162 Q3390598 Q2783781 Q1957616 Q1535 Q2097879 Q3902479 Q863759 Q1006268 Q1966521 Q1375505 Q15651225
(c(Q811430)|c(Q55488),P669,c(Q811979))
action approx
action union
action find_reverse_tuple_counts
relation P669
type Q811979
type Q811430
action find_reverse_tuple_counts
relation P669
type Q811979
type Q55488
action count
action filter_multi_types
action find_reverse
entity Q2097879
relation P669
type Q811430
type Q55488
[ANSWERS] are the locations of around the same number of constructions and railway stations as place Denfert-Rochereau
[[{'concept': 'Q811430'}, {'concept': 'Q55488'}], 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?l WHERE { { ?p property:P669 ?l . ?l rdf:type ontology:Q811979 . ?p rdf:type ontology:Q811430 } UNION { ?l rdf:type ontology:Q811979 . ?p rdf:type ontology:Q55488 . ?p property:P669 ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:P669 resource:Q2097879 . { VALUES ( ?f ) { ( ontology:Q811430 ) ( ontology:Q55488 ) } . ?k rdf:type ?f } } } . FILTER ( ?s = ?i ) }
Piazza Cordusio place du Palais-Royal place Martin-Nadaud Washingtonplatz piazza del Duomo place des Ternes place Louis-Lépine place des Abbesses Platz der Vereinten Nationen place Victor-Hugo place du Colonel-Fabien Piazza San Babila Mårtenstorget place Antonin-Poncet place Denfert-Rochereau Piazzale Cadorna Maidan Nezalezhnosti Bundeskanzlerplatz place d'Italie Europaplatz Platz der Deutschen Post
Place Denfert-Rochereau, place Victor-Hugo and place du Colonel-Fabien are the locations of around the same number of constructions and railway stations as place Denfert-Rochereau
place Denfert-Rochereau place Victor-Hugo place du Colonel-Fabien
action approx
action union
action find_reverse_tuple_counts
relation located on street
type architectural structure
type construction
action find_reverse_tuple_counts
relation located on street
type architectural structure
type railway station
action count
action filter_multi_types
action find_reverse
entity place Denfert-Rochereau
relation located on street
type construction
type railway station
[[{'concept': 'construction'}, {'concept': 'railway station'}], 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?l WHERE { { ?p property:located_on_street ?l . ?l rdf:type ontology:architectural_structure . ?p rdf:type ontology:construction } UNION { ?l rdf:type ontology:architectural_structure . ?p rdf:type ontology:railway_station . ?p property:located_on_street ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:located_on_street resource:place_Denfert-Rochereau . { VALUES ( ?f ) { ( ontology:construction ) ( ontology:railway_station ) } . ?k rdf:type ?f } } } . FILTER ( ?s = ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q19693351
P669
Q811979 Q811430 Q55488
USER
And how about Theaterplatz?
(c(Q811430)|c(Q55488),P669,c(Q811979))
action approx
action union
action find_reverse_tuple_counts
relation P669
type Q811979
type Q811430
action find_reverse_tuple_counts
relation P669
type Q811979
type Q55488
action count
action filter_multi_types
action find_reverse
entity Q19693351
relation P669
type Q811430
type Q55488
[[{'concept': 'Q811430'}, {'concept': 'Q55488'}], 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P669 resource:Q19693351 . { { ?o rdf:type ontology:Q811430 } UNION { ?o rdf:type ontology:Q55488 } } } } . FILTER ( ?m = ?h ) . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?m ) WHERE { { ?j rdf:type ontology:Q811979 . ?v rdf:type ontology:Q811430 . ?v property:P669 ?j } UNION { ?v property:P669 ?j . ?j rdf:type ontology:Q811979 . ?v rdf:type ontology:Q55488 } } GROUP BY ?j } }
Theaterplatz
action approx
action union
action find_reverse_tuple_counts
relation located on street
type architectural structure
type construction
action find_reverse_tuple_counts
relation located on street
type architectural structure
type railway station
action count
action filter_multi_types
action find_reverse
entity Theaterplatz
relation located on street
type construction
type railway station
[[{'concept': 'construction'}, {'concept': 'railway station'}], 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:located_on_street resource:Theaterplatz . { { ?o rdf:type ontology:construction } UNION { ?o rdf:type ontology:railway_station } } } } . FILTER ( ?m = ?h ) . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?m ) WHERE { { ?j rdf:type ontology:architectural_structure . ?v rdf:type ontology:construction . ?v property:located_on_street ?j } UNION { ?v property:located_on_street ?j . ?j rdf:type ontology:architectural_structure . ?v rdf:type ontology:railway_station } } GROUP BY ?j } }
[]
architectural structure construction railway station
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 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 Q26833863 Q3881523 Q16510199 Q18638628 Q14629278 Q3390556 Q3390091 Q3390090 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 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 Q3390435 Q3389916 Q3389917 Q3390106 Q3390430 Q3390534 Q3390537 Q1409805 Q3058440 Q3389695 Q892745 Q5016732 Q2052678 Q5055036 Q3390608 Q5052221 Q3649219 Q1936696 Q3389805 Q20799689 Q3390339 Q3390236 Q3389947 Q20796729 Q3390730 Q19670484 Q1017385 Q3389766 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 Q3390667 Q3389840 Q3390593 Q3390596 Q3390210 Q2378453 Q3390057 Q19693351 Q3389747 Q3390054 Q3390053 Q1362670 Q2146085 Q3390699 Q2577891 Q189503 Q683180 Q3389993 Q25467425 Q3390694 Q1422975 Q805259 Q4685881 Q5086152 Q3390503 Q778784 Q3390181 Q20653360 Q1589941 Q3390344 Q1811570 Q1810764 Q3390275 Q3390461 Q3390063 Q12323100 Q24493632 Q3390115 Q3390679 Q27325853 Q27325690 Q3390103 Q2736153 Q21777213 Q1428517 Q2406314 Q1721717 Q3389979 Q2402940 Q3390064 Q3389736 Q3389832 Q3389738 Q3048023 Q614 Q1411047 Q3390648 Q24481510 Q7849515 Q3389814 Q3390375 Q3390470 Q2493255 Q3783111 Q840577 Q27325663 Q839050 Q3389676 Q3390574 Q3434140 Q970525 Q602107 Q3390077 Q3390076 Q2660380 Q827673 Q801700 Q1753950 Q3390310 Q3390728 Q3390578 Q1579642 Q699504 Q516873 Q12340524 Q3090480 Q1469337 Q16152081 Q5649425 Q3389696 Q3389720 Q426064 Q3390738 Q700753 Q319779 Q16510149 Q127212 Q1368556 Q898629 Q2635425
(c(Q811430)|c(Q55488),P669,c(Q811979))
action approx
action union
action find_reverse_tuple_counts
relation P669
type Q811979
type Q811430
action find_reverse_tuple_counts
relation P669
type Q811979
type Q55488
action count
action filter_multi_types
action find_reverse
entity Q19693351
relation P669
type Q811430
type Q55488
[ANSWERS]
[[{'concept': 'Q811430'}, {'concept': 'Q55488'}], 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P669 resource:Q19693351 . { { ?o rdf:type ontology:Q811430 } UNION { ?o rdf:type ontology:Q55488 } } } } . FILTER ( ?m = ?h ) . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?m ) WHERE { { ?j rdf:type ontology:Q811979 . ?v rdf:type ontology:Q811430 . ?v property:P669 ?j } UNION { ?v property:P669 ?j . ?j rdf:type ontology:Q811979 . ?v rdf:type ontology:Q55488 } } GROUP BY ?j } }
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 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 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 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 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 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 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 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 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 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 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 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 Rodin place Camille-Jullian place Georges-Mulot Cardinal Mercier square Stortorget place Bellecour Náměstí Republiky 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 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 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 Agias Sofias Square Hanover Square, Manhattan place Alphonse-Laveran place Beauvau place Stanislas place Émile-Goudeau 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 approx
action union
action find_reverse_tuple_counts
relation located on street
type architectural structure
type construction
action find_reverse_tuple_counts
relation located on street
type architectural structure
type railway station
action count
action filter_multi_types
action find_reverse
entity Theaterplatz
relation located on street
type construction
type railway station
[[{'concept': 'construction'}, {'concept': 'railway station'}], 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:located_on_street resource:Theaterplatz . { { ?o rdf:type ontology:construction } UNION { ?o rdf:type ontology:railway_station } } } } . FILTER ( ?m = ?h ) . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?m ) WHERE { { ?j rdf:type ontology:architectural_structure . ?v rdf:type ontology:construction . ?v property:located_on_street ?j } UNION { ?v property:located_on_street ?j . ?j rdf:type ontology:architectural_structure . ?v rdf:type ontology:railway_station } } GROUP BY ?j } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q734
P137
Q15617994 Q811979
USER
Which administrative territories operates more number of architectural structures than Guyana ?
(c(Q811979),P137,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P137
type Q15617994
type Q811979
action count
action filter_type
action find
entity Q734
relation P137
type Q15617994
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P137 ?x . ?n rdf:type ontology:Q811979 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?t > ?f ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q734 property:P137 ?b } } }
Guyana
action greater
action find_reverse_tuple_counts
relation operator
type designation for an administrative territorial entity
type architectural structure
action count
action filter_type
action find
entity Guyana
relation operator
type designation for an administrative territorial entity
[{'concept': 'architectural structure'}, 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:operator ?x . ?n rdf:type ontology:architectural_structure . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?t > ?f ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Guyana property:operator ?b } } }
[]
designation for an administrative territorial entity architectural structure
Q155 Q30 Q55
SYSTEM
Brazil, United States of America, Netherlands
Q414 Q142 Q55 Q265 Q399 Q398 Q155 Q794 Q954 Q32 Q31 Q30 Q36 Q39 Q7432239 Q221 Q1025 Q6135283 Q963 Q750 Q218 Q6391894 Q5130690 Q6378510
(c(Q811979),P137,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P137
type Q15617994
type Q811979
action count
action filter_type
action find
entity Q734
relation P137
type Q15617994
[ANSWERS] operate more number of architectural structures than Guyana
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P137 ?x . ?n rdf:type ontology:Q811979 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?t > ?f ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q734 property:P137 ?b } } }
Argentina France Netherlands Uzbekistan Armenia Bahrain Brazil Iran Zimbabwe Luxembourg Belgium United States of America Poland Switzerland School District of Lancaster Republic of Macedonia Mauritania North East Independent School District Botswana Bolivia Romania Kent School District Clear Creek Independent School District Katy Independent School District
Brazil, United States of America and Netherlands operate more number of architectural structures than Guyana
Brazil United States of America Netherlands
action greater
action find_reverse_tuple_counts
relation operator
type designation for an administrative territorial entity
type architectural structure
action count
action filter_type
action find
entity Guyana
relation operator
type designation for an administrative territorial entity
[{'concept': 'architectural structure'}, 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:operator ?x . ?n rdf:type ontology:architectural_structure . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?t > ?f ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Guyana property:operator ?b } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P36
Q515 Q56061
USER
How many cities and administrative territories are the capitals of that administrative territory ?
(Q155,P36,c(Q515)) (Q155,P36,c(Q56061)) (Q155,P36,c(Q515)) (Q155,P36,c(Q56061)) (Q30,P36,c(Q515)) (Q30,P36,c(Q56061)) (Q55,P36,c(Q515)) (Q55,P36,c(Q56061))
['Q155', 'P36', {'concept': 'Q515'}] ['Q155', 'P36', {'concept': 'Q56061'}] ['Q155', 'P36', {'concept': 'Q515'}] ['Q155', 'P36', {'concept': 'Q56061'}] ['Q30', 'P36', {'concept': 'Q515'}] ['Q30', 'P36', {'concept': 'Q56061'}] ['Q55', 'P36', {'concept': 'Q515'}] ['Q55', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q21475816 property:Q8137 ?z } UNION { resource:Q21475816 property:Q8137 ?y } UNION { resource:Q21475816 property:Q8137 ?z } UNION { resource:Q21475816 property:Q8137 ?y } UNION { resource:Q30 property:Q8137 ?z } UNION { resource:Q30 property:Q8137 ?y } UNION { resource:Q22442862 property:Q8137 ?z } UNION { resource:Q22442862 property:Q8137 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q56061 }
['Brazil', 'capital', {'concept': 'city'}] ['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['Brazil', 'capital', {'concept': 'city'}] ['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['United States of America', 'capital', {'concept': 'city'}] ['United States of America', 'capital', {'concept': 'administrative territorial entity'}] ['Netherlands', 'capital', {'concept': 'city'}] ['Netherlands', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Brazil property:capital ?z } UNION { resource:Brazil property:capital ?y } UNION { resource:Brazil property:capital ?z } UNION { resource:Brazil property:capital ?y } UNION { resource:United_States_of_America property:capital ?z } UNION { resource:United_States_of_America property:capital ?y } UNION { resource:Netherlands property:capital ?z } UNION { resource:Netherlands property:capital ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:administrative_territorial_entity }
[]
city administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q55
SYSTEM
Did you mean Netherlands ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q21475816 property:Q8137 ?z } UNION { resource:Q21475816 property:Q8137 ?y } UNION { resource:Q21475816 property:Q8137 ?z } UNION { resource:Q21475816 property:Q8137 ?y } UNION { resource:Q30 property:Q8137 ?z } UNION { resource:Q30 property:Q8137 ?y } UNION { resource:Q22442862 property:Q8137 ?z } UNION { resource:Q22442862 property:Q8137 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q56061 }
Did you mean Netherlands ?
Netherlands
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Brazil property:capital ?z } UNION { resource:Brazil property:capital ?y } UNION { resource:Brazil property:capital ?z } UNION { resource:Brazil property:capital ?y } UNION { resource:United_States_of_America property:capital ?z } UNION { resource:United_States_of_America property:capital ?y } UNION { resource:Netherlands property:capital ?z } UNION { resource:Netherlands property:capital ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Brazil. Could you tell me the answer for that?
(Q155,P36,c(Q515)) (Q155,P36,c(Q56061)) (Q155,P36,c(Q515)) (Q155,P36,c(Q56061)) (Q30,P36,c(Q515)) (Q30,P36,c(Q56061)) (Q55,P36,c(Q515)) (Q55,P36,c(Q56061))
Q155
['Q155', 'P36', {'concept': 'Q515'}] ['Q155', 'P36', {'concept': 'Q56061'}] ['Q155', 'P36', {'concept': 'Q515'}] ['Q155', 'P36', {'concept': 'Q56061'}] ['Q30', 'P36', {'concept': 'Q515'}] ['Q30', 'P36', {'concept': 'Q56061'}] ['Q55', 'P36', {'concept': 'Q515'}] ['Q55', 'P36', {'concept': 'Q56061'}]
['Brazil', 'capital', {'concept': 'city'}] ['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['Brazil', 'capital', {'concept': 'city'}] ['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['United States of America', 'capital', {'concept': 'city'}] ['United States of America', 'capital', {'concept': 'administrative territorial entity'}] ['Netherlands', 'capital', {'concept': 'city'}] ['Netherlands', 'capital', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1 cities and 1 administrative territories
Q8678 Q2844
(Q155,P36,c(Q515)) (Q155,P36,c(Q56061)) (Q155,P36,c(Q515)) (Q155,P36,c(Q56061)) (Q30,P36,c(Q515)) (Q30,P36,c(Q56061)) (Q55,P36,c(Q515)) (Q55,P36,c(Q56061))
[ANSWER]
['Q155', 'P36', {'concept': 'Q515'}] ['Q155', 'P36', {'concept': 'Q56061'}] ['Q155', 'P36', {'concept': 'Q515'}] ['Q155', 'P36', {'concept': 'Q56061'}] ['Q30', 'P36', {'concept': 'Q515'}] ['Q30', 'P36', {'concept': 'Q56061'}] ['Q55', 'P36', {'concept': 'Q515'}] ['Q55', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q21475816 property:Q8137 ?z } UNION { resource:Q21475816 property:Q8137 ?y } UNION { resource:Q21475816 property:Q8137 ?z } UNION { resource:Q21475816 property:Q8137 ?y } UNION { resource:Q30 property:Q8137 ?z } UNION { resource:Q30 property:Q8137 ?y } UNION { resource:Q22442862 property:Q8137 ?z } UNION { resource:Q22442862 property:Q8137 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q56061 }
Rio de Janeiro Brasília
1 cities and 1 administrative territories
['Brazil', 'capital', {'concept': 'city'}] ['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['Brazil', 'capital', {'concept': 'city'}] ['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['United States of America', 'capital', {'concept': 'city'}] ['United States of America', 'capital', {'concept': 'administrative territorial entity'}] ['Netherlands', 'capital', {'concept': 'city'}] ['Netherlands', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Brazil property:capital ?z } UNION { resource:Brazil property:capital ?y } UNION { resource:Brazil property:capital ?z } UNION { resource:Brazil property:capital ?y } UNION { resource:United_States_of_America property:capital ?z } UNION { resource:United_States_of_America property:capital ?y } UNION { resource:Netherlands property:capital ?z } UNION { resource:Netherlands property:capital ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q23848646
P2695
Q811979 Q3977918 Q11173
USER
How many architectural structures are known for containing greater number of mineral supergroupss and chemical compounds naturally than Koashva open pit ?
(c(Q3977918)|c(Q11173),P2695,c(Q811979))
action count
action greater
action union
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q3977918
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q11173
action count
action filter_multi_types
action find_reverse
entity Q23848646
relation P2695
type Q3977918
type Q11173
[[{'concept': 'Q3977918'}, {'concept': 'Q11173'}], 'P2695', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?s WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q11173 ) ( ontology:Q3977918 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P2695 resource:Q23848646 . { { ?q rdf:type ontology:Q3977918 } UNION { ?q rdf:type ontology:Q11173 } } } } . FILTER ( ?x > ?k ) }
Koashva open pit
action count
action greater
action union
action find_reverse_tuple_counts
relation type locality
type architectural structure
type mineral supergroups
action find_reverse_tuple_counts
relation type locality
type architectural structure
type chemical compound
action count
action filter_multi_types
action find_reverse
entity Koashva open pit
relation type locality
type mineral supergroups
type chemical compound
[[{'concept': 'mineral supergroups'}, {'concept': 'chemical compound'}], 'type locality', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?s WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:chemical_compound ) ( ontology:mineral_supergroups ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:type_locality resource:Koashva_open_pit . { { ?q rdf:type ontology:mineral_supergroups } UNION { ?q rdf:type ontology:chemical_compound } } } } . FILTER ( ?x > ?k ) }
[]
architectural structure mineral supergroups chemical compound
SYSTEM
27
Q26453772 Q26707101 Q23893344 Q23901287 Q24291892 Q6049296 Q1055970 Q24067108 Q24291870 Q26885113 Q24570697 Q746606 Q16963684 Q24029433 Q24264094 Q23900599 Q26698152 Q24555774 Q23829138 Q24291645 Q26474954 Q27089348 Q24572921 Q24500126 Q23835375 Q23723997 Q26452588
(c(Q3977918)|c(Q11173),P2695,c(Q811979))
action count
action greater
action union
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q3977918
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q11173
action count
action filter_multi_types
action find_reverse
entity Q23848646
relation P2695
type Q3977918
type Q11173
[ANSWER]
[[{'concept': 'Q3977918'}, {'concept': 'Q11173'}], 'P2695', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?s WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q11173 ) ( ontology:Q3977918 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P2695 resource:Q23848646 . { { ?q rdf:type ontology:Q3977918 } UNION { ?q rdf:type ontology:Q11173 } } } } . FILTER ( ?x > ?k ) }
Ivigtut cryolite deposit Green River formation (Sweetwater Co.) Umbozero mine Xianghualing Sn-polymetallic ore field Vanadium Queen mine (La Sal) Oficina Maria Elena Cerro Rico Velikaya Guba uran-vanadium deposit Blue Cap mine Szklary pegmatite Unnamed manganese deposit, Shobu Chuquicamata Kuranakh mine Roua mines Verkhnee Espe massif Daniel mine Solongo boron deposit southern Hatrurim formation, Negev desert Karnasurt mine, Karnasurt mount Berezovskoe Au deposit Terlingua district Tilkerode St Jude mine, Gypsum valley Gurim anticline Kirovskii apatite mine Tsumeb mine Moctezuma mine
27
action count
action greater
action union
action find_reverse_tuple_counts
relation type locality
type architectural structure
type mineral supergroups
action find_reverse_tuple_counts
relation type locality
type architectural structure
type chemical compound
action count
action filter_multi_types
action find_reverse
entity Koashva open pit
relation type locality
type mineral supergroups
type chemical compound
[[{'concept': 'mineral supergroups'}, {'concept': 'chemical compound'}], 'type locality', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?s WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:chemical_compound ) ( ontology:mineral_supergroups ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:type_locality resource:Koashva_open_pit . { { ?q rdf:type ontology:mineral_supergroups } UNION { ?q rdf:type ontology:chemical_compound } } } } . FILTER ( ?x > ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q23806059
P2695
Q811979 Q3977918 Q11173
USER
And also tell me about Salsigne mine?
(c(Q3977918)|c(Q11173),P2695,c(Q811979))
action count
action greater
action union
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q3977918
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q11173
action count
action filter_multi_types
action find_reverse
entity Q23806059
relation P2695
type Q3977918
type Q11173
[[{'concept': 'Q3977918'}, {'concept': 'Q11173'}], 'P2695', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?u WHERE { VALUES ( ?e ) { ( ontology:Q11173 ) ( ontology:Q3977918 ) } . ?v rdf:type ?e } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:Q3977918 ) ( ontology:Q11173 ) } } . ?f property:P2695 resource:Q23806059 } } . FILTER ( ?d > ?g ) }
Salsigne mine
action count
action greater
action union
action find_reverse_tuple_counts
relation type locality
type architectural structure
type mineral supergroups
action find_reverse_tuple_counts
relation type locality
type architectural structure
type chemical compound
action count
action filter_multi_types
action find_reverse
entity Salsigne mine
relation type locality
type mineral supergroups
type chemical compound
[[{'concept': 'mineral supergroups'}, {'concept': 'chemical compound'}], 'type locality', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?u WHERE { VALUES ( ?e ) { ( ontology:chemical_compound ) ( ontology:mineral_supergroups ) } . ?v rdf:type ?e } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:mineral_supergroups ) ( ontology:chemical_compound ) } } . ?f property:type_locality resource:Salsigne_mine } } . FILTER ( ?d > ?g ) }
[]
architectural structure mineral supergroups chemical compound
SYSTEM
27
Q26453772 Q26707101 Q23893344 Q23901287 Q24291892 Q6049296 Q1055970 Q24067108 Q24291870 Q26885113 Q24570697 Q746606 Q16963684 Q24029433 Q24264094 Q23900599 Q26698152 Q24555774 Q23829138 Q24291645 Q26474954 Q27089348 Q24572921 Q24500126 Q23835375 Q23723997 Q26452588
(c(Q3977918)|c(Q11173),P2695,c(Q811979))
action count
action greater
action union
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q3977918
action find_reverse_tuple_counts
relation P2695
type Q811979
type Q11173
action count
action filter_multi_types
action find_reverse
entity Q23806059
relation P2695
type Q3977918
type Q11173
[ANSWER]
[[{'concept': 'Q3977918'}, {'concept': 'Q11173'}], 'P2695', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?u WHERE { VALUES ( ?e ) { ( ontology:Q11173 ) ( ontology:Q3977918 ) } . ?v rdf:type ?e } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:Q3977918 ) ( ontology:Q11173 ) } } . ?f property:P2695 resource:Q23806059 } } . FILTER ( ?d > ?g ) }
Ivigtut cryolite deposit Green River formation (Sweetwater Co.) Umbozero mine Xianghualing Sn-polymetallic ore field Vanadium Queen mine (La Sal) Oficina Maria Elena Cerro Rico Velikaya Guba uran-vanadium deposit Blue Cap mine Szklary pegmatite Unnamed manganese deposit, Shobu Chuquicamata Kuranakh mine Roua mines Verkhnee Espe massif Daniel mine Solongo boron deposit southern Hatrurim formation, Negev desert Karnasurt mine, Karnasurt mount Berezovskoe Au deposit Terlingua district Tilkerode St Jude mine, Gypsum valley Gurim anticline Kirovskii apatite mine Tsumeb mine Moctezuma mine
27
action count
action greater
action union
action find_reverse_tuple_counts
relation type locality
type architectural structure
type mineral supergroups
action find_reverse_tuple_counts
relation type locality
type architectural structure
type chemical compound
action count
action filter_multi_types
action find_reverse
entity Salsigne mine
relation type locality
type mineral supergroups
type chemical compound
[[{'concept': 'mineral supergroups'}, {'concept': 'chemical compound'}], 'type locality', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?u WHERE { VALUES ( ?e ) { ( ontology:chemical_compound ) ( ontology:mineral_supergroups ) } . ?v rdf:type ?e } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:mineral_supergroups ) ( ontology:chemical_compound ) } } . ?f property:type_locality resource:Salsigne_mine } } . FILTER ( ?d > ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P915
Q838948 Q15416
USER
How many works of art and television programs had United States of America as their location of filming ?
(c(Q838948),P915,Q30) (c(Q15416),P915,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P915
type Q838948
action filter_type
action find_reverse
entity Q30
relation P915
type Q15416
[{'concept': 'Q838948'}, 'P915', 'Q30'] [{'concept': 'Q15416'}, 'P915', 'Q30']
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation filming location
type work of art
action filter_type
action find_reverse
entity United States of America
relation filming location
type television program
[{'concept': 'work of art'}, 'filming location', 'United States of America'] [{'concept': 'television program'}, 'filming location', 'United States of America']
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:television_program ) ( ontology:work_of_art ) } }
[]
work of art television program
SYSTEM
3 works of art and 2 television programs
Q1127828 Q19946486 Q23572 Q16251439 Q484825
(c(Q838948),P915,Q30) (c(Q15416),P915,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P915
type Q838948
action filter_type
action find_reverse
entity Q30
relation P915
type Q15416
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q30'] [{'concept': 'Q15416'}, 'P915', 'Q30']
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } }
Koyaanisqatsi Til Vesterheimen Game of Thrones A Hologram for the King The Lord of the Skies
3 works of art and 2 television programs
action count
action union
action filter_type
action find_reverse
entity United States of America
relation filming location
type work of art
action filter_type
action find_reverse
entity United States of America
relation filming location
type television program
[{'concept': 'work of art'}, 'filming location', 'United States of America'] [{'concept': 'television program'}, 'filming location', 'United States of America']
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:television_program ) ( ontology:work_of_art ) } }
[]