Simple Question (Direct)
Simple Question
Q2873147
P57
Q502895
USER
Which person served as the directed of The Gardens of Murcia ?
(Q2873147,P57,c(Q502895))
action filter_type
action find
entity Q2873147
relation P57
type Q502895
['Q2873147', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q2873147 property:P57 ?z . ?z rdf:type ontology:Q502895 }
The Gardens of Murcia
action filter_type
action find
entity The Gardens of Murcia
relation director
type common name
['The Gardens of Murcia', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Gardens_of_Murcia property:director ?z . ?z rdf:type ontology:common_name }
[]
common name
Q3302166
SYSTEM
Max Joly
Q3302166
(Q2873147,P57,c(Q502895))
action filter_type
action find
entity Q2873147
relation P57
type Q502895
[ANSWER] served as the directed of The Gardens of Murcia
['Q2873147', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q2873147 property:P57 ?z . ?z rdf:type ontology:Q502895 }
Max Joly
Max Joly served as the directed of The Gardens of Murcia
Max Joly
action filter_type
action find
entity The Gardens of Murcia
relation director
type common name
['The Gardens of Murcia', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Gardens_of_Murcia property:director ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3302166
P734
Q82799
USER
Who is associated with that person ?
(Q3302166,P734,c(Q82799))
action filter_type
action find
entity Q3302166
relation P734
type Q82799
['Q3302166', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q3302166 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Max Joly
action filter_type
action find
entity Max Joly
relation family name
type name
['Max Joly', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Max_Joly property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q20907254
SYSTEM
Joly
Q20907254
(Q3302166,P734,c(Q82799))
action filter_type
action find
entity Q3302166
relation P734
type Q82799
[ANSWER] is associated with that person
['Q3302166', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q3302166 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Joly
Joly is associated with that person
Joly
action filter_type
action find
entity Max Joly
relation family name
type name
['Max Joly', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Max_Joly property:family_name ?i . ?i rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1196339 Q2873147
P161
Q502895
USER
Which people were casted in The Gardens of Murcia or La Zizanie ?
OR((Q2873147,P161,c(Q502895)), (Q1196339,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2873147
relation P161
action find
entity Q1196339
relation P161
type Q502895
{'OR': [['Q2873147', 'P161', {'concept': 'Q502895'}], ['Q1196339', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?p ) { ( resource:Q2873147 ) ( resource:Q1196339 ) } . ?p property:P161 ?d } . ?d rdf:type ontology:Q502895 }
La Zizanie The Gardens of Murcia
action filter_type
action union
action find
entity The Gardens of Murcia
relation cast member
action find
entity La Zizanie
relation cast member
type common name
{'OR': [['The Gardens of Murcia', 'cast member', {'concept': 'common name'}], ['La Zizanie', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?p ) { ( resource:The_Gardens_of_Murcia ) ( resource:La_Zizanie ) } . ?p property:cast_member ?d } . ?d rdf:type ontology:common_name }
[]
common name
Q2847185 Q529417 Q3141992 Q3379440 Q18214385 Q3368997 Q16179937 Q3383429 Q3103506 Q3241961
SYSTEM
Some of them are André Badin, Maurice Risch, Hubert Deschamps, Philippe Brigaud, Jean Cherlian, Patrice Melennec, Jacqueline Jefford, Pierre-Olivier Scotto, Georges Staquet, Lionel Vitrant
Q106443 Q557393 Q3288866 Q16179937 Q529417 Q3130587 Q3186652 Q3379440 Q2847185 Q2851713 Q3341024 Q3293403 Q3103506 Q2737 Q3104719 Q3147514 Q3288788 Q3141992 Q3383429 Q18214385 Q3340022 Q3368997 Q3103174 Q685277 Q3166359 Q3142096 Q82746 Q1712249 Q3434955 Q3100634 Q162701 Q1892935 Q3591390 Q3241961
OR((Q2873147,P161,c(Q502895)), (Q1196339,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2873147
relation P161
action find
entity Q1196339
relation P161
type Q502895
[ANSWERS] were casted in The Gardens of Murcia or La Zizanie
{'OR': [['Q2873147', 'P161', {'concept': 'Q502895'}], ['Q1196339', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?p ) { ( resource:Q2873147 ) ( resource:Q1196339 ) } . ?p property:P161 ?d } . ?d rdf:type ontology:Q502895 }
Annie Girardot Martin Provost Marcel Delaître Jacqueline Jefford Maurice Risch Henri Attal Joséphine Fresson Philippe Brigaud André Badin Annie Toinon Nicole Chollet Mario David Georges Staquet Louis de Funès Geymond Vital Ibrahim Seck Marcel Charvey Hubert Deschamps Pierre-Olivier Scotto Jean Cherlian Nicolas Amato Patrice Melennec Georges Mauloy Daniel Boulanger Jean-Jacques Moreau Hubert Prelier Tanya Lopert Julien Guiomar Robert Destain Geneviève Fontanel Jacques François Marcel Azzola Éric Vasberg Lionel Vitrant
André Badin, Maurice Risch, Hubert Deschamps, Philippe Brigaud, Jean Cherlian, Patrice Melennec, Jacqueline Jefford, Pierre-Olivier Scotto, Georges Staquet and Lionel Vitrant were casted in The Gardens of Murcia or La Zizanie
André Badin Maurice Risch Hubert Deschamps Philippe Brigaud Jean Cherlian Patrice Melennec Jacqueline Jefford Pierre-Olivier Scotto Georges Staquet Lionel Vitrant
action filter_type
action union
action find
entity The Gardens of Murcia
relation cast member
action find
entity La Zizanie
relation cast member
type common name
{'OR': [['The Gardens of Murcia', 'cast member', {'concept': 'common name'}], ['La Zizanie', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?p ) { ( resource:The_Gardens_of_Murcia ) ( resource:La_Zizanie ) } . ?p property:cast_member ?d } . ?d rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q43568 Q3383429
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Pierre-Olivier Scotto or José Benito Villafañe ?
OR((Q3383429,P27,c(Q15617994)), (Q43568,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3383429
relation P27
action find
entity Q43568
relation P27
type Q15617994
{'OR': [['Q3383429', 'P27', {'concept': 'Q15617994'}], ['Q43568', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q3383429 property:P27 ?x } UNION { resource:Q43568 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
José Benito Villafañe Pierre-Olivier Scotto
action filter_type
action union
action find
entity Pierre-Olivier Scotto
relation country of citizenship
action find
entity José Benito Villafañe
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Pierre-Olivier Scotto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['José Benito Villafañe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Pierre-Olivier_Scotto property:country_of_citizenship ?x } UNION { resource:José_Benito_Villafañe property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q414
SYSTEM
France, Argentina
Q142 Q414
OR((Q3383429,P27,c(Q15617994)), (Q43568,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3383429
relation P27
action find
entity Q43568
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Pierre-Olivier Scotto or José Benito Villafañe
{'OR': [['Q3383429', 'P27', {'concept': 'Q15617994'}], ['Q43568', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q3383429 property:P27 ?x } UNION { resource:Q43568 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
France Argentina
France and Argentina are the countries of citizenship of Pierre-Olivier Scotto or José Benito Villafañe
France Argentina
action filter_type
action union
action find
entity Pierre-Olivier Scotto
relation country of citizenship
action find
entity José Benito Villafañe
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Pierre-Olivier Scotto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['José Benito Villafañe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Pierre-Olivier_Scotto property:country_of_citizenship ?x } UNION { resource:José_Benito_Villafañe property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q174210
P27
Q502895
USER
Are Gael Corteza a native of those administrative territories ?
(Q174210,P27,Q142) (Q174210,P27,Q414)
action is_in
entity prev_answer
action find
entity Q174210
relation P27
['Q174210', 'P27', 'Q142'] ['Q174210', 'P27', 'Q414']
ASK WHERE { VALUES ( ?j ) { ( resource:Q142 ) ( resource:Q414 ) } . resource:Q174210 property:P27 ?j }
Gael Corteza
action is_in
entity prev_answer
action find
entity Gael Corteza
relation country of citizenship
['Gael Corteza', 'country of citizenship', 'France'] ['Gael Corteza', 'country of citizenship', 'Argentina']
ASK WHERE { VALUES ( ?j ) { ( resource:France ) ( resource:Argentina ) } . resource:Gael_Corteza property:country_of_citizenship ?j }
[]
common name
SYSTEM
YES
(Q174210,P27,Q142) (Q174210,P27,Q414)
action is_in
entity prev_answer
action find
entity Q174210
relation P27
[ANSWER]
['Q174210', 'P27', 'Q142'] ['Q174210', 'P27', 'Q414']
ASK WHERE { VALUES ( ?j ) { ( resource:Q142 ) ( resource:Q414 ) } . resource:Q174210 property:P27 ?j }
Yes
action is_in
entity prev_answer
action find
entity Gael Corteza
relation country of citizenship
['Gael Corteza', 'country of citizenship', 'France'] ['Gael Corteza', 'country of citizenship', 'Argentina']
ASK WHERE { VALUES ( ?j ) { ( resource:France ) ( resource:Argentina ) } . resource:Gael_Corteza property:country_of_citizenship ?j }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q23303347 Q2124
P35
Q502895
USER
Is Johnny Hill and Valéry Giscard d'Estaing the head of state of France ?
(Q142,P35,Q23303347) (Q142,P35,Q2124)
action is_in
entity Q142
action intersection
action find_reverse
entity Q23303347
relation P35
action find_reverse
entity Q2124
relation P35
['Q142', 'P35', 'Q23303347'] ['Q142', 'P35', 'Q2124']
ASK WHERE { resource:Q142 property:P35 resource:Q23303347 . resource:Q142 property:P35 resource:Q2124 }
France Johnny Hill Valéry Giscard d'Estaing
action is_in
entity France
action intersection
action find_reverse
entity Johnny Hill
relation head of state
action find_reverse
entity Valéry Giscard d'Estaing
relation head of state
['France', 'head of state', 'Johnny Hill'] ['France', 'head of state', "Valéry Giscard d'Estaing"]
ASK WHERE { resource:France property:head_of_state resource:Johnny_Hill . resource:France property:head_of_state resource:Valéry_Giscard_d'Estaing }
[]
common name
SYSTEM
NO and YES respectively
(Q142,P35,Q23303347) (Q142,P35,Q2124)
action is_in
entity Q142
action intersection
action find_reverse
entity Q23303347
relation P35
action find_reverse
entity Q2124
relation P35
[ANSWER]
['Q142', 'P35', 'Q23303347'] ['Q142', 'P35', 'Q2124']
ASK WHERE { resource:Q142 property:P35 resource:Q23303347 . resource:Q142 property:P35 resource:Q2124 }
NO and YES respectively
action is_in
entity France
action intersection
action find_reverse
entity Johnny Hill
relation head of state
action find_reverse
entity Valéry Giscard d'Estaing
relation head of state
['France', 'head of state', 'Johnny Hill'] ['France', 'head of state', "Valéry Giscard d'Estaing"]
ASK WHERE { resource:France property:head_of_state resource:Johnny_Hill . resource:France property:head_of_state resource:Valéry_Giscard_d'Estaing }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P27
Q2607197 Q6619679
USER
How many character races or fictional humanoids are a citizen of France ?
(c(Q2607197),P27,Q142) (c(Q6619679),P27,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P27
type Q2607197
action filter_type
action find_reverse
entity Q142
relation P27
type Q6619679
[{'concept': 'Q2607197'}, 'P27', 'Q142'] [{'concept': 'Q6619679'}, 'P27', 'Q142']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ?z . VALUES ( ?z ) { ( ontology:Q2607197 ) ( ontology:Q6619679 ) } }
France
action count
action union
action filter_type
action find_reverse
entity France
relation country of citizenship
type character race
action filter_type
action find_reverse
entity France
relation country of citizenship
type fictional humanoid
[{'concept': 'character race'}, 'country of citizenship', 'France'] [{'concept': 'fictional humanoid'}, 'country of citizenship', 'France']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ?z . VALUES ( ?z ) { ( ontology:character_race ) ( ontology:fictional_humanoid ) } }
[]
character race fictional humanoid
SYSTEM
100
Q6120783 Q24068355 Q3309268 Q1952877 Q2585477 Q1610690 Q3371486 Q6772684 Q5533103 Q3092655 Q1780654 Q44232 Q3140443 Q2960713 Q14916063 Q5392961 Q774810 Q20666453 Q928202 Q21065702 Q3426611 Q74087 Q3294812 Q3897686 Q1684606 Q4490996 Q2859264 Q3270655 Q3143575 Q6696983 Q795085 Q3010106 Q21197542 Q23901324 Q2053228 Q3073857 Q3166474 Q3275225 Q6168922 Q116777 Q3160179 Q5122545 Q2294962 Q5287302 Q2295321 Q2826463 Q4066184 Q6171290 Q24073719 Q60391 Q1634668 Q3294771 Q2062582 Q1192267 Q2778291 Q27209822 Q3174442 Q3372494 Q20807843 Q2468774 Q3060265 Q17417420 Q323637 Q2438559 Q3346611 Q3040800 Q929113 Q2060930 Q5076722 Q516946 Q830561 Q7777127 Q21486221 Q3215995 Q24030250 Q1151818 Q3218954 Q763798 Q21008378 Q3189665 Q3130657 Q3340010 Q3435797 Q2130544 Q981290 Q1640004 Q3069618 Q3321464 Q3014849 Q21023184 Q2569974 Q3411594 Q3304979 Q2398300 Q4720870 Q31724 Q3860990 Q3288149 Q3021868 Q3085572
(c(Q2607197),P27,Q142) (c(Q6619679),P27,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P27
type Q2607197
action filter_type
action find_reverse
entity Q142
relation P27
type Q6619679
[ANSWER]
[{'concept': 'Q2607197'}, 'P27', 'Q142'] [{'concept': 'Q6619679'}, 'P27', 'Q142']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ?z . VALUES ( ?z ) { ( ontology:Q2607197 ) ( ontology:Q6619679 ) } }
Jacques Paganel French Photographer Michel Chrestien Edmond Dantès Javert Eugène de Rastignac Paul Hédiard Marquis St. Evrémonde Geneviève Dieudonné Félix de Vandenesse Nestor Burma Ferdinand du Tillet Horace Bianchon Charles de Vandenesse Jeanne Benoit Ernest Defarge Fantine Conseil Joseph Rouletabille Raoul de Bragelonne René Mathis Marquise d'Espard Marquise de Listomère Patrice Jean-Baptiste Adamsberg Flambeau Aquilina Léon Hyacinthe Chabert Lucie Manette Baron Hulot d'Ervy Célestine Emmanuelle Axel Guilcher Bishop Myriel Flore Brazier Jean-Joachim Goriot Madame Angot Jean-Baptiste Grenouille Barbet Jacques Vingtras Citizen Chauvelin Arsène Lupin III Doctor Clayton Forrester Lestat de Lioncourt Agathe Bridau Angélique de Sancé de Monteloup Jean Passepartout French Waiter Duke de Chaulieu Marius Pontmercy Marquis d'Espard Isidore Lechat Paul Clarke Enjolras Jean Pierre Le Pelt Jean Roule Paul de Manerville Thomas Roch Louis de Pointe du Lac Eugénie Grandet Pierre Del Rio Inspector Clouseau Achille Aubergine Nyctalope Duchesse de Carigliano Monsieur Hulot Brigadier Gerard Charles Darnay Nicolas de Lenfent Jules Maigret The seamstress Francis Borler Lady Dudley Joffrey de Peyrac Valérie Marneffe Laurence de Cinq-Cygne Esther Gobseck Pierre Aronnax Julien Sorel Henri Bencolin Nicolas Robert Macaire Tracy Bond Maxime de Trailles Vautrin Ferragus XXIII M. and Mme. Joseph Prudhomme Daniel d’ Arthez Marcelle Tarconi Rocambole Père Pamphile Melchior de Canalis Lucien Chardon Alexandre Manette Étienne Lousteau Monsieur Lecoq Marc Kilgour Delphine de Nucingen François Pignon
100
action count
action union
action filter_type
action find_reverse
entity France
relation country of citizenship
type character race
action filter_type
action find_reverse
entity France
relation country of citizenship
type fictional humanoid
[{'concept': 'character race'}, 'country of citizenship', 'France'] [{'concept': 'fictional humanoid'}, 'country of citizenship', 'France']
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ?z . VALUES ( ?z ) { ( ontology:character_race ) ( ontology:fictional_humanoid ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q39
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with approximately the same number of administrative territories as Switzerland ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?o ) WHERE { ?m property:P530 ?d . ?m rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Q39 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?o = ?c ) }
Switzerland
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Switzerland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?o ) WHERE { ?m property:diplomatic_relation ?d . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Switzerland property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o = ?c ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[ANSWERS] have tactful political relations with approximately the same number of administrative territories as Switzerland
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?o ) WHERE { ?m property:P530 ?d . ?m rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Q39 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?o = ?c ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have tactful political relations with approximately the same number of administrative territories as Switzerland
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Switzerland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?o ) WHERE { ?m property:diplomatic_relation ?d . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { resource:Switzerland property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o = ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q298
P530
Q15617994 Q15617994
USER
And how about Chile?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q298
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?d ) WHERE { ?g rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 . ?g property:P530 ?p } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q298 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?d = ?k ) }
Chile
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Chile
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?d ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation ?p } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Chile property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d = ?k ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q298
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?d ) WHERE { ?g rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 . ?g property:P530 ?p } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q298 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?d = ?k ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Chile
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?d ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation ?p } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Chile property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d = ?k ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q55 Q36 Q148
P30
Q2221906
USER
Which geographic locations are Netherlands, Poland and People's Republic of China located in ?
(Q55,P30,c(Q2221906)) (Q36,P30,c(Q2221906)) (Q148,P30,c(Q2221906))
action union
action filter_type
action find
entity Q55
relation P30
type Q2221906
action filter_type
action find
entity Q36
relation P30
type Q2221906
action filter_type
action find
entity Q148
relation P30
type Q2221906
['Q55', 'P30', {'concept': 'Q2221906'}] ['Q36', 'P30', {'concept': 'Q2221906'}] ['Q148', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { ?t property:P30 ?f . VALUES ( ?t ) { ( resource:Q55 ) ( resource:Q36 ) } }
Netherlands Poland People's Republic of China
action union
action filter_type
action find
entity Netherlands
relation continent
type geographic location
action filter_type
action find
entity Poland
relation continent
type geographic location
action filter_type
action find
entity People's Republic of China
relation continent
type geographic location
['Netherlands', 'continent', {'concept': 'geographic location'}] ['Poland', 'continent', {'concept': 'geographic location'}] ["People's Republic of China", 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { ?t property:continent ?f . VALUES ( ?t ) { ( resource:Netherlands ) ( resource:Poland ) } }
[]
geographic location
Q46 Q46 Q48
SYSTEM
Europe for 1st, 2nd, Asia for 3rd
Q46 Q46 Q48
(Q55,P30,c(Q2221906)) (Q36,P30,c(Q2221906)) (Q148,P30,c(Q2221906))
action union
action filter_type
action find
entity Q55
relation P30
type Q2221906
action filter_type
action find
entity Q36
relation P30
type Q2221906
action filter_type
action find
entity Q148
relation P30
type Q2221906
[ANSWERS]
['Q55', 'P30', {'concept': 'Q2221906'}] ['Q36', 'P30', {'concept': 'Q2221906'}] ['Q148', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { ?t property:P30 ?f . VALUES ( ?t ) { ( resource:Q55 ) ( resource:Q36 ) } }
Europe Europe Asia
Netherlands , Poland and People's Republic of China are located in Central Europe, Europe and Asia
Europe Europe Asia
action union
action filter_type
action find
entity Netherlands
relation continent
type geographic location
action filter_type
action find
entity Poland
relation continent
type geographic location
action filter_type
action find
entity People's Republic of China
relation continent
type geographic location
['Netherlands', 'continent', {'concept': 'geographic location'}] ['Poland', 'continent', {'concept': 'geographic location'}] ["People's Republic of China", 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { ?t property:continent ?f . VALUES ( ?t ) { ( resource:Netherlands ) ( resource:Poland ) } }
[]