Simple Question (Direct)
Simple Question
Q1442819
P1344
Q1499496
USER
Which German presidential elections did Frank-Peter Kaufmann participate in ?
(Q1442819,P1344,c(Q1499496))
action filter_type
action find
entity Q1442819
relation P1344
type Q1499496
['Q1442819', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?j WHERE { resource:Q1442819 property:P1344 ?j . ?j rdf:type ontology:Q1499496 }
Frank-Peter Kaufmann
action filter_type
action find
entity Frank-Peter Kaufmann
relation participant of
type German presidential election
['Frank-Peter Kaufmann', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?j WHERE { resource:Frank-Peter_Kaufmann property:participant_of ?j . ?j rdf:type ontology:German_presidential_election }
[]
German presidential election
Q451110 Q314532
SYSTEM
German presidential election, 1999, German presidential election, 2004
Q451110 Q314532
(Q1442819,P1344,c(Q1499496))
action filter_type
action find
entity Q1442819
relation P1344
type Q1499496
[ANSWERS]
['Q1442819', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?j WHERE { resource:Q1442819 property:P1344 ?j . ?j rdf:type ontology:Q1499496 }
German presidential election, 1999 German presidential election, 2004
Frank-Peter Kaufmann participated in German presidential election, 1999 and German presidential election, 2004
German presidential election, 1999 German presidential election, 2004
action filter_type
action find
entity Frank-Peter Kaufmann
relation participant of
type German presidential election
['Frank-Peter Kaufmann', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?j WHERE { resource:Frank-Peter_Kaufmann property:participant_of ?j . ?j rdf:type ontology:German_presidential_election }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1442819
P106
Q12737077
USER
Which occupation has Frank-Peter Kaufmann as his/her 's career ?
(Q1442819,P106,c(Q12737077))
action filter_type
action find
entity Q1442819
relation P106
type Q12737077
['Q1442819', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1442819 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Frank-Peter Kaufmann
action filter_type
action find
entity Frank-Peter Kaufmann
relation occupation
type occupation
['Frank-Peter Kaufmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Frank-Peter_Kaufmann property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1442819,P106,c(Q12737077))
action filter_type
action find
entity Q1442819
relation P106
type Q12737077
The [ANSWER] has Frank-Peter Kaufmann as his/her 's career
['Q1442819', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1442819 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
politician
The politician has Frank-Peter Kaufmann as his/her 's career
politician
action filter_type
action find
entity Frank-Peter Kaufmann
relation occupation
type occupation
['Frank-Peter Kaufmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Frank-Peter_Kaufmann property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q82955 Q1569758
P106
Q502895
USER
Does Hajo Seppelt have the profession of that occupation ?
(Q1569758,P106,Q82955)
action is_in
entity Q1569758
action find
entity Q82955
relation P106
['Q1569758', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q1569758 }
politician Hajo Seppelt
action is_in
entity Hajo Seppelt
action find
entity politician
relation occupation
['Hajo Seppelt', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:Hajo_Seppelt }
[]
common name
SYSTEM
NO
(Q1569758,P106,Q82955)
action is_in
entity Q1569758
action find
entity Q82955
relation P106
[ANSWER]
['Q1569758', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q1569758 }
No
action is_in
entity Hajo Seppelt
action find
entity politician
relation occupation
['Hajo Seppelt', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:Hajo_Seppelt }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q132100
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of approximately the same number of occupations as Anterus ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q132100
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:P417 ?a . ?a rdf:type ontology:Q502895 . ?t rdf:type ontology:Q12737077 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q132100 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?f = ?l ) }
Anterus
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Anterus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:patron_saint ?a . ?a rdf:type ontology:common_name . ?t rdf:type ontology:occupation } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Anterus property:patron_saint ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?f = ?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,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q132100
relation P417
type Q502895
[ANSWERS] are the names of the patron saint of approximately the same number of occupations as Anterus
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:P417 ?a . ?a rdf:type ontology:Q502895 . ?t rdf:type ontology:Q12737077 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q132100 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?f = ?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 names of the patron saint of approximately the same number of occupations as Anterus
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Anterus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:patron_saint ?a . ?a rdf:type ontology:common_name . ?t rdf:type ontology:occupation } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Anterus property:patron_saint ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?f = ?l ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q94802 Q346
P180 P40
Q502895
USER
Which people are an offsprings of Louis IX of France or are demonstrated in The Burial of the Count of Orgaz ?
OR((Q346,P40,c(Q502895)), (Q94802,P180,c(Q502895)))
action filter_type
action union
action find
entity Q346
relation P40
action find
entity Q94802
relation P180
type Q502895
{'OR': [['Q346', 'P40', {'concept': 'Q502895'}], ['Q94802', 'P180', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . { { resource:Q346 property:P40 ?r } UNION { resource:Q94802 property:P180 ?r } } }
The Burial of the Count of Orgaz Louis IX of France
action filter_type
action union
action find
entity Louis IX of France
relation child
action find
entity The Burial of the Count of Orgaz
relation depicts
type common name
{'OR': [['Louis IX of France', 'child', {'concept': 'common name'}], ['The Burial of the Count of Orgaz', 'depicts', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . { { resource:Louis_IX_of_France property:child ?r } UNION { resource:The_Burial_of_the_Count_of_Orgaz property:depicts ?r } } }
[]
common name
Q676555 Q3817176 Q739327 Q1875299 Q266309 Q14752200 Q648617 Q456900 Q8018 Q172203
SYSTEM
Some of them are Francis of Assisi, Gonzalo Ruiz de Toledo, Peter, Count of Perche and Alençon, Louis of France, Robert, Count of Clermont, John of France, John Tristan, Count of Valois, Blanche of France, Infanta of Castile, Augustine of Hippo, Philip III of France
Q237486 Q40662 Q14751950 Q266309 Q257141 Q14752200 Q1875299 Q739327 Q457111 Q648617 Q33923 Q456900 Q161775 Q676555 Q8018 Q172203 Q3817176 Q3109427
OR((Q346,P40,c(Q502895)), (Q94802,P180,c(Q502895)))
action filter_type
action union
action find
entity Q346
relation P40
action find
entity Q94802
relation P180
type Q502895
[ANSWERS] are an offsprings of Louis IX of France or are demonstrated in The Burial of the Count of Orgaz
{'OR': [['Q346', 'P40', {'concept': 'Q502895'}], ['Q94802', 'P180', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . { { resource:Q346 property:P40 ?r } UNION { resource:Q94802 property:P180 ?r } } }
Agnes of France, Duchess of Burgundy John the Baptist Blanche de France Robert, Count of Clermont Isabella of France, Queen of Navarre John of France Louis of France Peter, Count of Perche and Alençon Margaret of France, Duchess of Brabant John Tristan, Count of Valois Peter Blanche of France, Infanta of Castile Stephen Francis of Assisi Augustine of Hippo Philip III of France Gonzalo Ruiz de Toledo Jorge Manuel Theotocópuli
Francis of Assisi, Gonzalo Ruiz de Toledo, Peter, Count of Perche and Alençon, Louis of France, Robert, Count of Clermont, John of France, John Tristan, Count of Valois, Blanche of France, Infanta of Castile, Augustine of Hippo and Philip III of France are an offsprings of Louis IX of France or are demonstrated in The Burial of the Count of Orgaz
Francis of Assisi Gonzalo Ruiz de Toledo Peter, Count of Perche and Alençon Louis of France Robert, Count of Clermont John of France John Tristan, Count of Valois Blanche of France, Infanta of Castile Augustine of Hippo Philip III of France
action filter_type
action union
action find
entity Louis IX of France
relation child
action find
entity The Burial of the Count of Orgaz
relation depicts
type common name
{'OR': [['Louis IX of France', 'child', {'concept': 'common name'}], ['The Burial of the Count of Orgaz', 'depicts', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . { { resource:Louis_IX_of_France property:child ?r } UNION { resource:The_Burial_of_the_Count_of_Orgaz property:depicts ?r } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5353300 Q14752200
P7
Q502895
USER
Which people are siblings of John of France or Cao Ju ?
OR((c(Q502895),P7,Q14752200), (c(Q502895),P7,Q5353300))
action filter_type
action union
action find_reverse
entity Q14752200
relation P7
action find_reverse
entity Q5353300
relation P7
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P7', 'Q14752200'], [{'concept': 'Q502895'}, 'P7', 'Q5353300']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P7 resource:Q14752200 } UNION { ?k property:P7 resource:Q5353300 } } . ?k rdf:type ontology:Q502895 }
Cao Ju John of France
action filter_type
action union
action find_reverse
entity John of France
relation brother
action find_reverse
entity Cao Ju
relation brother
type common name
{'OR': [[{'concept': 'common name'}, 'brother', 'John of France'], [{'concept': 'common name'}, 'brother', 'Cao Ju']]}
SELECT DISTINCT ?k WHERE { { { ?k property:brother resource:John_of_France } UNION { ?k property:brother resource:Cao_Ju } } . ?k rdf:type ontology:common_name }
[]
common name
Q735448 Q699893 Q172203 Q706905 Q11091072 Q257141 Q10323222 Q10323203 Q711798 Q557261
SYSTEM
Some of them are Cao Biao, Cao Zhang, Philip III of France, Cao Yu, Cao Gan, Isabella of France, Queen of Navarre, Cao Zicheng, Cao Zishang, Cao Jun, Cao Ang
Q237486 Q14751950 Q3178707 Q11091072 Q15929527 Q648617 Q11090991 Q706866 Q11091019 Q698890 Q571756 Q706827 Q699893 Q1875299 Q707386 Q10947311 Q456900 Q10323773 Q711798 Q10323269 Q580624 Q266309 Q10323222 Q557261 Q10323244 Q5353322 Q10323203 Q11561243 Q739327 Q180920 Q10323292 Q11091100 Q313333 Q257141 Q735448 Q457111 Q8252909 Q8252899 Q172203 Q706905
OR((c(Q502895),P7,Q14752200), (c(Q502895),P7,Q5353300))
action filter_type
action union
action find_reverse
entity Q14752200
relation P7
action find_reverse
entity Q5353300
relation P7
type Q502895
[ANSWERS] are siblings of John of France or Cao Ju
{'OR': [[{'concept': 'Q502895'}, 'P7', 'Q14752200'], [{'concept': 'Q502895'}, 'P7', 'Q5353300']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P7 resource:Q14752200 } UNION { ?k property:P7 resource:Q5353300 } } . ?k rdf:type ontology:Q502895 }
Agnes of France, Duchess of Burgundy Blanche de France Cao Xuan Cao Gan Princess Jinxiang John Tristan, Count of Valois Cao Jun Cao Lin Cao Zizheng Cao Zhi Cao Xiong Cao Gun Cao Zhang Louis of France Cao Shuo Princess Anyang Blanche of France, Infanta of Castile Cao Mao Cao Jun Cao Ziqin Cao Chong Robert, Count of Clermont Cao Zicheng Cao Ang Cao Zijing Cao Ju Cao Zishang Princess Qinghe Peter, Count of Perche and Alençon Empress Cao Jie Cao Ziji Cao Hui Cao Pi Isabella of France, Queen of Navarre Cao Biao Margaret of France, Duchess of Brabant Cao Hua Cao Xian Philip III of France Cao Yu
Cao Biao, Cao Zhang, Philip III of France, Cao Yu, Cao Gan, Isabella of France, Queen of Navarre, Cao Zicheng, Cao Zishang, Cao Jun and Cao Ang are siblings of John of France or Cao Ju
Cao Biao Cao Zhang Philip III of France Cao Yu Cao Gan Isabella of France, Queen of Navarre Cao Zicheng Cao Zishang Cao Jun Cao Ang
action filter_type
action union
action find_reverse
entity John of France
relation brother
action find_reverse
entity Cao Ju
relation brother
type common name
{'OR': [[{'concept': 'common name'}, 'brother', 'John of France'], [{'concept': 'common name'}, 'brother', 'Cao Ju']]}
SELECT DISTINCT ?k WHERE { { { ?k property:brother resource:John_of_France } UNION { ?k property:brother resource:Cao_Ju } } . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q172203 Q1000908
P26
Q502895
USER
How many people are the spouse of Philip III of France or Geva ?
(c(Q502895),P26,Q172203) (c(Q502895),P26,Q1000908)
action count
action union
action filter_type
action find_reverse
entity Q172203
relation P26
type Q502895
action filter_type
action find_reverse
entity Q1000908
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q172203'] [{'concept': 'Q502895'}, 'P26', 'Q1000908']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { VALUES ( ?u ) { ( resource:Q172203 ) ( resource:Q1000908 ) } . ?j property:P26 ?u }
Philip III of France Geva
action count
action union
action filter_type
action find_reverse
entity Philip III of France
relation spouse
type common name
action filter_type
action find_reverse
entity Geva
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Philip III of France'] [{'concept': 'common name'}, 'spouse', 'Geva']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { VALUES ( ?u ) { ( resource:Philip_III_of_France ) ( resource:Geva ) } . ?j property:spouse ?u }
[]
common name
SYSTEM
3
Q230906 Q229419 Q983079
(c(Q502895),P26,Q172203) (c(Q502895),P26,Q1000908)
action count
action union
action filter_type
action find_reverse
entity Q172203
relation P26
type Q502895
action filter_type
action find_reverse
entity Q1000908
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q172203'] [{'concept': 'Q502895'}, 'P26', 'Q1000908']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { VALUES ( ?u ) { ( resource:Q172203 ) ( resource:Q1000908 ) } . ?j property:P26 ?u }
Marie of Brabant, Queen of France Isabella of Aragon Dirk I, Count of Holland
3
action count
action union
action filter_type
action find_reverse
entity Philip III of France
relation spouse
type common name
action filter_type
action find_reverse
entity Geva
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Philip III of France'] [{'concept': 'common name'}, 'spouse', 'Geva']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { VALUES ( ?u ) { ( resource:Philip_III_of_France ) ( resource:Geva ) } . ?j property:spouse ?u }
[]