Simple Question (Direct)
Simple Question
Q3308748
P19
Q20667921
USER
Which french administrative division was Michel-Antoine Burnier born in ?
(Q3308748,P19,c(Q20667921))
action filter_type
action find
entity Q3308748
relation P19
type Q20667921
['Q3308748', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q3308748 property:P19 ?h . ?h rdf:type ontology:Q20667921 }
Michel-Antoine Burnier
action filter_type
action find
entity Michel-Antoine Burnier
relation place of birth
type type of french administrative division
['Michel-Antoine Burnier', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Michel-Antoine_Burnier property:place_of_birth ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q165090
SYSTEM
Chambéry
Q165090
(Q3308748,P19,c(Q20667921))
action filter_type
action find
entity Q3308748
relation P19
type Q20667921
Michel-Antoine Burnier was born à [ANSWER]
['Q3308748', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q3308748 property:P19 ?h . ?h rdf:type ontology:Q20667921 }
Chambéry
Michel-Antoine Burnier was born à Chambéry
Chambéry
action filter_type
action find
entity Michel-Antoine Burnier
relation place of birth
type type of french administrative division
['Michel-Antoine Burnier', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Michel-Antoine_Burnier property:place_of_birth ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q165090
P17
Q15617994
USER
Which administrative territory is that french administrative division located in ?
(Q165090,P17,c(Q15617994))
action filter_type
action find
entity Q165090
relation P17
type Q15617994
['Q165090', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q165090 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Chambéry
action filter_type
action find
entity Chambéry
relation country
type designation for an administrative territorial entity
['Chambéry', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Chambéry property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q165090,P17,c(Q15617994))
action filter_type
action find
entity Q165090
relation P17
type Q15617994
That french administrative division is located in [ANSWER]
['Q165090', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q165090 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
France
That french administrative division is located in France
France
action filter_type
action find
entity Chambéry
relation country
type designation for an administrative territorial entity
['Chambéry', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Chambéry property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P417
Q502895
USER
Which person has that administrative territory as their patron saint ?
(c(Q502895),P417,Q142)
action filter_type
action find_reverse
entity Q142
relation P417
type Q502895
[{'concept': 'Q502895'}, 'P417', 'Q142']
SELECT DISTINCT ?f WHERE { ?f property:P417 resource:Q142 . ?f rdf:type ontology:Q502895 }
France
action filter_type
action find_reverse
entity France
relation patron saint
type common name
[{'concept': 'common name'}, 'patron saint', 'France']
SELECT DISTINCT ?f WHERE { ?f property:patron_saint resource:France . ?f rdf:type ontology:common_name }
[]
common name
Q367208
SYSTEM
Saint Remigius
Q367208
(c(Q502895),P417,Q142)
action filter_type
action find_reverse
entity Q142
relation P417
type Q502895
[ANSWER] has that administrative territory as their patron saint
[{'concept': 'Q502895'}, 'P417', 'Q142']
SELECT DISTINCT ?f WHERE { ?f property:P417 resource:Q142 . ?f rdf:type ontology:Q502895 }
Saint Remigius
Saint Remigius has that administrative territory as their patron saint
Saint Remigius
action filter_type
action find_reverse
entity France
relation patron saint
type common name
[{'concept': 'common name'}, 'patron saint', 'France']
SELECT DISTINCT ?f WHERE { ?f property:patron_saint resource:France . ?f rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1024685
P1303
Q34379 Q502895
USER
Which musical instruments are played by more number of people than cabasa ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1024685
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { resource:Q1024685 property:P1303 ?y . ?y rdf:type ontology:Q34379 } } . FILTER ( ?z > ?r ) . { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?s } }
cabasa
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity cabasa
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { resource:cabasa property:instrument ?y . ?y rdf:type ontology:musical_instrument } } . FILTER ( ?z > ?r ) . { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?s } }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1024685
relation P1303
type Q34379
[ANSWERS] are played by more number of people than cabasa
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { resource:Q1024685 property:P1303 ?y . ?y rdf:type ontology:Q34379 } } . FILTER ( ?z > ?r ) . { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?s } }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
Piano, harpsichord and ondes Martenot are played by more number of people than cabasa
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity cabasa
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { resource:cabasa property:instrument ?y . ?y rdf:type ontology:musical_instrument } } . FILTER ( ?z > ?r ) . { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?s } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q816793
P1303
Q34379 Q502895
USER
And also tell me about Bendir?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q816793
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P1303 ?z . ?p rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q816793 property:P1303 ?x . ?x rdf:type ontology:Q34379 } } . FILTER ( ?u > ?v ) }
Bendir
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Bendir
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:instrument ?z . ?p rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Bendir property:instrument ?x . ?x rdf:type ontology:musical_instrument } } . FILTER ( ?u > ?v ) }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q816793
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P1303 ?z . ?p rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q816793 property:P1303 ?x . ?x rdf:type ontology:Q34379 } } . FILTER ( ?u > ?v ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Bendir
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:instrument ?z . ?p rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Bendir property:instrument ?x . ?x rdf:type ontology:musical_instrument } } . FILTER ( ?u > ?v ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P870
Q34379 Q15850590 Q9748
USER
How many musical instruments are the instrumentations used in around the same number of theatrical genres and concertoes as that musical instrument ?
(c(Q15850590)|c(Q9748),P870,c(Q34379))
[[{'concept': 'Q15850590'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q617028 ?y } UNION { ?x property:Q617028 ?y } } . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q9748 }
[[{'concept': 'theatrical genre'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:instrumentation ?y } UNION { ?x property:instrumentation ?y } } . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:concerto }
[]
musical instrument theatrical genre concerto
Comparative|Count over More/Less|Mult. entity type|Clarification
Q81982
SYSTEM
Did you mean harpsichord ?
(c(Q15850590)|c(Q9748),P870,c(Q34379))
[ANSWER]
[[{'concept': 'Q15850590'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q617028 ?y } UNION { ?x property:Q617028 ?y } } . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q9748 }
Did you mean harpsichord ?
harpsichord
[[{'concept': 'theatrical genre'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:instrumentation ?y } UNION { ?x property:instrumentation ?y } } . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:concerto }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q15850590)|c(Q9748),P870,c(Q34379))
[[{'concept': 'Q15850590'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
[[{'concept': 'theatrical genre'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
[]
SYSTEM
17
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q1444 Q39777 Q11404 Q206987 Q81982
(c(Q15850590)|c(Q9748),P870,c(Q34379))
[ANSWER]
[[{'concept': 'Q15850590'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q617028 ?y } UNION { ?x property:Q617028 ?y } } . ?z rdf:type ontology:Q15850590 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q9748 }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta organ maraca drum vibraphone harpsichord
17
[[{'concept': 'theatrical genre'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:instrumentation ?y } UNION { ?x property:instrumentation ?y } } . ?z rdf:type ontology:theatrical_genre . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:concerto }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q35798 Q14660
USER
How many administrative territories belong to jurisdiction of around 1 executive branches or flags ?
(c(Q35798)|c(Q14660),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
value 1
[[{'concept': 'Q35798'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?m WHERE { { ?q property:P1001 ?m . ?m rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q35798 } UNION { ?m rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q14660 . ?q property:P1001 ?m } } GROUP BY ?m } . FILTER ( ?n = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
value 1
[[{'concept': 'executive branch'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?m WHERE { { ?q property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:executive_branch } UNION { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:flag . ?q property:applies_to_jurisdiction ?m } } GROUP BY ?m } . FILTER ( ?n = 1 ) }
[]
designation for an administrative territorial entity executive branch flag
SYSTEM
256
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q163012 Q414 Q142 Q22273061 Q55 Q2871 Q262 Q148 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q921 Q4712 Q30 Q924 Q36 Q928 Q155019 Q39 Q38 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q29 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q35798)|c(Q14660),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
value 1
[ANSWER]
[[{'concept': 'Q35798'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?m WHERE { { ?q property:P1001 ?m . ?m rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q35798 } UNION { ?m rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q14660 . ?q property:P1001 ?m } } GROUP BY ?m } . FILTER ( ?n = 1 ) }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru Pankow Argentina France Duchy of Nemours Netherlands Hagen Algeria People's Republic of China Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Romania Brunei Duchy of Burgundy United States of America Tanzania Poland Philippines Duchy of Lorraine Switzerland Italy Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia Spain East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
256
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
value 1
[[{'concept': 'executive branch'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) ?m WHERE { { ?q property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:executive_branch } UNION { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:flag . ?q property:applies_to_jurisdiction ?m } } GROUP BY ?m } . FILTER ( ?n = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q34379 Q838948 Q340169
USER
How many musical instruments are expressed in atmost 3 works of art or medias ?
(c(Q838948)|c(Q340169),P180,c(Q34379))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q838948
action find_reverse_tuple_counts
relation P180
type Q34379
type Q340169
value 3
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?e WHERE { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } . ?l rdf:type ?z } GROUP BY ?e } . FILTER ( ?u <= 3 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work of art
action find_reverse_tuple_counts
relation depicts
type musical instrument
type media
value 3
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?e WHERE { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:media ) } . ?l rdf:type ?z } GROUP BY ?e } . FILTER ( ?u <= 3 ) }
[]
musical instrument work of art media
SYSTEM
19
Q8371 Q3382191 Q5994 Q7933058 Q81982 Q190172 Q218547 Q8338 Q1444 Q173453 Q1148709 Q1141589 Q426948 Q871633 Q3500690 Q80019 Q8355 Q11404 Q1798603
(c(Q838948)|c(Q340169),P180,c(Q34379))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q838948
action find_reverse_tuple_counts
relation P180
type Q34379
type Q340169
value 3
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?e WHERE { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } . ?l rdf:type ?z } GROUP BY ?e } . FILTER ( ?u <= 3 ) }
cello upright piano piano Viola caipira harpsichord cymbal Sigismund Bell trumpet organ wind instrument grand piano Crotales sistrum Handbell Church bell double bass violin drum string instrument
19
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work of art
action find_reverse_tuple_counts
relation depicts
type musical instrument
type media
value 3
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?e WHERE { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:media ) } . ?l rdf:type ?z } GROUP BY ?e } . FILTER ( ?u <= 3 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q81982
P106 P21
Q502895
USER
Which people have a job as harpsichord and are a male ?
AND((c(Q502895),P106,Q81982), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q81982
relation P106
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q81982'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P21 resource:Q6581097 . ?z property:P106 resource:Q81982 . ?z rdf:type ontology:Q502895 }
male harpsichord
action filter_type
action intersection
action find_reverse
entity harpsichord
relation occupation
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'harpsichord'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:gender resource:male . ?z property:occupation resource:harpsichord . ?z rdf:type ontology:common_name }
[]
common name
Q710929 Q23014020
SYSTEM
Jan Křtitel Kuchař, Stefan Gottfried
Q710929 Q23014020
AND((c(Q502895),P106,Q81982), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q81982
relation P106
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have a job as harpsichord and are a male
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q81982'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P21 resource:Q6581097 . ?z property:P106 resource:Q81982 . ?z rdf:type ontology:Q502895 }
Jan Křtitel Kuchař Stefan Gottfried
Jan Křtitel Kuchař and Stefan Gottfried have a job as harpsichord and are a male
Jan Křtitel Kuchař Stefan Gottfried
action filter_type
action intersection
action find_reverse
entity harpsichord
relation occupation
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'harpsichord'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:gender resource:male . ?z property:occupation resource:harpsichord . ?z rdf:type ontology:common_name }
[]