Simple Question (Direct)
Simple Question
Q484141
P27
Q15617994
USER
Which administrative territories do Muhammad Iqbal belong to ?
(Q484141,P27,c(Q15617994))
action filter_type
action find
entity Q484141
relation P27
type Q15617994
['Q484141', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q484141 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Muhammad Iqbal
action filter_type
action find
entity Muhammad Iqbal
relation country of citizenship
type designation for an administrative territorial entity
['Muhammad Iqbal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Muhammad_Iqbal property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q843 Q668
SYSTEM
Pakistan, India
Q843 Q668
(Q484141,P27,c(Q15617994))
action filter_type
action find
entity Q484141
relation P27
type Q15617994
Muhammad Iqbal belong to [ANSWERS]
['Q484141', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q484141 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Pakistan India
Muhammad Iqbal belong to Pakistan and India
Pakistan India
action filter_type
action find
entity Muhammad Iqbal
relation country of citizenship
type designation for an administrative territorial entity
['Muhammad Iqbal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Muhammad_Iqbal property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q668
P175
Q2031291
USER
Which release performed that administrative territory ?
(c(Q2031291),P175,Q668)
action filter_type
action find_reverse
entity Q668
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q668']
SELECT DISTINCT ?q WHERE { ?q property:P175 resource:Q668 . ?q rdf:type ontology:Q2031291 }
India
action filter_type
action find_reverse
entity India
relation performer
type release
[{'concept': 'release'}, 'performer', 'India']
SELECT DISTINCT ?q WHERE { ?q property:performer resource:India . ?q rdf:type ontology:release }
[]
release
Clarification for simple ques.
Q843
SYSTEM
Did you mean Pakistan ?
Q843 Q668
(c(Q2031291),P175,Q843) (c(Q2031291),P175,Q668)
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q843'] [{'concept': 'Q2031291'}, 'P175', 'Q668']
SELECT DISTINCT ?q WHERE { ?q property:P175 resource:Q668 . ?q rdf:type ontology:Q2031291 }
Pakistan India
Did you mean Pakistan ?
Pakistan
[{'concept': 'release'}, 'performer', 'Pakistan'] [{'concept': 'release'}, 'performer', 'India']
SELECT DISTINCT ?q WHERE { ?q property:performer resource:India . ?q rdf:type ontology:release }
[]
Simple Question (Coreferenced)
USER
No, I meant India. Could you tell me the answer for that?
(c(Q2031291),P175,Q668)
Q668
[{'concept': 'Q2031291'}, 'P175', 'Q668']
[{'concept': 'release'}, 'performer', 'India']
[]
Q7927797
SYSTEM
Video
Q7927797
(c(Q2031291),P175,Q668)
action filter_type
action find_reverse
entity Q668
relation P175
type Q2031291
[ANSWER] performed that administrative territory
[{'concept': 'Q2031291'}, 'P175', 'Q668']
SELECT DISTINCT ?q WHERE { ?q property:P175 resource:Q668 . ?q rdf:type ontology:Q2031291 }
Video
Video performed that administrative territory
Video
action filter_type
action find_reverse
entity India
relation performer
type release
[{'concept': 'release'}, 'performer', 'India']
SELECT DISTINCT ?q WHERE { ?q property:performer resource:India . ?q rdf:type ontology:release }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7927797 Q327503
P495
Q15617994
USER
Did that release originate Tres, Trentino ?
(Q7927797,P495,Q327503)
action is_in
entity Q327503
action find
entity Q7927797
relation P495
['Q7927797', 'P495', 'Q327503']
ASK WHERE { resource:Q7927797 property:P495 resource:Q327503 }
Video Tres, Trentino
action is_in
entity Tres, Trentino
action find
entity Video
relation country of origin
['Video', 'country of origin', 'Tres, Trentino']
ASK WHERE { resource:Video property:country_of_origin resource:Tres,_Trentino }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7927797,P495,Q327503)
action is_in
entity Q327503
action find
entity Q7927797
relation P495
[ANSWER]
['Q7927797', 'P495', 'Q327503']
ASK WHERE { resource:Q7927797 property:P495 resource:Q327503 }
No
action is_in
entity Tres, Trentino
action find
entity Video
relation country of origin
['Video', 'country of origin', 'Tres, Trentino']
ASK WHERE { resource:Video property:country_of_origin resource:Tres,_Trentino }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q668
P159
Q43229
USER
Which organizations have their head office location at India ?
(c(Q43229),P159,Q668)
action filter_type
action find_reverse
entity Q668
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q668']
SELECT DISTINCT ?p WHERE { ?p property:P159 resource:Q668 . ?p rdf:type ontology:Q43229 }
India
action filter_type
action find_reverse
entity India
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'India']
SELECT DISTINCT ?p WHERE { ?p property:headquarters_location resource:India . ?p rdf:type ontology:organization }
[]
organization
Q26759586 Q906943 Q1523539
SYSTEM
Digitant Consulting Pvt Ltd, Grasim Industries, All India Students Federation
Q26759586 Q7317634 Q19903747 Q1371239 Q7937544 Q906943 Q5340835 Q7669021 Q7912472 Q4835608 Q4883110 Q1584018 Q10981974 Q5058436 Q1523539
(c(Q43229),P159,Q668)
action filter_type
action find_reverse
entity Q668
relation P159
type Q43229
[ANSWERS] have their head office location at India
[{'concept': 'Q43229'}, 'P159', 'Q668']
SELECT DISTINCT ?p WHERE { ?p property:P159 resource:Q668 . ?p rdf:type ontology:Q43229 }
Digitant Consulting Pvt Ltd Reuters Market Light TYKA Sports Steel Authority of India Limited Vivanta By Taj Grasim Industries Educate Girls T24 Mobile Vallée de Vin BHUMI Bell Bajao RITES Railway Recruitment Control Board Celoxis All India Students Federation
Digitant Consulting Pvt Ltd, Grasim Industries and All India Students Federation have their head office location at India
Digitant Consulting Pvt Ltd Grasim Industries All India Students Federation
action filter_type
action find_reverse
entity India
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'India']
SELECT DISTINCT ?p WHERE { ?p property:headquarters_location resource:India . ?p rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1523539
P463
Q43229
USER
Which organization had that one as its member ?
(Q1523539,P463,c(Q43229))
action filter_type
action find
entity Q1523539
relation P463
type Q43229
['Q1523539', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q1523539 property:P463 ?u . ?u rdf:type ontology:Q43229 }
All India Students Federation
action filter_type
action find
entity All India Students Federation
relation member of
type organization
['All India Students Federation', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:All_India_Students_Federation property:member_of ?u . ?u rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q906943
SYSTEM
Did you mean Grasim Industries ?
Q26759586 Q906943 Q1523539
(Q26759586,P463,c(Q43229)) (Q906943,P463,c(Q43229)) (Q1523539,P463,c(Q43229))
[ANSWER]
['Q26759586', 'P463', {'concept': 'Q43229'}] ['Q906943', 'P463', {'concept': 'Q43229'}] ['Q1523539', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q1523539 property:P463 ?u . ?u rdf:type ontology:Q43229 }
Digitant Consulting Pvt Ltd Grasim Industries All India Students Federation
Did you mean Grasim Industries ?
Grasim Industries
['Digitant Consulting Pvt Ltd', 'member of', {'concept': 'organization'}] ['Grasim Industries', 'member of', {'concept': 'organization'}] ['All India Students Federation', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:All_India_Students_Federation property:member_of ?u . ?u rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant All India Students Federation. Could you tell me the answer for that?
(Q1523539,P463,c(Q43229))
Q1523539
['Q1523539', 'P463', {'concept': 'Q43229'}]
['All India Students Federation', 'member of', {'concept': 'organization'}]
[]
Q27396
SYSTEM
World Federation of Democratic Youth
Q27396
(Q1523539,P463,c(Q43229))
action filter_type
action find
entity Q1523539
relation P463
type Q43229
[ANSWER] had that one as its member
['Q1523539', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q1523539 property:P463 ?u . ?u rdf:type ontology:Q43229 }
World Federation of Democratic Youth
World Federation of Democratic Youth had that one as its member
World Federation of Democratic Youth
action filter_type
action find
entity All India Students Federation
relation member of
type organization
['All India Students Federation', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:All_India_Students_Federation property:member_of ?u . ?u rdf:type ontology:organization }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q2221906 Q271669 Q15617994
USER
Which administrative territories are named after min number of geographic locations or landforms ?
(c(Q15617994),P138,c(Q2221906)|c(Q271669))
action argmin
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
action find_tuple_counts
relation P138
type Q15617994
type Q271669
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?v ) { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?p ) WHERE { VALUES ( ?y ) { ( ontology:Q2221906 ) ( ontology:Q271669 ) } . ?u rdf:type ?y } GROUP BY ?g } } . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?r ) WHERE { { ?s property:P138 ?j . ?s rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q271669 } UNION { ?s rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q2221906 . ?s property:P138 ?j } } GROUP BY ?s } . FILTER ( ?r = ?v ) }
action argmin
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'landform'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?v ) { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?p ) WHERE { VALUES ( ?y ) { ( ontology:geographic_location ) ( ontology:landform ) } . ?u rdf:type ?y } GROUP BY ?g } } . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?r ) WHERE { { ?s property:named_after ?j . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:landform } UNION { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:geographic_location . ?s property:named_after ?j } } GROUP BY ?s } . FILTER ( ?r = ?v ) }
[]
geographic location landform designation for an administrative territorial entity
Q155 Q230 Q159
SYSTEM
Brazil, Georgia, Russia
Q158876 Q968630 Q705 Q3216 Q707 Q1087137 Q709 Q1421544 Q12789 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q33 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q710 Q625403 Q691368 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q3240 Q1028 Q12772 Q3286 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q230 Q221 Q232 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q28 Q1366860 Q12788 Q12584 Q12580 Q1025 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q894972 Q894971 Q14810 Q967 Q962 Q963 Q2921370 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q752 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q12761 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q773 Q46130 Q1393469 Q1011 Q1013 Q480103 Q4149 Q12549 Q3266 Q12626 Q8575586 Q12543 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q2221906)|c(Q271669))
action argmin
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
action find_tuple_counts
relation P138
type Q15617994
type Q271669
[ANSWERS] are named after min number of geographic locations or landforms
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?v ) { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?p ) WHERE { VALUES ( ?y ) { ( ontology:Q2221906 ) ( ontology:Q271669 ) } . ?u rdf:type ?y } GROUP BY ?g } } . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?r ) WHERE { { ?s property:P138 ?j . ?s rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q271669 } UNION { ?s rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q2221906 . ?s property:P138 ?j } } GROUP BY ?s } . FILTER ( ?r = ?v ) }
Reinickendorf Taro Zeeland Aveyron Flevoland Rockaway, New Jersey Marshall Islands Wettertal Var Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Finland Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Kiribati Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Calvados Haute-Marne Liamone Ardennes Gehlsbach Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Georgia Republic of Macedonia Kazakhstan Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Hungary Escaut Val-de-Marne Maine-et-Loire Lozère Mauritania Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Groningen Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Seine-Saint-Denis Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Overijssel Rhône Jemmapes Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
Brazil, Georgia and Russia are named after min number of geographic locations or landforms
Brazil Georgia Russia
action argmin
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'landform'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?v ) { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?p ) WHERE { VALUES ( ?y ) { ( ontology:geographic_location ) ( ontology:landform ) } . ?u rdf:type ?y } GROUP BY ?g } } . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?r ) WHERE { { ?s property:named_after ?j . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:landform } UNION { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:geographic_location . ?s property:named_after ?j } } GROUP BY ?s } . FILTER ( ?r = ?v ) }
[]