Simple Question (Direct)
Simple Question
Q15449531
P108
Q811979
USER
Who is the employer of Karl Fromme ?
(Q15449531,P108,c(Q811979))
action filter_type
action find
entity Q15449531
relation P108
type Q811979
['Q15449531', 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ?k WHERE { resource:Q15449531 property:P108 ?k . ?k rdf:type ontology:Q811979 }
Karl Fromme
action filter_type
action find
entity Karl Fromme
relation employer
type architectural structure
['Karl Fromme', 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ?k WHERE { resource:Karl_Fromme property:employer ?k . ?k rdf:type ontology:architectural_structure }
[]
architectural structure
Q152838
SYSTEM
University of Göttingen
Q152838
(Q15449531,P108,c(Q811979))
action filter_type
action find
entity Q15449531
relation P108
type Q811979
The employer of Karl Fromme is the [ANSWER]
['Q15449531', 'P108', {'concept': 'Q811979'}]
SELECT DISTINCT ?k WHERE { resource:Q15449531 property:P108 ?k . ?k rdf:type ontology:Q811979 }
University of Göttingen
The employer of Karl Fromme is the University of Göttingen
University of Göttingen
action filter_type
action find
entity Karl Fromme
relation employer
type architectural structure
['Karl Fromme', 'employer', {'concept': 'architectural structure'}]
SELECT DISTINCT ?k WHERE { resource:Karl_Fromme property:employer ?k . ?k rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15449531
P106
Q12737077
USER
What are the professions of that person ?
(Q152838,P106,c(Q12737077))
action filter_type
action find
entity Q15449531
relation P106
type Q12737077
['Q152838', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q15449531 property:P106 ?y }
Karl Fromme
action filter_type
action find
entity Karl Fromme
relation occupation
type occupation
['University of Göttingen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Karl_Fromme property:occupation ?y }
[]
occupation
Q169470 Q1622272
SYSTEM
physicist, university teacher
Q169470 Q1622272
(Q152838,P106,c(Q12737077))
action filter_type
action find
entity Q15449531
relation P106
type Q12737077
The professions of that person are a [ANSWERS]
['Q152838', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q15449531 property:P106 ?y }
physicist university teacher
The professions of that person are a physicist and university teacher
physicist university teacher
action filter_type
action find
entity Karl Fromme
relation occupation
type occupation
['University of Göttingen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Karl_Fromme property:occupation ?y }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11714570
P106
Q502895
USER
Do Iwona Lewandowska have career as those occupations ?
(Q11714570,P106,Q169470) (Q11714570,P106,Q1622272)
action is_in
entity prev_answer
action find
entity Q11714570
relation P106
['Q11714570', 'P106', 'Q169470'] ['Q11714570', 'P106', 'Q1622272']
ASK WHERE { resource:Q11714570 property:P106 ?w . VALUES ( ?w ) { ( resource:Q169470 ) ( resource:Q1622272 ) } }
Iwona Lewandowska
action is_in
entity prev_answer
action find
entity Iwona Lewandowska
relation occupation
['Iwona Lewandowska', 'occupation', 'physicist'] ['Iwona Lewandowska', 'occupation', 'university teacher']
ASK WHERE { resource:Iwona_Lewandowska property:occupation ?w . VALUES ( ?w ) { ( resource:physicist ) ( resource:university_teacher ) } }
[]
common name
SYSTEM
NO
(Q11714570,P106,Q169470) (Q11714570,P106,Q1622272)
action is_in
entity prev_answer
action find
entity Q11714570
relation P106
[ANSWER]
['Q11714570', 'P106', 'Q169470'] ['Q11714570', 'P106', 'Q1622272']
ASK WHERE { resource:Q11714570 property:P106 ?w . VALUES ( ?w ) { ( resource:Q169470 ) ( resource:Q1622272 ) } }
No
action is_in
entity prev_answer
action find
entity Iwona Lewandowska
relation occupation
['Iwona Lewandowska', 'occupation', 'physicist'] ['Iwona Lewandowska', 'occupation', 'university teacher']
ASK WHERE { resource:Iwona_Lewandowska property:occupation ?w . VALUES ( ?w ) { ( resource:physicist ) ( resource:university_teacher ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q152838 Q183
P17
Q1048835
USER
Is University of Göttingen situated in Germany ?
(Q152838,P17,Q183)
action is_in
entity Q183
action find
entity Q152838
relation P17
['Q152838', 'P17', 'Q183']
ASK WHERE { resource:Q152838 property:P17 resource:Q183 }
University of Göttingen Germany
action is_in
entity Germany
action find
entity University of Göttingen
relation country
['University of Göttingen', 'country', 'Germany']
ASK WHERE { resource:University_of_Göttingen property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q152838,P17,Q183)
action is_in
entity Q183
action find
entity Q152838
relation P17
[ANSWER]
['Q152838', 'P17', 'Q183']
ASK WHERE { resource:Q152838 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity University of Göttingen
relation country
['University of Göttingen', 'country', 'Germany']
ASK WHERE { resource:University_of_Göttingen property:country resource:Germany }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of min number of occupations ?
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?o ) { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:P417 ?z . ?z rdf:type ontology:Q502895 . ?f rdf:type ontology:Q12737077 } GROUP BY ?z } } . { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:P417 ?e . ?e rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?e } . FILTER ( ?j = ?o ) }
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?o ) { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:patron_saint ?z . ?z rdf:type ontology:common_name . ?f rdf:type ontology:occupation } GROUP BY ?z } } . { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:patron_saint ?e . ?e rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?e } . FILTER ( ?j = ?o ) }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWERS] are the patron saint of min number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?o ) { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:P417 ?z . ?z rdf:type ontology:Q502895 . ?f rdf:type ontology:Q12737077 } GROUP BY ?z } } . { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:P417 ?e . ?e rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?e } . FILTER ( ?j = ?o ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the patron saint of min number of occupations
Elizabeth II Tadeusz Kościuszko Louis IX of France
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?o ) { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:patron_saint ?z . ?z rdf:type ontology:common_name . ?f rdf:type ontology:occupation } GROUP BY ?z } } . { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:patron_saint ?e . ?e rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?e } . FILTER ( ?j = ?o ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q2342494 Q732577
USER
Which occupations were min number of collectables or publications mainly about ?
(c(Q2342494)|c(Q732577),P921,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?l WHERE { ?v rdf:type ?f . VALUES ( ?f ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) ?k WHERE { { ?y property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q2342494 } UNION { ?y property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q732577 } } GROUP BY ?k } . FILTER ( ?h = ?o ) }
action argmin
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?l WHERE { ?v rdf:type ?f . VALUES ( ?f ) { ( ontology:publication ) ( ontology:collectable ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) ?k WHERE { { ?y property:main_subject ?k . ?k rdf:type ontology:occupation . ?y rdf:type ontology:collectable } UNION { ?y property:main_subject ?k . ?k rdf:type ontology:occupation . ?y rdf:type ontology:publication } } GROUP BY ?k } . FILTER ( ?h = ?o ) }
[]
occupation collectable publication
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q486839 Q510373 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q152002 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q17143199 Q384593 Q2095549 Q372436 Q182436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q2342494)|c(Q732577),P921,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
Min number of collectables or publications were mainly about the [ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?l WHERE { ?v rdf:type ?f . VALUES ( ?f ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) ?k WHERE { { ?y property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q2342494 } UNION { ?y property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q732577 } } GROUP BY ?k } . FILTER ( ?h = ?o ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Prime Minister of Hungary seiyū clown farmer medallist detective racing driver Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate taxi driver gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier member of parliament Lord High Steward violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist pastor cartoonist judge nanny caricaturist painter American football player legal profession composer rabbi völva conductor comedian photographer peasant missionary United States federal judge musician Nomarch medical examiner police officer aviator statesman librarian rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Min number of collectables or publications were mainly about the Fletcher Christian, farmer and librarian
Fletcher Christian farmer librarian
action argmin
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?l WHERE { ?v rdf:type ?f . VALUES ( ?f ) { ( ontology:publication ) ( ontology:collectable ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) ?k WHERE { { ?y property:main_subject ?k . ?k rdf:type ontology:occupation . ?y rdf:type ontology:collectable } UNION { ?y property:main_subject ?k . ?k rdf:type ontology:occupation . ?y rdf:type ontology:publication } } GROUP BY ?k } . FILTER ( ?h = ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1962618 Q183
P530 P495
Q15617994
USER
Which administrative territories holds diplomatic relationship with Germany or are the origin of La Gifle ?
OR((Q183,P530,c(Q15617994)), (Q1962618,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q1962618
relation P495
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q1962618', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q183 property:P530 ?i } UNION { resource:Q1962618 property:P495 ?i } } . ?i rdf:type ontology:Q15617994 }
La Gifle Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity La Gifle
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['La Gifle', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Germany property:diplomatic_relation ?i } UNION { resource:La_Gifle property:country_of_origin ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q783 Q115 Q159 Q114 Q800 Q184 Q262 Q17 Q79 Q843
SYSTEM
Some of them are Honduras, Ethiopia, Russia, Kenya, Costa Rica, Belarus, Algeria, Japan, Egypt, Pakistan
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
OR((Q183,P530,c(Q15617994)), (Q1962618,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q1962618
relation P495
type Q15617994
[ANSWERS] hold diplomatic relationship with Germany or are the origin of La Gifle
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q1962618', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q183 property:P530 ?i } UNION { resource:Q1962618 property:P495 ?i } } . ?i rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Honduras, Ethiopia, Russia, Kenya, Costa Rica, Belarus, Algeria, Japan, Egypt and Pakistan hold diplomatic relationship with Germany or are the origin of La Gifle
Honduras Ethiopia Russia Kenya Costa Rica Belarus Algeria Japan Egypt Pakistan
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity La Gifle
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['La Gifle', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Germany property:diplomatic_relation ?i } UNION { resource:La_Gifle property:country_of_origin ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q29
P17
Q15617994 Q83620 Q15617994
USER
How many administrative territories are lesser number of thoroughfares and administrative territories a part of than Spain ?
(c(Q83620)|c(Q15617994),P17,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q29
relation P17
type Q83620
type Q15617994
[[{'concept': 'Q83620'}, {'concept': 'Q15617994'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?k WHERE { { ?n property:P17 ?k . ?k rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q83620 } UNION { ?k rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?n property:P17 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:P17 resource:Q29 . { { ?f rdf:type ontology:Q83620 } UNION { ?f rdf:type ontology:Q15617994 } } } } . FILTER ( ?p < ?o ) }
Spain
action count
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Spain
relation country
type thoroughfare
type designation for an administrative territorial entity
[[{'concept': 'thoroughfare'}, {'concept': 'designation for an administrative territorial entity'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?k WHERE { { ?n property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:thoroughfare } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:country ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:country resource:Spain . { { ?f rdf:type ontology:thoroughfare } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?p < ?o ) }
[]
designation for an administrative territorial entity thoroughfare designation for an administrative territorial entity
SYSTEM
227
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q668 Q684030 Q2172530 Q414 Q55 Q12536 Q262 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q252 Q399 Q1462 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q219 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q33 Q921 Q31 Q924 Q36 Q34 Q928 Q155019 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q47261 Q96 Q229 Q347 Q1050 Q977 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q37 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q83620)|c(Q15617994),P17,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q29
relation P17
type Q83620
type Q15617994
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q15617994'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?k WHERE { { ?n property:P17 ?k . ?k rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q83620 } UNION { ?k rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?n property:P17 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:P17 resource:Q29 . { { ?f rdf:type ontology:Q83620 } UNION { ?f rdf:type ontology:Q15617994 } } } } . FILTER ( ?p < ?o ) }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru Andora India Principality of Serbia Electorate of Württemberg Argentina Netherlands Abbasid caliphate Algeria Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Indonesia Armenia Sardinia Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea South Sudan Vietnam Eritrea Bulgaria Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Finland Brunei Belgium Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Mexico Cyprus Liechtenstein Swaziland Djibouti Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Lithuania Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Saxe-Jena Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Egypt Saxe-Eisenach Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Thailand Duchy of Savoy Zambia
227
action count
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Spain
relation country
type thoroughfare
type designation for an administrative territorial entity
[[{'concept': 'thoroughfare'}, {'concept': 'designation for an administrative territorial entity'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?k WHERE { { ?n property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:thoroughfare } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:country ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:country resource:Spain . { { ?f rdf:type ontology:thoroughfare } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?p < ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q228
P17
Q15617994 Q83620 Q15617994
USER
And what about Andorra?
(c(Q83620)|c(Q15617994),P17,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q228
relation P17
type Q83620
type Q15617994
[[{'concept': 'Q83620'}, {'concept': 'Q15617994'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?r WHERE { { ?r rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q83620 . ?c property:P17 ?r } UNION { ?c property:P17 ?r . ?r rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:P17 resource:Q228 . { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15617994 ) ( ontology:Q83620 ) } } } } . FILTER ( ?e < ?m ) }
Andorra
action count
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Andorra
relation country
type thoroughfare
type designation for an administrative territorial entity
[[{'concept': 'thoroughfare'}, {'concept': 'designation for an administrative territorial entity'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?r WHERE { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:thoroughfare . ?c property:country ?r } UNION { ?c property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:country resource:Andorra . { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:thoroughfare ) } } } } . FILTER ( ?e < ?m ) }
[]
designation for an administrative territorial entity thoroughfare designation for an administrative territorial entity
SYSTEM
114
Q1256 Q709 Q398 Q805 Q339952 Q270508 Q684030 Q2172530 Q12536 Q783 Q784 Q640426 Q36678 Q736029 Q710 Q565812 Q187035 Q1462 Q657 Q792 Q790 Q517333 Q2001966 Q326029 Q958 Q986 Q153529 Q695316 Q4628 Q826 Q165040 Q241 Q242 Q244 Q315667 Q153136 Q1210 Q155019 Q29999 Q734 Q107426 Q1282 Q159626 Q233 Q238 Q1044 Q1042 Q1041 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q34762 Q1458 Q3462133 Q223 Q815731 Q47261 Q347 Q1050 Q704288 Q10957559 Q1037 Q965 Q967 Q697 Q695 Q389004 Q1013 Q160307 Q164092 Q1483510 Q912 Q2662372 Q917 Q1007 Q1006 Q1005 Q829700 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q696651 Q948 Q1014 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q1049 Q426025
(c(Q83620)|c(Q15617994),P17,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q228
relation P17
type Q83620
type Q15617994
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q15617994'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?r WHERE { { ?r rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q83620 . ?c property:P17 ?r } UNION { ?c property:P17 ?r . ?r rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:P17 resource:Q228 . { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15617994 ) ( ontology:Q83620 ) } } } } . FILTER ( ?e < ?m ) }
Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Andora Principality of Serbia Electorate of Württemberg Abbasid caliphate Honduras Dominica Stahnsdorf West Bank Nassau-Siegen Kiribati Principality of Calenberg Principality of Albania Sardinia Chad El Salvador Haiti Principality of Polotsk Company rule in India Duchy of Brunswick South Sudan Eritrea Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Cuba Belize Barbados Saxe-Weimar Habsburg Empire Lombardy Duchy of Lorraine Kingdom of the Netherlands Guyana Anjou Lazio Württemberg Malta San Marino Sierra Leone Seychelles Senegal developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Principality of Bayreuth Calabria Saxe-Coburg and Gotha Greenland Principality of Bulgaria Duchy of Bavaria Liechtenstein Swaziland Duchy of Holstein Moldavia Rwanda Burkina Faso Burundi Nauru Palau Wallachia Lesotho Fatimid caliphate Duchy of Saxony Principality of Wales Mali Principality of Minsk Bhutan Guinea-Bissau Guinea Gambia Saxe-Jena Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Saxe-Eisenach Tunisia Liberia Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Sudan Duchy of Savoy
114
action count
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Andorra
relation country
type thoroughfare
type designation for an administrative territorial entity
[[{'concept': 'thoroughfare'}, {'concept': 'designation for an administrative territorial entity'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?r WHERE { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:thoroughfare . ?c property:country ?r } UNION { ?c property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:country resource:Andorra . { ?y rdf:type ?h . VALUES ( ?h ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:thoroughfare ) } } } } . FILTER ( ?e < ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P163
Q14660
USER
What is associated with Russia ?
(Q159,P163,c(Q14660))
action filter_type
action find
entity Q159
relation P163
type Q14660
['Q159', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?o WHERE { resource:Q159 property:P163 ?o . ?o rdf:type ontology:Q14660 }
Russia
action filter_type
action find
entity Russia
relation flag
type flag
['Russia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?o WHERE { resource:Russia property:flag ?o . ?o rdf:type ontology:flag }
[]
flag
Q16611
SYSTEM
flag of Russia
Q16611
(Q159,P163,c(Q14660))
action filter_type
action find
entity Q159
relation P163
type Q14660
On [ANSWER] is associated with Russia
['Q159', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?o WHERE { resource:Q159 property:P163 ?o . ?o rdf:type ontology:Q14660 }
flag of Russia
On flag of Russia is associated with Russia
flag of Russia
action filter_type
action find
entity Russia
relation flag
type flag
['Russia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?o WHERE { resource:Russia property:flag ?o . ?o rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159
P463
Q484652
USER
What international organizations had that administrative territory as their member ?
(Q16611,P463,c(Q484652))
action filter_type
action find
entity Q159
relation P463
type Q484652
['Q16611', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?j WHERE { resource:Q159 property:P463 ?j . ?j rdf:type ontology:Q484652 }
Russia
action filter_type
action find
entity Russia
relation member of
type international organization
['flag of Russia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?j WHERE { resource:Russia property:member_of ?j . ?j rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q1065
SYSTEM
Organization for Security and Co-operation in Europe, G20, United Nations
Q81299 Q789769 Q8475 Q1065 Q19771 Q37143 Q674182 Q166110 Q1043527
(Q16611,P463,c(Q484652))
action filter_type
action find
entity Q159
relation P463
type Q484652
[ANSWERS] had that administrative territory as their member
['Q16611', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?j WHERE { resource:Q159 property:P463 ?j . ?j rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe Council of the Baltic Sea States Interpol United Nations G20 G8 Arctic Council Union State Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, G20 and United Nations had that administrative territory as their member
Organization for Security and Co-operation in Europe G20 United Nations
action filter_type
action find
entity Russia
relation member of
type international organization
['flag of Russia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?j WHERE { resource:Russia property:member_of ?j . ?j rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81299
P159
Q56061
USER
Which administrative territory is the headquarter location of Organization for Security and Co-operation in Europe ?
(Q81299,P159,c(Q56061))
action filter_type
action find
entity Q81299
relation P159
type Q56061
['Q81299', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q81299 property:P159 ?e }
Organization for Security and Co-operation in Europe
action filter_type
action find
entity Organization for Security and Co-operation in Europe
relation headquarters location
type administrative territorial entity
['Organization for Security and Co-operation in Europe', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Organization_for_Security_and_Co-operation_in_Europe property:headquarters_location ?e }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q81299,P159,c(Q56061))
action filter_type
action find
entity Q81299
relation P159
type Q56061
[ANSWER] is the headquarter location of Organization for Security and Co-operation in Europe
['Q81299', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q81299 property:P159 ?e }
Vienna
Vienna is the headquarter location of Organization for Security and Co-operation in Europe
Vienna
action filter_type
action find
entity Organization for Security and Co-operation in Europe
relation headquarters location
type administrative territorial entity
['Organization for Security and Co-operation in Europe', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Organization_for_Security_and_Co-operation_in_Europe property:headquarters_location ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1778702
Q56061
USER
And how about Yahoo! Search Marketing?
(Q1778702,P159,c(Q56061))
action filter_type
action find
entity Q1778702
relation P159
type Q56061
['Q1778702', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1778702 property:P159 ?h . ?h rdf:type ontology:Q56061 }
Yahoo! Search Marketing
action filter_type
action find
entity Yahoo! Search Marketing
relation headquarters location
type administrative territorial entity
['Yahoo! Search Marketing', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Yahoo!_Search_Marketing property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q39561
SYSTEM
Burbank
Q39561
(Q1778702,P159,c(Q56061))
action filter_type
action find
entity Q1778702
relation P159
type Q56061
[ANSWER]
['Q1778702', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1778702 property:P159 ?h . ?h rdf:type ontology:Q56061 }
Burbank
Burbank
action filter_type
action find
entity Yahoo! Search Marketing
relation headquarters location
type administrative territorial entity
['Yahoo! Search Marketing', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Yahoo!_Search_Marketing property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]