Simple Question (Direct)
Simple Question
Q16905137
P27
Q15617994
USER
Which administrative territory does Gunnar Stavrum belong to ?
(Q16905137,P27,c(Q15617994))
action filter_type
action find
entity Q16905137
relation P27
type Q15617994
['Q16905137', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q16905137 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Gunnar Stavrum
action filter_type
action find
entity Gunnar Stavrum
relation country of citizenship
type designation for an administrative territorial entity
['Gunnar Stavrum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Gunnar_Stavrum property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q16905137,P27,c(Q15617994))
action filter_type
action find
entity Q16905137
relation P27
type Q15617994
Gunnar Stavrum belongs to [ANSWER]
['Q16905137', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q16905137 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Norway
Gunnar Stavrum belongs to Norway
Norway
action filter_type
action find
entity Gunnar Stavrum
relation country of citizenship
type designation for an administrative territorial entity
['Gunnar Stavrum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Gunnar_Stavrum property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16905137
P26
Q502895
USER
Which person has Gunnar Stavrum as spouse ?
(c(Q502895),P26,Q16905137)
action filter_type
action find
entity Q16905137
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q16905137']
SELECT DISTINCT ?u WHERE { resource:Q16905137 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Gunnar Stavrum
action filter_type
action find
entity Gunnar Stavrum
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Gunnar Stavrum']
SELECT DISTINCT ?u WHERE { resource:Gunnar_Stavrum property:spouse ?u . ?u rdf:type ontology:common_name }
[]
common name
Q17108648
SYSTEM
Kjersti Løken Stavrum
Q17108648
(c(Q502895),P26,Q16905137)
action filter_type
action find
entity Q16905137
relation P26
type Q502895
[ANSWER] has Gunnar Stavrum as spouse
[{'concept': 'Q502895'}, 'P26', 'Q16905137']
SELECT DISTINCT ?u WHERE { resource:Q16905137 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Kjersti Løken Stavrum
Kjersti Løken Stavrum has Gunnar Stavrum as spouse
Kjersti Løken Stavrum
action filter_type
action find
entity Gunnar Stavrum
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Gunnar Stavrum']
SELECT DISTINCT ?u WHERE { resource:Gunnar_Stavrum property:spouse ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17108648
P7
Q502895
USER
Who is that one a sibling of ?
(Q17108648,P7,c(Q502895))
action filter_type
action find
entity Q17108648
relation P7
type Q502895
['Q17108648', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q17108648 property:P7 ?p . ?p rdf:type ontology:Q502895 }
Kjersti Løken Stavrum
action filter_type
action find
entity Kjersti Løken Stavrum
relation brother
type common name
['Kjersti Løken Stavrum', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Kjersti_Løken_Stavrum property:brother ?p . ?p rdf:type ontology:common_name }
[]
common name
Q2489897
SYSTEM
Karl Petter Løken
Q2489897
(Q17108648,P7,c(Q502895))
action filter_type
action find
entity Q17108648
relation P7
type Q502895
That one a sibling of is [ANSWER]
['Q17108648', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q17108648 property:P7 ?p . ?p rdf:type ontology:Q502895 }
Karl Petter Løken
That one a sibling of is Karl Petter Løken
Karl Petter Løken
action filter_type
action find
entity Kjersti Løken Stavrum
relation brother
type common name
['Kjersti Løken Stavrum', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Kjersti_Løken_Stavrum property:brother ?p . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q20
P840
Q11424 Q201658
USER
How many films or film genres have a setting location of Norway ?
(c(Q11424),P840,Q20) (c(Q201658),P840,Q20)
action count
action union
action filter_type
action find_reverse
entity Q20
relation P840
type Q11424
action filter_type
action find_reverse
entity Q20
relation P840
type Q201658
[{'concept': 'Q11424'}, 'P840', 'Q20'] [{'concept': 'Q201658'}, 'P840', 'Q20']
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q11424 ) ( ontology:Q201658 ) } }
Norway
action count
action union
action filter_type
action find_reverse
entity Norway
relation narrative location
type film
action filter_type
action find_reverse
entity Norway
relation narrative location
type film genre
[{'concept': 'film'}, 'narrative location', 'Norway'] [{'concept': 'film genre'}, 'narrative location', 'Norway']
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:film ) ( ontology:film_genre ) } }
[]
film film genre
SYSTEM
3
Q748412 Q1557388 Q18786623
(c(Q11424),P840,Q20) (c(Q201658),P840,Q20)
action count
action union
action filter_type
action find_reverse
entity Q20
relation P840
type Q11424
action filter_type
action find_reverse
entity Q20
relation P840
type Q201658
[ANSWER]
[{'concept': 'Q11424'}, 'P840', 'Q20'] [{'concept': 'Q201658'}, 'P840', 'Q20']
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q11424 ) ( ontology:Q201658 ) } }
Asterix and the Vikings The Danish Poet Me and My Moulton
3
action count
action union
action filter_type
action find_reverse
entity Norway
relation narrative location
type film
action filter_type
action find_reverse
entity Norway
relation narrative location
type film genre
[{'concept': 'film'}, 'narrative location', 'Norway'] [{'concept': 'film genre'}, 'narrative location', 'Norway']
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:film ) ( ontology:film_genre ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q17108648
P26 P21
Q502895
USER
Which people are the spouse of Kjersti Løken Stavrum and have the gender as male ?
AND((c(Q502895),P26,Q17108648), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q17108648
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q17108648'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P26 resource:Q17108648 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
male Kjersti Løken Stavrum
action filter_type
action intersection
action find_reverse
entity Kjersti Løken Stavrum
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Kjersti Løken Stavrum'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:spouse resource:Kjersti_Løken_Stavrum . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]
common name
Q16905137
SYSTEM
Gunnar Stavrum
Q16905137
AND((c(Q502895),P26,Q17108648), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q17108648
relation P26
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is the spouse of Kjersti Løken Stavrum and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q17108648'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P26 resource:Q17108648 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
Gunnar Stavrum
Gunnar Stavrum is the spouse of Kjersti Løken Stavrum and have the gender as male
Gunnar Stavrum
action filter_type
action intersection
action find_reverse
entity Kjersti Løken Stavrum
relation spouse
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Kjersti Løken Stavrum'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:spouse resource:Kjersti_Løken_Stavrum . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16905137
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q16905137,P106,c(Q12737077))
action filter_type
action find
entity Q16905137
relation P106
type Q12737077
['Q16905137', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q16905137 property:P106 ?b }
Gunnar Stavrum
action filter_type
action find
entity Gunnar Stavrum
relation occupation
type occupation
['Gunnar Stavrum', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Gunnar_Stavrum property:occupation ?b }
[]
occupation
Q1930187 Q36180 Q864380
SYSTEM
journalist, writer, biographer
Q1930187 Q876864 Q36180 Q864380
(Q16905137,P106,c(Q12737077))
action filter_type
action find
entity Q16905137
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q16905137', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q16905137 property:P106 ?b }
journalist contributing editor writer biographer
Journalist, writer and biographer have that person as his/her 's career
journalist writer biographer
action filter_type
action find
entity Gunnar Stavrum
relation occupation
type occupation
['Gunnar Stavrum', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Gunnar_Stavrum property:occupation ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the patron saints of atmost 5 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 5
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:P417 ?a . ?a rdf:type ontology:Q502895 . ?b rdf:type ontology:Q12737077 } GROUP BY ?a } . FILTER ( ?u <= 5 ) }
action count
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 5
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:patron_saint ?a . ?a rdf:type ontology:common_name . ?b rdf:type ontology:occupation } GROUP BY ?a } . FILTER ( ?u <= 5 ) }
[]
common name occupation
SYSTEM
319
Q2366998 Q453698 Q561838 Q380092 Q129674 Q133704 Q229190 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q328804 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q128538 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q48438 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q9200 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q192816 Q43982 Q58559 Q445357 Q40662 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q43600 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q151967 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q17590 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q200895 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action count
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 5
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:P417 ?a . ?a rdf:type ontology:Q502895 . ?b rdf:type ontology:Q12737077 } GROUP BY ?a } . FILTER ( ?u <= 5 ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Catherine of Siena Jude the Apostle Prisco di Nocera Saint Roch Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus John the Evangelist Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Vitus Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Clare of Assisi Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Luke the Evangelist Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Saint George Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Paul Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Benedict of Nursia Martha Saint Barbara Bartholomew the Apostle Leo IX Henry John the Baptist Erasmus of Formiae Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Matthew the Apostle Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Saint Blaise Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Agatha of Sicily Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome Saint Ninian Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
319
action count
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 5
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:patron_saint ?a . ?a rdf:type ontology:common_name . ?b rdf:type ontology:occupation } GROUP BY ?a } . FILTER ( ?u <= 5 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2489897
P641
Q349
USER
Which sport was Karl Petter Løken a part of ?
(Q2489897,P641,c(Q349))
action filter_type
action find
entity Q2489897
relation P641
type Q349
['Q2489897', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q2489897 property:P641 ?r . ?r rdf:type ontology:Q349 }
Karl Petter Løken
action filter_type
action find
entity Karl Petter Løken
relation sport
type sport
['Karl Petter Løken', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Karl_Petter_Løken property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2489897,P641,c(Q349))
action filter_type
action find
entity Q2489897
relation P641
type Q349
The [ANSWER] was Karl Petter Løken a part of
['Q2489897', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q2489897 property:P641 ?r . ?r rdf:type ontology:Q349 }
association football
The association football was Karl Petter Løken a part of
association football
action filter_type
action find
entity Karl Petter Løken
relation sport
type sport
['Karl Petter Løken', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Karl_Petter_Løken property:sport ?r . ?r rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q902177
Q349
USER
And how about Darren Cann?
(Q902177,P641,c(Q349))
action filter_type
action find
entity Q902177
relation P641
type Q349
['Q902177', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q902177 property:P641 ?i . ?i rdf:type ontology:Q349 }
Darren Cann
action filter_type
action find
entity Darren Cann
relation sport
type sport
['Darren Cann', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Darren_Cann property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q902177,P641,c(Q349))
action filter_type
action find
entity Q902177
relation P641
type Q349
[ANSWER]
['Q902177', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q902177 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Darren Cann
relation sport
type sport
['Darren Cann', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Darren_Cann property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P194
Q1752346
USER
Which assembly is the representative body for Norway ?
(Q20,P194,c(Q1752346))
action filter_type
action find
entity Q20
relation P194
type Q1752346
['Q20', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?y WHERE { resource:Q20 property:P194 ?y . ?y rdf:type ontology:Q1752346 }
Norway
action filter_type
action find
entity Norway
relation legislative body
type assembly
['Norway', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?y WHERE { resource:Norway property:legislative_body ?y . ?y rdf:type ontology:assembly }
[]
assembly
Q109016
SYSTEM
Parliament of Norway
Q109016
(Q20,P194,c(Q1752346))
action filter_type
action find
entity Q20
relation P194
type Q1752346
Norway [ANSWER] is the representative body for Norway
['Q20', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?y WHERE { resource:Q20 property:P194 ?y . ?y rdf:type ontology:Q1752346 }
Parliament of Norway
Norway Parliament of Norway is the representative body for Norway
Parliament of Norway
action filter_type
action find
entity Norway
relation legislative body
type assembly
['Norway', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?y WHERE { resource:Norway property:legislative_body ?y . ?y rdf:type ontology:assembly }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P163
Q14660
USER
Which flag is associated with Norway ?
(Q20,P163,c(Q14660))
action filter_type
action find
entity Q20
relation P163
type Q14660
['Q20', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { resource:Q20 property:P163 ?b . ?b rdf:type ontology:Q14660 }
Norway
action filter_type
action find
entity Norway
relation flag
type flag
['Norway', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { resource:Norway property:flag ?b . ?b rdf:type ontology:flag }
[]
flag
Q83149
SYSTEM
flag of Norway
Q83149
(Q20,P163,c(Q14660))
action filter_type
action find
entity Q20
relation P163
type Q14660
Norway [ANSWER] is associated with Norway
['Q20', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { resource:Q20 property:P163 ?b . ?b rdf:type ontology:Q14660 }
flag of Norway
Norway flag of Norway is associated with Norway
flag of Norway
action filter_type
action find
entity Norway
relation flag
type flag
['Norway', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { resource:Norway property:flag ?b . ?b rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P30
Q2221906
USER
Which geographic location is Norway located in ?
(Q20,P30,c(Q2221906))
action filter_type
action find
entity Q20
relation P30
type Q2221906
['Q20', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2221906 . resource:Q20 property:P30 ?i }
Norway
action filter_type
action find
entity Norway
relation continent
type geographic location
['Norway', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:geographic_location . resource:Norway property:continent ?i }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q20,P30,c(Q2221906))
action filter_type
action find
entity Q20
relation P30
type Q2221906
Norway is located in [ANSWER]
['Q20', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2221906 . resource:Q20 property:P30 ?i }
Europe
Norway is located in Europe
Europe
action filter_type
action find
entity Norway
relation continent
type geographic location
['Norway', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:geographic_location . resource:Norway property:continent ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21488260
Q2221906
USER
And what about Adélie Glacier?
(Q21488260,P30,c(Q2221906))
action filter_type
action find
entity Q21488260
relation P30
type Q2221906
['Q21488260', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?u WHERE { resource:Q21488260 property:P30 ?u . ?u rdf:type ontology:Q2221906 }
Adélie Glacier
action filter_type
action find
entity Adélie Glacier
relation continent
type geographic location
['Adélie Glacier', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?u WHERE { resource:Adélie_Glacier property:continent ?u . ?u rdf:type ontology:geographic_location }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q21488260,P30,c(Q2221906))
action filter_type
action find
entity Q21488260
relation P30
type Q2221906
[ANSWER]
['Q21488260', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?u WHERE { resource:Q21488260 property:P30 ?u . ?u rdf:type ontology:Q2221906 }
Antarctica
Antarctica
action filter_type
action find
entity Adélie Glacier
relation continent
type geographic location
['Adélie Glacier', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?u WHERE { resource:Adélie_Glacier property:continent ?u . ?u rdf:type ontology:geographic_location }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q3918 Q852446 Q2221906
USER
How many geographic locations are a component of less number of universities or US administrative territories than that geographic location ?
(c(Q2221906),P361,c(Q3918)|c(Q852446))
action count
action less
action union
action find_tuple_counts
relation P361
type Q2221906
type Q3918
action find_tuple_counts
relation P361
type Q2221906
type Q852446
action count
action filter_multi_types
action find
entity Q51
relation P361
type Q3918
type Q852446
[{'concept': 'Q2221906'}, 'P361', [{'concept': 'Q3918'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?s WHERE { { ?s property:P361 ?u . ?s rdf:type ontology:Q2221906 . ?u rdf:type ontology:Q3918 } UNION { ?s property:P361 ?u . ?s rdf:type ontology:Q2221906 . ?u rdf:type ontology:Q852446 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Q51 property:P361 ?t . { { ?t rdf:type ontology:Q3918 } UNION { ?t rdf:type ontology:Q852446 } } } } . FILTER ( ?l < ?w ) }
action count
action less
action union
action find_tuple_counts
relation part of
type geographic location
type university
action find_tuple_counts
relation part of
type geographic location
type administrative territorial entity of the United States
action count
action filter_multi_types
action find
entity Antarctica
relation part of
type university
type administrative territorial entity of the United States
[{'concept': 'geographic location'}, 'part of', [{'concept': 'university'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?s WHERE { { ?s property:part_of ?u . ?s rdf:type ontology:geographic_location . ?u rdf:type ontology:university } UNION { ?s property:part_of ?u . ?s rdf:type ontology:geographic_location . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Antarctica property:part_of ?t . { { ?t rdf:type ontology:university } UNION { ?t rdf:type ontology:administrative_territorial_entity_of_the_United_States } } } } . FILTER ( ?l < ?w ) }
[]
university administrative territorial entity of the United States geographic location
SYSTEM
277
Q20652829 Q20743921 Q3214576 Q14684867 Q7191008 Q325358 Q2419662 Q431907 Q7580722 Q58805 Q14685109 Q3391469 Q315496 Q7209560 Q14684666 Q6550421 Q27509 Q956300 Q126063 Q3048968 Q16680564 Q7784279 Q3047192 Q1496967 Q3468036 Q6398365 Q5259261 Q15206028 Q6084417 Q7268308 Q14324291 Q46 Q213137 Q14714685 Q121359 Q2946756 Q5290039 Q1349167 Q1068071 Q3956460 Q184430 Q3960 Q2036701 Q1234060 Q1737467 Q14685112 Q2249285 Q7996880 Q215680 Q14287866 Q3961951 Q7540974 Q1129992 Q3627664 Q14705212 Q1134503 Q703480 Q1634214 Q14684518 Q3030613 Q896446 Q11708 Q3306046 Q1049115 Q49 Q3333384 Q15211098 Q3593127 Q3242386 Q14713610 Q690971 Q6436607 Q14713596 Q5088912 Q14714846 Q6029137 Q14323356 Q2946746 Q470049 Q3746596 Q266703 Q14705355 Q14294968 Q1413444 Q12612 Q16827917 Q23001306 Q1188034 Q106259 Q3074486 Q20743939 Q164585 Q183324 Q16894244 Q7567991 Q7811491 Q1997843 Q16892114 Q968680 Q3830220 Q7191014 Q11973034 Q4777 Q5506931 Q5597624 Q14713936 Q286476 Q3519009 Q816104 Q3271856 Q15202826 Q3077423 Q575289 Q5051042 Q3781293 Q3476035 Q4442156 Q1156728 Q1762154 Q14684882 Q1051581 Q3503423 Q6922487 Q14704530 Q24694968 Q6367444 Q1998497 Q198927 Q198926 Q14223170 Q155353 Q16868895 Q14711841 Q829767 Q14713790 Q10480343 Q20655529 Q667529 Q3880745 Q2333134 Q1782291 Q4260475 Q190031 Q1555938 Q6269482 Q207520 Q1432092 Q828 Q2364623 Q498794 Q20652757 Q2680496 Q1411784 Q16845327 Q4942152 Q128952 Q27293 Q14714809 Q18869 Q15 Q3922925 Q12409135 Q811979 Q5477842 Q1555247 Q5313947 Q14685140 Q459173 Q473935 Q1439394 Q7418932 Q14709821 Q2017699 Q1130721 Q526644 Q14714818 Q27700889 Q3646551 Q27433 Q5744091 Q854155 Q3382521 Q20743940 Q14685019 Q512573 Q14705314 Q14685159 Q701658 Q1495886 Q1058792 Q4868203 Q5064905 Q6488761 Q2946769 Q771405 Q3539 Q1292279 Q5455002 Q14704540 Q16326607 Q358877 Q3832650 Q7708397 Q390516 Q27275 Q3423535 Q20743937 Q20743945 Q20743944 Q20743943 Q6921525 Q194188 Q681861 Q5411271 Q669037 Q4876461 Q1438691 Q14874585 Q51 Q18048387 Q6649684 Q2160991 Q18752601 Q213704 Q18 Q805727 Q14713886 Q22602 Q5002651 Q4533920 Q14711877 Q4754057 Q81851 Q2015709 Q27496 Q3518514 Q3215913 Q2402047 Q8502 Q538 Q48 Q3555010 Q16892238 Q21491032 Q17197321 Q14684324 Q27561 Q7191015 Q14687288 Q7191011 Q14714702 Q27701408 Q2565366 Q205895 Q6664252 Q6887502 Q4849355 Q183464 Q2066176 Q14951375 Q6101019 Q3214330 Q914711 Q16893544 Q3479940 Q948516 Q15238659 Q15213747 Q702543 Q19603939 Q2879440 Q6159576 Q14685085 Q719456 Q14685083 Q3906785 Q14705259
(c(Q2221906),P361,c(Q3918)|c(Q852446))
action count
action less
action union
action find_tuple_counts
relation P361
type Q2221906
type Q3918
action find_tuple_counts
relation P361
type Q2221906
type Q852446
action count
action filter_multi_types
action find
entity Q51
relation P361
type Q3918
type Q852446
[ANSWER]
[{'concept': 'Q2221906'}, 'P361', [{'concept': 'Q3918'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?s WHERE { { ?s property:P361 ?u . ?s rdf:type ontology:Q2221906 . ?u rdf:type ontology:Q3918 } UNION { ?s property:P361 ?u . ?s rdf:type ontology:Q2221906 . ?u rdf:type ontology:Q852446 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Q51 property:P361 ?t . { { ?t rdf:type ontology:Q3918 } UNION { ?t rdf:type ontology:Q852446 } } } } . FILTER ( ?l < ?w ) }
Kendjija unda labyrinthus Kokomo Pass Pico El León railway platform chaos terrain Sierra de la Culata Spring Valley Galactic corona Stone Man Pass planitia Upper Harz police area Jones Pass (Colorado) Lincoln-Herndon Law Offices State Historic Site Central Europe tholus Auyantepui Mount Upuigma Tour Percée Thin disk Pico Piedras Blancas territorial entity Pogromni Volcano Keyport Harbor patera Burrage Dome Islip Saddle quadrangle South European Russia Europe East Indies Clayton Mountain infrastructure Cerro Jaua Domen Butte ground station chasma Western Polesie Zeelandic Flanders Australia Santa María la Mayor Riesalb Norital Stony Pass vallis Whittier Narrows tectonic plate Red Sea Coast sinus Slithallet Slope Le Morne Brabant astrum McAfee Peak corona Letoon Volga Region Georgia Pass Thick disk Upland Southeast Asia mensa Galactic anticenter North America Mesogaea Cockedhat Mountain Madeline Island New Territories East Clark Mountain (Washington) Breisgau Kreiling Mesa Big Lava Bed Cheat Mountain Sunbeam Peak Kordoleon Dvinska land and Vazhsky krai Cerro Aracamuni American Highland flexus Salzkammergut Mount Avalon West Coast (Crimea) macula Western United States American Legion Peak part of land Pico Humboldt polder flumen satellite feature Turan Transoxiana Little Truckee Summit South Mountain Tobacco Root Mountains North Eifel Harrower Peak Aprada-tepui lenticula Pico La Concha Gray Zone Mount Roraima Fuchs Dome Grassy Ridge West Crater Cerro Marahuaca tessera Belmont Courthouse State Historic Park South Bay Bold Peak large ringed feature Mühlviertel Cat Island Dubai Studio City scopulus Steppe Crimea domestic roof construction Little Switzerland Lake Pass albedo feature sulcus Mount Oglethorpe Ch-paa-qn Peak Bute Docks Kar Plateau North Eastern Europe Ziel-2-Region Ziel-1-Region Lower Mesopotamia Dornbusch Abo Canyon Mount Powell (Utah) Besengau Lemei Rock Ehrenstrahlsalongen South Pacific Blue Mountains oceanus Kukenán-tepui Sarisariñama medical facility Central Arabia Antarctic Joint Warfare Centre list of regions of Japan rille Americas Dauria crater chain Karapanđa Pasteur Peninsula Western Palatinate Bow Mountain Bonnabeau Dome facula Western Asia Muddy Mountain Caucasus Africa promontorium index mineral architectural structure Fram Mesa North Palatinate Dumont Dunes Vasquez Pass Challenger Deep rift fossa Sans Bois Mountains Bote Mountain Northern America Algodones Dunes pancake dome Pinnacle Ridge normal zero Pico Bonpland Central Africa Herring Bay Bulge Pico El Águila fretum Never Summer Mountains lingula Winnemucca Mountain Webster Pass (Colorado) Mecklenburg Lake District Gau Jom fluctus Basswood Island Cerro Duida Larch Mountain Cerro Socopó South Asia Aircraft Operations Center political border Fishing Bay Deer Lodge Pass Inkerman Bay cavus linea planum control room Central Asia regio arcus virga serpens reticulum Mount Josephine spaceport Nuestra Señora de Loreto Eureka Valley Sand Dunes West Indies Bear Island Fort Rock Basin Custer Ridge Antarctica Central Andes Little Creek Peak Roden Crater fence pillar Pico Bolívar South America Baltics Sawtooth Mountain Vorderpfalz Butler Street Gatehouse Yuzhnaya Bay South Kings Peak Anderson Dome bastion Serranía del Perijá Western Europe terra lacus insula mountain Oceania Asia vastitas Henderson Peak Lower Harz Cherkashchina Boulder-Grand Pass Caribbean Netherlands Pico Pan de Azúcar Reas Pass Pico El Toro Downs Mountain average Mediterranean Sea level in Ajaccio West Hesse Depression landmass Local Sheet Moccasin Gap Bakhallet Slope Livonia rupes Torrey Peak, Wyoming Ix labes transmission tower Knife Point Mountain Serranía de Los Motilones palus Klondike Peak Desolation Peak (Wyoming) Franconian Switzerland building component Chequamegon Bay Jarbidge Mountains Searle Pass station Rogers Pass (Colorado) plume Porter Peak
277
action count
action less
action union
action find_tuple_counts
relation part of
type geographic location
type university
action find_tuple_counts
relation part of
type geographic location
type administrative territorial entity of the United States
action count
action filter_multi_types
action find
entity Antarctica
relation part of
type university
type administrative territorial entity of the United States
[{'concept': 'geographic location'}, 'part of', [{'concept': 'university'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?s WHERE { { ?s property:part_of ?u . ?s rdf:type ontology:geographic_location . ?u rdf:type ontology:university } UNION { ?s property:part_of ?u . ?s rdf:type ontology:geographic_location . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Antarctica property:part_of ?t . { { ?t rdf:type ontology:university } UNION { ?t rdf:type ontology:administrative_territorial_entity_of_the_United_States } } } } . FILTER ( ?l < ?w ) }
[]