Simple Question (Direct)
Simple Question
Q173619
P17
Q15617994
USER
Which administrative territory is Ville-sur-Illon a part of ?
(Q173619,P17,c(Q15617994))
action filter_type
action find
entity Q173619
relation P17
type Q15617994
['Q173619', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q173619 property:P17 ?q }
Ville-sur-Illon
action filter_type
action find
entity Ville-sur-Illon
relation country
type designation for an administrative territorial entity
['Ville-sur-Illon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ville-sur-Illon property:country ?q }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q173619,P17,c(Q15617994))
action filter_type
action find
entity Q173619
relation P17
type Q15617994
Which administrative territory is Ville-sur-Illon a part of
['Q173619', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q173619 property:P17 ?q }
France
Which administrative territory is Ville-sur-Illon a part of
France
action filter_type
action find
entity Ville-sur-Illon
relation country
type designation for an administrative territorial entity
['Ville-sur-Illon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ville-sur-Illon property:country ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q173619
P47
Q20667921
USER
Which french administrative divisions share border with that one ?
(Q142,P47,c(Q20667921))
action filter_type
action find
entity Q173619
relation P47
type Q20667921
['Q142', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q173619 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Ville-sur-Illon
action filter_type
action find
entity Ville-sur-Illon
relation shares border with
type type of french administrative division
['France', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Ville-sur-Illon property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q188861 Q200224 Q903602
SYSTEM
Dompaire, Escles, Harol
Q903602 Q903351 Q200224 Q681754 Q200394 Q188861 Q196504
(Q142,P47,c(Q20667921))
action filter_type
action find
entity Q173619
relation P47
type Q20667921
[ANSWERS] share border with that one
['Q142', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q173619 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Harol Madonne-et-Lamerey Escles Damas-et-Bettegney Pierrefitte Dompaire Les Ableuvenettes
Dompaire, Escles and Harol share border with that one
Dompaire Escles Harol
action filter_type
action find
entity Ville-sur-Illon
relation shares border with
type type of french administrative division
['France', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Ville-sur-Illon property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2236508 Q200224
P17
Q15617994
USER
Which administrative territories are Escles or Pelym, Ivdel, Sverdlovsk Oblast a part of ?
OR((Q200224,P17,c(Q15617994)), (Q2236508,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q200224
relation P17
action find
entity Q2236508
relation P17
type Q15617994
{'OR': [['Q200224', 'P17', {'concept': 'Q15617994'}], ['Q2236508', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q2236508 property:P17 ?x } UNION { resource:Q200224 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Pelym, Ivdel, Sverdlovsk Oblast Escles
action filter_type
action union
action find
entity Escles
relation country
action find
entity Pelym, Ivdel, Sverdlovsk Oblast
relation country
type designation for an administrative territorial entity
{'OR': [['Escles', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pelym, Ivdel, Sverdlovsk Oblast', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Pelym,_Ivdel,_Sverdlovsk_Oblast property:country ?x } UNION { resource:Escles property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q159
SYSTEM
France, Russia
Q142 Q159
OR((Q200224,P17,c(Q15617994)), (Q2236508,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q200224
relation P17
action find
entity Q2236508
relation P17
type Q15617994
[ANSWERS] are Escles or Pelym, Ivdel, Sverdlovsk Oblast a part of
{'OR': [['Q200224', 'P17', {'concept': 'Q15617994'}], ['Q2236508', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q2236508 property:P17 ?x } UNION { resource:Q200224 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
France Russia
France and Russia are Escles or Pelym, Ivdel, Sverdlovsk Oblast a part of
France Russia
action filter_type
action union
action find
entity Escles
relation country
action find
entity Pelym, Ivdel, Sverdlovsk Oblast
relation country
type designation for an administrative territorial entity
{'OR': [['Escles', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pelym, Ivdel, Sverdlovsk Oblast', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Pelym,_Ivdel,_Sverdlovsk_Oblast property:country ?x } UNION { resource:Escles property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q398
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with approximately the same number of administrative territories as Bahrain ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q398
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?u ) WHERE { ?z property:P530 ?h . ?z rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q398 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?r ) }
Bahrain
action count
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 Bahrain
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 ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?u ) WHERE { ?z property:diplomatic_relation ?h . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Bahrain property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?r ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
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 count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q398
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?u ) WHERE { ?z property:P530 ?h . ?z rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q398 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?r ) }
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
148
action count
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 Bahrain
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 ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?u ) WHERE { ?z property:diplomatic_relation ?h . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Bahrain property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1005
P530
Q15617994 Q15617994
USER
And also tell me about Gambia?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1005
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?v ) WHERE { ?t property:P530 ?m . ?t rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q1005 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?v = ?b ) }
Gambia
action count
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 Gambia
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 ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?v ) WHERE { ?t property:diplomatic_relation ?m . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Gambia property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v = ?b ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
147
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 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 count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1005
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?v ) WHERE { ?t property:P530 ?m . ?t rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q1005 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?v = ?b ) }
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 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
147
action count
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 Gambia
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 ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?v ) WHERE { ?t property:diplomatic_relation ?m . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Gambia property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v = ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P276
Q1190554
USER
Which event is located at Russia ?
(c(Q1190554),P276,Q159)
action filter_type
action find_reverse
entity Q159
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q159']
SELECT DISTINCT ?z WHERE { ?z property:P276 resource:Q159 . ?z rdf:type ontology:Q1190554 }
Russia
action filter_type
action find_reverse
entity Russia
relation location
type event
[{'concept': 'event'}, 'location', 'Russia']
SELECT DISTINCT ?z WHERE { ?z property:location resource:Russia . ?z rdf:type ontology:event }
[]
event
Q184928
SYSTEM
Revolution of 1905
Q184928
(c(Q1190554),P276,Q159)
action filter_type
action find_reverse
entity Q159
relation P276
type Q1190554
[ANSWER] is located at Russia
[{'concept': 'Q1190554'}, 'P276', 'Q159']
SELECT DISTINCT ?z WHERE { ?z property:P276 resource:Q159 . ?z rdf:type ontology:Q1190554 }
Revolution of 1905
Revolution of 1905 is located at Russia
Revolution of 1905
action filter_type
action find_reverse
entity Russia
relation location
type event
[{'concept': 'event'}, 'location', 'Russia']
SELECT DISTINCT ?z WHERE { ?z property:location resource:Russia . ?z rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P710
Q198
USER
Which wars have France as their participant ?
(c(Q198),P710,Q142)
action filter_type
action find_reverse
entity Q142
relation P710
type Q198
[{'concept': 'Q198'}, 'P710', 'Q142']
SELECT DISTINCT ?p WHERE { ?p property:P710 resource:Q142 . ?p rdf:type ontology:Q198 }
France
action filter_type
action find_reverse
entity France
relation participant
type war
[{'concept': 'war'}, 'participant', 'France']
SELECT DISTINCT ?p WHERE { ?p property:participant resource:France . ?p rdf:type ontology:war }
[]
war
Q362 Q361
SYSTEM
World War II, World War I
Q362 Q361
(c(Q198),P710,Q142)
action filter_type
action find_reverse
entity Q142
relation P710
type Q198
[ANSWERS] have France as their participant
[{'concept': 'Q198'}, 'P710', 'Q142']
SELECT DISTINCT ?p WHERE { ?p property:P710 resource:Q142 . ?p rdf:type ontology:Q198 }
World War II World War I
World War II and World War I have France as their participant
World War II World War I
action filter_type
action find_reverse
entity France
relation participant
type war
[{'concept': 'war'}, 'participant', 'France']
SELECT DISTINCT ?p WHERE { ?p property:participant resource:France . ?p rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P163
Q14660
USER
What is the name of flag associated with France ?
(Q142,P163,c(Q14660))
action filter_type
action find
entity Q142
relation P163
type Q14660
['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?a WHERE { resource:Q142 property:P163 ?a . ?a rdf:type ontology:Q14660 }
France
action filter_type
action find
entity France
relation flag
type flag
['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?a WHERE { resource:France property:flag ?a . ?a rdf:type ontology:flag }
[]
flag
Q43192
SYSTEM
Flag of France
Q43192
(Q142,P163,c(Q14660))
action filter_type
action find
entity Q142
relation P163
type Q14660
The name of flag associated with France is the [ANSWER]
['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?a WHERE { resource:Q142 property:P163 ?a . ?a rdf:type ontology:Q14660 }
Flag of France
The name of flag associated with France is the Flag of France
Flag of France
action filter_type
action find
entity France
relation flag
type flag
['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?a WHERE { resource:France property:flag ?a . ?a rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P937
Q502895
USER
Which people have France as their work location ?
(c(Q502895),P937,Q142)
action filter_type
action find_reverse
entity Q142
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q142']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P937 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'France']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:work_location resource:France }
[]
common name
Q236293 Q17479789 Q923557
SYSTEM
Marie of France, Countess of Champagne, Vicente Urrabieta, Nicolas Baudeau
Q17479789 Q320741 Q222757 Q3301629 Q21288886 Q18599223 Q236293 Q3027537 Q923557
(c(Q502895),P937,Q142)
action filter_type
action find_reverse
entity Q142
relation P937
type Q502895
[ANSWERS] have France as their work location
[{'concept': 'Q502895'}, 'P937', 'Q142']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P937 resource:Q142 }
Vicente Urrabieta Edward Molyneux Jacques Bretel Mauricius Francois Habert Felicia Meyer Marsh Marie of France, Countess of Champagne Dietrich-Mohr Nicolas Baudeau
Marie of France, Countess of Champagne, Vicente Urrabieta and Nicolas Baudeau have France as their work location
Marie of France, Countess of Champagne Vicente Urrabieta Nicolas Baudeau
action filter_type
action find_reverse
entity France
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'France']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:work_location resource:France }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q236293 Q17479789 Q923557
P27
Q15617994
USER
Which administrative territories are Marie of France, Countess of Champagne, Vicente Urrabieta and Nicolas Baudeau an inhabitant of ?
(Q236293,P27,c(Q15617994)) (Q17479789,P27,c(Q15617994)) (Q923557,P27,c(Q15617994))
action union
action filter_type
action find
entity Q236293
relation P27
type Q15617994
action filter_type
action find
entity Q17479789
relation P27
type Q15617994
action filter_type
action find
entity Q923557
relation P27
type Q15617994
['Q236293', 'P27', {'concept': 'Q15617994'}] ['Q17479789', 'P27', {'concept': 'Q15617994'}] ['Q923557', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?k ) { ( resource:Q236293 ) ( resource:Q17479789 ) } . ?k property:P27 ?g }
Marie of France, Countess of Champagne Vicente Urrabieta Nicolas Baudeau
action union
action filter_type
action find
entity Marie of France, Countess of Champagne
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Vicente Urrabieta
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Nicolas Baudeau
relation country of citizenship
type designation for an administrative territorial entity
['Marie of France, Countess of Champagne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Vicente Urrabieta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Nicolas Baudeau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?k ) { ( resource:Marie_of_France,_Countess_of_Champagne ) ( resource:Vicente_Urrabieta ) } . ?k property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q142 Q29 Q142
SYSTEM
France for 1st, 3rd, Spain for 2nd
Q142 Q29 Q142
(Q236293,P27,c(Q15617994)) (Q17479789,P27,c(Q15617994)) (Q923557,P27,c(Q15617994))
action union
action filter_type
action find
entity Q236293
relation P27
type Q15617994
action filter_type
action find
entity Q17479789
relation P27
type Q15617994
action filter_type
action find
entity Q923557
relation P27
type Q15617994
[ANSWERS]
['Q236293', 'P27', {'concept': 'Q15617994'}] ['Q17479789', 'P27', {'concept': 'Q15617994'}] ['Q923557', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?k ) { ( resource:Q236293 ) ( resource:Q17479789 ) } . ?k property:P27 ?g }
France Spain France
Are Marie of France , Countess of Champagne , Vicente Urrabieta and Nicolas Baudeau an inhabitant of France France, Spain and France
France Spain France
action union
action filter_type
action find
entity Marie of France, Countess of Champagne
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Vicente Urrabieta
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Nicolas Baudeau
relation country of citizenship
type designation for an administrative territorial entity
['Marie of France, Countess of Champagne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Vicente Urrabieta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Nicolas Baudeau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?k ) { ( resource:Marie_of_France,_Countess_of_Champagne ) ( resource:Vicente_Urrabieta ) } . ?k property:country_of_citizenship ?g }
[]
Clarification
Simple Question|Single Entity|Indirect
Q29
P551
Q502895
USER
Who lives in that administrative territory ?
(c(Q502895),P551,Q29)
action filter_type
action find_reverse
entity Q29
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q29']
SELECT DISTINCT ?w WHERE { ?w property:P551 resource:Q29 . ?w rdf:type ontology:Q502895 }
Spain
action filter_type
action find_reverse
entity Spain
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Spain']
SELECT DISTINCT ?w WHERE { ?w property:residence resource:Spain . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q29
SYSTEM
Did you mean Spain ?
Q142 Q29 Q142
(c(Q502895),P551,Q142) (c(Q502895),P551,Q29) (c(Q502895),P551,Q142)
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q502895'}, 'P551', 'Q29'] [{'concept': 'Q502895'}, 'P551', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P551 resource:Q29 . ?w rdf:type ontology:Q502895 }
France Spain France
Did you mean Spain ?
Spain
[{'concept': 'common name'}, 'residence', 'France'] [{'concept': 'common name'}, 'residence', 'Spain'] [{'concept': 'common name'}, 'residence', 'France']
SELECT DISTINCT ?w WHERE { ?w property:residence resource:Spain . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P551,Q29)
[{'concept': 'Q502895'}, 'P551', 'Q29']
[{'concept': 'common name'}, 'residence', 'Spain']
[]
Q5335826 Q18720176 Q171363
SYSTEM
Eddie August Schneider, Nuria Oliver, Viggo Mortensen
Q5993001 Q5860309 Q2944541 Q292658 Q9014784 Q1183434 Q20966475 Q2066366 Q18720176 Q4216907 Q15706508 Q5041960 Q171363 Q18590538 Q5335826 Q41548 Q10914698 Q17106365 Q16146051 Q19629253 Q5671358 Q20801601 Q23900519 Q5880797 Q4487 Q10982623 Q3754104 Q6141751 Q3753437 Q11698858
(c(Q502895),P551,Q29)
action filter_type
action find_reverse
entity Q29
relation P551
type Q502895
[ANSWERS] live in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q29']
SELECT DISTINCT ?w WHERE { ?w property:P551 resource:Q29 . ?w rdf:type ontology:Q502895 }
Manuel Fontdevila i Cruixent Hortensia Gelabert Arnau Brugués-Davi La Argentina José Ruiz Santaella Nicolás Cabrera Virgilio Garrán Rico Óscar Jaenada Nuria Oliver Ramon Castroviejo Julio Espinosa Guerra Carlos Cruz González Viggo Mortensen Esteban Pérez Pérez Eddie August Schneider Antonio Banderas Eduardo Borrás Ole Dalgaard Roberto Carballés Baena Jacques Dessalines Carles Reig i Morell Juana Bignozzi Fernando Sabio Dutoit Glenda Kapstein Lomboy Federico Gamboa Norma Bacaicoa Severo Moto Nsá Teodoro Aragón Foureaux Joaquín Sanz Gadea Pere Comas i Calvet
Eddie August Schneider, Nuria Oliver and Viggo Mortensen live in that administrative territory
Eddie August Schneider Nuria Oliver Viggo Mortensen
action filter_type
action find_reverse
entity Spain
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Spain']
SELECT DISTINCT ?w WHERE { ?w property:residence resource:Spain . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q5335826
P26 P21
Q502895
USER
Which people are married to Eddie August Schneider and are a female ?
AND((c(Q502895),P26,Q5335826), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q5335826
relation P26
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q5335826'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?o WHERE { ?o property:P26 resource:Q5335826 . ?o property:P21 resource:Q6581072 . ?o rdf:type ontology:Q502895 }
female Eddie August Schneider
action filter_type
action intersection
action find_reverse
entity Eddie August Schneider
relation spouse
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Eddie August Schneider'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?o WHERE { ?o property:spouse resource:Eddie_August_Schneider . ?o property:gender resource:female . ?o rdf:type ontology:common_name }
[]
common name
Q20720196
SYSTEM
Gretchen Francis Hahnen
Q20720196
AND((c(Q502895),P26,Q5335826), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q5335826
relation P26
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] is married to Eddie August Schneider and is a female
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q5335826'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?o WHERE { ?o property:P26 resource:Q5335826 . ?o property:P21 resource:Q6581072 . ?o rdf:type ontology:Q502895 }
Gretchen Francis Hahnen
Gretchen Francis Hahnen is married to Eddie August Schneider and is a female
Gretchen Francis Hahnen
action filter_type
action intersection
action find_reverse
entity Eddie August Schneider
relation spouse
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Eddie August Schneider'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?o WHERE { ?o property:spouse resource:Eddie_August_Schneider . ?o property:gender resource:female . ?o rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1099153
P1303
Q34379 Q502895
USER
Which musical instruments are played by around the same number of people as clavinet ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1099153
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { resource:Q1099153 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } . FILTER ( ?p = ?r ) }
clavinet
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity clavinet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { resource:clavinet property:instrument ?i . ?i rdf:type ontology:musical_instrument } } . FILTER ( ?p = ?r ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1099153
relation P1303
type Q34379
[ANSWERS] are played by around the same number of people as clavinet
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { resource:Q1099153 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } . FILTER ( ?p = ?r ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by around the same number of people as clavinet
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity clavinet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { resource:clavinet property:instrument ?i . ?i rdf:type ontology:musical_instrument } } . FILTER ( ?p = ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q244976
P1303
Q34379 Q502895
USER
And also tell me about bodhrán?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q244976
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?b = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Q244976 property:P1303 ?e . ?e rdf:type ontology:Q34379 } } . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?c } }
bodhrán
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bodhrán
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?b = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:bodhrán property:instrument ?e . ?e rdf:type ontology:musical_instrument } } . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?c } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q244976
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?b = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Q244976 property:P1303 ?e . ?e rdf:type ontology:Q34379 } } . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?c } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bodhrán
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?b = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:bodhrán property:instrument ?e . ?e rdf:type ontology:musical_instrument } } . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?c } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P180
Q34379 Q340169
USER
Which medias demonstrate min number of musical instruments ?
(c(Q340169),P180,c(Q34379))
action argmin
action find_tuple_counts
relation P180
type Q340169
type Q34379
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?u ) { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?m ) WHERE { ?p property:P180 ?i . ?p rdf:type ontology:Q340169 . ?i rdf:type ontology:Q34379 } GROUP BY ?p } } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?e ) WHERE { ?t property:P180 ?o . ?o rdf:type ontology:Q34379 . ?t rdf:type ontology:Q340169 } GROUP BY ?t } }
action argmin
action find_tuple_counts
relation depicts
type media
type musical instrument
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?u ) { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?m ) WHERE { ?p property:depicts ?i . ?p rdf:type ontology:media . ?i rdf:type ontology:musical_instrument } GROUP BY ?p } } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?e ) WHERE { ?t property:depicts ?o . ?o rdf:type ontology:musical_instrument . ?t rdf:type ontology:media } GROUP BY ?t } }
[]
musical instrument media
Q2956370 Q19960759 Q5397781
SYSTEM
Chanteur florentin du XVe siècle, Recumbent woman seen from behind, or Le Sommeil, Ulysses and the Sirens
Q3698232 Q18341259 Q26722217 Q18341254 Q20668033 Q19018571 Q2956370 Q591128 Q18341251 Q21084517 Q20730962 Q19969227 Q4812449 Q19960621 Q19960620 Q3630760 Q19960626 Q19960625 Q19938813 Q19861731 Q20746778 Q21743278 Q20032046 Q3464466 Q19960630 Q2374563 Q21680736 Q26806397 Q22075309 Q20739824 Q22034065 Q2072801 Q21181736 Q21181731 Q22034063 Q26788623 Q21940021 Q993743 Q19926290 Q18706602 Q26757473 Q279559 Q3976305 Q3213096 Q20427885 Q3922633 Q20199537 Q20202079 Q23955631 Q20392044 Q19960631 Q19960632 Q19960633 Q23692625 Q26236127 Q20424878 Q20746730 Q18783185 Q18783428 Q3985177 Q21750239 Q18686026 Q27068122 Q19883386 Q18688687 Q19862185 Q27068126 Q22034077 Q24037218 Q20180154 Q22034071 Q3291553 Q19962637 Q18688274 Q19973372 Q18689357 Q19018597 Q18689162 Q22075489 Q18688374 Q18783435 Q24052403 Q20639898 Q20746805 Q19883387 Q18341239 Q20427896 Q20201918 Q18683320 Q21605377 Q19973476 Q19018615 Q20489205 Q18783431 Q20489202 Q19926262 Q19960627 Q24037274 Q195801 Q19926246 Q19913859 Q19968947 Q19897679 Q18917850 Q19862183 Q19862182 Q20020115 Q19862187 Q19862186 Q21204267 Q3842599 Q19969153 Q19018581 Q20900700 Q18683041 Q19963633 Q18574705 Q20199314 Q16324551 Q2918420 Q22912548 Q18685724 Q18688885 Q26252079 Q22034074 Q23054928 Q18684925 Q18686512 Q18685400 Q607370 Q23008311 Q21151813 Q18683524 Q18686496 Q18917847 Q2709726 Q20051649 Q20201924 Q19862190 Q5397781 Q20441339 Q20392049 Q19967297 Q22912348 Q19963626 Q18684879 Q23008382 Q18685994 Q18683635 Q20199499 Q21699165 Q20199494 Q17064861 Q21283055 Q20199497 Q20199491 Q14634872 Q18686502 Q24037291 Q18686506 Q19897624 Q20088062 Q1272037 Q18685442 Q19007055 Q20489106 Q20639505 Q23308984 Q19862167 Q23011493 Q19862169 Q20051675 Q15981394 Q20639508 Q699552 Q22034068 Q2471531 Q18686976 Q20202095 Q19006977 Q19904620 Q19483466 Q5293360 Q7827221 Q18684961 Q20199461 Q20392056 Q20747206 Q18683315 Q20392051 Q20739277 Q22034082 Q22034080 Q22945245 Q7232324 Q23015703 Q27781598 Q14819521 Q22343587 Q19862171 Q27334854 Q19859020 Q19960756 Q19904656 Q19862179 Q18783441 Q7809990 Q20019121 Q22245036 Q23530718 Q20489064 Q23047618 Q20739274 Q20392046 Q18688235 Q19897638 Q19960618 Q21778278 Q24052400 Q18688427 Q22329827 Q21074730 Q24052405 Q20202025 Q20087380 Q19973439 Q18686242 Q19962746 Q20202102 Q19861777 Q20670888 Q13107262 Q20737901 Q19969179 Q18686647 Q19968909 Q5025272 Q19563578 Q19912438 Q19969176 Q11825876 Q19969204 Q20392038 Q20392035 Q19990858 Q18685952 Q20087106 Q19862176 Q18341245 Q18918185 Q12076093 Q19969194 Q11063990 Q3949529 Q22075490 Q20392057 Q19960759 Q20202114 Q20991111 Q19967277 Q23037291 Q21175364 Q23037297 Q19926234 Q19960619 Q21181748 Q23008891 Q20201643 Q21181740 Q19883382 Q20201649 Q21181745 Q20054703 Q19967645
(c(Q340169),P180,c(Q34379))
action argmin
action find_tuple_counts
relation P180
type Q340169
type Q34379
[ANSWERS] demonstrate min number of musical instruments
[{'concept': 'Q340169'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?u ) { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?m ) WHERE { ?p property:P180 ?i . ?p rdf:type ontology:Q340169 . ?i rdf:type ontology:Q34379 } GROUP BY ?p } } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?e ) WHERE { ?t property:P180 ?o . ?o rdf:type ontology:Q34379 . ?t rdf:type ontology:Q340169 } GROUP BY ?t } }
Crucifixion The Women's Bath Portrait of a Man (drawing by Gianlorenzo Bernini) Young couple on horseback The Last Flag Raising Ceremony: Cession of New Orleans (1803) View of the Ground, under the Eiffel Tower, from the First Floor Chanteur florentin du XVe siècle Portrait of Isabella d'Este Angel playing the lute Portrait of Nadezhda Lamanova Study for a Triton (drawing) Study of Four Women Bathing At a Window in the Artist's Studio Old Woman with Arms Outstretched (Study for The Neapolitan Gesture) Study of a girl. Self-portrait Reclining Female Nude: Study for "Aegina visited by Jupiter" Madame Greuze Electro Steel Smelter, Sweden Eiffel Tower Mud Pond, Pine Plains, New York Study for Rock Drill Yosemite Saint Barbara Study of a Faun Bonaparte at Malmaison Landscape Sketch (Siikaniemi by lake Riistavesi near Kuopio) Flora Passengers in the tramway West Island Elizabeth went on her mission of pity Portrait of a Young Fiancée Study of a Female Figure with Rosary Flora The Divine Playmate Self Portrait of Gianlorenzo Bernini (drawing - WA1947.322) Nude woman Self-portrait House of Sallust, Pompeii Amorous Peasants The Cliffs Babylonian Map of the World Study of a woman's hands The Temptation of St Anthony View of the Parthenon from the Propylea Bust of a Warrior Cotopaxi seen from Ambato, Ecuador Schoodic Peninsula from Mount Desert at Sunrise Portrait of Adrià Gual Lamentation over the Dead Christ Study for Le fils puni Louis Philippe d'Orléans (1725-1785) Lovers Profiting from the Drowsiness of the Grandmother by Jean-Baptiste Greuze in the Museum of Fine Arts. About 1785. Black and brown ink, gray and brown wash over graphite pencil. Old Parr when Young Drawing of a Boy (by Gianlorenzo Bernini) Young Italian woman Catskills Portrait of Jean-Jacques Rousseau Self-Portrait with a Visor Head of Leda The Maiden of the Grave. Triptych Girl Sketch for a Wall Tomb with Skeletons (1) Hilterfingen An Elephant Study of Lions Sketch for a Wall Tomb with Skeletons (2) Elizabeth would steal out and lay the child upon the altar Banks of the Seine in Charenton Portrait of Henry Ossawa Tanner They beheld the form of Jesus of Nazareth Marie Antoinette Led to Her Execution Study of Two Feet Gustav III in harness on horse back The Sacrifice of Iphigenia Death on the Battlefield Visitors at the 1900 World's Fair under a Torrential Downpour An Elephant Rubbing Itself against a Tree The Kids Saddled Horse Portrait of Mademoiselle Huquier Capriccio of the Pantheon, the Colosseum and Trajan's Forum Seated Male Nude Sketchbook: Conway, New Hampshire Thunersee near Schadau New Year's Greeting with Three Witches West Front of the Parthenon Mounts Katahdin and Turner from Lake Katahdin, Maine Two Figure Studies of a Young Woman Sermon of Josaphat Kuntsevich in Belarus Four Studies of a Female Nude, an Annunciation and Two Studies of a Woman Swimming Construction Site for the 1900 Paris World's Fair Sketch of a Canopy Bed Portrait of Gabriel Huquier Salt Pan Worker in Road Costume Ruins in Itanhaém Drawing of a woman. The Marne in Charenton Waldseemüller map Ruin Walls on the Rhine Wailuku Falls, Hilo The Intimate Conversation Ruins of an Aqueduct in Rome The Great Cypresses of the Villa d'Este Dutch Cavalier Study for "Slave Market at Rome" Portrait of a Young Man Portrait of an Egyptian Fellah Man Walking on a Road Ten Women of Stralsund Madonna of the Animals Virgin and Child in the Clouds Two Workers Seated on a Beam of the Eiffel Tower Landscape with a Stone Bridge in charcoal Reclining Dog Shinnecock Studio Interior The Author August Strindberg A Waterfall in Colombia A Family Supper The Owls' Nest Saxton’s Proof Map of Wales The White Drake A Young Woman Having Her Hair Braided Drawing of Angel with Crown of Thorns (by Gianlorenzo Bernini) Elizabeth prayed to god to clothe her Boat Journey Old Houses in Krumau Head of Smiling Girl Female Nude, Seen from the Back Stalingrad Madonna Charity and Justice Male Back With a Flag The Porta Portello with the Brenta Canal in Padua Boy with a Broken Egg Tomb of Nero Epifania Fifth Avenue Mount Desert Island ?, Landscape Turkish Soldier Ulysses and the Sirens Study of a Ewe Triumph of Pan Tuileries Garden John Speed's map of Wales Studio of Robert F. Blum Portrait of the Artist's Sister-in-Law, Adele Harms Young Girl Holding a Monkey Self-Portrait Self-Portrait Colombia, Barranquilla, Portrait of Boy A Despot Colombia, Barranquilla Church Portrait of a Young Woman Ignudo Colombia, Barranquilla, Two Houses Colombia or Ecuador, Church Roofs Isabella Brant A Father Curses hos Ungrateful Son View of a Mill in Charenton Savoyard with a Dancing Doll The Massage Mme Loubens au Lit Self-portrait Standing Nude Girl Here we kill Salt Pan Worker Narrows from Staten Island Prima Europe Tabula Study for "Diogenes" Portrait of Goffredo Mameli Study for "Slave Market" Winter on 21st Street, New York The Battle of Anghiari View of the Shawangunke Mountains, graphite with white heightening on paper by Johann Herman Carmiencke, 1865,Honolulu Museum of Art Praying Hands A shower of red and white roses was scattered over the ground The Virgin and Child with St Anne and St John the Baptist Crucifixion of Saint Peter Studies of Mount Chimborazo, Ecuador Cerberus Devouring a Man The Temple of Minerva Woman masturbating Don Quixote Torso of Venus and a Landscape Schiele with Nude Model before the Mirror Cloud Study Selfportrait Design for a Medal (drawing by Gianlorenzo Bernini) Diana Bathing A Dance to the Music of Time Studies of Cows and Calves Some little bird sang to me most blithely An Outcast Staging Point Portrait of a Man in a Top Hat Self-portrait Self-portrait A Woman Spinning and an Old Woman St Gervais Study for "The Tulip Folly" View from the Domed Hall at Charlottenborg in Copenhagen Willows and White Poplars Young Woman Sleeping Antique Ruins Study for "Socrates Looking for Alcibiades in the House of Aspasia" Portrait of Louis XV Titian Self-Portrait Lady in Turkish dress, reading Study of the pigeonhole gate of Ooidonk Castle Portrait of Lucas van Leyden The Salt Pan Worker from Saillé Self-portrait Landscape with Stone Bridge The Death of Hippolytus Two Silver Birches, the Front One Fallen The Massage Christ Crucified Bather Capriccio of the Colosseum and a Preaching Apostle Allegory of Luxuria Study for Cardinal Niccolò Albergati Cartoon Portrait of Ilya Ostroukhov Capriccio of Ruins Palm Trees and Housetops, Ecuador Self-portrait Caritas The Embroiders Female Nude on a Dolphin Study of Mount Chimborazo, Ecuador The Eiffel Tower and the Wheel River Landscape Sorrow View of Venice Studies of an outstretched arm for the fresco 'The Drunkenness of Noah' in the Sistine Chapel Teiresias Foretells the Future to Odysseus Study of a Standing Dancer with an Outstretched Arm Cambriae Typus Portrait of Hélène Fourment Beatrice Hastings Studies of a Horse with Two Nude Riders and a Male Torso Hanging of Bernardo Bandini Baroncelli Studies of Three Figures, Including a Self-portrait The Massacre of the Innocents Apollo and the Muses on Mount Parnassus Seated Woman with an Open Book on her Lap Floating Woman with Outstretched Arm The maiden from Tapiola Arab Standing in Prayer Head of a man The Elephant Hanno and his Mahout Self-portrait of Gianlorenzo Bernini (drawing) Portrait of Hortense Cézanne-Figuet, the Artist's Wife Kangxi Taiwan map A Saint on Horseback Queue for food Snake Recumbent woman seen from behind, or Le Sommeil Sunset across the Hudson Valley, New York Watermills Monks at Prayer in a Cloister Self-Portrait as Imitatio on laid paper, 20 x 17 cm. Yale Center for British Art. A Female Study Self-Portrait in a bonnet Castle Ruins on a River Bank Portrait of Denis Diderot Study for Echo from Echo and Narcissus Portrait of Cecil Rhodes Eagle Lake Viewed from Cadillac Mountain, Mount Desert Island, Maine Study For Gather Ye Rosebuds While Ye May Gemmi Pass, Valais Alps El Khasne Study of The Lady Clare Milton, New York Park of Versailles, View of an Alley
Chanteur florentin du XVe siècle, Recumbent woman seen from behind, or Le Sommeil and Ulysses and the Sirens demonstrate min number of musical instruments
Chanteur florentin du XVe siècle Recumbent woman seen from behind, or Le Sommeil Ulysses and the Sirens
action argmin
action find_tuple_counts
relation depicts
type media
type musical instrument
[{'concept': 'media'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?u ) { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?m ) WHERE { ?p property:depicts ?i . ?p rdf:type ontology:media . ?i rdf:type ontology:musical_instrument } GROUP BY ?p } } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?e ) WHERE { ?t property:depicts ?o . ?o rdf:type ontology:musical_instrument . ?t rdf:type ontology:media } GROUP BY ?t } }
[]