Simple Question (Direct)
Simple Question
Q7925702
P106
Q12737077
USER
Which occupations have Victor Axelrod as his/her 's career ?
(Q7925702,P106,c(Q12737077))
action filter_type
action find
entity Q7925702
relation P106
type Q12737077
['Q7925702', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q7925702 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Victor Axelrod
action filter_type
action find
entity Victor Axelrod
relation occupation
type occupation
['Victor Axelrod', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Victor_Axelrod property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q639669 Q183945 Q36834
SYSTEM
musician, record producer, composer
Q639669 Q183945 Q36834
(Q7925702,P106,c(Q12737077))
action filter_type
action find
entity Q7925702
relation P106
type Q12737077
[ANSWERS] have Victor Axelrod as his/her 's career
['Q7925702', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q7925702 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
musician record producer composer
Musician, record producer and composer have Victor Axelrod as his/her 's career
musician record producer composer
action filter_type
action find
entity Victor Axelrod
relation occupation
type occupation
['Victor Axelrod', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Victor_Axelrod property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7925702
P175
Q2031291
USER
Who performed Victor Axelrod ?
(c(Q2031291),P175,Q7925702)
action filter_type
action find_reverse
entity Q7925702
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q7925702']
SELECT DISTINCT ?j WHERE { ?j property:P175 resource:Q7925702 . ?j rdf:type ontology:Q2031291 }
Victor Axelrod
action filter_type
action find_reverse
entity Victor Axelrod
relation performer
type release
[{'concept': 'release'}, 'performer', 'Victor Axelrod']
SELECT DISTINCT ?j WHERE { ?j property:performer resource:Victor_Axelrod . ?j rdf:type ontology:release }
[]
release
Q7800691
SYSTEM
Ticklah vs. Axelrod
Q7800691
(c(Q2031291),P175,Q7925702)
action filter_type
action find_reverse
entity Q7925702
relation P175
type Q2031291
[ANSWER] performed Victor Axelrod
[{'concept': 'Q2031291'}, 'P175', 'Q7925702']
SELECT DISTINCT ?j WHERE { ?j property:P175 resource:Q7925702 . ?j rdf:type ontology:Q2031291 }
Ticklah vs. Axelrod
Ticklah vs. Axelrod performed Victor Axelrod
Ticklah vs. Axelrod
action filter_type
action find_reverse
entity Victor Axelrod
relation performer
type release
[{'concept': 'release'}, 'performer', 'Victor Axelrod']
SELECT DISTINCT ?j WHERE { ?j property:performer resource:Victor_Axelrod . ?j rdf:type ontology:release }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P175
Q502895
USER
How many people were performed by that release ?
(Q7800691,P175,c(Q502895))
action count
action filter_type
action find
entity Q7800691
relation P175
type Q502895
['Q7800691', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { resource:Q7800691 property:P175 ?e . ?e rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Ticklah vs. Axelrod
relation performer
type common name
['Ticklah vs. Axelrod', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { resource:Ticklah_vs._Axelrod property:performer ?e . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q7925702
(Q7800691,P175,c(Q502895))
action count
action filter_type
action find
entity Q7800691
relation P175
type Q502895
[ANSWER]
['Q7800691', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { resource:Q7800691 property:P175 ?e . ?e rdf:type ontology:Q502895 }
Victor Axelrod
1
action count
action filter_type
action find
entity Ticklah vs. Axelrod
relation performer
type common name
['Ticklah vs. Axelrod', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { resource:Ticklah_vs._Axelrod property:performer ?e . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7305758
Q502895
USER
And how about Redemption City?
(Q7305758,P175,c(Q502895))
action count
action filter_type
action find
entity Q7305758
relation P175
type Q502895
['Q7305758', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Q7305758 property:P175 ?y . ?y rdf:type ontology:Q502895 }
Redemption City
action count
action filter_type
action find
entity Redemption City
relation performer
type common name
['Redemption City', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Redemption_City property:performer ?y . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q7305758,P175,c(Q502895))
action count
action filter_type
action find
entity Q7305758
relation P175
type Q502895
[ANSWER]
['Q7305758', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Q7305758 property:P175 ?y . ?y rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Redemption City
relation performer
type common name
['Redemption City', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Redemption_City property:performer ?y . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q2031291
USER
Which languages are the languages of work for max number of releases ?
(c(Q2031291),P407,Q447117)
action argmax
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
[{'concept': 'Q2031291'}, 'P407', 'Q447117']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?x ) { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P407 ?k . ?p rdf:type ontology:Q2031291 . ?k rdf:type ontology:Q34770 } GROUP BY ?k } } . FILTER ( ?j = ?x ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ontology:Q2031291 . ?r rdf:type ontology:Q34770 . ?v property:P407 ?r } GROUP BY ?r } }
action argmax
action find_reverse_tuple_counts
relation language of work or name
type language
type release
[{'concept': 'release'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?x ) { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:language_of_work_or_name ?k . ?p rdf:type ontology:release . ?k rdf:type ontology:language } GROUP BY ?k } } . FILTER ( ?j = ?x ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ontology:release . ?r rdf:type ontology:language . ?v property:language_of_work_or_name ?r } GROUP BY ?r } }
[]
language release
Q1860
SYSTEM
English
Q1860
(c(Q2031291),P407,Q447117)
action argmax
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
[ANSWER] is the languages of work for max number of releases
[{'concept': 'Q2031291'}, 'P407', 'Q447117']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?x ) { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P407 ?k . ?p rdf:type ontology:Q2031291 . ?k rdf:type ontology:Q34770 } GROUP BY ?k } } . FILTER ( ?j = ?x ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ontology:Q2031291 . ?r rdf:type ontology:Q34770 . ?v property:P407 ?r } GROUP BY ?r } }
English
English is the languages of work for max number of releases
English
action argmax
action find_reverse_tuple_counts
relation language of work or name
type language
type release
[{'concept': 'release'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?x ) { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:language_of_work_or_name ?k . ?p rdf:type ontology:release . ?k rdf:type ontology:language } GROUP BY ?k } } . FILTER ( ?j = ?x ) . { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?j ) WHERE { ?v rdf:type ontology:release . ?r rdf:type ontology:language . ?v property:language_of_work_or_name ?r } GROUP BY ?r } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q458314
P364
Q838948
USER
Was Alien: Resurrection originally created in that one language ?
(Q458314,P364,Q1860)
action is_in
entity Q1860
action find
entity Q458314
relation P364
['Q458314', 'P364', 'Q1860']
ASK WHERE { resource:Q458314 property:P364 resource:Q1860 }
English Alien: Resurrection
action is_in
entity English
action find
entity Alien: Resurrection
relation original language of work
['Alien: Resurrection', 'original language of work', 'English']
ASK WHERE { resource:Alien:_Resurrection property:original_language_of_work resource:English }
[]
work of art
SYSTEM
YES
(Q458314,P364,Q1860)
action is_in
entity Q1860
action find
entity Q458314
relation P364
[ANSWER]
['Q458314', 'P364', 'Q1860']
ASK WHERE { resource:Q458314 property:P364 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Alien: Resurrection
relation original language of work
['Alien: Resurrection', 'original language of work', 'English']
ASK WHERE { resource:Alien:_Resurrection property:original_language_of_work resource:English }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q397 Q1860
P1412
Q502895
USER
Which people talks in English and Latin ?
AND((c(Q502895),P1412,Q1860), (c(Q502895),P1412,Q397))
action filter_type
action intersection
action find_reverse
entity Q1860
relation P1412
action find_reverse
entity Q397
relation P1412
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1412', 'Q1860'], [{'concept': 'Q502895'}, 'P1412', 'Q397']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P1412 resource:Q397 . ?w property:P1412 resource:Q1860 }
Latin English
action filter_type
action intersection
action find_reverse
entity English
relation languages spoken, written or signed
action find_reverse
entity Latin
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'English'], [{'concept': 'common name'}, 'languages spoken, written or signed', 'Latin']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:languages_spoken,_written_or_signed resource:Latin . ?w property:languages_spoken,_written_or_signed resource:English }
[]
common name
Q26706969 Q11816 Q6525197 Q497560 Q1593895 Q11813 Q5482925 Q13814259 Q1222747 Q26863601
SYSTEM
Some of them are Edith Eccles, John Quincy Adams, Leonard Cox, Andreas Graeber, Heide Frielinghaus, James Madison, Francis de Zulueta, Marc Boone, Dieter Salzmann, Bärbel Morstadt
Q96028 Q26849152 Q1763673 Q3309269 Q37388 Q21544228 Q1322600 Q120981 Q553900 Q1821799 Q26926299 Q35236 Q1249649 Q25201577 Q12238301 Q11881 Q1478736 Q26839510 Q2366692 Q333481 Q2847505 Q254 Q26913604 Q79759 Q11869 Q3525572 Q73314 Q1275676 Q4530036 Q42544 Q208359 Q1703552 Q47434 Q155764 Q1469192 Q26727497 Q455618 Q789770 Q378629 Q26863601 Q1526959 Q957174 Q24716557 Q18215092 Q132537 Q1294089 Q3888783 Q4820864 Q21064904 Q116003 Q1215530 Q156774 Q817600 Q233669 Q2375310 Q1268371 Q354612 Q26162501 Q157501 Q37621 Q807098 Q486886 Q1113837 Q173893 Q26646814 Q117763 Q26706969 Q656317 Q645138 Q2512005 Q935 Q1736643 Q12407488 Q3571438 Q3810279 Q7412249 Q45838 Q1618852 Q1163753 Q26839360 Q4419165 Q783318 Q2053636 Q820328 Q11812 Q23583654 Q201484 Q21993525 Q6286234 Q1335413 Q2343886 Q13814259 Q215644 Q34597 Q472071 Q1331491 Q12325 Q3084947 Q374118 Q9353 Q21253959 Q26736154 Q23765769 Q8011973 Q5482925 Q1593895 Q206384 Q18910558 Q2475124 Q364264 Q11816 Q1222747 Q84403 Q11813 Q555575 Q132065 Q673718 Q57106 Q200397 Q35498 Q19959384 Q1895389 Q1328787 Q553892 Q17322522 Q23449974 Q3181405 Q166234 Q559213 Q328969 Q35686 Q2706259 Q316556 Q369366 Q1895924 Q213754 Q11806 Q497560 Q1231843 Q6525197 Q13060206 Q471406 Q395340 Q23967602 Q1532157 Q3112766 Q1201342 Q793107 Q599839 Q17455 Q6226423 Q4887795 Q11891 Q2579794
AND((c(Q502895),P1412,Q1860), (c(Q502895),P1412,Q397))
action filter_type
action intersection
action find_reverse
entity Q1860
relation P1412
action find_reverse
entity Q397
relation P1412
type Q502895
[ANSWERS] talk in English and Latin
{'AND': [[{'concept': 'Q502895'}, 'P1412', 'Q1860'], [{'concept': 'Q502895'}, 'P1412', 'Q397']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P1412 resource:Q397 . ?w property:P1412 resource:Q1860 }
Karl Vollmöller Bettina Eva Stumpp Michaela Fuchs Michel Christol Francis Bacon Joseph Merkel Sarah B. Pomeroy Wim Crusio Richard Crashaw William Percy Anne-Maria Wittke Herbert Hoover Heinrich Schlange-Schöningen Carlo Scardino Max Meyerhof John Tyler Michel Maittaire Angela Berthold Alexander Adam James Ussher André Chastagnol Wolfgang Amadeus Mozart Lilian Maul-Balensiefen John Milton William Henry Harrison Thomas Smith Wilhelm Kroll Michael Zahrnt Lucy Aikin Thomas More John Wallis Joost Hazenbos Edmund Halley Robert Brown Gedeon Ács Olwen Brogan Thomas Campion Michail Balugjanski John Lindley Bärbel Morstadt Thomas Morell Hendrik de Wit Maximilian Braun Patrick Le Roux J. Robert Oppenheimer Rolf Rilinger José-Apeles Santolaria de Puey y Cruells August von Krempelhuber Friedrich Schmidtke Henri François Pittier Terence Tunberg Pedro II of Brazil Benjamin Lincoln Robinson Lou Henry Hoover Albertine Necker de Saussure Ralf von den Hoff Leonard Plukenet Meret Strothmann Joseph Dalton Hooker Thomas Hobbes Baptist Mudartha Archbishop Anastasios of Albania Philip Barker Webb John Wycliffe Robert Pierce Casey Giuseppe Caspar Mezzofanti Edith Eccles Richard Rowlands Walter Savage Landor Veikko Väänänen Isaac Newton Katja Lembke Haiim B. Rosén Joaquín Lorenzo Villanueva Joseph Tusiani Samuel Musgrave Kenelm Digby Hilmar Klinkott Daniele Manin Ulrike Peter Jaime Siles William Dugdale Ranulf de Glanvill Wilhelm Theodor Schiefler Thomas Jefferson Fabio Acerbi John Dee Imre Alajos Szerecz Joseph Phillimore John of Fordun Stephan Steingräber Marc Boone Caspar René Gregory James A. Garfield Max Beerbohm Elke Hartmann James Buchanan François Jacques Adrian Scheidegger John Locke Ann Heirman Kai Lämmerhirt Bazilije Pandžić William Henry Elder Francis de Zulueta Heide Frielinghaus Joseph Addison Edward Seymour Forster Ulla Kreilinger John William Polidori John Quincy Adams Dieter Salzmann Harry C. Schnur James Madison Francis Willughby Nennius Rémi Mathis Heinrich Schliemann Abraham de Moivre Chester A. Arthur Wolfgang Ernst Margot Schmidt Veit Rosenberger Lipke Holthuis James Noel Adams László Budai John Earle Ugo Foscolo Thomas Sydenham Glenn W. Most Rutherford B. Hayes Richard Cumberland János Arany Matthew Paris Maria H. Dettenhofer Isaac Jacob Schmidt John Adams Andreas Graeber Roger of Hoveden Leonard Cox Harinath De Elias Ashmole Agop Dilaçar Teodor Mianowski Stefan Altekamp Isaac Vossius Detlef Rößler György Benyik Frans Stafleu John von Neumann John Clyn Bengt Fredrik Fries James K. Polk William M. Calder III
Edith Eccles, John Quincy Adams, Leonard Cox, Andreas Graeber, Heide Frielinghaus, James Madison, Francis de Zulueta, Marc Boone, Dieter Salzmann and Bärbel Morstadt talk in English and Latin
Edith Eccles John Quincy Adams Leonard Cox Andreas Graeber Heide Frielinghaus James Madison Francis de Zulueta Marc Boone Dieter Salzmann Bärbel Morstadt
action filter_type
action intersection
action find_reverse
entity English
relation languages spoken, written or signed
action find_reverse
entity Latin
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'English'], [{'concept': 'common name'}, 'languages spoken, written or signed', 'Latin']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:languages_spoken,_written_or_signed resource:Latin . ?w property:languages_spoken,_written_or_signed resource:English }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q26706969 Q11816 Q6525197 Q497560 Q1593895 Q11813 Q5482925 Q13814259 Q1222747 Q26863601
P21
Q290
USER
Which sexes do those people belong to ?
(Q26706969,P21,c(Q290)) (Q11816,P21,c(Q290)) (Q6525197,P21,c(Q290)) (Q497560,P21,c(Q290)) (Q1593895,P21,c(Q290)) (Q11813,P21,c(Q290)) (Q5482925,P21,c(Q290)) (Q13814259,P21,c(Q290)) (Q1222747,P21,c(Q290)) (Q26863601,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q26706969', 'P21', {'concept': 'Q290'}] ['Q11816', 'P21', {'concept': 'Q290'}] ['Q6525197', 'P21', {'concept': 'Q290'}] ['Q497560', 'P21', {'concept': 'Q290'}] ['Q1593895', 'P21', {'concept': 'Q290'}] ['Q11813', 'P21', {'concept': 'Q290'}] ['Q5482925', 'P21', {'concept': 'Q290'}] ['Q13814259', 'P21', {'concept': 'Q290'}] ['Q1222747', 'P21', {'concept': 'Q290'}] ['Q26863601', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?w ) { ( resource:Q96028 ) ( resource:Q26849152 ) ( resource:Q1763673 ) } . ?y rdf:type ontology:Q290 . ?w property:P21 ?y }
Edith Eccles John Quincy Adams Leonard Cox Andreas Graeber Heide Frielinghaus James Madison Francis de Zulueta Marc Boone Dieter Salzmann Bärbel Morstadt
action filter_type
action find
entity prev_answer
relation gender
type sex
['Edith Eccles', 'gender', {'concept': 'sex'}] ['John Quincy Adams', 'gender', {'concept': 'sex'}] ['Leonard Cox', 'gender', {'concept': 'sex'}] ['Andreas Graeber', 'gender', {'concept': 'sex'}] ['Heide Frielinghaus', 'gender', {'concept': 'sex'}] ['James Madison', 'gender', {'concept': 'sex'}] ['Francis de Zulueta', 'gender', {'concept': 'sex'}] ['Marc Boone', 'gender', {'concept': 'sex'}] ['Dieter Salzmann', 'gender', {'concept': 'sex'}] ['Bärbel Morstadt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?w ) { ( resource:Karl_Vollmöller ) ( resource:Bettina_Eva_Stumpp ) ( resource:Michaela_Fuchs ) } . ?y rdf:type ontology:sex . ?w property:gender ?y }
[]
sex
Q6581072 Q6581097 Q6581097
SYSTEM
male for 2nd, 3rd, female for 1st
Q6581072 Q6581097 Q6581097 Q6581097 Q6581072 Q6581097 Q6581097 Q6581097 Q6581097 Q6581072
(Q26706969,P21,c(Q290)) (Q11816,P21,c(Q290)) (Q6525197,P21,c(Q290)) (Q497560,P21,c(Q290)) (Q1593895,P21,c(Q290)) (Q11813,P21,c(Q290)) (Q5482925,P21,c(Q290)) (Q13814259,P21,c(Q290)) (Q1222747,P21,c(Q290)) (Q26863601,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q26706969', 'P21', {'concept': 'Q290'}] ['Q11816', 'P21', {'concept': 'Q290'}] ['Q6525197', 'P21', {'concept': 'Q290'}] ['Q497560', 'P21', {'concept': 'Q290'}] ['Q1593895', 'P21', {'concept': 'Q290'}] ['Q11813', 'P21', {'concept': 'Q290'}] ['Q5482925', 'P21', {'concept': 'Q290'}] ['Q13814259', 'P21', {'concept': 'Q290'}] ['Q1222747', 'P21', {'concept': 'Q290'}] ['Q26863601', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?w ) { ( resource:Q96028 ) ( resource:Q26849152 ) ( resource:Q1763673 ) } . ?y rdf:type ontology:Q290 . ?w property:P21 ?y }
female male male male female male male male male female
Those people belong to female, male and male
female male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Edith Eccles', 'gender', {'concept': 'sex'}] ['John Quincy Adams', 'gender', {'concept': 'sex'}] ['Leonard Cox', 'gender', {'concept': 'sex'}] ['Andreas Graeber', 'gender', {'concept': 'sex'}] ['Heide Frielinghaus', 'gender', {'concept': 'sex'}] ['James Madison', 'gender', {'concept': 'sex'}] ['Francis de Zulueta', 'gender', {'concept': 'sex'}] ['Marc Boone', 'gender', {'concept': 'sex'}] ['Dieter Salzmann', 'gender', {'concept': 'sex'}] ['Bärbel Morstadt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?w ) { ( resource:Karl_Vollmöller ) ( resource:Bettina_Eva_Stumpp ) ( resource:Michaela_Fuchs ) } . ?y rdf:type ontology:sex . ?w property:gender ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11816
P1038
Q502895
USER
Who is a relative of John Quincy Adams ?
(c(Q502895),P1038,Q11816)
action filter_type
action find_reverse
entity Q11816
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q11816']
SELECT DISTINCT ?x WHERE { ?x property:P1038 resource:Q11816 . ?x rdf:type ontology:Q502895 }
John Quincy Adams
action filter_type
action find_reverse
entity John Quincy Adams
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'John Quincy Adams']
SELECT DISTINCT ?x WHERE { ?x property:relative resource:John_Quincy_Adams . ?x rdf:type ontology:common_name }
[]
common name
Q458390
SYSTEM
Henry Adams
Q458390
(c(Q502895),P1038,Q11816)
action filter_type
action find_reverse
entity Q11816
relation P1038
type Q502895
A relative of John Quincy Adams is John [ANSWER]
[{'concept': 'Q502895'}, 'P1038', 'Q11816']
SELECT DISTINCT ?x WHERE { ?x property:P1038 resource:Q11816 . ?x rdf:type ontology:Q502895 }
Henry Adams
A relative of John Quincy Adams is John Henry Adams
Henry Adams
action filter_type
action find_reverse
entity John Quincy Adams
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'John Quincy Adams']
SELECT DISTINCT ?x WHERE { ?x property:relative resource:John_Quincy_Adams . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11816
P22
Q502895
USER
Which people have John Quincy Adams as a parent ?
(c(Q502895),P22,Q11816)
action filter_type
action find_reverse
entity Q11816
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q11816']
SELECT DISTINCT ?e WHERE { ?e property:P22 resource:Q11816 . ?e rdf:type ontology:Q502895 }
John Quincy Adams
action filter_type
action find_reverse
entity John Quincy Adams
relation father
type common name
[{'concept': 'common name'}, 'father', 'John Quincy Adams']
SELECT DISTINCT ?e WHERE { ?e property:father resource:John_Quincy_Adams . ?e rdf:type ontology:common_name }
[]
common name
Q75174 Q5545922 Q6218218
SYSTEM
Charles Francis Adams, Sr., George Washington Adams, John Adams II
Q75174 Q5545922 Q6218218
(c(Q502895),P22,Q11816)
action filter_type
action find_reverse
entity Q11816
relation P22
type Q502895
[ANSWERS] have John Quincy Adams as a parent
[{'concept': 'Q502895'}, 'P22', 'Q11816']
SELECT DISTINCT ?e WHERE { ?e property:P22 resource:Q11816 . ?e rdf:type ontology:Q502895 }
Charles Francis Adams, Sr. George Washington Adams John Adams II
Charles Francis Adams, Sr., George Washington Adams and John Adams II have John Quincy Adams as a parent
Charles Francis Adams, Sr. George Washington Adams John Adams II
action filter_type
action find_reverse
entity John Quincy Adams
relation father
type common name
[{'concept': 'common name'}, 'father', 'John Quincy Adams']
SELECT DISTINCT ?e WHERE { ?e property:father resource:John_Quincy_Adams . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q75174 Q5545922 Q6218218
P69
Q163740
USER
Which nonprofit organizations were those people educated at ?
(Q75174,P69,c(Q163740)) (Q5545922,P69,c(Q163740)) (Q6218218,P69,c(Q163740))
action filter_type
action find
entity prev_answer
relation P69
type Q163740
['Q75174', 'P69', {'concept': 'Q163740'}] ['Q5545922', 'P69', {'concept': 'Q163740'}] ['Q6218218', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?t WHERE { ?q property:P69 ?t . ?t rdf:type ontology:Q163740 . VALUES ( ?q ) { ( resource:Q75174 ) ( resource:Q5545922 ) ( resource:Q6218218 ) } }
Charles Francis Adams, Sr. George Washington Adams John Adams II
action filter_type
action find
entity prev_answer
relation educated at
type nonprofit organization
['Charles Francis Adams, Sr.', 'educated at', {'concept': 'nonprofit organization'}] ['George Washington Adams', 'educated at', {'concept': 'nonprofit organization'}] ['John Adams II', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?t WHERE { ?q property:educated_at ?t . ?t rdf:type ontology:nonprofit_organization . VALUES ( ?q ) { ( resource:Charles_Francis_Adams,_Sr. ) ( resource:George_Washington_Adams ) ( resource:John_Adams_II ) } }
[]
nonprofit organization
Q13371 Q13371 Q13371
SYSTEM
Harvard University
Q13371 Q13371 Q13371
(Q75174,P69,c(Q163740)) (Q5545922,P69,c(Q163740)) (Q6218218,P69,c(Q163740))
action filter_type
action find
entity prev_answer
relation P69
type Q163740
Those people were educated at [ANSWER], [ANSWER] and [ANSWER]
['Q75174', 'P69', {'concept': 'Q163740'}] ['Q5545922', 'P69', {'concept': 'Q163740'}] ['Q6218218', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?t WHERE { ?q property:P69 ?t . ?t rdf:type ontology:Q163740 . VALUES ( ?q ) { ( resource:Q75174 ) ( resource:Q5545922 ) ( resource:Q6218218 ) } }
Harvard University Harvard University Harvard University
Those people were educated at Harvard University, Harvard University and Harvard University
Harvard University Harvard University Harvard University
action filter_type
action find
entity prev_answer
relation educated at
type nonprofit organization
['Charles Francis Adams, Sr.', 'educated at', {'concept': 'nonprofit organization'}] ['George Washington Adams', 'educated at', {'concept': 'nonprofit organization'}] ['John Adams II', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?t WHERE { ?q property:educated_at ?t . ?t rdf:type ontology:nonprofit_organization . VALUES ( ?q ) { ( resource:Charles_Francis_Adams,_Sr. ) ( resource:George_Washington_Adams ) ( resource:John_Adams_II ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11816
P26
Q502895
USER
Which person is the spouse of John Quincy Adams ?
(Q11816,P26,c(Q502895))
action filter_type
action find
entity Q11816
relation P26
type Q502895
['Q11816', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q11816 property:P26 ?a . ?a rdf:type ontology:Q502895 }
John Quincy Adams
action filter_type
action find
entity John Quincy Adams
relation spouse
type common name
['John Quincy Adams', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:John_Quincy_Adams property:spouse ?a . ?a rdf:type ontology:common_name }
[]
common name
Q233660
SYSTEM
Louisa Adams
Q233660
(Q11816,P26,c(Q502895))
action filter_type
action find
entity Q11816
relation P26
type Q502895
[ANSWER] is the spouse of John Quincy Adams
['Q11816', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q11816 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Louisa Adams
Louisa Adams is the spouse of John Quincy Adams
Louisa Adams
action filter_type
action find
entity John Quincy Adams
relation spouse
type common name
['John Quincy Adams', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:John_Quincy_Adams property:spouse ?a . ?a rdf:type ontology:common_name }
[]