Simple Question (Direct)
Simple Question
Q245399
P20
Q486972
USER
Where did Zygmunt Szczęsny Feliński expire ?
(Q245399,P20,c(Q486972))
action filter_type
action find
entity Q245399
relation P20
type Q486972
['Q245399', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { resource:Q245399 property:P20 ?i . ?i rdf:type ontology:Q486972 }
Zygmunt Szczęsny Feliński
action filter_type
action find
entity Zygmunt Szczęsny Feliński
relation place of death
type human settlement
['Zygmunt Szczęsny Feliński', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { resource:Zygmunt_Szczęsny_Feliński property:place_of_death ?i . ?i rdf:type ontology:human_settlement }
[]
human settlement
Q31487
SYSTEM
Kraków
Q31487
(Q245399,P20,c(Q486972))
action filter_type
action find
entity Q245399
relation P20
type Q486972
Zygmunt Szczęsny Feliński expired in [ANSWER]
['Q245399', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { resource:Q245399 property:P20 ?i . ?i rdf:type ontology:Q486972 }
Kraków
Zygmunt Szczęsny Feliński expired in Kraków
Kraków
action filter_type
action find
entity Zygmunt Szczęsny Feliński
relation place of death
type human settlement
['Zygmunt Szczęsny Feliński', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { resource:Zygmunt_Szczęsny_Feliński property:place_of_death ?i . ?i rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q245399
P411
Q82799
USER
What is the name of Zygmunt Szczęsny Feliński ?
(Q245399,P411,c(Q82799))
action filter_type
action find
entity Q245399
relation P411
type Q82799
['Q245399', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q245399 property:P411 ?o . ?o rdf:type ontology:Q82799 }
Zygmunt Szczęsny Feliński
action filter_type
action find
entity Zygmunt Szczęsny Feliński
relation canonization status
type name
['Zygmunt Szczęsny Feliński', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Zygmunt_Szczęsny_Feliński property:canonization_status ?o . ?o rdf:type ontology:name }
[]
name
Q43115
SYSTEM
saint
Q43115
(Q245399,P411,c(Q82799))
action filter_type
action find
entity Q245399
relation P411
type Q82799
The name of Zygmunt Szczęsny Feliński is a [ANSWER]
['Q245399', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q245399 property:P411 ?o . ?o rdf:type ontology:Q82799 }
saint
The name of Zygmunt Szczęsny Feliński is a saint
saint
action filter_type
action find
entity Zygmunt Szczęsny Feliński
relation canonization status
type name
['Zygmunt Szczęsny Feliński', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Zygmunt_Szczęsny_Feliński property:canonization_status ?o . ?o rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q245399
P734
Q82799
USER
Which name is associated with Zygmunt Szczęsny Feliński ?
(Q245399,P734,c(Q82799))
action filter_type
action find
entity Q245399
relation P734
type Q82799
['Q245399', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q82799 . resource:Q245399 property:P734 ?h }
Zygmunt Szczęsny Feliński
action filter_type
action find
entity Zygmunt Szczęsny Feliński
relation family name
type name
['Zygmunt Szczęsny Feliński', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:name . resource:Zygmunt_Szczęsny_Feliński property:family_name ?h }
[]
name
Q26928896
SYSTEM
Szczesny
Q26928896
(Q245399,P734,c(Q82799))
action filter_type
action find
entity Q245399
relation P734
type Q82799
[ANSWER] is associated with Zygmunt Szczęsny Feliński
['Q245399', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q82799 . resource:Q245399 property:P734 ?h }
Szczesny
Szczesny is associated with Zygmunt Szczęsny Feliński
Szczesny
action filter_type
action find
entity Zygmunt Szczęsny Feliński
relation family name
type name
['Zygmunt Szczęsny Feliński', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:name . resource:Zygmunt_Szczęsny_Feliński property:family_name ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16077736
Q82799
USER
And also tell me about Pat A. Kennedy?
(Q16077736,P734,c(Q82799))
action filter_type
action find
entity Q16077736
relation P734
type Q82799
['Q16077736', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q16077736 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Pat A. Kennedy
action filter_type
action find
entity Pat A. Kennedy
relation family name
type name
['Pat A. Kennedy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Pat_A._Kennedy property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Q120401
SYSTEM
Kennedy
Q120401
(Q16077736,P734,c(Q82799))
action filter_type
action find
entity Q16077736
relation P734
type Q82799
[ANSWER]
['Q16077736', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q16077736 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Kennedy
Kennedy
action filter_type
action find
entity Pat A. Kennedy
relation family name
type name
['Pat A. Kennedy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Pat_A._Kennedy property:family_name ?r . ?r rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17654246 Q120401
P407
Q34770
USER
Which languages are the languages of work for Kennedy or UK Wikinews Shorts: March 14 ?
OR((Q120401,P407,c(Q34770)), (Q17654246,P407,c(Q34770)))
action filter_type
action union
action find
entity Q120401
relation P407
action find
entity Q17654246
relation P407
type Q34770
{'OR': [['Q120401', 'P407', {'concept': 'Q34770'}], ['Q17654246', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q120401 property:P407 ?z } UNION { resource:Q17654246 property:P407 ?z } } . ?z rdf:type ontology:Q34770 }
UK Wikinews Shorts: March 14 Kennedy
action filter_type
action union
action find
entity Kennedy
relation language of work or name
action find
entity UK Wikinews Shorts: March 14
relation language of work or name
type language
{'OR': [['Kennedy', 'language of work or name', {'concept': 'language'}], ['UK Wikinews Shorts: March 14', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Kennedy property:language_of_work_or_name ?z } UNION { resource:UK_Wikinews_Shorts:_March_14 property:language_of_work_or_name ?z } } . ?z rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q120401,P407,c(Q34770)), (Q17654246,P407,c(Q34770)))
action filter_type
action union
action find
entity Q120401
relation P407
action find
entity Q17654246
relation P407
type Q34770
Which languages is the languages of work for Kennedy or UK Wikinews Shorts: March 14
{'OR': [['Q120401', 'P407', {'concept': 'Q34770'}], ['Q17654246', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q120401 property:P407 ?z } UNION { resource:Q17654246 property:P407 ?z } } . ?z rdf:type ontology:Q34770 }
English
Which languages is the languages of work for Kennedy or UK Wikinews Shorts: March 14
English
action filter_type
action union
action find
entity Kennedy
relation language of work or name
action find
entity UK Wikinews Shorts: March 14
relation language of work or name
type language
{'OR': [['Kennedy', 'language of work or name', {'concept': 'language'}], ['UK Wikinews Shorts: March 14', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Kennedy property:language_of_work_or_name ?z } UNION { resource:UK_Wikinews_Shorts:_March_14 property:language_of_work_or_name ?z } } . ?z rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q82799 Q502895 Q82799
USER
Which names have max number of names or people as their namesake ?
(c(Q82799),P138,c(Q82799)|c(Q502895))
action argmax
action union
action find_tuple_counts
relation P138
type Q82799
type Q82799
action find_tuple_counts
relation P138
type Q82799
type Q502895
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) ?o WHERE { { ?o property:P138 ?r . ?r rdf:type ontology:Q82799 . ?o rdf:type ontology:Q82799 } UNION { ?o rdf:type ontology:Q82799 . ?r rdf:type ontology:Q502895 . ?o property:P138 ?r } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) ?n WHERE { { ?n property:P138 ?e . ?n rdf:type ontology:Q82799 . ?e rdf:type ontology:Q502895 } UNION { ?n property:P138 ?e . ?n rdf:type ontology:Q82799 . ?e rdf:type ontology:Q82799 } } GROUP BY ?n } . FILTER ( ?m = ?q ) }
action argmax
action union
action find_tuple_counts
relation named after
type name
type name
action find_tuple_counts
relation named after
type name
type common name
[{'concept': 'name'}, 'named after', [{'concept': 'name'}, {'concept': 'common name'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) ?o WHERE { { ?o property:named_after ?r . ?r rdf:type ontology:name . ?o rdf:type ontology:name } UNION { ?o rdf:type ontology:name . ?r rdf:type ontology:common_name . ?o property:named_after ?r } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) ?n WHERE { { ?n property:named_after ?e . ?n rdf:type ontology:name . ?e rdf:type ontology:common_name } UNION { ?n property:named_after ?e . ?n rdf:type ontology:name . ?e rdf:type ontology:name } } GROUP BY ?n } . FILTER ( ?m = ?q ) }
[]
name common name name
Q1746111 Q23885849
SYSTEM
Michael Gregorio, Achaz
Q1746111 Q23885849
(c(Q82799),P138,c(Q82799)|c(Q502895))
action argmax
action union
action find_tuple_counts
relation P138
type Q82799
type Q82799
action find_tuple_counts
relation P138
type Q82799
type Q502895
[ANSWERS] have max number of names or people as their namesake
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) ?o WHERE { { ?o property:P138 ?r . ?r rdf:type ontology:Q82799 . ?o rdf:type ontology:Q82799 } UNION { ?o rdf:type ontology:Q82799 . ?r rdf:type ontology:Q502895 . ?o property:P138 ?r } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) ?n WHERE { { ?n property:P138 ?e . ?n rdf:type ontology:Q82799 . ?e rdf:type ontology:Q502895 } UNION { ?n property:P138 ?e . ?n rdf:type ontology:Q82799 . ?e rdf:type ontology:Q82799 } } GROUP BY ?n } . FILTER ( ?m = ?q ) }
Michael Gregorio Achaz
Michael Gregorio and Achaz have max number of names or people as their namesake
Michael Gregorio Achaz
action argmax
action union
action find_tuple_counts
relation named after
type name
type name
action find_tuple_counts
relation named after
type name
type common name
[{'concept': 'name'}, 'named after', [{'concept': 'name'}, {'concept': 'common name'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) ?o WHERE { { ?o property:named_after ?r . ?r rdf:type ontology:name . ?o rdf:type ontology:name } UNION { ?o rdf:type ontology:name . ?r rdf:type ontology:common_name . ?o property:named_after ?r } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) ?n WHERE { { ?n property:named_after ?e . ?n rdf:type ontology:name . ?e rdf:type ontology:common_name } UNION { ?n property:named_after ?e . ?n rdf:type ontology:name . ?e rdf:type ontology:name } } GROUP BY ?n } . FILTER ( ?m = ?q ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23885849
P735
Q502895
USER
Whose first name are that one ?
(c(Q502895),P735,Q23885849)
action filter_type
action find_reverse
entity Q23885849
relation P735
type Q502895
[{'concept': 'Q502895'}, 'P735', 'Q23885849']
SELECT DISTINCT ?v WHERE { ?v property:P735 resource:Q23885849 . ?v rdf:type ontology:Q502895 }
Achaz
action filter_type
action find_reverse
entity Achaz
relation given name
type common name
[{'concept': 'common name'}, 'given name', 'Achaz']
SELECT DISTINCT ?v WHERE { ?v property:given_name resource:Achaz . ?v rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1746111
SYSTEM
Did you mean Michael Gregorio ?
Q1746111 Q23885849
(c(Q502895),P735,Q1746111) (c(Q502895),P735,Q23885849)
[ANSWER]
[{'concept': 'Q502895'}, 'P735', 'Q1746111'] [{'concept': 'Q502895'}, 'P735', 'Q23885849']
SELECT DISTINCT ?v WHERE { ?v property:P735 resource:Q23885849 . ?v rdf:type ontology:Q502895 }
Michael Gregorio Achaz
Did you mean Michael Gregorio ?
Michael Gregorio
[{'concept': 'common name'}, 'given name', 'Michael Gregorio'] [{'concept': 'common name'}, 'given name', 'Achaz']
SELECT DISTINCT ?v WHERE { ?v property:given_name resource:Achaz . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Achaz. Could you tell me the answer for that?
(c(Q502895),P735,Q23885849)
Q23885849
[{'concept': 'Q502895'}, 'P735', 'Q23885849']
[{'concept': 'common name'}, 'given name', 'Achaz']
[]
Q1529439 Q1479336 Q1676856
SYSTEM
Achaz von Buchwaldt, Achaz von der Schulenburg, Johann Konrad Achaz Holscher
Q1529439 Q1676856 Q2633893 Q1479336 Q17352988 Q16739572
(c(Q502895),P735,Q23885849)
action filter_type
action find_reverse
entity Q23885849
relation P735
type Q502895
[ANSWERS] are that one
[{'concept': 'Q502895'}, 'P735', 'Q23885849']
SELECT DISTINCT ?v WHERE { ?v property:P735 resource:Q23885849 . ?v rdf:type ontology:Q502895 }
Achaz von Buchwaldt Johann Konrad Achaz Holscher Achaz Heinrich von Alvensleben Achaz von der Schulenburg Achaz von Saldern Achaz Stehlin
Achaz von Buchwaldt, Achaz von der Schulenburg and Johann Konrad Achaz Holscher are that one
Achaz von Buchwaldt Achaz von der Schulenburg Johann Konrad Achaz Holscher
action filter_type
action find_reverse
entity Achaz
relation given name
type common name
[{'concept': 'common name'}, 'given name', 'Achaz']
SELECT DISTINCT ?v WHERE { ?v property:given_name resource:Achaz . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1676856
P21 P22
Q502895
USER
Which people have Johann Konrad Achaz Holscher as a father and have male as the sex ?
AND((c(Q502895),P22,Q1676856), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1676856
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q1676856'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P21 resource:Q6581097 . ?p property:P22 resource:Q1676856 . ?p rdf:type ontology:Q502895 }
male Johann Konrad Achaz Holscher
action filter_type
action intersection
action find_reverse
entity Johann Konrad Achaz Holscher
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Johann Konrad Achaz Holscher'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:gender resource:male . ?p property:father resource:Johann_Konrad_Achaz_Holscher . ?p rdf:type ontology:common_name }
[]
common name
Q1505627
SYSTEM
Georg Philipp Holscher
Q1505627
AND((c(Q502895),P22,Q1676856), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1676856
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Johann Konrad Achaz Holscher as a father and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q1676856'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P21 resource:Q6581097 . ?p property:P22 resource:Q1676856 . ?p rdf:type ontology:Q502895 }
Georg Philipp Holscher
Georg Philipp Holscher have Johann Konrad Achaz Holscher as a father and have male as the sex
Georg Philipp Holscher
action filter_type
action intersection
action find_reverse
entity Johann Konrad Achaz Holscher
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Johann Konrad Achaz Holscher'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:gender resource:male . ?p property:father resource:Johann_Konrad_Achaz_Holscher . ?p rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1505627 Q7357756
P40
Q502895
USER
Does Roger-Philippe Menu have that one as a child ?
(Q7357756,P40,Q1505627)
action is_in
entity Q7357756
action find
entity Q1505627
relation P40
['Q7357756', 'P40', 'Q1505627']
ASK WHERE { resource:Q1505627 property:P40 resource:Q7357756 }
Georg Philipp Holscher Roger-Philippe Menu
action is_in
entity Roger-Philippe Menu
action find
entity Georg Philipp Holscher
relation child
['Roger-Philippe Menu', 'child', 'Georg Philipp Holscher']
ASK WHERE { resource:Georg_Philipp_Holscher property:child resource:Roger-Philippe_Menu }
[]
common name
SYSTEM
NO
(Q7357756,P40,Q1505627)
action is_in
entity Q7357756
action find
entity Q1505627
relation P40
[ANSWER]
['Q7357756', 'P40', 'Q1505627']
ASK WHERE { resource:Q1505627 property:P40 resource:Q7357756 }
No
action is_in
entity Roger-Philippe Menu
action find
entity Georg Philipp Holscher
relation child
['Roger-Philippe Menu', 'child', 'Georg Philipp Holscher']
ASK WHERE { resource:Georg_Philipp_Holscher property:child resource:Roger-Philippe_Menu }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q120401 Q1860
P407
Q34770
USER
Is Kennedy composed in English ?
(Q120401,P407,Q1860)
action is_in
entity Q1860
action find
entity Q120401
relation P407
['Q120401', 'P407', 'Q1860']
ASK WHERE { resource:Q120401 property:P407 resource:Q1860 }
Kennedy English
action is_in
entity English
action find
entity Kennedy
relation language of work or name
['Kennedy', 'language of work or name', 'English']
ASK WHERE { resource:Kennedy property:language_of_work_or_name resource:English }
[]
language
SYSTEM
YES
(Q120401,P407,Q1860)
action is_in
entity Q1860
action find
entity Q120401
relation P407
[ANSWER]
['Q120401', 'P407', 'Q1860']
ASK WHERE { resource:Q120401 property:P407 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Kennedy
relation language of work or name
['Kennedy', 'language of work or name', 'English']
ASK WHERE { resource:Kennedy property:language_of_work_or_name resource:English }
[]