Simple Question (Direct)
Simple Question
Q3180551
P106
Q12737077
USER
What is the profession of Marvin Peersman ?
(Q3180551,P106,c(Q12737077))
action filter_type
action find
entity Q3180551
relation P106
type Q12737077
['Q3180551', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3180551 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Marvin Peersman
action filter_type
action find
entity Marvin Peersman
relation occupation
type occupation
['Marvin Peersman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Marvin_Peersman property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3180551,P106,c(Q12737077))
action filter_type
action find
entity Q3180551
relation P106
type Q12737077
The profession of Marvin Peersman is an [ANSWER]
['Q3180551', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3180551 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
association football player
The profession of Marvin Peersman is an association football player
association football player
action filter_type
action find
entity Marvin Peersman
relation occupation
type occupation
['Marvin Peersman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Marvin_Peersman property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3180551
P21
Q290
USER
Which sex does Marvin Peersman have ?
(Q3180551,P21,c(Q290))
action filter_type
action find
entity Q3180551
relation P21
type Q290
['Q3180551', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q3180551 property:P21 ?d . ?d rdf:type ontology:Q290 }
Marvin Peersman
action filter_type
action find
entity Marvin Peersman
relation gender
type sex
['Marvin Peersman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Marvin_Peersman property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3180551,P21,c(Q290))
action filter_type
action find
entity Q3180551
relation P21
type Q290
Marvin Peersman has a [ANSWER]
['Q3180551', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q3180551 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
Marvin Peersman has a male
male
action filter_type
action find
entity Marvin Peersman
relation gender
type sex
['Marvin Peersman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Marvin_Peersman property:gender ?d . ?d rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q1516934
P21
Q502895
USER
Does Richard Prüfer have the gender as that sex ?
(Q1516934,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1516934
relation P21
['Q1516934', 'P21', 'Q6581097']
ASK WHERE { resource:Q1516934 property:P21 resource:Q6581097 }
male Richard Prüfer
action is_in
entity male
action find
entity Richard Prüfer
relation gender
['Richard Prüfer', 'gender', 'male']
ASK WHERE { resource:Richard_Prüfer property:gender resource:male }
[]
common name
SYSTEM
YES
(Q1516934,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1516934
relation P21
[ANSWER]
['Q1516934', 'P21', 'Q6581097']
ASK WHERE { resource:Q1516934 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Richard Prüfer
relation gender
['Richard Prüfer', 'gender', 'male']
ASK WHERE { resource:Richard_Prüfer property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q937857 Q2736
P425
Q349
USER
Is association football associated with the field of occupation association football player ?
(Q937857,P425,Q2736)
action is_in
entity Q2736
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 }
association football player association football
action is_in
entity association football
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
sport
SYSTEM
YES
(Q937857,P425,Q2736)
action is_in
entity Q2736
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saints of min number of occupations ?
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:P417 ?z . ?z rdf:type ontology:Q502895 . ?b rdf:type ontology:Q12737077 } GROUP BY ?z } } . FILTER ( ?i = ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?i ) WHERE { ?w rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q502895 . ?w property:P417 ?l } GROUP BY ?l } }
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:patron_saint ?z . ?z rdf:type ontology:common_name . ?b rdf:type ontology:occupation } GROUP BY ?z } } . FILTER ( ?i = ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?i ) WHERE { ?w rdf:type ontology:occupation . ?l rdf:type ontology:common_name . ?w property:patron_saint ?l } GROUP BY ?l } }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWERS] are the patron saints of min number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:P417 ?z . ?z rdf:type ontology:Q502895 . ?b rdf:type ontology:Q12737077 } GROUP BY ?z } } . FILTER ( ?i = ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?i ) WHERE { ?w rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q502895 . ?w property:P417 ?l } GROUP BY ?l } }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the patron saints of min number of occupations
Elizabeth II Tadeusz Kościuszko Louis IX of France
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?q ) WHERE { ?b property:patron_saint ?z . ?z rdf:type ontology:common_name . ?b rdf:type ontology:occupation } GROUP BY ?z } } . FILTER ( ?i = ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?i ) WHERE { ?w rdf:type ontology:occupation . ?l rdf:type ontology:common_name . ?w property:patron_saint ?l } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9682 Q191479 Q346
P21
Q290
USER
Which sexes do Elizabeth II, Tadeusz Kościuszko and Louis IX of France have ?
(Q9682,P21,c(Q290)) (Q191479,P21,c(Q290)) (Q346,P21,c(Q290))
action union
action filter_type
action find
entity Q9682
relation P21
type Q290
action filter_type
action find
entity Q191479
relation P21
type Q290
action filter_type
action find
entity Q346
relation P21
type Q290
['Q9682', 'P21', {'concept': 'Q290'}] ['Q191479', 'P21', {'concept': 'Q290'}] ['Q346', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?q ) { ( resource:Q9682 ) ( resource:Q191479 ) } . ?q property:P21 ?z }
Elizabeth II Tadeusz Kościuszko Louis IX of France
action union
action filter_type
action find
entity Elizabeth II
relation gender
type sex
action filter_type
action find
entity Tadeusz Kościuszko
relation gender
type sex
action filter_type
action find
entity Louis IX of France
relation gender
type sex
['Elizabeth II', 'gender', {'concept': 'sex'}] ['Tadeusz Kościuszko', 'gender', {'concept': 'sex'}] ['Louis IX of France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?q ) { ( resource:Elizabeth_II ) ( resource:Tadeusz_Kościuszko ) } . ?q property:gender ?z }
[]
sex
Q6581072 Q6581097 Q6581097
SYSTEM
male for 2nd, 3rd, female for 1st
Q6581072 Q6581097 Q6581097
(Q9682,P21,c(Q290)) (Q191479,P21,c(Q290)) (Q346,P21,c(Q290))
action union
action filter_type
action find
entity Q9682
relation P21
type Q290
action filter_type
action find
entity Q191479
relation P21
type Q290
action filter_type
action find
entity Q346
relation P21
type Q290
[ANSWERS]
['Q9682', 'P21', {'concept': 'Q290'}] ['Q191479', 'P21', {'concept': 'Q290'}] ['Q346', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?q ) { ( resource:Q9682 ) ( resource:Q191479 ) } . ?q property:P21 ?z }
female male male
Elizabeth II , Tadeusz Kościuszko and Louis IX of France have been female, male and male
female male male
action union
action filter_type
action find
entity Elizabeth II
relation gender
type sex
action filter_type
action find
entity Tadeusz Kościuszko
relation gender
type sex
action filter_type
action find
entity Louis IX of France
relation gender
type sex
['Elizabeth II', 'gender', {'concept': 'sex'}] ['Tadeusz Kościuszko', 'gender', {'concept': 'sex'}] ['Louis IX of France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?q ) { ( resource:Elizabeth_II ) ( resource:Tadeusz_Kościuszko ) } . ?q property:gender ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9682
P748
Q12737077
USER
Who did Elizabeth II appoint ?
(c(Q12737077),P748,Q9682)
action filter_type
action find_reverse
entity Q9682
relation P748
type Q12737077
[{'concept': 'Q12737077'}, 'P748', 'Q9682']
SELECT DISTINCT ?s WHERE { ?s property:P748 resource:Q9682 . ?s rdf:type ontology:Q12737077 }
Elizabeth II
action filter_type
action find_reverse
entity Elizabeth II
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Elizabeth II']
SELECT DISTINCT ?s WHERE { ?s property:appointed_by resource:Elizabeth_II . ?s rdf:type ontology:occupation }
[]
occupation
Q25860233 Q3246797 Q1371091
SYSTEM
Secretary of State for Exiting the European Union, Secretary of State for Transport, Secretary of State for Foreign and Commonwealth Affairs
Q195965 Q1371091 Q1846384 Q1060844 Q1362216 Q2631987 Q691615 Q2636053 Q464103 Q1369302 Q3858507 Q111784 Q3246797 Q14984399 Q3477307 Q2484309 Q3397406 Q7444357 Q7444352 Q609884 Q531471 Q3315116 Q3477306 Q25860233 Q3315134 Q3297079 Q6865995
(c(Q12737077),P748,Q9682)
action filter_type
action find_reverse
entity Q9682
relation P748
type Q12737077
Elizabeth II appointed as [ANSWERS]
[{'concept': 'Q12737077'}, 'P748', 'Q9682']
SELECT DISTINCT ?s WHERE { ?s property:P748 resource:Q9682 . ?s rdf:type ontology:Q12737077 }
Governor of Gibraltar Secretary of State for Foreign and Commonwealth Affairs Secretary of State for Wales Paymaster General First Minister of Scotland Attorney General for England and Wales Governor of the Virgin Islands Leader of the House of Commons Speaker of the House of Commons Secretary of State for Northern Ireland Secretary of State for Business, Energy and Industrial Strategy Secretary of State for Scotland Secretary of State for Transport Secretary of State for Environment, Food and Rural Affairs Secretary of State for Justice Secretary of State for the Home Department Secretary of State for Health Secretary of State for Work and Pensions Secretary of State for International Development First Lord of the Treasury Chancellor of the Exchequer Minister for the Civil Service Secretary of State for Education Secretary of State for Exiting the European Union Minister for Women and Equalities Secretary of State for Culture, Media and Sport Minister for the Cabinet Office
Elizabeth II appointed as Secretary of State for Exiting the European Union, Secretary of State for Transport and Secretary of State for Foreign and Commonwealth Affairs
Secretary of State for Exiting the European Union Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs
action filter_type
action find_reverse
entity Elizabeth II
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Elizabeth II']
SELECT DISTINCT ?s WHERE { ?s property:appointed_by resource:Elizabeth_II . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q25860233 Q3246797 Q1371091
P39
Q502895
USER
Which people held the position of Secretary of State for Exiting the European Union, Secretary of State for Transport and Secretary of State for Foreign and Commonwealth Affairs ?
(c(Q502895),P39,Q25860233) (c(Q502895),P39,Q3246797) (c(Q502895),P39,Q1371091)
action union
action filter_type
action find_reverse
entity Q25860233
relation P39
type Q502895
action filter_type
action find_reverse
entity Q3246797
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1371091
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q25860233'] [{'concept': 'Q502895'}, 'P39', 'Q3246797'] [{'concept': 'Q502895'}, 'P39', 'Q1371091']
SELECT DISTINCT ?n WHERE { { ?n property:P39 resource:Q25860233 . ?n rdf:type ontology:Q502895 } UNION { ?n property:P39 resource:Q3246797 . ?n rdf:type ontology:Q502895 } }
Secretary of State for Exiting the European Union Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs
action union
action filter_type
action find_reverse
entity Secretary of State for Exiting the European Union
relation position held
type common name
action filter_type
action find_reverse
entity Secretary of State for Transport
relation position held
type common name
action filter_type
action find_reverse
entity Secretary of State for Foreign and Commonwealth Affairs
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Secretary of State for Exiting the European Union'] [{'concept': 'common name'}, 'position held', 'Secretary of State for Transport'] [{'concept': 'common name'}, 'position held', 'Secretary of State for Foreign and Commonwealth Affairs']
SELECT DISTINCT ?n WHERE { { ?n property:position_held resource:Secretary_of_State_for_Exiting_the_European_Union . ?n rdf:type ontology:common_name } UNION { ?n property:position_held resource:Secretary_of_State_for_Transport . ?n rdf:type ontology:common_name } }
[]
common name
Q157259 Q131691 Q9576
SYSTEM
John Russell, 1st Earl Russell, Arthur Wellesley, 1st Duke of Wellington, James Callaghan
Q300023 Q1555319 Q93557 Q332837 Q333312 Q1700212 Q334362 Q272644 Q389677 Q334198 Q122522 Q5393524 Q2883936 Q324805 Q333128 Q259836 Q333487 Q296639 Q332987 Q337453 Q333259 Q333410 Q333267 Q332919 Q3069915 Q327810 Q259106 Q332940 Q332385 Q271878 Q180589 Q193656 Q9559 Q24631 Q244620 Q335316 Q301252 Q333085 Q128976 Q272670 Q333091 Q208665 Q334108 Q336036 Q128985 Q157259 Q335205 Q333080 Q232639 Q335038 Q321003 Q19008 Q333011 Q131691 Q335187 Q333050 Q334053 Q332759 Q24530 Q334073 Q332789 Q335342 Q311278 Q311214 Q332654 Q332650 Q335305 Q335305 Q333773 Q294662 Q333744 Q333745 Q333487 Q332987 Q332365 Q9576 Q188999 Q333426 Q333429 Q58282 Q332323 Q166646 Q333862 Q182035 Q438131 Q219731 Q337386 Q337375
(c(Q502895),P39,Q25860233) (c(Q502895),P39,Q3246797) (c(Q502895),P39,Q1371091)
action union
action filter_type
action find_reverse
entity Q25860233
relation P39
type Q502895
action filter_type
action find_reverse
entity Q3246797
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1371091
relation P39
type Q502895
[ANSWERS] held the position of Secretary of State for Exiting the European Union, Secretary of State for Transport and Secretary of State for Foreign and Commonwealth Affairs
[{'concept': 'Q502895'}, 'P39', 'Q25860233'] [{'concept': 'Q502895'}, 'P39', 'Q3246797'] [{'concept': 'Q502895'}, 'P39', 'Q1371091']
SELECT DISTINCT ?n WHERE { { ?n property:P39 resource:Q25860233 . ?n rdf:type ontology:Q502895 } UNION { ?n property:P39 resource:Q3246797 . ?n rdf:type ontology:Q502895 } }
David Davis Gus Macdonald John Moore, Baron Moore of Lower Marsh Stephen Byers Tom King, Baron King of Bridgwater John Gilbert, Baron Gilbert Fred Mulley Ruth Kelly John Spellar John Baird, 1st Viscount Stonehaven Leslie Hore-Belisha, 1st Baron Hore-Belisha Ernest Marples Barbara Castle, Baroness Castle of Blackburn Nicholas Ridley, Baron Ridley of Liddesdale Gavin Strang Sir George Young Malcolm Rifkind Alistair Darling Philip Hammond Chris Grayling William Rodgers, Baron Rodgers of Quarry Bank Brian Mawhinney, Baron Mawhinney Patrick McLoughlin Norman Fowler Paul Channon, Baron Kelvedon Cecil Parkinson Douglas Alexander John MacGregor, Baron MacGregor of Pulham Market Geoff Hoon George Curzon, 1st Marquess Curzon of Kedleston Boris Johnson Henry Temple, 3rd Viscount Palmerston John Major George Hamilton-Gordon, 4th Earl of Aberdeen Archibald Primrose, 5th Earl of Rosebery Henry Bathurst, 3rd Earl Bathurst Anthony Crosland David Owen Alec Douglas-Home David Miliband John Simon, 1st Viscount Simon Arthur Henderson John Ward, 1st Earl of Dudley Rufus Isaacs, 1st Marquess of Reading Harold Macmillan John Russell, 1st Earl Russell Richard Wellesley, 1st Marquess Wellesley Selwyn Lloyd Margaret Beckett Peter Carington, 6th Baron Carrington James Harris Arthur Balfour Dudley Ryder, 1st Earl of Harrowby Arthur Wellesley, 1st Duke of Wellington Edward Grey, 1st Viscount Grey of Fallodon Robert Stewart, Viscount Castlereagh Granville Leveson-Gower, 2nd Earl Granville Francis Pym, Baron Pym Thomas Robinson, 2nd Baron Grantham George Brown, Baron George-Brown Edward Stanley, 15th Earl of Derby John Wodehouse, 1st Earl of Kimberley Jack Straw Robin Cook Henry Phipps, 1st Earl of Mulgrave Stafford Northcote, 1st Earl of Iddesleigh George Villiers, 4th Earl of Clarendon George Villiers, 4th Earl of Clarendon Michael Stewart, Baron Stewart of Fulham Charles Grey, 2nd Earl Grey George Nugent-Temple-Grenville, 1st Marquess of Buckingham Patrick Gordon Walker Malcolm Rifkind Philip Hammond Ernest Bevin James Callaghan Austen Chamberlain E. F. L. Wood, 1st Earl of Halifax Samuel Hoare, 1st Viscount Templewood William Hague Geoffrey Howe Ramsay MacDonald Francis Osborne, 5th Duke of Leeds Rab Butler Charles James Fox George Canning Henry Petty-Fitzmaurice, 5th Marquess of Lansdowne Douglas Hurd
John Russell, 1st Earl Russell, Arthur Wellesley, 1st Duke of Wellington and James Callaghan held the position of Secretary of State for Exiting the European Union, Secretary of State for Transport and Secretary of State for Foreign and Commonwealth Affairs
John Russell, 1st Earl Russell Arthur Wellesley, 1st Duke of Wellington James Callaghan
action union
action filter_type
action find_reverse
entity Secretary of State for Exiting the European Union
relation position held
type common name
action filter_type
action find_reverse
entity Secretary of State for Transport
relation position held
type common name
action filter_type
action find_reverse
entity Secretary of State for Foreign and Commonwealth Affairs
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Secretary of State for Exiting the European Union'] [{'concept': 'common name'}, 'position held', 'Secretary of State for Transport'] [{'concept': 'common name'}, 'position held', 'Secretary of State for Foreign and Commonwealth Affairs']
SELECT DISTINCT ?n WHERE { { ?n property:position_held resource:Secretary_of_State_for_Exiting_the_European_Union . ?n rdf:type ontology:common_name } UNION { ?n property:position_held resource:Secretary_of_State_for_Transport . ?n rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q157259 Q131691 Q9576
P39
Q12737077
USER
Which occupations were the positions occupied by those people ?
(Q157259,P39,c(Q12737077)) (Q131691,P39,c(Q12737077)) (Q9576,P39,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P39
type Q12737077
['Q157259', 'P39', {'concept': 'Q12737077'}] ['Q131691', 'P39', {'concept': 'Q12737077'}] ['Q9576', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?p property:P39 ?b . VALUES ( ?p ) { ( resource:Q300023 ) ( resource:Q1555319 ) ( resource:Q93557 ) } . ?b rdf:type ontology:Q12737077 }
John Russell, 1st Earl Russell Arthur Wellesley, 1st Duke of Wellington James Callaghan
action filter_type
action find
entity prev_answer
relation position held
type occupation
['John Russell, 1st Earl Russell', 'position held', {'concept': 'occupation'}] ['Arthur Wellesley, 1st Duke of Wellington', 'position held', {'concept': 'occupation'}] ['James Callaghan', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?p property:position_held ?b . VALUES ( ?p ) { ( resource:David_Davis ) ( resource:Gus_Macdonald ) ( resource:John_Moore,_Baron_Moore_of_Lower_Marsh ) } . ?b rdf:type ontology:occupation }
[]
occupation
Q2484309 Q1371091 Q2484309
SYSTEM
Secretary of State for Foreign and Commonwealth Affairs for 2nd, Secretary of State for the Home Department for 1st, 3rd
Q2519998 Q2484309 Q1371091 Q2741536 Q16707842 Q1546682 Q943379 Q2484309 Q2012061 Q1371091 Q18019039 Q16707842 Q1546682 Q20086422 Q531471 Q3615378 Q4976591 Q2484309 Q7460514 Q12408992 Q1371091 Q11013932 Q2741536 Q16707842 Q7139038
(Q157259,P39,c(Q12737077)) (Q131691,P39,c(Q12737077)) (Q9576,P39,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P39
type Q12737077
[ANSWERS]
['Q157259', 'P39', {'concept': 'Q12737077'}] ['Q131691', 'P39', {'concept': 'Q12737077'}] ['Q9576', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?p property:P39 ?b . VALUES ( ?p ) { ( resource:Q300023 ) ( resource:Q1555319 ) ( resource:Q93557 ) } . ?b rdf:type ontology:Q12737077 }
Secretary of State for the Colonies Secretary of State for the Home Department Secretary of State for Foreign and Commonwealth Affairs Leader of the Opposition Member of Parliament in the United Kingdom Secretary of State for War and the Colonies Lord President of the Council Secretary of State for the Home Department Leader of the House of Lords Secretary of State for Foreign and Commonwealth Affairs Member of Parliament in the Parliament of Ireland Member of Parliament in the United Kingdom Secretary of State for War and the Colonies Shadow Secretary of State for Employment Chancellor of the Exchequer Leader of the Labour Party Shadow Home Secretary Secretary of State for the Home Department Shadow Foreign Secretary Secretary to the Admiralty Secretary of State for Foreign and Commonwealth Affairs Shadow Chancellor of the Exchequer Leader of the Opposition Member of Parliament in the United Kingdom Parliamentary Secretary to the Ministry of Transport
Secretary of State for the Home Department, Secretary of State for Foreign and Commonwealth Affairs and Secretary of State for the Home Department were the positions occupied by those people
Secretary of State for the Home Department Secretary of State for Foreign and Commonwealth Affairs Secretary of State for the Home Department
action filter_type
action find
entity prev_answer
relation position held
type occupation
['John Russell, 1st Earl Russell', 'position held', {'concept': 'occupation'}] ['Arthur Wellesley, 1st Duke of Wellington', 'position held', {'concept': 'occupation'}] ['James Callaghan', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?p property:position_held ?b . VALUES ( ?p ) { ( resource:David_Davis ) ( resource:Gus_Macdonald ) ( resource:John_Moore,_Baron_Moore_of_Lower_Marsh ) } . ?b rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1371091
P1001
Q15617994
USER
Which administrative territory applies to jurisdiction of that occupation ?
(Q1371091,P1001,c(Q15617994))
action filter_type
action find
entity Q1371091
relation P1001
type Q15617994
['Q1371091', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q1371091 property:P1001 ?s . ?s rdf:type ontology:Q15617994 }
Secretary of State for Foreign and Commonwealth Affairs
action filter_type
action find
entity Secretary of State for Foreign and Commonwealth Affairs
relation applies to jurisdiction
type designation for an administrative territorial entity
['Secretary of State for Foreign and Commonwealth Affairs', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Secretary_of_State_for_Foreign_and_Commonwealth_Affairs property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q2484309
SYSTEM
Did you mean Secretary of State for the Home Department ?
Q2484309 Q1371091 Q2484309
(Q2484309,P1001,c(Q15617994)) (Q1371091,P1001,c(Q15617994)) (Q2484309,P1001,c(Q15617994))
[ANSWER]
['Q2484309', 'P1001', {'concept': 'Q15617994'}] ['Q1371091', 'P1001', {'concept': 'Q15617994'}] ['Q2484309', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q1371091 property:P1001 ?s . ?s rdf:type ontology:Q15617994 }
Secretary of State for the Home Department Secretary of State for Foreign and Commonwealth Affairs Secretary of State for the Home Department
Did you mean Secretary of State for the Home Department ?
Secretary of State for the Home Department
['Secretary of State for the Home Department', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Secretary of State for Foreign and Commonwealth Affairs', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Secretary of State for the Home Department', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Secretary_of_State_for_Foreign_and_Commonwealth_Affairs property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Secretary of State for Foreign and Commonwealth Affairs. Could you tell me the answer for that?
(Q1371091,P1001,c(Q15617994))
Q1371091
['Q1371091', 'P1001', {'concept': 'Q15617994'}]
['Secretary of State for Foreign and Commonwealth Affairs', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
[]
Q145
SYSTEM
United Kingdom
Q145
(Q1371091,P1001,c(Q15617994))
action filter_type
action find
entity Q1371091
relation P1001
type Q15617994
[ANSWER] applies to jurisdiction of that occupation
['Q1371091', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q1371091 property:P1001 ?s . ?s rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom applies to jurisdiction of that occupation
United Kingdom
action filter_type
action find
entity Secretary of State for Foreign and Commonwealth Affairs
relation applies to jurisdiction
type designation for an administrative territorial entity
['Secretary of State for Foreign and Commonwealth Affairs', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Secretary_of_State_for_Foreign_and_Commonwealth_Affairs property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P291
Q571 Q2031291
USER
How many books and releases have United Kingdom as their publication location ?
(c(Q571),P291,Q145) (c(Q2031291),P291,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P291
type Q571
action filter_type
action find_reverse
entity Q145
relation P291
type Q2031291
[{'concept': 'Q571'}, 'P291', 'Q145'] [{'concept': 'Q2031291'}, 'P291', 'Q145']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:P291 resource:Q145 . ?i rdf:type ontology:Q571 } UNION { ?i property:P291 resource:Q145 . ?i rdf:type ontology:Q2031291 } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation place of publication
type book
action filter_type
action find_reverse
entity United Kingdom
relation place of publication
type release
[{'concept': 'book'}, 'place of publication', 'United Kingdom'] [{'concept': 'release'}, 'place of publication', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:place_of_publication resource:United_Kingdom . ?i rdf:type ontology:book } UNION { ?i property:place_of_publication resource:United_Kingdom . ?i rdf:type ontology:release } }
[]
book release
SYSTEM
1 books and 1 releases
Q1032799 Q20897974
(c(Q571),P291,Q145) (c(Q2031291),P291,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P291
type Q571
action filter_type
action find_reverse
entity Q145
relation P291
type Q2031291
[ANSWER]
[{'concept': 'Q571'}, 'P291', 'Q145'] [{'concept': 'Q2031291'}, 'P291', 'Q145']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:P291 resource:Q145 . ?i rdf:type ontology:Q571 } UNION { ?i property:P291 resource:Q145 . ?i rdf:type ontology:Q2031291 } }
Streetcleaner The Little Prince (1975 BCA edition)
1 books and 1 releases
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation place of publication
type book
action filter_type
action find_reverse
entity United Kingdom
relation place of publication
type release
[{'concept': 'book'}, 'place of publication', 'United Kingdom'] [{'concept': 'release'}, 'place of publication', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:place_of_publication resource:United_Kingdom . ?i rdf:type ontology:book } UNION { ?i property:place_of_publication resource:United_Kingdom . ?i rdf:type ontology:release } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with max number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?v ) { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?a ) WHERE { ?d property:P530 ?k . ?d rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?d } } . FILTER ( ?l = ?v ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?t property:P530 ?g . ?t rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?t } }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?v ) { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?a ) WHERE { ?d property:diplomatic_relation ?k . ?d rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } } . FILTER ( ?l = ?v ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?t property:diplomatic_relation ?g . ?t rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } }
[]
political territorial entity designation for an administrative territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q15617994),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have diplomatic relationships with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?v ) { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?a ) WHERE { ?d property:P530 ?k . ?d rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?d } } . FILTER ( ?l = ?v ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?t property:P530 ?g . ?t rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?t } }
Germany
Germany have diplomatic relationships with max number of administrative territories
Germany
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?v ) { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?a ) WHERE { ?d property:diplomatic_relation ?k . ?d rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } } . FILTER ( ?l = ?v ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?t property:diplomatic_relation ?g . ?t rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories are known to have diplomatic connections with approximately 3 political territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?m ) WHERE { ?t rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 . ?t property:P530 ?v } GROUP BY ?t } . FILTER ( ?m = 3 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?m ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity . ?t property:diplomatic_relation ?v } GROUP BY ?t } . FILTER ( ?m = 3 ) }
[]
political territorial entity designation for an administrative territorial entity
Q30 Q159 Q55
SYSTEM
United States of America, Russia, Netherlands
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q851 Q733 Q734 Q736 Q233 Q20 Q1041 Q27 Q843 Q184 Q1029 Q1028 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[ANSWERS] are known to have diplomatic connections with approximately 3 political territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?m ) WHERE { ?t rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 . ?t property:P530 ?v } GROUP BY ?t } . FILTER ( ?m = 3 ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Saudi Arabia Paraguay Guyana Ecuador Malta Norway Senegal Ireland Pakistan Belarus Mozambique Morocco Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
United States of America, Russia and Netherlands are known to have diplomatic connections with approximately 3 political territories
United States of America Russia Netherlands
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?m ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity . ?t property:diplomatic_relation ?v } GROUP BY ?t } . FILTER ( ?m = 3 ) }
[]