Simple Question (Direct)
Simple Question
Q4716872
P27
Q1048835
USER
Which political territory is Alex Cuba a civilian of ?
(Q4716872,P27,c(Q1048835))
action filter_type
action find
entity Q4716872
relation P27
type Q1048835
['Q4716872', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . resource:Q4716872 property:P27 ?a }
Alex Cuba
action filter_type
action find
entity Alex Cuba
relation country of citizenship
type political territorial entity
['Alex Cuba', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Alex_Cuba property:country_of_citizenship ?a }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q4716872,P27,c(Q1048835))
action filter_type
action find
entity Q4716872
relation P27
type Q1048835
[ANSWER] is Alex Cuba a civilian of
['Q4716872', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . resource:Q4716872 property:P27 ?a }
Canada
Canada is Alex Cuba a civilian of
Canada
action filter_type
action find
entity Alex Cuba
relation country of citizenship
type political territorial entity
['Alex Cuba', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Alex_Cuba property:country_of_citizenship ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4716872
P175
Q2031291
USER
Which release gave the performance of that person ?
(c(Q2031291),P175,Q16)
action filter_type
action find_reverse
entity Q4716872
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q16']
SELECT DISTINCT ?t WHERE { ?t property:P175 resource:Q4716872 . ?t rdf:type ontology:Q2031291 }
Alex Cuba
action filter_type
action find_reverse
entity Alex Cuba
relation performer
type release
[{'concept': 'release'}, 'performer', 'Canada']
SELECT DISTINCT ?t WHERE { ?t property:performer resource:Alex_Cuba . ?t rdf:type ontology:release }
[]
release
Q4716873
SYSTEM
Alex Cuba
Q4716873
(c(Q2031291),P175,Q16)
action filter_type
action find_reverse
entity Q4716872
relation P175
type Q2031291
[ANSWER] gave the performance of that person
[{'concept': 'Q2031291'}, 'P175', 'Q16']
SELECT DISTINCT ?t WHERE { ?t property:P175 resource:Q4716872 . ?t rdf:type ontology:Q2031291 }
Alex Cuba
Alex Cuba gave the performance of that person
Alex Cuba
action filter_type
action find_reverse
entity Alex Cuba
relation performer
type release
[{'concept': 'release'}, 'performer', 'Canada']
SELECT DISTINCT ?t WHERE { ?t property:performer resource:Alex_Cuba . ?t rdf:type ontology:release }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4716873 Q4716872
P175
Q502895
USER
Was Alex Cuba presented by Alex Cuba ?
(Q4716873,P175,Q4716872)
action is_in
entity Q4716872
action find
entity Q4716873
relation P175
['Q4716873', 'P175', 'Q4716872']
ASK WHERE { resource:Q4716873 property:P175 resource:Q4716872 }
Alex Cuba Alex Cuba
action is_in
entity Alex Cuba
action find
entity Alex Cuba
relation performer
['Alex Cuba', 'performer', 'Alex Cuba']
ASK WHERE { resource:Alex_Cuba property:performer resource:Alex_Cuba }
[]
common name
SYSTEM
YES
(Q4716873,P175,Q4716872)
action is_in
entity Q4716872
action find
entity Q4716873
relation P175
[ANSWER]
['Q4716873', 'P175', 'Q4716872']
ASK WHERE { resource:Q4716873 property:P175 resource:Q4716872 }
Yes
action is_in
entity Alex Cuba
action find
entity Alex Cuba
relation performer
['Alex Cuba', 'performer', 'Alex Cuba']
ASK WHERE { resource:Alex_Cuba property:performer resource:Alex_Cuba }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q2031291
USER
How many languages are the languages of work for atmost 145 releases ?
(c(Q2031291),P407,c(Q34770))
action count
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
value 145
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?l <= 145 ) . { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P407 ?m . ?m rdf:type ontology:Q34770 . ?e rdf:type ontology:Q2031291 } GROUP BY ?m } }
action count
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type release
value 145
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?l <= 145 ) . { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:language_of_work_or_name ?m . ?m rdf:type ontology:language . ?e rdf:type ontology:release } GROUP BY ?m } }
[]
language release
SYSTEM
26
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q2031291),P407,c(Q34770))
action count
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
value 145
[ANSWER]
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?l <= 145 ) . { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P407 ?m . ?m rdf:type ontology:Q34770 . ?e rdf:type ontology:Q2031291 } GROUP BY ?m } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
26
action count
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type release
value 145
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?l <= 145 ) . { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:language_of_work_or_name ?m . ?m rdf:type ontology:language . ?e rdf:type ontology:release } GROUP BY ?m } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16 Q4974613
P20
Q502895
USER
How many people have Canada or Brookgreen Gardens as the location of death ?
(c(Q502895),P20,Q16) (c(Q502895),P20,Q4974613)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P20
type Q502895
action filter_type
action find_reverse
entity Q4974613
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q16'] [{'concept': 'Q502895'}, 'P20', 'Q4974613']
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?j ) { ( resource:Q16 ) ( resource:Q4974613 ) } . ?r property:P20 ?j }
Canada Brookgreen Gardens
action count
action union
action filter_type
action find_reverse
entity Canada
relation place of death
type common name
action filter_type
action find_reverse
entity Brookgreen Gardens
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Canada'] [{'concept': 'common name'}, 'place of death', 'Brookgreen Gardens']
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?j ) { ( resource:Canada ) ( resource:Brookgreen_Gardens ) } . ?r property:place_of_death ?j }
[]
common name
SYSTEM
77
Q15998804 Q1578935 Q5395838 Q1651695 Q76999 Q12647030 Q6289953 Q4208620 Q1898820 Q7106968 Q3481182 Q1468424 Q5512432 Q5536246 Q1673289 Q8041213 Q1047854 Q2688679 Q2840035 Q7328423 Q8014444 Q7342879 Q6008305 Q3425779 Q13745821 Q6883305 Q1469400 Q639772 Q8022548 Q1452259 Q4662724 Q3645450 Q5082739 Q7331310 Q198276 Q5593014 Q5341586 Q219031 Q458783 Q4717673 Q7326727 Q4241296 Q2174147 Q12629547 Q96410 Q707869 Q5335156 Q1391861 Q1356030 Q9288256 Q5539342 Q214138 Q19691296 Q5496048 Q18125509 Q630425 Q9382264 Q3886004 Q23074331 Q3132331 Q2196381 Q1715035 Q23783813 Q12017550 Q5585899 Q5497454 Q3195081 Q24041620 Q4539839 Q3749279 Q6832340 Q3784980 Q1349668 Q6792805 Q6552806 Q1251821 Q3476775
(c(Q502895),P20,Q16) (c(Q502895),P20,Q4974613)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P20
type Q502895
action filter_type
action find_reverse
entity Q4974613
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q16'] [{'concept': 'Q502895'}, 'P20', 'Q4974613']
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?j ) { ( resource:Q16 ) ( resource:Q4974613 ) } . ?r property:P20 ?j }
Harold Edward Dahl Hans Böse Erskine Leigh Capreol Suh Sui Cho Shlomo Carlebach Adomas Daugirdas Joshua John Ward Vladimir Julian Kaye Mario Brentani Oskars Perro Gestur Pálsson Fritz Simon G. Raymond Chang George Anderson Irving Layton Władysław Gnyś Ede Király John Edgar Colwell Hearne Alphonse de Tonty Richard Pierpoint William Leeming Harrison Robert Charles Wallace Imre Hennyei René Azaïs Krijn Taconis Mitsunari Kanai Ernő Ágoston J. Michel Fournier Willy Fick Fred Döderlein Aasia Bruce Bellas Charles Stuart Rick Coonce Zia Qarizada Graham Leggat Edward Antill Zoltán Székely Barry St. Leger Alex Reid Richard J. Gill Kristiņa Grizelda Rudolf Woller Daniel Lizars Theodor Geiger Harry Alan Towers Ed McLaine W. T. Tutte Ern Baxter Henryk Jedwab George Forbes Walter Trier Janusz Kapuściński Fred Parkinson Holliday Sao Nang Hearn Kham Alan Paterson Władysław Różycki Orlando Rondini John Edmund Strandberg Henri de Miffonis Louis Boekhout Jóhann Magnús Bjarnason Gus Morschauser František Uhlíř Gordon Tanner Frederick C. Alderdice Ken Pogue Władysław Dulęba Petro Yatsyk Franc Frakelj Michael Luchkovich Henry More Smith Vladimir Malanczuk Maurice "Moss" Burbidge Lindsay Shonteff Doug Murray Sean Roberge
77
action count
action union
action filter_type
action find_reverse
entity Canada
relation place of death
type common name
action filter_type
action find_reverse
entity Brookgreen Gardens
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Canada'] [{'concept': 'common name'}, 'place of death', 'Brookgreen Gardens']
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?j ) { ( resource:Canada ) ( resource:Brookgreen_Gardens ) } . ?r property:place_of_death ?j }
[]