Simple Question (Direct)
Simple Question
Q1409431
P166
Q618779
USER
Which awards were received by Johannes Hanselmann ?
(Q1409431,P166,c(Q618779))
action filter_type
action find
entity Q1409431
relation P166
type Q618779
['Q1409431', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q1409431 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Johannes Hanselmann
action filter_type
action find
entity Johannes Hanselmann
relation award received
type award
['Johannes Hanselmann', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Johannes_Hanselmann property:award_received ?j . ?j rdf:type ontology:award }
[]
award
Q672787 Q10905276
SYSTEM
Bavarian Order of Merit, Commander's Cross of the Order of Merit of the Federal Republic of Germany
Q672787 Q10905276
(Q1409431,P166,c(Q618779))
action filter_type
action find
entity Q1409431
relation P166
type Q618779
[ANSWERS] were received by Johannes Hanselmann
['Q1409431', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q1409431 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Bavarian Order of Merit Commander's Cross of the Order of Merit of the Federal Republic of Germany
Bavarian Order of Merit and Commander's Cross of the Order of Merit of the Federal Republic of Germany were received by Johannes Hanselmann
Bavarian Order of Merit Commander's Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Johannes Hanselmann
relation award received
type award
['Johannes Hanselmann', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Johannes_Hanselmann property:award_received ?j . ?j rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1409431
P19
Q15617994
USER
Which administrative territory was Johannes Hanselmann born at ?
(Q1409431,P19,c(Q15617994))
action filter_type
action find
entity Q1409431
relation P19
type Q15617994
['Q1409431', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1409431 property:P19 ?k . ?k rdf:type ontology:Q15617994 }
Johannes Hanselmann
action filter_type
action find
entity Johannes Hanselmann
relation place of birth
type designation for an administrative territorial entity
['Johannes Hanselmann', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Johannes_Hanselmann property:place_of_birth ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q503550
SYSTEM
Ehingen am Ries
Q503550
(Q1409431,P19,c(Q15617994))
action filter_type
action find
entity Q1409431
relation P19
type Q15617994
Johannes Hanselmann was born in [ANSWER]
['Q1409431', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1409431 property:P19 ?k . ?k rdf:type ontology:Q15617994 }
Ehingen am Ries
Johannes Hanselmann was born in Ehingen am Ries
Ehingen am Ries
action filter_type
action find
entity Johannes Hanselmann
relation place of birth
type designation for an administrative territorial entity
['Johannes Hanselmann', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Johannes_Hanselmann property:place_of_birth ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q503550 Q183
P17
Q1048835
USER
Is that administrative territory situated in Germany ?
(Q503550,P17,Q183)
action is_in
entity Q183
action find
entity Q503550
relation P17
['Q503550', 'P17', 'Q183']
ASK WHERE { resource:Q503550 property:P17 resource:Q183 }
Ehingen am Ries Germany
action is_in
entity Germany
action find
entity Ehingen am Ries
relation country
['Ehingen am Ries', 'country', 'Germany']
ASK WHERE { resource:Ehingen_am_Ries property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q503550,P17,Q183)
action is_in
entity Q183
action find
entity Q503550
relation P17
[ANSWER]
['Q503550', 'P17', 'Q183']
ASK WHERE { resource:Q503550 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Ehingen am Ries
relation country
['Ehingen am Ries', 'country', 'Germany']
ASK WHERE { resource:Ehingen_am_Ries property:country resource:Germany }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q155 Q183
P27
Q502895
USER
Which people are a citizen of Germany and Brazil ?
AND((c(Q502895),P27,Q183), (c(Q502895),P27,Q155))
action filter_type
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q155
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q183'], [{'concept': 'Q502895'}, 'P27', 'Q155']]}
SELECT DISTINCT ?z WHERE { ?z property:P27 resource:Q183 . ?z property:P27 resource:Q155 . ?z rdf:type ontology:Q502895 }
Brazil Germany
action filter_type
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Brazil
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Germany'], [{'concept': 'common name'}, 'country of citizenship', 'Brazil']]}
SELECT DISTINCT ?z WHERE { ?z property:country_of_citizenship resource:Germany . ?z property:country_of_citizenship resource:Brazil . ?z rdf:type ontology:common_name }
[]
common name
Q640714 Q993894 Q2529631 Q89077 Q126496 Q315106 Q69846 Q96674 Q57148 Q1226497
SYSTEM
Some of them are Rafael Scheidt, Bruno Valentin, Ludwig Riedel, Johann Baptist Reus, Christina Do Rego, Hans-Joachim Koellreutter, Helmut Sick, Reinaldo Pünder, Cacau, Ernst Bresslau
Q21281876 Q74053 Q73740 Q121112 Q1673195 Q95711 Q87506 Q87310 Q62761 Q78023 Q1583742 Q315106 Q71049 Q69846 Q21781560 Q2391720 Q87493 Q1493307 Q993894 Q18629127 Q100683 Q78122 Q89077 Q633419 Q640714 Q62086 Q90581 Q695858 Q2062859 Q15430108 Q15300532 Q111439 Q78312 Q105379 Q126496 Q2529631 Q77526 Q86636 Q4755595 Q1226497 Q62120 Q1526579 Q696021 Q66161 Q1447135 Q96674 Q152968 Q70437 Q73230 Q5395079 Q1162995 Q2172877 Q1606371 Q58762 Q870676 Q57167 Q1445171 Q85606 Q10278441 Q57148 Q75924 Q14378770
AND((c(Q502895),P27,Q183), (c(Q502895),P27,Q155))
action filter_type
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q155
relation P27
type Q502895
[ANSWERS] are a citizen of Germany and Brazil
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q183'], [{'concept': 'Q502895'}, 'P27', 'Q155']]}
SELECT DISTINCT ?z WHERE { ?z property:P27 resource:Q183 . ?z property:P27 resource:Q155 . ?z rdf:type ontology:Q502895 }
Heinrich Hauptmann Hermann Blumenau Ludwig Engels Wilfried Berk Milo Harbich Herbert Heinicke Carlos Kloppenburg Conrado Walter Hermann von Ihering Júlia da Silva Bruhns Hansen Bahia Hans-Joachim Koellreutter O. E. H. Wucherer Helmut Sick Luan Gummich Tammo tom Dieck Hans Stern Alexander Kamianecky Bruno Valentin Meinhard Jacoby Fritz Plaumann Marcelo Pletsch Johann Baptist Reus Walter Lewy Rafael Scheidt Fritz Müller Anatol Rosenfeld Paulo Rink Paul Vageler Nathalie Lucia Hahnen Ernst Gustav Gotthelf Marcus Richard Katz Henrique Johannpötter Ray-Güde Mertin Christina Do Rego Ludwig Riedel Olga Benário Prestes Julius Frank Andreas Pavel Ernst Bresslau Tomas Behrend Renan Wagner Prince Ludwig August of Saxe-Coburg-Kohary Emilie Snethlage Adolf Franz Heep Reinaldo Pünder Kevin Kurányi Perry Broad Curt Nimuendajú Ernst Mehlich Daniel Vier Rudolf Hausmann Heinrich Lemle Dedê Hermann Friese Zé Roberto Franklin Bittencourt Achim Steiner Evaristo Conrado Engelberg Cacau Caio Koch-Weser Hans Stammreich
Rafael Scheidt, Bruno Valentin, Ludwig Riedel, Johann Baptist Reus, Christina Do Rego, Hans-Joachim Koellreutter, Helmut Sick, Reinaldo Pünder, Cacau and Ernst Bresslau are a citizen of Germany and Brazil
Rafael Scheidt Bruno Valentin Ludwig Riedel Johann Baptist Reus Christina Do Rego Hans-Joachim Koellreutter Helmut Sick Reinaldo Pünder Cacau Ernst Bresslau
action filter_type
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Brazil
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Germany'], [{'concept': 'common name'}, 'country of citizenship', 'Brazil']]}
SELECT DISTINCT ?z WHERE { ?z property:country_of_citizenship resource:Germany . ?z property:country_of_citizenship resource:Brazil . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q191067 Q163740 Q502895
USER
Which people have been acknowledged in approximately 1 articles and nonprofit organizations ?
(c(Q502895),P248,c(Q191067)|c(Q163740))
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q191067
action find_tuple_counts
relation P248
type Q502895
type Q163740
value 1
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q191067'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?d ) { ( ontology:Q191067 ) ( ontology:Q163740 ) } . ?v rdf:type ?d } GROUP BY ?a } . FILTER ( ?t = 1 ) }
action approx
action union
action find_tuple_counts
relation stated in
type common name
type article
action find_tuple_counts
relation stated in
type common name
type nonprofit organization
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'article'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?d ) { ( ontology:article ) ( ontology:nonprofit_organization ) } . ?v rdf:type ?d } GROUP BY ?a } . FILTER ( ?t = 1 ) }
[]
article nonprofit organization common name
Q5537324 Q15994621 Q5233453
SYSTEM
George Brown, John Martin, David Evans
Q6260667 Q16062974 Q16857953 Q15994621 Q15994622 Q5233453 Q6221424 Q15994581 Q16859187 Q6237318 Q6145005 Q5537324
(c(Q502895),P248,c(Q191067)|c(Q163740))
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q191067
action find_tuple_counts
relation P248
type Q502895
type Q163740
value 1
[ANSWERS] have been acknowledged in approximately 1 articles and nonprofit organizations
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q191067'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?d ) { ( ontology:Q191067 ) ( ontology:Q163740 ) } . ?v rdf:type ?d } GROUP BY ?a } . FILTER ( ?t = 1 ) }
John Thompson James Walker John Martin John Martin John Martin David Evans John Bell John Lewis James Walker John Hall James Walker George Brown
George Brown, John Martin and David Evans have been acknowledged in approximately 1 articles and nonprofit organizations
George Brown John Martin David Evans
action approx
action union
action find_tuple_counts
relation stated in
type common name
type article
action find_tuple_counts
relation stated in
type common name
type nonprofit organization
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'article'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?d ) { ( ontology:article ) ( ontology:nonprofit_organization ) } . ?v rdf:type ?d } GROUP BY ?a } . FILTER ( ?t = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5233453
P69
Q163740
USER
Which nonprofit organizations are that person an alumni of ?
(Q5233453,P69,c(Q163740))
action filter_type
action find
entity Q5233453
relation P69
type Q163740
['Q5233453', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { resource:Q5233453 property:P69 ?g . ?g rdf:type ontology:Q163740 }
David Evans
action filter_type
action find
entity David Evans
relation educated at
type nonprofit organization
['David Evans', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { resource:David_Evans property:educated_at ?g . ?g rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Clarification for simple ques.
Q5537324
SYSTEM
Did you mean George Brown ?
Q5537324 Q15994621 Q5233453
(Q5537324,P69,c(Q163740)) (Q15994621,P69,c(Q163740)) (Q5233453,P69,c(Q163740))
[ANSWER]
['Q5537324', 'P69', {'concept': 'Q163740'}] ['Q15994621', 'P69', {'concept': 'Q163740'}] ['Q5233453', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { resource:Q5233453 property:P69 ?g . ?g rdf:type ontology:Q163740 }
George Brown John Martin David Evans
Did you mean George Brown ?
George Brown
['George Brown', 'educated at', {'concept': 'nonprofit organization'}] ['John Martin', 'educated at', {'concept': 'nonprofit organization'}] ['David Evans', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { resource:David_Evans property:educated_at ?g . ?g rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
USER
No, I meant David Evans. Could you tell me the answer for that?
(Q5233453,P69,c(Q163740))
Q5233453
['Q5233453', 'P69', {'concept': 'Q163740'}]
['David Evans', 'educated at', {'concept': 'nonprofit organization'}]
[]
Q161562 Q49112
SYSTEM
California Institute of Technology, Yale University
Q161562 Q49112
(Q5233453,P69,c(Q163740))
action filter_type
action find
entity Q5233453
relation P69
type Q163740
[ANSWERS] are that person an alumni of
['Q5233453', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { resource:Q5233453 property:P69 ?g . ?g rdf:type ontology:Q163740 }
California Institute of Technology Yale University
California Institute of Technology and Yale University are that person an alumni of
California Institute of Technology Yale University
action filter_type
action find
entity David Evans
relation educated at
type nonprofit organization
['David Evans', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { resource:David_Evans property:educated_at ?g . ?g rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q161562 Q49112
P17
Q15617994
USER
Which administrative territories are California Institute of Technology and Yale University situated in ?
(Q161562,P17,c(Q15617994)) (Q49112,P17,c(Q15617994))
action union
action filter_type
action find
entity Q161562
relation P17
type Q15617994
action filter_type
action find
entity Q49112
relation P17
type Q15617994
['Q161562', 'P17', {'concept': 'Q15617994'}] ['Q49112', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?n property:P17 ?i . VALUES ( ?n ) { ( resource:Q161562 ) ( resource:Q49112 ) } }
California Institute of Technology Yale University
action union
action filter_type
action find
entity California Institute of Technology
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Yale University
relation country
type designation for an administrative territorial entity
['California Institute of Technology', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Yale University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?n property:country ?i . VALUES ( ?n ) { ( resource:California_Institute_of_Technology ) ( resource:Yale_University ) } }
[]
designation for an administrative territorial entity
Q30 Q30
SYSTEM
United States of America
Q30 Q30
(Q161562,P17,c(Q15617994)) (Q49112,P17,c(Q15617994))
action union
action filter_type
action find
entity Q161562
relation P17
type Q15617994
action filter_type
action find
entity Q49112
relation P17
type Q15617994
California Institute of Technology and Yale University are situated in [ANSWER] and [ANSWER]
['Q161562', 'P17', {'concept': 'Q15617994'}] ['Q49112', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?n property:P17 ?i . VALUES ( ?n ) { ( resource:Q161562 ) ( resource:Q49112 ) } }
United States of America United States of America
California Institute of Technology and Yale University are situated in United States of America and United States of America
United States of America United States of America
action union
action filter_type
action find
entity California Institute of Technology
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Yale University
relation country
type designation for an administrative territorial entity
['California Institute of Technology', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Yale University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?n property:country ?i . VALUES ( ?n ) { ( resource:California_Institute_of_Technology ) ( resource:Yale_University ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5233453
P108
Q163740
USER
Who is the employer of David Evans ?
(Q5233453,P108,c(Q163740))
action filter_type
action find
entity Q5233453
relation P108
type Q163740
['Q5233453', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?r WHERE { resource:Q5233453 property:P108 ?r . ?r rdf:type ontology:Q163740 }
David Evans
action filter_type
action find
entity David Evans
relation employer
type nonprofit organization
['David Evans', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?r WHERE { resource:David_Evans property:employer ?r . ?r rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q5233453,P108,c(Q163740))
action filter_type
action find
entity Q5233453
relation P108
type Q163740
The employer of David Evans is the [ANSWER]
['Q5233453', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?r WHERE { resource:Q5233453 property:P108 ?r . ?r rdf:type ontology:Q163740 }
Yale University
The employer of David Evans is the Yale University
Yale University
action filter_type
action find
entity David Evans
relation employer
type nonprofit organization
['David Evans', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?r WHERE { resource:David_Evans property:employer ?r . ?r rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5233453
P101
Q5962346
USER
Which classification scheme is the field of work of David Evans ?
(Q5233453,P101,c(Q5962346))
action filter_type
action find
entity Q5233453
relation P101
type Q5962346
['Q5233453', 'P101', {'concept': 'Q5962346'}]
SELECT DISTINCT ?a WHERE { resource:Q5233453 property:P101 ?a . ?a rdf:type ontology:Q5962346 }
David Evans
action filter_type
action find
entity David Evans
relation field of work
type classification scheme
['David Evans', 'field of work', {'concept': 'classification scheme'}]
SELECT DISTINCT ?a WHERE { resource:David_Evans property:field_of_work ?a . ?a rdf:type ontology:classification_scheme }
[]
classification scheme
Q853422
SYSTEM
Paleomagnetism
Q853422
(Q5233453,P101,c(Q5962346))
action filter_type
action find
entity Q5233453
relation P101
type Q5962346
[ANSWER] is the field of work of David Evans
['Q5233453', 'P101', {'concept': 'Q5962346'}]
SELECT DISTINCT ?a WHERE { resource:Q5233453 property:P101 ?a . ?a rdf:type ontology:Q5962346 }
Paleomagnetism
Paleomagnetism is the field of work of David Evans
Paleomagnetism
action filter_type
action find
entity David Evans
relation field of work
type classification scheme
['David Evans', 'field of work', {'concept': 'classification scheme'}]
SELECT DISTINCT ?a WHERE { resource:David_Evans property:field_of_work ?a . ?a rdf:type ontology:classification_scheme }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5233453
P106
Q12737077
USER
What is the profession of that person ?
(Q853422,P106,c(Q12737077))
action filter_type
action find
entity Q5233453
relation P106
type Q12737077
['Q853422', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5233453 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
David Evans
action filter_type
action find
entity David Evans
relation occupation
type occupation
['Paleomagnetism', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:David_Evans property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q520549
SYSTEM
geologist
Q520549
(Q853422,P106,c(Q12737077))
action filter_type
action find
entity Q5233453
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q853422', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5233453 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
geologist
The profession of that person is a geologist
geologist
action filter_type
action find
entity David Evans
relation occupation
type occupation
['Paleomagnetism', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:David_Evans property:occupation ?k . ?k rdf:type ontology:occupation }
[]