Simple Question (Direct)
Simple Question
Q16750544
P26
Q502895
USER
Which people are the spouses of Harry Martin ?
(Q16750544,P26,c(Q502895))
action filter_type
action find
entity Q16750544
relation P26
type Q502895
['Q16750544', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q16750544 property:P26 ?y }
Harry Martin
action filter_type
action find
entity Harry Martin
relation spouse
type common name
['Harry Martin', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Harry_Martin property:spouse ?y }
[]
common name
Q7660890 Q249143
SYSTEM
Sylvia Breamer, Louella Parsons
Q7660890 Q249143
(Q16750544,P26,c(Q502895))
action filter_type
action find
entity Q16750544
relation P26
type Q502895
[ANSWERS] are the spouses of Harry Martin
['Q16750544', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q16750544 property:P26 ?y }
Sylvia Breamer Louella Parsons
Sylvia Breamer and Louella Parsons are the spouses of Harry Martin
Sylvia Breamer Louella Parsons
action filter_type
action find
entity Harry Martin
relation spouse
type common name
['Harry Martin', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Harry_Martin property:spouse ?y }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7660890 Q249143
P26
Q502895
USER
Which people are the life partner of Sylvia Breamer and Louella Parsons ?
(c(Q502895),P26,Q7660890) (c(Q502895),P26,Q249143)
action union
action filter_type
action find
entity Q7660890
relation P26
type Q502895
action filter_type
action find
entity Q249143
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q7660890'] [{'concept': 'Q502895'}, 'P26', 'Q249143']
SELECT DISTINCT ?w WHERE { VALUES ( ?u ) { ( resource:Q7660890 ) ( resource:Q249143 ) } . ?u property:P26 ?w }
Sylvia Breamer Louella Parsons
action union
action filter_type
action find
entity Sylvia Breamer
relation spouse
type common name
action filter_type
action find
entity Louella Parsons
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Sylvia Breamer'] [{'concept': 'common name'}, 'spouse', 'Louella Parsons']
SELECT DISTINCT ?w WHERE { VALUES ( ?u ) { ( resource:Sylvia_Breamer ) ( resource:Louella_Parsons ) } . ?u property:spouse ?w }
[]
common name
Q16750544
SYSTEM
Harry Martin
Q16750544
(c(Q502895),P26,Q7660890) (c(Q502895),P26,Q249143)
action union
action filter_type
action find
entity Q7660890
relation P26
type Q502895
action filter_type
action find
entity Q249143
relation P26
type Q502895
[ANSWER] is the life partner of Sylvia Breamer and Louella Parsons
[{'concept': 'Q502895'}, 'P26', 'Q7660890'] [{'concept': 'Q502895'}, 'P26', 'Q249143']
SELECT DISTINCT ?w WHERE { VALUES ( ?u ) { ( resource:Q7660890 ) ( resource:Q249143 ) } . ?u property:P26 ?w }
Harry Martin
Harry Martin is the life partner of Sylvia Breamer and Louella Parsons
Harry Martin
action union
action filter_type
action find
entity Sylvia Breamer
relation spouse
type common name
action filter_type
action find
entity Louella Parsons
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Sylvia Breamer'] [{'concept': 'common name'}, 'spouse', 'Louella Parsons']
SELECT DISTINCT ?w WHERE { VALUES ( ?u ) { ( resource:Sylvia_Breamer ) ( resource:Louella_Parsons ) } . ?u property:spouse ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16750544
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q16750544,P106,c(Q12737077))
action filter_type
action find
entity Q16750544
relation P106
type Q12737077
['Q16750544', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q16750544 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Harry Martin
action filter_type
action find
entity Harry Martin
relation occupation
type occupation
['Harry Martin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Harry_Martin property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q17345122
SYSTEM
urologist
Q17345122
(Q16750544,P106,c(Q12737077))
action filter_type
action find
entity Q16750544
relation P106
type Q12737077
[ANSWER] has that person as his/her 's career
['Q16750544', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q16750544 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
urologist
Urologist has that person as his/her 's career
urologist
action filter_type
action find
entity Harry Martin
relation occupation
type occupation
['Harry Martin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Harry_Martin property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17345122
P425
Q1047113
USER
What has that one as the associated field of occupation ?
(Q17345122,P425,c(Q1047113))
action filter_type
action find
entity Q17345122
relation P425
type Q1047113
['Q17345122', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?p WHERE { resource:Q17345122 property:P425 ?p . ?p rdf:type ontology:Q1047113 }
urologist
action filter_type
action find
entity urologist
relation field of this occupation
type special field
['urologist', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?p WHERE { resource:urologist property:field_of_this_occupation ?p . ?p rdf:type ontology:special_field }
[]
special field
Q105650
SYSTEM
urology
Q105650
(Q17345122,P425,c(Q1047113))
action filter_type
action find
entity Q17345122
relation P425
type Q1047113
[ANSWER] has that one as the associated field of occupation
['Q17345122', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?p WHERE { resource:Q17345122 property:P425 ?p . ?p rdf:type ontology:Q1047113 }
urology
Urology has that one as the associated field of occupation
urology
action filter_type
action find
entity urologist
relation field of this occupation
type special field
['urologist', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?p WHERE { resource:urologist property:field_of_this_occupation ?p . ?p rdf:type ontology:special_field }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q105650 Q18975780
P1995
Q2057971
USER
Does adult soft tissue sarcoma have that special field as the associated medical speciality ?
(Q18975780,P1995,Q105650)
action is_in
entity Q18975780
action find
entity Q105650
relation P1995
['Q18975780', 'P1995', 'Q105650']
ASK WHERE { resource:Q105650 property:P1995 resource:Q18975780 }
urology adult soft tissue sarcoma
action is_in
entity adult soft tissue sarcoma
action find
entity urology
relation medical specialty
['adult soft tissue sarcoma', 'medical specialty', 'urology']
ASK WHERE { resource:urology property:medical_specialty resource:adult_soft_tissue_sarcoma }
[]
health problem
SYSTEM
NO
(Q18975780,P1995,Q105650)
action is_in
entity Q18975780
action find
entity Q105650
relation P1995
[ANSWER]
['Q18975780', 'P1995', 'Q105650']
ASK WHERE { resource:Q105650 property:P1995 resource:Q18975780 }
No
action is_in
entity adult soft tissue sarcoma
action find
entity urology
relation medical specialty
['adult soft tissue sarcoma', 'medical specialty', 'urology']
ASK WHERE { resource:urology property:medical_specialty resource:adult_soft_tissue_sarcoma }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7660890 Q986555 Q1116829
P27
Q1048835
USER
Is Sylvia Breamer a citizen of Fuentelsaz and Vilafamés ?
(Q7660890,P27,Q986555) (Q7660890,P27,Q1116829)
action is_in
entity Q7660890
action intersection
action find_reverse
entity Q986555
relation P27
action find_reverse
entity Q1116829
relation P27
['Q7660890', 'P27', 'Q986555'] ['Q7660890', 'P27', 'Q1116829']
ASK WHERE { resource:Q7660890 property:P27 resource:Q986555 . resource:Q7660890 property:P27 resource:Q1116829 }
Sylvia Breamer Fuentelsaz Vilafamés
action is_in
entity Sylvia Breamer
action intersection
action find_reverse
entity Fuentelsaz
relation country of citizenship
action find_reverse
entity Vilafamés
relation country of citizenship
['Sylvia Breamer', 'country of citizenship', 'Fuentelsaz'] ['Sylvia Breamer', 'country of citizenship', 'Vilafamés']
ASK WHERE { resource:Sylvia_Breamer property:country_of_citizenship resource:Fuentelsaz . resource:Sylvia_Breamer property:country_of_citizenship resource:Vilafamés }
[]
political territorial entity
SYSTEM
NO
(Q7660890,P27,Q986555) (Q7660890,P27,Q1116829)
action is_in
entity Q7660890
action intersection
action find_reverse
entity Q986555
relation P27
action find_reverse
entity Q1116829
relation P27
[ANSWER]
['Q7660890', 'P27', 'Q986555'] ['Q7660890', 'P27', 'Q1116829']
ASK WHERE { resource:Q7660890 property:P27 resource:Q986555 . resource:Q7660890 property:P27 resource:Q1116829 }
No
action is_in
entity Sylvia Breamer
action intersection
action find_reverse
entity Fuentelsaz
relation country of citizenship
action find_reverse
entity Vilafamés
relation country of citizenship
['Sylvia Breamer', 'country of citizenship', 'Fuentelsaz'] ['Sylvia Breamer', 'country of citizenship', 'Vilafamés']
ASK WHERE { resource:Sylvia_Breamer property:country_of_citizenship resource:Fuentelsaz . resource:Sylvia_Breamer property:country_of_citizenship resource:Vilafamés }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1976199
P417
Q502895 Q16970 Q12737077
USER
How many people are the patron saint of around the same number of churches or occupations as Gaudentius of Novara ?
(c(Q16970)|c(Q12737077),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q1976199
relation P417
type Q16970
type Q12737077
[[{'concept': 'Q16970'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?s ) WHERE { VALUES ( ?g ) { ( ontology:Q16970 ) ( ontology:Q12737077 ) } . ?d rdf:type ?g } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:P417 resource:Q1976199 . { { ?l rdf:type ontology:Q16970 } UNION { ?l rdf:type ontology:Q12737077 } } } } . FILTER ( ?s = ?z ) }
Gaudentius of Novara
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Gaudentius of Novara
relation patron saint
type church
type occupation
[[{'concept': 'church'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?s ) WHERE { VALUES ( ?g ) { ( ontology:church ) ( ontology:occupation ) } . ?d rdf:type ?g } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:patron_saint resource:Gaudentius_of_Novara . { { ?l rdf:type ontology:church } UNION { ?l rdf:type ontology:occupation } } } } . FILTER ( ?s = ?z ) }
[]
common name church occupation
SYSTEM
291
Q2366998 Q453698 Q561838 Q380092 Q129674 Q229190 Q43945 Q3922154 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 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q31966 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 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q58559 Q445357 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q16970)|c(Q12737077),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q1976199
relation P417
type Q16970
type Q12737077
[ANSWER]
[[{'concept': 'Q16970'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?s ) WHERE { VALUES ( ?g ) { ( ontology:Q16970 ) ( ontology:Q12737077 ) } . ?d rdf:type ?g } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:P417 resource:Q1976199 . { { ?l rdf:type ontology:Q16970 } UNION { ?l rdf:type ontology:Q12737077 } } } } . FILTER ( ?s = ?z ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Catherine of Siena 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 Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville 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 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 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 Sixtus I John of Nepomuk Leo I James, son of Alphaeus 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 Hubertus William of Maleval 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 Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus 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 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 Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Simon the Zealot Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula 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 Leo IX Henry 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 Lambert of Maastricht 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 Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia 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 Sigismund of Burgundy Joseph of Arimathea 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 Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
291
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Gaudentius of Novara
relation patron saint
type church
type occupation
[[{'concept': 'church'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?s ) WHERE { VALUES ( ?g ) { ( ontology:church ) ( ontology:occupation ) } . ?d rdf:type ?g } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:patron_saint resource:Gaudentius_of_Novara . { { ?l rdf:type ontology:church } UNION { ?l rdf:type ontology:occupation } } } } . FILTER ( ?s = ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q231256
P417
Q502895 Q16970 Q12737077
USER
And also tell me about Francis de Sales?
(c(Q16970)|c(Q12737077),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q231256
relation P417
type Q16970
type Q12737077
[[{'concept': 'Q16970'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?m ) WHERE { { ?k property:P417 ?j . ?k rdf:type ontology:Q16970 . ?j rdf:type ontology:Q502895 } UNION { ?j rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 . ?k property:P417 ?j } } GROUP BY ?j } . FILTER ( ?m = ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:P417 resource:Q231256 . { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:Q12737077 ) ( ontology:Q16970 ) } } } } }
Francis de Sales
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Francis de Sales
relation patron saint
type church
type occupation
[[{'concept': 'church'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?m ) WHERE { { ?k property:patron_saint ?j . ?k rdf:type ontology:church . ?j rdf:type ontology:common_name } UNION { ?j rdf:type ontology:common_name . ?k rdf:type ontology:occupation . ?k property:patron_saint ?j } } GROUP BY ?j } . FILTER ( ?m = ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:patron_saint resource:Francis_de_Sales . { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:occupation ) ( ontology:church ) } } } } }
[]
common name church occupation
SYSTEM
291
Q2366998 Q453698 Q561838 Q380092 Q129674 Q229190 Q43945 Q3922154 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 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q31966 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 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q58559 Q445357 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q16970)|c(Q12737077),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q231256
relation P417
type Q16970
type Q12737077
[ANSWER]
[[{'concept': 'Q16970'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?m ) WHERE { { ?k property:P417 ?j . ?k rdf:type ontology:Q16970 . ?j rdf:type ontology:Q502895 } UNION { ?j rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 . ?k property:P417 ?j } } GROUP BY ?j } . FILTER ( ?m = ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:P417 resource:Q231256 . { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:Q12737077 ) ( ontology:Q16970 ) } } } } }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Catherine of Siena 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 Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville 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 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 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 Sixtus I John of Nepomuk Leo I James, son of Alphaeus 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 Hubertus William of Maleval 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 Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus 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 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 Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Simon the Zealot Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula 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 Leo IX Henry 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 Lambert of Maastricht 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 Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia 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 Sigismund of Burgundy Joseph of Arimathea 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 Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
291
action count
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Francis de Sales
relation patron saint
type church
type occupation
[[{'concept': 'church'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?m ) WHERE { { ?k property:patron_saint ?j . ?k rdf:type ontology:church . ?j rdf:type ontology:common_name } UNION { ?j rdf:type ontology:common_name . ?k rdf:type ontology:occupation . ?k property:patron_saint ?j } } GROUP BY ?j } . FILTER ( ?m = ?d ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:patron_saint resource:Francis_de_Sales . { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:occupation ) ( ontology:church ) } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q249143 Q5093539
P161
Q838948
USER
How many works of art stars Louella Parsons or Chester Drescher as actor ?
(c(Q838948),P161,Q249143) (c(Q838948),P161,Q5093539)
action count
action union
action filter_type
action find_reverse
entity Q249143
relation P161
type Q838948
action filter_type
action find_reverse
entity Q5093539
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q249143'] [{'concept': 'Q838948'}, 'P161', 'Q5093539']
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { VALUES ( ?u ) { ( resource:Q249143 ) ( resource:Q5093539 ) } . ?j property:P161 ?u }
Louella Parsons Chester Drescher
action count
action union
action filter_type
action find_reverse
entity Louella Parsons
relation cast member
type work of art
action filter_type
action find_reverse
entity Chester Drescher
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Louella Parsons'] [{'concept': 'work of art'}, 'cast member', 'Chester Drescher']
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { VALUES ( ?u ) { ( resource:Louella_Parsons ) ( resource:Chester_Drescher ) } . ?j property:cast_member ?u }
[]
work of art
SYSTEM
2
Q1025198 Q1960870
(c(Q838948),P161,Q249143) (c(Q838948),P161,Q5093539)
action count
action union
action filter_type
action find_reverse
entity Q249143
relation P161
type Q838948
action filter_type
action find_reverse
entity Q5093539
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q249143'] [{'concept': 'Q838948'}, 'P161', 'Q5093539']
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { VALUES ( ?u ) { ( resource:Q249143 ) ( resource:Q5093539 ) } . ?j property:P161 ?u }
Cadillac Man Without Reservations
2
action count
action union
action filter_type
action find_reverse
entity Louella Parsons
relation cast member
type work of art
action filter_type
action find_reverse
entity Chester Drescher
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Louella Parsons'] [{'concept': 'work of art'}, 'cast member', 'Chester Drescher']
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { VALUES ( ?u ) { ( resource:Louella_Parsons ) ( resource:Chester_Drescher ) } . ?j property:cast_member ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q249143
P19
Q56061
USER
Which administrative territory was that person born in ?
action filter_type
action find
entity Q249143
relation P19
type Q56061
SELECT DISTINCT ?k WHERE { resource:Q249143 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Louella Parsons
action filter_type
action find
entity Louella Parsons
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?k WHERE { resource:Louella_Parsons property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q202828
SYSTEM
Freeport
Q202828
action filter_type
action find
entity Q249143
relation P19
type Q56061
That person was born in [ANSWER]
SELECT DISTINCT ?k WHERE { resource:Q249143 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Freeport
That person was born in Freeport
Freeport
action filter_type
action find
entity Louella Parsons
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?k WHERE { resource:Louella_Parsons property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q56061
USER
How many administrative territories have adopted exactly 1 holidays or people as their patron saint ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action equal
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 1
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?q ) WHERE { { ?e property:P417 ?t . ?e rdf:type ontology:Q56061 . ?t rdf:type ontology:Q1445650 } UNION { ?e property:P417 ?t . ?e rdf:type ontology:Q56061 . ?t rdf:type ontology:Q502895 } } GROUP BY ?e } . FILTER ( ?q = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?q ) WHERE { { ?e property:patron_saint ?t . ?e rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:holiday } UNION { ?e property:patron_saint ?t . ?e rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:common_name } } GROUP BY ?e } . FILTER ( ?q = 1 ) }
[]
holiday common name administrative territorial entity
SYSTEM
95
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action equal
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 1
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?q ) WHERE { { ?e property:P417 ?t . ?e rdf:type ontology:Q56061 . ?t rdf:type ontology:Q1445650 } UNION { ?e property:P417 ?t . ?e rdf:type ontology:Q56061 . ?t rdf:type ontology:Q502895 } } GROUP BY ?e } . FILTER ( ?q = 1 ) }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brolo Kastritsa Platres Altrei Molista Mölten Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
95
action count
action equal
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?q ) WHERE { { ?e property:patron_saint ?t . ?e rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:holiday } UNION { ?e property:patron_saint ?t . ?e rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:common_name } } GROUP BY ?e } . FILTER ( ?q = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types have around 3 administrative territories as registry port ?
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?b ) WHERE { ?r property:P532 ?e . ?e rdf:type ontology:Q56061 . ?r rdf:type ontology:Q2235308 } GROUP BY ?r } . FILTER ( ?b = 3 ) }
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?b ) WHERE { ?r property:port_of_registry ?e . ?e rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:ship_type } GROUP BY ?r } . FILTER ( ?b = 3 ) }
[]
administrative territorial entity ship type
SYSTEM
1
Q11707059
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?b ) WHERE { ?r property:P532 ?e . ?e rdf:type ontology:Q56061 . ?r rdf:type ontology:Q2235308 } GROUP BY ?r } . FILTER ( ?b = 3 ) }
MS Arrow
1
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?b ) WHERE { ?r property:port_of_registry ?e . ?e rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:ship_type } GROUP BY ?r } . FILTER ( ?b = 3 ) }
[]