Simple Question (Direct)
Simple Question
Q26206827
P106
Q12737077
USER
What do André Béguin do for a living ?
(Q26206827,P106,c(Q12737077))
action filter_type
action find
entity Q26206827
relation P106
type Q12737077
['Q26206827', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q26206827 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
André Béguin
action filter_type
action find
entity André Béguin
relation occupation
type occupation
['André Béguin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:André_Béguin property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q1607826 Q175151 Q1792450
SYSTEM
editor, printer, art historian
Q1607826 Q175151 Q1792450 Q15296811 Q11569986
(Q26206827,P106,c(Q12737077))
action filter_type
action find
entity Q26206827
relation P106
type Q12737077
[ANSWERS]
['Q26206827', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q26206827 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
editor printer art historian draughtsperson printmaker
editor printer art historian
action filter_type
action find
entity André Béguin
relation occupation
type occupation
['André Béguin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:André_Béguin property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q175151
P425
Q1914636
USER
Who has that one as the associated field of occupation ?
(Q175151,P425,c(Q1914636))
action filter_type
action find
entity Q175151
relation P425
type Q1914636
['Q175151', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1914636 . resource:Q175151 property:P425 ?t }
printer
action filter_type
action find
entity printer
relation field of this occupation
type activity
['printer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:activity . resource:printer property:field_of_this_occupation ?t }
[]
activity
Clarification for simple ques.
Q1792450
SYSTEM
Did you mean art historian ?
Q1607826 Q175151 Q1792450
(Q1607826,P425,c(Q1914636)) (Q175151,P425,c(Q1914636)) (Q1792450,P425,c(Q1914636))
[ANSWER]
['Q1607826', 'P425', {'concept': 'Q1914636'}] ['Q175151', 'P425', {'concept': 'Q1914636'}] ['Q1792450', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1914636 . resource:Q175151 property:P425 ?t }
editor printer art historian
Did you mean art historian ?
art historian
['editor', 'field of this occupation', {'concept': 'activity'}] ['printer', 'field of this occupation', {'concept': 'activity'}] ['art historian', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:activity . resource:printer property:field_of_this_occupation ?t }
[]
Simple Question (Coreferenced)
USER
No, I meant printer. Could you tell me the answer for that?
(Q175151,P425,c(Q1914636))
Q175151
['Q175151', 'P425', {'concept': 'Q1914636'}]
['printer', 'field of this occupation', {'concept': 'activity'}]
[]
Q11034
SYSTEM
printing
Q11034
(Q175151,P425,c(Q1914636))
action filter_type
action find
entity Q175151
relation P425
type Q1914636
[ANSWER]
['Q175151', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1914636 . resource:Q175151 property:P425 ?t }
printing
printing
action filter_type
action find
entity printer
relation field of this occupation
type activity
['printer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:activity . resource:printer property:field_of_this_occupation ?t }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q12299841 Q1607826
P106
Q502895
USER
Which people have the profession of editor and cricketer ?
AND((c(Q502895),P106,Q1607826), (c(Q502895),P106,Q12299841))
action filter_type
action intersection
action find_reverse
entity Q1607826
relation P106
action find_reverse
entity Q12299841
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q1607826'], [{'concept': 'Q502895'}, 'P106', 'Q12299841']]}
SELECT DISTINCT ?d WHERE { ?d property:P106 resource:Q1607826 . ?d property:P106 resource:Q12299841 . ?d rdf:type ontology:Q502895 }
cricketer editor
action filter_type
action intersection
action find_reverse
entity editor
relation occupation
action find_reverse
entity cricketer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'editor'], [{'concept': 'common name'}, 'occupation', 'cricketer']]}
SELECT DISTINCT ?d WHERE { ?d property:occupation resource:editor . ?d property:occupation resource:cricketer . ?d rdf:type ontology:common_name }
[]
common name
Q7364667 Q4760345 Q4893234 Q469899 Q5212225
SYSTEM
Ronald Barnes, 3rd Baron Gorell, Andy Afford, Bernard Hollowood, Charlie Buchan, Damian Brandy
Q7364667 Q4760345 Q4893234 Q469899 Q5212225
AND((c(Q502895),P106,Q1607826), (c(Q502895),P106,Q12299841))
action filter_type
action intersection
action find_reverse
entity Q1607826
relation P106
action find_reverse
entity Q12299841
relation P106
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q1607826'], [{'concept': 'Q502895'}, 'P106', 'Q12299841']]}
SELECT DISTINCT ?d WHERE { ?d property:P106 resource:Q1607826 . ?d property:P106 resource:Q12299841 . ?d rdf:type ontology:Q502895 }
Ronald Barnes, 3rd Baron Gorell Andy Afford Bernard Hollowood Charlie Buchan Damian Brandy
Ronald Barnes, 3rd Baron Gorell Andy Afford Bernard Hollowood Charlie Buchan Damian Brandy
action filter_type
action intersection
action find_reverse
entity editor
relation occupation
action find_reverse
entity cricketer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'editor'], [{'concept': 'common name'}, 'occupation', 'cricketer']]}
SELECT DISTINCT ?d WHERE { ?d property:occupation resource:editor . ?d property:occupation resource:cricketer . ?d rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are the native countriesof that person ?
(Q469899,P27,c(Q15617994))
['Q469899', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q469899 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['Charlie Buchan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Charlie_Buchan property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q4893234
SYSTEM
Did you mean Bernard Hollowood ?
(Q7364667,P27,c(Q15617994)) (Q4760345,P27,c(Q15617994)) (Q4893234,P27,c(Q15617994)) (Q469899,P27,c(Q15617994)) (Q5212225,P27,c(Q15617994))
[ANSWER]
['Q7364667', 'P27', {'concept': 'Q15617994'}] ['Q4760345', 'P27', {'concept': 'Q15617994'}] ['Q4893234', 'P27', {'concept': 'Q15617994'}] ['Q469899', 'P27', {'concept': 'Q15617994'}] ['Q5212225', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q469899 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Bernard Hollowood ?
Bernard Hollowood
['Ronald Barnes, 3rd Baron Gorell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Andy Afford', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Bernard Hollowood', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Charlie Buchan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Damian Brandy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Charlie_Buchan property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Charlie Buchan. Could you tell me the answer for that?
(Q469899,P27,c(Q15617994))
Q469899
['Q469899', 'P27', {'concept': 'Q15617994'}]
['Charlie Buchan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q145
(Q469899,P27,c(Q15617994))
[ANSWER]
['Q469899', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q469899 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United Kingdom
1
['Charlie Buchan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Charlie_Buchan property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1607826
P101
Q502895
USER
Which people work in the domain of editor ?
(c(Q502895),P101,Q1607826)
action filter_type
action find_reverse
entity Q1607826
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1607826']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q1607826 . ?b rdf:type ontology:Q502895 }
editor
action filter_type
action find_reverse
entity editor
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'editor']
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:editor . ?b rdf:type ontology:common_name }
[]
common name
Q15432799 Q12816041 Q17419089
SYSTEM
Hugo Weczerka, Zoltán Sinkó, Abraham Casteleyn
Q15432799 Q12816041 Q17419089
(c(Q502895),P101,Q1607826)
action filter_type
action find_reverse
entity Q1607826
relation P101
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P101', 'Q1607826']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q1607826 . ?b rdf:type ontology:Q502895 }
Hugo Weczerka Zoltán Sinkó Abraham Casteleyn
Hugo Weczerka Zoltán Sinkó Abraham Casteleyn
action filter_type
action find_reverse
entity editor
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'editor']
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:editor . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1607826
P39
Q502895
USER
Which people were appointed for the position of editor ?
(c(Q502895),P39,Q1607826)
action filter_type
action find_reverse
entity Q1607826
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1607826']
SELECT DISTINCT ?t WHERE { ?t property:P39 resource:Q1607826 . ?t rdf:type ontology:Q502895 }
editor
action filter_type
action find_reverse
entity editor
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'editor']
SELECT DISTINCT ?t WHERE { ?t property:position_held resource:editor . ?t rdf:type ontology:common_name }
[]
common name
Q6294 Q62919 Q20740919
SYSTEM
Hillary Clinton, Alice Schwarzer, Carol J. Greenhouse
Q7822129 Q6294 Q20740919 Q62919
(c(Q502895),P39,Q1607826)
action filter_type
action find_reverse
entity Q1607826
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q1607826']
SELECT DISTINCT ?t WHERE { ?t property:P39 resource:Q1607826 . ?t rdf:type ontology:Q502895 }
Tony Cozier Hillary Clinton Carol J. Greenhouse Alice Schwarzer
Hillary Clinton Alice Schwarzer Carol J. Greenhouse
action filter_type
action find_reverse
entity editor
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'editor']
SELECT DISTINCT ?t WHERE { ?t property:position_held resource:editor . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20740919
P184
Q502895
USER
Which person was the doctoral supervisor of that one ?
(Q20740919,P184,c(Q502895))
action filter_type
action find
entity Q20740919
relation P184
type Q502895
['Q20740919', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q20740919 property:P184 ?n . ?n rdf:type ontology:Q502895 }
Carol J. Greenhouse
action filter_type
action find
entity Carol J. Greenhouse
relation doctoral advisor
type common name
['Carol J. Greenhouse', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Carol_J._Greenhouse property:doctoral_advisor ?n . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q62919
SYSTEM
Did you mean Alice Schwarzer ?
Q6294 Q62919 Q20740919
(Q6294,P184,c(Q502895)) (Q62919,P184,c(Q502895)) (Q20740919,P184,c(Q502895))
[ANSWER]
['Q6294', 'P184', {'concept': 'Q502895'}] ['Q62919', 'P184', {'concept': 'Q502895'}] ['Q20740919', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q20740919 property:P184 ?n . ?n rdf:type ontology:Q502895 }
Hillary Clinton Alice Schwarzer Carol J. Greenhouse
Did you mean Alice Schwarzer ?
Alice Schwarzer
['Hillary Clinton', 'doctoral advisor', {'concept': 'common name'}] ['Alice Schwarzer', 'doctoral advisor', {'concept': 'common name'}] ['Carol J. Greenhouse', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Carol_J._Greenhouse property:doctoral_advisor ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Carol J. Greenhouse. Could you tell me the answer for that?
(Q20740919,P184,c(Q502895))
Q20740919
['Q20740919', 'P184', {'concept': 'Q502895'}]
['Carol J. Greenhouse', 'doctoral advisor', {'concept': 'common name'}]
[]
Q5418763
SYSTEM
Evon Z. Vogt
Q5418763
(Q20740919,P184,c(Q502895))
action filter_type
action find
entity Q20740919
relation P184
type Q502895
[ANSWER]
['Q20740919', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q20740919 property:P184 ?n . ?n rdf:type ontology:Q502895 }
Evon Z. Vogt
Evon Z. Vogt
action filter_type
action find
entity Carol J. Greenhouse
relation doctoral advisor
type common name
['Carol J. Greenhouse', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Carol_J._Greenhouse property:doctoral_advisor ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5418763
P1066
Q502895
USER
Who is a pupil of that one ?
(c(Q502895),P1066,Q5418763)
action filter_type
action find_reverse
entity Q5418763
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q5418763']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P1066 resource:Q5418763 }
Evon Z. Vogt
action filter_type
action find_reverse
entity Evon Z. Vogt
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Evon Z. Vogt']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:student_of resource:Evon_Z._Vogt }
[]
common name
Q20740919
SYSTEM
Carol J. Greenhouse
Q20740919
(c(Q502895),P1066,Q5418763)
action filter_type
action find_reverse
entity Q5418763
relation P1066
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q5418763']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P1066 resource:Q5418763 }
Carol J. Greenhouse
Carol J. Greenhouse
action filter_type
action find_reverse
entity Evon Z. Vogt
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Evon Z. Vogt']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:student_of resource:Evon_Z._Vogt }
[]