Simple Question (Direct)
Simple Question
Q3638067
P39
Q12737077
USER
What was the position held by Benedetto Cottone ?
(Q3638067,P39,c(Q12737077))
action filter_type
action find
entity Q3638067
relation P39
type Q12737077
['Q3638067', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3638067 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Benedetto Cottone
action filter_type
action find
entity Benedetto Cottone
relation position held
type occupation
['Benedetto Cottone', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Benedetto_Cottone property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q18558478
SYSTEM
member of the Chamber of Deputies of the Italian Republic
Q18558478
(Q3638067,P39,c(Q12737077))
action filter_type
action find
entity Q3638067
relation P39
type Q12737077
The position held by Benedetto Cottone was a [ANSWER]
['Q3638067', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3638067 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
member of the Chamber of Deputies of the Italian Republic
The position held by Benedetto Cottone was a member of the Chamber of Deputies of the Italian Republic
member of the Chamber of Deputies of the Italian Republic
action filter_type
action find
entity Benedetto Cottone
relation position held
type occupation
['Benedetto Cottone', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Benedetto_Cottone property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3638067
P463
Q484652
USER
Which international organization had Benedetto Cottone as its member ?
(Q3638067,P463,c(Q484652))
action filter_type
action find
entity Q3638067
relation P463
type Q484652
['Q3638067', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?u WHERE { resource:Q3638067 property:P463 ?u . ?u rdf:type ontology:Q484652 }
Benedetto Cottone
action filter_type
action find
entity Benedetto Cottone
relation member of
type international organization
['Benedetto Cottone', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?u WHERE { resource:Benedetto_Cottone property:member_of ?u . ?u rdf:type ontology:international_organization }
[]
international organization
Q939743
SYSTEM
Parliamentary Assembly of the Council of Europe
Q939743
(Q3638067,P463,c(Q484652))
action filter_type
action find
entity Q3638067
relation P463
type Q484652
The [ANSWER] had Benedetto Cottone as its member
['Q3638067', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?u WHERE { resource:Q3638067 property:P463 ?u . ?u rdf:type ontology:Q484652 }
Parliamentary Assembly of the Council of Europe
The Parliamentary Assembly of the Council of Europe had Benedetto Cottone as its member
Parliamentary Assembly of the Council of Europe
action filter_type
action find
entity Benedetto Cottone
relation member of
type international organization
['Benedetto Cottone', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?u WHERE { resource:Benedetto_Cottone property:member_of ?u . ?u rdf:type ontology:international_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q939743
P361
Q12737077
USER
Which occupation is a portion of that international organization ?
(c(Q12737077),P361,Q939743)
action filter_type
action find_reverse
entity Q939743
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q939743']
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q939743 . ?m rdf:type ontology:Q12737077 }
Parliamentary Assembly of the Council of Europe
action filter_type
action find_reverse
entity Parliamentary Assembly of the Council of Europe
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Parliamentary Assembly of the Council of Europe']
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:Parliamentary_Assembly_of_the_Council_of_Europe . ?m rdf:type ontology:occupation }
[]
occupation
Q27137568
SYSTEM
member of the Parliamentary Assembly of the Council of Europe
Q27137568
(c(Q12737077),P361,Q939743)
action filter_type
action find_reverse
entity Q939743
relation P361
type Q12737077
A [ANSWER] is a portion of that international organization
[{'concept': 'Q12737077'}, 'P361', 'Q939743']
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q939743 . ?m rdf:type ontology:Q12737077 }
member of the Parliamentary Assembly of the Council of Europe
A member of the Parliamentary Assembly of the Council of Europe is a portion of that international organization
member of the Parliamentary Assembly of the Council of Europe
action filter_type
action find_reverse
entity Parliamentary Assembly of the Council of Europe
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Parliamentary Assembly of the Council of Europe']
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:Parliamentary_Assembly_of_the_Council_of_Europe . ?m rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q502895 Q895526 Q12737077
USER
Which occupations are appointed by atleast 1 people or authority organs ?
(c(Q12737077),P748,c(Q502895)|c(Q895526))
action atleast
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q895526
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?v WHERE { { ?v property:P748 ?c . ?v rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q502895 } UNION { ?v property:P748 ?c . ?c rdf:type ontology:Q895526 . ?v rdf:type ontology:Q12737077 } } GROUP BY ?v } . FILTER ( ?i >= 1 ) }
action atleast
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type authority organ
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?v WHERE { { ?v property:appointed_by ?c . ?v rdf:type ontology:occupation . ?c rdf:type ontology:common_name } UNION { ?v property:appointed_by ?c . ?c rdf:type ontology:authority_organ . ?v rdf:type ontology:occupation } } GROUP BY ?v } . FILTER ( ?i >= 1 ) }
[]
common name authority organ occupation
Q4970706 Q25863345 Q25860233
SYSTEM
Federal Chancellor of Germany, Secretary of State for International Trade, Secretary of State for Exiting the European Union
Q2666591 Q1846384 Q1072417 Q2631987 Q2287650 Q5333410 Q261746 Q14984399 Q1029955 Q2484309 Q642859 Q2012061 Q7444357 Q967762 Q7444352 Q3246797 Q1371091 Q3315116 Q3477307 Q1369302 Q835586 Q4970706 Q940135 Q531471 Q2305968 Q7444340 Q2636053 Q464103 Q3858507 Q2419581 Q1124265 Q25863345 Q3477306 Q866756 Q2747647 Q565424 Q862559 Q13645132 Q636207 Q2003296 Q182762 Q967750 Q1060844 Q3397406 Q691615 Q783785 Q152814 Q1072415 Q195965 Q1763459 Q1975365 Q1591470 Q609884 Q1123764 Q735015 Q7240368 Q3297079 Q6865995 Q1029968 Q2297543 Q967737 Q3315134 Q6542448 Q2301213 Q3777749 Q111784 Q1362216 Q1658460 Q786242 Q25860233 Q1434880
(c(Q12737077),P748,c(Q502895)|c(Q895526))
action atleast
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q895526
value 1
Federal Chancellor of Germany, Secretary of State for International Trade and Secretary of State for exiting the European Union are appointed by atleast 1 people or authority organs
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?v WHERE { { ?v property:P748 ?c . ?v rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q502895 } UNION { ?v property:P748 ?c . ?c rdf:type ontology:Q895526 . ?v rdf:type ontology:Q12737077 } } GROUP BY ?v } . FILTER ( ?i >= 1 ) }
Chair of the Federal Reserve Secretary of State for Wales Chief of Staff of the United States Air Force Attorney General for England and Wales United States Secretary of the Interior Economic Secretary to the Treasury United States Secretary of the Air Force Secretary of State for Environment, Food and Rural Affairs United States Secretary of Agriculture Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service Secretary of State for Justice Secretary of State for Northern Ireland Prime Minister of Serbia Federal Chancellor of Germany United States Secretary of the Navy Chancellor of the Exchequer United States Secretary of Health and Human Services Secretary of State for Dominion Affairs Leader of the House of Commons Speaker of the House of Commons Secretary of State for Business, Energy and Industrial Strategy United States Secretary of Housing and Urban Development List of Presidents of the Basque Autonomous Community Secretary of State for International Trade Secretary of State for Education Prime Minister of Singapore Secretary of State for Defence Prime Minister of the Bahamas Prime Minister of Malaysia Lord Mayor of Dublin United States Attorney General United States Secretary of Commerce Prime Minister of Algeria United States Secretary of Labor Paymaster General Secretary of State for Health Governor of the Virgin Islands Chief of Staff of the United States Army Prime Minister of Malta Chief of Naval Operations Governor of Gibraltar Chairman of the Joint Chiefs of Staff Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Prime Minister of Armenia United States Secretary of Defense Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office United States Secretary of Energy United States Deputy Secretary of Defense United States Secretary of Transportation Minister for Women and Equalities Librarian of Congress United States Deputy Secretary of State Attorney General of Ireland Secretary of State for Scotland First Minister of Scotland United States Secretary of Veterans Affairs White House Chief of Staff Secretary of State for Exiting the European Union Surgeon General of the United States
Federal Chancellor of Germany, Secretary of State for International Trade and Secretary of State for exiting the European Union are appointed by atleast 1 people or authority organs
Federal Chancellor of Germany Secretary of State for International Trade Secretary of State for Exiting the European Union
action atleast
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type authority organ
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?v WHERE { { ?v property:appointed_by ?c . ?v rdf:type ontology:occupation . ?c rdf:type ontology:common_name } UNION { ?v property:appointed_by ?c . ?c rdf:type ontology:authority_organ . ?v rdf:type ontology:occupation } } GROUP BY ?v } . FILTER ( ?i >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of atmost 4 occupations ?
(c(Q12737077),P417,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 4
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P417 ?b . ?n rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?u <= 4 ) }
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 4
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:patron_saint ?b . ?n rdf:type ontology:occupation . ?b rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?u <= 4 ) }
[]
common name occupation
Q9682 Q9438 Q191479
SYSTEM
Elizabeth II, Thomas Aquinas, Tadeusz Kościuszko
Q2366998 Q453698 Q561838 Q380092 Q129674 Q133704 Q229190 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q328804 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q128538 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q48438 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q9200 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q192816 Q58559 Q445357 Q40662 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q43600 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q151967 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q17590 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q200895 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 4
[ANSWERS] are the names of person who are the patron saints of atmost 4 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P417 ?b . ?n rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?u <= 4 ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Catherine of Siena Jude the Apostle Prisco di Nocera Saint Roch 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 Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus John the Evangelist Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great 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 Vitus 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 Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Clare of Assisi 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 Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Luke the Evangelist Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Saint George Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew 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 Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Paul Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla 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 Thomas the Apostle 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 Benedict of Nursia Martha Saint Barbara Leo IX Henry John the Baptist Erasmus of Formiae Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Matthew the Apostle Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Saint Blaise Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Agatha of Sicily Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome Saint Ninian Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Thomas Aquinas and Tadeusz Kościuszko are the names of person who are the patron saints of atmost 4 occupations
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 4
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:patron_saint ?b . ?n rdf:type ontology:occupation . ?b rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?u <= 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9682
P19
Q123705
USER
Where was Elizabeth II born ?
(Q9682,P19,c(Q123705))
action filter_type
action find
entity Q9682
relation P19
type Q123705
['Q9682', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q123705 . resource:Q9682 property:P19 ?e }
Elizabeth II
action filter_type
action find
entity Elizabeth II
relation place of birth
type neighborhood
['Elizabeth II', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:neighborhood . resource:Elizabeth_II property:place_of_birth ?e }
[]
neighborhood
Q124184
SYSTEM
Mayfair
Q124184
(Q9682,P19,c(Q123705))
action filter_type
action find
entity Q9682
relation P19
type Q123705
Elizabeth II was born in [ANSWER]
['Q9682', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q123705 . resource:Q9682 property:P19 ?e }
Mayfair
Elizabeth II was born in Mayfair
Mayfair
action filter_type
action find
entity Elizabeth II
relation place of birth
type neighborhood
['Elizabeth II', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:neighborhood . resource:Elizabeth_II property:place_of_birth ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9682
P40
Q502895
USER
Which people have Elizabeth II as a child ?
(c(Q502895),P40,Q9682)
action filter_type
action find_reverse
entity Q9682
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q9682']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P40 resource:Q9682 }
Elizabeth II
action filter_type
action find_reverse
entity Elizabeth II
relation child
type common name
[{'concept': 'common name'}, 'child', 'Elizabeth II']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:child resource:Elizabeth_II }
[]
common name
Q10633 Q280856
SYSTEM
Queen Elizabeth The Queen Mother, George VI
Q10633 Q280856
(c(Q502895),P40,Q9682)
action filter_type
action find_reverse
entity Q9682
relation P40
type Q502895
[ANSWERS] have Elizabeth II as a child
[{'concept': 'Q502895'}, 'P40', 'Q9682']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P40 resource:Q9682 }
Queen Elizabeth The Queen Mother George VI
Queen Elizabeth The Queen Mother and George VI have Elizabeth II as a child
Queen Elizabeth The Queen Mother George VI
action filter_type
action find_reverse
entity Elizabeth II
relation child
type common name
[{'concept': 'common name'}, 'child', 'Elizabeth II']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:child resource:Elizabeth_II }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q124184
P159
Q43229
USER
Which organizations have their head office location at Mayfair ?
(c(Q43229),P159,Q124184)
action filter_type
action find_reverse
entity Q124184
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q124184']
SELECT DISTINCT ?s WHERE { ?s property:P159 resource:Q124184 . ?s rdf:type ontology:Q43229 }
Mayfair
action filter_type
action find_reverse
entity Mayfair
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Mayfair']
SELECT DISTINCT ?s WHERE { ?s property:headquarters_location resource:Mayfair . ?s rdf:type ontology:organization }
[]
organization
Q17069173 Q6420368 Q8029787
SYSTEM
Links of London, Kleinwort Benson, Wolf & Badger
Q17069173 Q6420368 Q8029787
(c(Q43229),P159,Q124184)
action filter_type
action find_reverse
entity Q124184
relation P159
type Q43229
[ANSWERS] have their head office location at Mayfair
[{'concept': 'Q43229'}, 'P159', 'Q124184']
SELECT DISTINCT ?s WHERE { ?s property:P159 resource:Q124184 . ?s rdf:type ontology:Q43229 }
Links of London Kleinwort Benson Wolf & Badger
Links of London, Kleinwort Benson and Wolf & Badger have their head office location at Mayfair
Links of London Kleinwort Benson Wolf & Badger
action filter_type
action find_reverse
entity Mayfair
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Mayfair']
SELECT DISTINCT ?s WHERE { ?s property:headquarters_location resource:Mayfair . ?s rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q124184
P17
Q15617994
USER
Which administrative territory is Mayfair a part of ?
(Q124184,P17,c(Q15617994))
action filter_type
action find
entity Q124184
relation P17
type Q15617994
['Q124184', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q124184 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Mayfair
action filter_type
action find
entity Mayfair
relation country
type designation for an administrative territorial entity
['Mayfair', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Mayfair property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q124184,P17,c(Q15617994))
action filter_type
action find
entity Q124184
relation P17
type Q15617994
Which administrative territory is Mayfair a part of
['Q124184', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q124184 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
United Kingdom
Which administrative territory is Mayfair a part of
United Kingdom
action filter_type
action find
entity Mayfair
relation country
type designation for an administrative territorial entity
['Mayfair', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Mayfair property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q145 Q53389 Q801
P530
Q15617994
USER
Does that administrative territory have tactful political relations with Varmo and Israel ?
(Q145,P530,Q53389) (Q145,P530,Q801)
action is_in
entity Q145
action intersection
action find_reverse
entity Q53389
relation P530
action find_reverse
entity Q801
relation P530
['Q145', 'P530', 'Q53389'] ['Q145', 'P530', 'Q801']
ASK WHERE { resource:Q145 property:P530 resource:Q53389 . resource:Q145 property:P530 resource:Q801 }
United Kingdom Varmo Israel
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Varmo
relation diplomatic relation
action find_reverse
entity Israel
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Varmo'] ['United Kingdom', 'diplomatic relation', 'Israel']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Varmo . resource:United_Kingdom property:diplomatic_relation resource:Israel }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q145,P530,Q53389) (Q145,P530,Q801)
action is_in
entity Q145
action intersection
action find_reverse
entity Q53389
relation P530
action find_reverse
entity Q801
relation P530
[ANSWER]
['Q145', 'P530', 'Q53389'] ['Q145', 'P530', 'Q801']
ASK WHERE { resource:Q145 property:P530 resource:Q53389 . resource:Q145 property:P530 resource:Q801 }
NO and YES respectively
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Varmo
relation diplomatic relation
action find_reverse
entity Israel
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Varmo'] ['United Kingdom', 'diplomatic relation', 'Israel']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Varmo . resource:United_Kingdom property:diplomatic_relation resource:Israel }
[]