Simple Question (Direct)
Simple Question
Q1704774
P102
Q7210356
USER
Which party is Josef Heiler affiliated with ?
(Q1704774,P102,c(Q7210356))
action filter_type
action find
entity Q1704774
relation P102
type Q7210356
['Q1704774', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q1704774 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Josef Heiler
action filter_type
action find
entity Josef Heiler
relation member of political party
type political organization
['Josef Heiler', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Josef_Heiler property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q49763
SYSTEM
Christian Social Union of Bavaria
Q49763
(Q1704774,P102,c(Q7210356))
action filter_type
action find
entity Q1704774
relation P102
type Q7210356
Josef Heiler is affiliated with [ANSWER]
['Q1704774', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q1704774 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Christian Social Union of Bavaria
Josef Heiler is affiliated with Christian Social Union of Bavaria
Christian Social Union of Bavaria
action filter_type
action find
entity Josef Heiler
relation member of political party
type political organization
['Josef Heiler', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Josef_Heiler property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1704774
P106
Q12737077
USER
What is the job of Josef Heiler ?
(Q1704774,P106,c(Q12737077))
action filter_type
action find
entity Q1704774
relation P106
type Q12737077
['Q1704774', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1704774 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Josef Heiler
action filter_type
action find
entity Josef Heiler
relation occupation
type occupation
['Josef Heiler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Josef_Heiler property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1704774,P106,c(Q12737077))
action filter_type
action find
entity Q1704774
relation P106
type Q12737077
The job of Josef Heiler is a [ANSWER]
['Q1704774', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1704774 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
politician
The job of Josef Heiler is a politician
politician
action filter_type
action find
entity Josef Heiler
relation occupation
type occupation
['Josef Heiler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Josef_Heiler property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1704774
P21
Q290
USER
Which sex does that person have ?
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q1704774
relation P21
type Q290
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q1704774 property:P21 ?g . ?g rdf:type ontology:Q290 }
Josef Heiler
action filter_type
action find
entity Josef Heiler
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Josef_Heiler property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q1704774
relation P21
type Q290
That person has a [ANSWER]
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q1704774 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Josef Heiler
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Josef_Heiler property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1704774
P39
Q12737077
USER
What was the position held by that person ?
(Q6581097,P39,c(Q12737077))
action filter_type
action find
entity Q1704774
relation P39
type Q12737077
['Q6581097', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1704774 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Josef Heiler
action filter_type
action find
entity Josef Heiler
relation position held
type occupation
['male', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Josef_Heiler property:position_held ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q17586301
SYSTEM
Member of the Landtag of Bavaria
Q17586301
(Q6581097,P39,c(Q12737077))
action filter_type
action find
entity Q1704774
relation P39
type Q12737077
The position held by that person was [ANSWER]
['Q6581097', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1704774 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Member of the Landtag of Bavaria
The position held by that person was Member of the Landtag of Bavaria
Member of the Landtag of Bavaria
action filter_type
action find
entity Josef Heiler
relation position held
type occupation
['male', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Josef_Heiler property:position_held ?e . ?e rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q17586301 Q7137321
P39
Q502895
USER
Did Dōchō hold the position of that occupation ?
(Q7137321,P39,Q17586301)
action is_in
entity Q7137321
action find
entity Q17586301
relation P39
['Q7137321', 'P39', 'Q17586301']
ASK WHERE { resource:Q17586301 property:P39 resource:Q7137321 }
Member of the Landtag of Bavaria Dōchō
action is_in
entity Dōchō
action find
entity Member of the Landtag of Bavaria
relation position held
['Dōchō', 'position held', 'Member of the Landtag of Bavaria']
ASK WHERE { resource:Member_of_the_Landtag_of_Bavaria property:position_held resource:Dōchō }
[]
common name
SYSTEM
NO
(Q7137321,P39,Q17586301)
action is_in
entity Q7137321
action find
entity Q17586301
relation P39
[ANSWER]
['Q7137321', 'P39', 'Q17586301']
ASK WHERE { resource:Q17586301 property:P39 resource:Q7137321 }
No
action is_in
entity Dōchō
action find
entity Member of the Landtag of Bavaria
relation position held
['Dōchō', 'position held', 'Member of the Landtag of Bavaria']
ASK WHERE { resource:Member_of_the_Landtag_of_Bavaria property:position_held resource:Dōchō }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3738578
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of approximately the same number of occupations as Falco di Palena ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q3738578
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P417 ?j . ?j rdf:type ontology:Q502895 . ?b rdf:type ontology:Q12737077 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Q3738578 property:P417 ?w . ?w rdf:type ontology:Q502895 } } . FILTER ( ?a = ?f ) }
Falco di Palena
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Falco di Palena
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:patron_saint ?j . ?j rdf:type ontology:common_name . ?b rdf:type ontology:occupation } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Falco_di_Palena property:patron_saint ?w . ?w rdf:type ontology:common_name } } . FILTER ( ?a = ?f ) }
[]
common name occupation
SYSTEM
266
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,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q3738578
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P417 ?j . ?j rdf:type ontology:Q502895 . ?b rdf:type ontology:Q12737077 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Q3738578 property:P417 ?w . ?w rdf:type ontology:Q502895 } } . FILTER ( ?a = ?f ) }
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
266
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Falco di Palena
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:patron_saint ?j . ?j rdf:type ontology:common_name . ?b rdf:type ontology:occupation } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Falco_di_Palena property:patron_saint ?w . ?w rdf:type ontology:common_name } } . FILTER ( ?a = ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q302210
P17
Q15617994
USER
Which administrative territory does Nacionalista Party belong to ?
(Q302210,P17,c(Q15617994))
action filter_type
action find
entity Q302210
relation P17
type Q15617994
['Q302210', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q302210 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Nacionalista Party
action filter_type
action find
entity Nacionalista Party
relation country
type designation for an administrative territorial entity
['Nacionalista Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Nacionalista_Party property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928
SYSTEM
Philippines
Q928
(Q302210,P17,c(Q15617994))
action filter_type
action find
entity Q302210
relation P17
type Q15617994
Nacionalista Party belongs to the [ANSWER]
['Q302210', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q302210 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Philippines
Nacionalista Party belongs to the Philippines
Philippines
action filter_type
action find
entity Nacionalista Party
relation country
type designation for an administrative territorial entity
['Nacionalista Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Nacionalista_Party property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6193374 Q1704774
P937
Q56061
USER
Which administrative territories are the locations where Josef Heiler or Jim Ananich worked ?
OR((Q1704774,P937,c(Q56061)), (Q6193374,P937,c(Q56061)))
action filter_type
action union
action find
entity Q1704774
relation P937
action find
entity Q6193374
relation P937
type Q56061
{'OR': [['Q1704774', 'P937', {'concept': 'Q56061'}], ['Q6193374', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1704774 property:P937 ?v } UNION { resource:Q6193374 property:P937 ?v } } . ?v rdf:type ontology:Q56061 }
Jim Ananich Josef Heiler
action filter_type
action union
action find
entity Josef Heiler
relation work location
action find
entity Jim Ananich
relation work location
type administrative territorial entity
{'OR': [['Josef Heiler', 'work location', {'concept': 'administrative territorial entity'}], ['Jim Ananich', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Josef_Heiler property:work_location ?v } UNION { resource:Jim_Ananich property:work_location ?v } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726 Q28237
SYSTEM
Munich, Lansing
Q1726 Q28237
OR((Q1704774,P937,c(Q56061)), (Q6193374,P937,c(Q56061)))
action filter_type
action union
action find
entity Q1704774
relation P937
action find
entity Q6193374
relation P937
type Q56061
[ANSWERS] are the locations where Josef Heiler or Jim Ananich worked
{'OR': [['Q1704774', 'P937', {'concept': 'Q56061'}], ['Q6193374', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1704774 property:P937 ?v } UNION { resource:Q6193374 property:P937 ?v } } . ?v rdf:type ontology:Q56061 }
Munich Lansing
Munich and Lansing are the locations where Josef Heiler or Jim Ananich worked
Munich Lansing
action filter_type
action union
action find
entity Josef Heiler
relation work location
action find
entity Jim Ananich
relation work location
type administrative territorial entity
{'OR': [['Josef Heiler', 'work location', {'concept': 'administrative territorial entity'}], ['Jim Ananich', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Josef_Heiler property:work_location ?v } UNION { resource:Jim_Ananich property:work_location ?v } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6193374
P1412
Q34770
USER
Which language can Jim Ananich read?
(Q1726,P1412,c(Q34770)) (Q28237,P1412,c(Q34770))
action filter_type
action find
entity Q6193374
relation P1412
type Q34770
['Q1726', 'P1412', {'concept': 'Q34770'}] ['Q28237', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q6193374 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
Jim Ananich
action filter_type
action find
entity Jim Ananich
relation languages spoken, written or signed
type language
['Munich', 'languages spoken, written or signed', {'concept': 'language'}] ['Lansing', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Jim_Ananich property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1726,P1412,c(Q34770)) (Q28237,P1412,c(Q34770))
action filter_type
action find
entity Q6193374
relation P1412
type Q34770
Jim Ananich can read in [ANSWER]
['Q1726', 'P1412', {'concept': 'Q34770'}] ['Q28237', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q6193374 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
English
Jim Ananich can read in English
English
action filter_type
action find
entity Jim Ananich
relation languages spoken, written or signed
type language
['Munich', 'languages spoken, written or signed', {'concept': 'language'}] ['Lansing', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Jim_Ananich property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q7725634 Q3305213
USER
Which people were the sources of inspiration for approximately 1 literary works and paintings ?
(c(Q7725634)|c(Q3305213),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
value 1
[[{'concept': 'Q7725634'}, {'concept': 'Q3305213'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?k WHERE { { ?x property:P941 ?k . ?k rdf:type ontology:Q502895 . ?x rdf:type ontology:Q3305213 } UNION { ?x property:P941 ?k . ?x rdf:type ontology:Q7725634 . ?k rdf:type ontology:Q502895 } } GROUP BY ?k } . FILTER ( ?q = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type literary work
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
value 1
[[{'concept': 'literary work'}, {'concept': 'painting'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?k WHERE { { ?x property:inspired_by ?k . ?k rdf:type ontology:common_name . ?x rdf:type ontology:painting } UNION { ?x property:inspired_by ?k . ?x rdf:type ontology:literary_work . ?k rdf:type ontology:common_name } } GROUP BY ?k } . FILTER ( ?q = 1 ) }
[]
common name literary work painting
Q164823 Q273079
SYSTEM
Girolamo Savonarola, Cab Calloway
Q164823 Q273079
(c(Q7725634)|c(Q3305213),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
value 1
[ANSWERS] were the sources of inspiration for approximately 1 literary works and paintings
[[{'concept': 'Q7725634'}, {'concept': 'Q3305213'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?k WHERE { { ?x property:P941 ?k . ?k rdf:type ontology:Q502895 . ?x rdf:type ontology:Q3305213 } UNION { ?x property:P941 ?k . ?x rdf:type ontology:Q7725634 . ?k rdf:type ontology:Q502895 } } GROUP BY ?k } . FILTER ( ?q = 1 ) }
Girolamo Savonarola Cab Calloway
Girolamo Savonarola and Cab Calloway were the sources of inspiration for approximately 1 literary works and paintings
Girolamo Savonarola Cab Calloway
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type literary work
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
value 1
[[{'concept': 'literary work'}, {'concept': 'painting'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?k WHERE { { ?x property:inspired_by ?k . ?k rdf:type ontology:common_name . ?x rdf:type ontology:painting } UNION { ?x property:inspired_by ?k . ?x rdf:type ontology:literary_work . ?k rdf:type ontology:common_name } } GROUP BY ?k } . FILTER ( ?q = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2165639
P725
Q502895 Q838948
USER
How many works of art had their voice dubbing done by lesser number of people than Watership Down ?
(c(Q838948),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q2165639
relation P725
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Q2165639 property:P725 ?b . ?b rdf:type ontology:Q502895 } } . FILTER ( ?c < ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?c ) WHERE { ?x property:P725 ?v . ?x rdf:type ontology:Q838948 . ?v rdf:type ontology:Q502895 } GROUP BY ?x } }
Watership Down
action count
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Watership Down
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Watership_Down property:voice_actor ?b . ?b rdf:type ontology:common_name } } . FILTER ( ?c < ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?c ) WHERE { ?x property:voice_actor ?v . ?x rdf:type ontology:work_of_art . ?v rdf:type ontology:common_name } GROUP BY ?x } }
[]
common name work of art
SYSTEM
77
Q4346544 Q13091172 Q127367 Q3458494 Q8024145 Q15139235 Q21428001 Q890656 Q834799 Q82579 Q568928 Q3139297 Q212792 Q190145 Q909318 Q6675708 Q5901134 Q19948770 Q1325217 Q286868 Q1315185 Q1583966 Q390341 Q25218391 Q5640689 Q777739 Q4942936 Q1572709 Q3282491 Q640695 Q14540226 Q16782 Q18407657 Q868048 Q615813 Q4367569 Q180098 Q4158396 Q1100231 Q4503243 Q1368693 Q19776571 Q1185099 Q4646903 Q18786473 Q4305149 Q176198 Q25167044 Q567884 Q1196712 Q19776435 Q15627005 Q204416 Q5237953 Q1309592 Q890665 Q207659 Q1519753 Q641315 Q729809 Q888131 Q23034444 Q1702819 Q4468674 Q318975 Q4204793 Q587921 Q1810461 Q5694508 Q741883 Q1193324 Q18167809 Q7767682 Q18200409 Q18857408 Q16998034 Q179411
(c(Q838948),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q2165639
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Q2165639 property:P725 ?b . ?b rdf:type ontology:Q502895 } } . FILTER ( ?c < ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?c ) WHERE { ?x property:P725 ?v . ?x rdf:type ontology:Q838948 . ?v rdf:type ontology:Q502895 } GROUP BY ?x } }
Passport Big Hero 6 The Lord of the Rings: The Fellowship of the Ring A Tree of Palme Windfall Nobunaga the Fool Riley's First Date? Pokémon Heroes Pokémon: The First Movie: Mewtwo Strikes Back Pokémon 4Ever Garfield: The Movie Hold the Lion, Please Bolt Spider-Man 2 Keroro Gunso the Super Movie 3: Keroro vs. Keroro Great Sky Duel Looney Tunes Super Stars' Foghorn Leghorn & Friends: Barnyard Bigmouth Ant-Man From Caligari to Hitler: German Cinema in the Age of the Masses Flubber Noah Steamboy Underdog Beverly Hills Chihuahua Exile Hal Ivan Vasilievich: Back to the Future Book Girl Pretty Cure All Stars Trigun: Badlands Rumble Metropolis Celestial Wives of the Meadow Mari Buried Captain America: Civil War Pokémon: The Movie 2000: The Power of One Pokémon the Movie: Black—Victini and Reshiram and White—Victini and Zekrom The Witches Cave Ben-Hur Radio Day Hayate the Combat Butler! Heaven Is a Place on Earth The Tsar's Bride GeGeGe no Kitarō N - The Madness of Reason Star Driver: Kagayaki no Takuto A-Haunting We Will Go Pete's Dragon Mozart and Salieri The Last Unicorn Wreck-It Ralph 2 Another Detective Conan: The Phantom of Baker Street Szenario Fair Play Felidae Inazuma Eleven GO vs. Danbōru Senki W Doraemon: Nobita and the Wind Wizard Pokémon 3: The Movie: Spell of the Unown Space Jam Mimino Spirit: Stallion of the Cimarron Bodacious Space Pirates The Wind Rises Ghost in the Shell 2.0 Secret of the Wings To Kill a Dragon Atlantis: The Lost Empire History of the Arkanar Massacre Garfield: A Tail of Two Kitties Springtime with Roo Heaven's Lost Property the Movie: The Angeloid of Clockwork Heaven's Lost Property The Disappearance of Haruhi Suzumiya The Prophet The Swing School A Monster Calls Thou-Vou falakros praktor Monkey Kingdom A Very Merry Pooh Year
77
action count
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Watership Down
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Watership_Down property:voice_actor ?b . ?b rdf:type ontology:common_name } } . FILTER ( ?c < ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?c ) WHERE { ?x property:voice_actor ?v . ?x rdf:type ontology:work_of_art . ?v rdf:type ontology:common_name } GROUP BY ?x } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1748 Q1726
P937
Q502895
USER
Which people have Munich and Copenhagen as their work location ?
AND((c(Q502895),P937,Q1726), (c(Q502895),P937,Q1748))
action filter_type
action intersection
action find_reverse
entity Q1726
relation P937
action find_reverse
entity Q1748
relation P937
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q1726'], [{'concept': 'Q502895'}, 'P937', 'Q1748']]}
SELECT DISTINCT ?v WHERE { ?v property:P937 resource:Q1726 . ?v property:P937 resource:Q1748 . ?v rdf:type ontology:Q502895 }
Copenhagen Munich
action filter_type
action intersection
action find_reverse
entity Munich
relation work location
action find_reverse
entity Copenhagen
relation work location
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Munich'], [{'concept': 'common name'}, 'work location', 'Copenhagen']]}
SELECT DISTINCT ?v WHERE { ?v property:work_location resource:Munich . ?v property:work_location resource:Copenhagen . ?v rdf:type ontology:common_name }
[]
common name
Q1670847 Q463739
SYSTEM
Niels Simonsen, Alexander Izvolsky
Q1670847 Q463739
AND((c(Q502895),P937,Q1726), (c(Q502895),P937,Q1748))
action filter_type
action intersection
action find_reverse
entity Q1726
relation P937
action find_reverse
entity Q1748
relation P937
type Q502895
[ANSWERS] have Munich and Copenhagen as their work location
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q1726'], [{'concept': 'Q502895'}, 'P937', 'Q1748']]}
SELECT DISTINCT ?v WHERE { ?v property:P937 resource:Q1726 . ?v property:P937 resource:Q1748 . ?v rdf:type ontology:Q502895 }
Niels Simonsen Alexander Izvolsky
Niels Simonsen and Alexander Izvolsky have Munich and Copenhagen as their work location
Niels Simonsen Alexander Izvolsky
action filter_type
action intersection
action find_reverse
entity Munich
relation work location
action find_reverse
entity Copenhagen
relation work location
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Munich'], [{'concept': 'common name'}, 'work location', 'Copenhagen']]}
SELECT DISTINCT ?v WHERE { ?v property:work_location resource:Munich . ?v property:work_location resource:Copenhagen . ?v rdf:type ontology:common_name }
[]