Simple Question (Direct)
Simple Question
Q2547276
P20
Q56061
USER
Where did the demise of Walther Kraus occur ?
(Q2547276,P20,c(Q56061))
action filter_type
action find
entity Q2547276
relation P20
type Q56061
['Q2547276', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q2547276 property:P20 ?k }
Walther Kraus
action filter_type
action find
entity Walther Kraus
relation place of death
type administrative territorial entity
['Walther Kraus', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Walther_Kraus property:place_of_death ?k }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q2547276,P20,c(Q56061))
action filter_type
action find
entity Q2547276
relation P20
type Q56061
The demise of Walther Kraus occurred in [ANSWER]
['Q2547276', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q2547276 property:P20 ?k }
Vienna
The demise of Walther Kraus occurred in Vienna
Vienna
action filter_type
action find
entity Walther Kraus
relation place of death
type administrative territorial entity
['Walther Kraus', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Walther_Kraus property:place_of_death ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2547276
P106
Q12737077
USER
What are the professions of that person ?
(Q1741,P106,c(Q12737077))
action filter_type
action find
entity Q2547276
relation P106
type Q12737077
['Q1741', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2547276 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Walther Kraus
action filter_type
action find
entity Walther Kraus
relation occupation
type occupation
['Vienna', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Walther_Kraus property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q16267607 Q1622272 Q37226
SYSTEM
classical philologist, university teacher, teacher
Q16267607 Q1622272 Q37226
(Q1741,P106,c(Q12737077))
action filter_type
action find
entity Q2547276
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q1741', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2547276 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
classical philologist university teacher teacher
The professions of that person are classical philologist, university teacher and teacher
classical philologist university teacher teacher
action filter_type
action find
entity Walther Kraus
relation occupation
type occupation
['Vienna', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Walther_Kraus property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q26807810
P106
Q502895
USER
Do Inge Hutter have those occupations as his/her means of employment ?
(Q26807810,P106,Q16267607) (Q26807810,P106,Q1622272) (Q26807810,P106,Q37226)
action is_in
entity prev_answer
action find
entity Q26807810
relation P106
['Q26807810', 'P106', 'Q16267607'] ['Q26807810', 'P106', 'Q1622272'] ['Q26807810', 'P106', 'Q37226']
ASK WHERE { resource:Q26807810 property:P106 ?b . VALUES ( ?b ) { ( resource:Q16267607 ) ( resource:Q1622272 ) ( resource:Q37226 ) } }
Inge Hutter
action is_in
entity prev_answer
action find
entity Inge Hutter
relation occupation
['Inge Hutter', 'occupation', 'classical philologist'] ['Inge Hutter', 'occupation', 'university teacher'] ['Inge Hutter', 'occupation', 'teacher']
ASK WHERE { resource:Inge_Hutter property:occupation ?b . VALUES ( ?b ) { ( resource:classical_philologist ) ( resource:university_teacher ) ( resource:teacher ) } }
[]
common name
SYSTEM
NO
(Q26807810,P106,Q16267607) (Q26807810,P106,Q1622272) (Q26807810,P106,Q37226)
action is_in
entity prev_answer
action find
entity Q26807810
relation P106
[ANSWER]
['Q26807810', 'P106', 'Q16267607'] ['Q26807810', 'P106', 'Q1622272'] ['Q26807810', 'P106', 'Q37226']
ASK WHERE { resource:Q26807810 property:P106 ?b . VALUES ( ?b ) { ( resource:Q16267607 ) ( resource:Q1622272 ) ( resource:Q37226 ) } }
No
action is_in
entity prev_answer
action find
entity Inge Hutter
relation occupation
['Inge Hutter', 'occupation', 'classical philologist'] ['Inge Hutter', 'occupation', 'university teacher'] ['Inge Hutter', 'occupation', 'teacher']
ASK WHERE { resource:Inge_Hutter property:occupation ?b . VALUES ( ?b ) { ( resource:classical_philologist ) ( resource:university_teacher ) ( resource:teacher ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1622272 Q9438 Q16301998
P417
Q502895
USER
Does university teacher have adopted Thomas Aquinas and Mario Pérez Antolín as patron saint ?
(Q1622272,P417,Q9438) (Q1622272,P417,Q16301998)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q9438
relation P417
action find_reverse
entity Q16301998
relation P417
['Q1622272', 'P417', 'Q9438'] ['Q1622272', 'P417', 'Q16301998']
ASK WHERE { resource:Q1622272 property:P417 resource:Q9438 . resource:Q1622272 property:P417 resource:Q16301998 }
university teacher Thomas Aquinas Mario Pérez Antolín
action is_in
entity university teacher
action intersection
action find_reverse
entity Thomas Aquinas
relation patron saint
action find_reverse
entity Mario Pérez Antolín
relation patron saint
['university teacher', 'patron saint', 'Thomas Aquinas'] ['university teacher', 'patron saint', 'Mario Pérez Antolín']
ASK WHERE { resource:university_teacher property:patron_saint resource:Thomas_Aquinas . resource:university_teacher property:patron_saint resource:Mario_Pérez_Antolín }
[]
common name
SYSTEM
YES and NO respectively
(Q1622272,P417,Q9438) (Q1622272,P417,Q16301998)
action is_in
entity Q1622272
action intersection
action find_reverse
entity Q9438
relation P417
action find_reverse
entity Q16301998
relation P417
[ANSWER]
['Q1622272', 'P417', 'Q9438'] ['Q1622272', 'P417', 'Q16301998']
ASK WHERE { resource:Q1622272 property:P417 resource:Q9438 . resource:Q1622272 property:P417 resource:Q16301998 }
YES and NO respectively
action is_in
entity university teacher
action intersection
action find_reverse
entity Thomas Aquinas
relation patron saint
action find_reverse
entity Mario Pérez Antolín
relation patron saint
['university teacher', 'patron saint', 'Thomas Aquinas'] ['university teacher', 'patron saint', 'Mario Pérez Antolín']
ASK WHERE { resource:university_teacher property:patron_saint resource:Thomas_Aquinas . resource:university_teacher property:patron_saint resource:Mario_Pérez_Antolín }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q13360637 Q16301998
P106
Q12737077
USER
Which occupations are the professions of Mario Pérez Antolín and Hermann Wassertrilling ?
AND((Q16301998,P106,c(Q12737077)), (Q13360637,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q16301998
relation P106
action find
entity Q13360637
relation P106
type Q12737077
{'AND': [['Q16301998', 'P106', {'concept': 'Q12737077'}], ['Q13360637', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?m WHERE { resource:Q13360637 property:P106 ?m . resource:Q16301998 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Hermann Wassertrilling Mario Pérez Antolín
action filter_type
action intersection
action find
entity Mario Pérez Antolín
relation occupation
action find
entity Hermann Wassertrilling
relation occupation
type occupation
{'AND': [['Mario Pérez Antolín', 'occupation', {'concept': 'occupation'}], ['Hermann Wassertrilling', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?m WHERE { resource:Hermann_Wassertrilling property:occupation ?m . resource:Mario_Pérez_Antolín property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
AND((Q16301998,P106,c(Q12737077)), (Q13360637,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q16301998
relation P106
action find
entity Q13360637
relation P106
type Q12737077
Which occupations is the professions of Mario Pérez Antolín and Hermann Wassertrilling
{'AND': [['Q16301998', 'P106', {'concept': 'Q12737077'}], ['Q13360637', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?m WHERE { resource:Q13360637 property:P106 ?m . resource:Q16301998 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
writer
Which occupations is the professions of Mario Pérez Antolín and Hermann Wassertrilling
writer
action filter_type
action intersection
action find
entity Mario Pérez Antolín
relation occupation
action find
entity Hermann Wassertrilling
relation occupation
type occupation
{'AND': [['Mario Pérez Antolín', 'occupation', {'concept': 'occupation'}], ['Hermann Wassertrilling', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?m WHERE { resource:Hermann_Wassertrilling property:occupation ?m . resource:Mario_Pérez_Antolín property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13360637
P21
Q290
USER
Which sex does Hermann Wassertrilling belong to ?
(Q36180,P21,c(Q290))
action filter_type
action find
entity Q13360637
relation P21
type Q290
['Q36180', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q13360637 property:P21 ?v . ?v rdf:type ontology:Q290 }
Hermann Wassertrilling
action filter_type
action find
entity Hermann Wassertrilling
relation gender
type sex
['writer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Hermann_Wassertrilling property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q36180,P21,c(Q290))
action filter_type
action find
entity Q13360637
relation P21
type Q290
Hermann Wassertrilling belongs to [ANSWER]
['Q36180', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q13360637 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
Hermann Wassertrilling belongs to male
male
action filter_type
action find
entity Hermann Wassertrilling
relation gender
type sex
['writer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Hermann_Wassertrilling property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13360637
P27
Q1048835
USER
Which political territory is the country of citizenship of that person ?
(Q6581097,P27,c(Q1048835))
action filter_type
action find
entity Q13360637
relation P27
type Q1048835
['Q6581097', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q13360637 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Hermann Wassertrilling
action filter_type
action find
entity Hermann Wassertrilling
relation country of citizenship
type political territorial entity
['male', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Hermann_Wassertrilling property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q6581097,P27,c(Q1048835))
action filter_type
action find
entity Q13360637
relation P27
type Q1048835
[ANSWER] is the country of citizenship of that person
['Q6581097', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q13360637 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Austria
Austria is the country of citizenship of that person
Austria
action filter_type
action find
entity Hermann Wassertrilling
relation country of citizenship
type political territorial entity
['male', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Hermann_Wassertrilling property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q1344963 Q18608583
USER
Which people were the statistical leaders of around 2 world championships and recurring sporting events ?
(c(Q1344963)|c(Q18608583),P3279,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
value 2
[[{'concept': 'Q1344963'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?o ) { ( ontology:Q1344963 ) ( ontology:Q18608583 ) } . ?v rdf:type ?o } GROUP BY ?d } . FILTER ( ?r = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type world championship
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
value 2
[[{'concept': 'world championship'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?o ) { ( ontology:world_championship ) ( ontology:recurring_sporting_event ) } . ?v rdf:type ?o } GROUP BY ?d } . FILTER ( ?r = 2 ) }
[]
common name world championship recurring sporting event
Q270653 Q193108 Q459258
SYSTEM
Lauren Jackson, Tony Parker, Sancho Lyttle
Q1791161 Q1773788 Q4142118 Q721076 Q193108 Q270653 Q384894 Q459258
(c(Q1344963)|c(Q18608583),P3279,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
value 2
[ANSWERS] were the statistical leaders of around 2 world championships and recurring sporting events
[[{'concept': 'Q1344963'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?o ) { ( ontology:Q1344963 ) ( ontology:Q18608583 ) } . ?v rdf:type ?o } GROUP BY ?d } . FILTER ( ?r = 2 ) }
Hortência Marcari Mieczysław Młynarski Atanas Golomeev Alberto Herreros Tony Parker Lauren Jackson Giorgos Kolokithas Sancho Lyttle
Lauren Jackson, Tony Parker and Sancho Lyttle were the statistical leaders of around 2 world championships and recurring sporting events
Lauren Jackson Tony Parker Sancho Lyttle
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type world championship
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
value 2
[[{'concept': 'world championship'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?o ) { ( ontology:world_championship ) ( ontology:recurring_sporting_event ) } . ?v rdf:type ?o } GROUP BY ?d } . FILTER ( ?r = 2 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q270653
P1346
Q618779
USER
Which award was won by that person ?
(c(Q618779),P1346,Q270653)
action filter_type
action find_reverse
entity Q270653
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q270653']
SELECT DISTINCT ?p WHERE { ?p property:P1346 resource:Q270653 . ?p rdf:type ontology:Q618779 }
Lauren Jackson
action filter_type
action find_reverse
entity Lauren Jackson
relation winner
type award
[{'concept': 'award'}, 'winner', 'Lauren Jackson']
SELECT DISTINCT ?p WHERE { ?p property:winner resource:Lauren_Jackson . ?p rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q270653
SYSTEM
Did you mean Lauren Jackson ?
Q270653 Q193108 Q459258
(c(Q618779),P1346,Q270653) (c(Q618779),P1346,Q193108) (c(Q618779),P1346,Q459258)
[ANSWER]
[{'concept': 'Q618779'}, 'P1346', 'Q270653'] [{'concept': 'Q618779'}, 'P1346', 'Q193108'] [{'concept': 'Q618779'}, 'P1346', 'Q459258']
SELECT DISTINCT ?p WHERE { ?p property:P1346 resource:Q270653 . ?p rdf:type ontology:Q618779 }
Lauren Jackson Tony Parker Sancho Lyttle
Did you mean Lauren Jackson ?
Lauren Jackson
[{'concept': 'award'}, 'winner', 'Lauren Jackson'] [{'concept': 'award'}, 'winner', 'Tony Parker'] [{'concept': 'award'}, 'winner', 'Sancho Lyttle']
SELECT DISTINCT ?p WHERE { ?p property:winner resource:Lauren_Jackson . ?p rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q618779),P1346,Q270653)
[{'concept': 'Q618779'}, 'P1346', 'Q270653']
[{'concept': 'award'}, 'winner', 'Lauren Jackson']
[]
Q4896830
SYSTEM
Best WNBA Player ESPY Award
Q4896830
(c(Q618779),P1346,Q270653)
action filter_type
action find_reverse
entity Q270653
relation P1346
type Q618779
Player [ANSWER] was won by that person
[{'concept': 'Q618779'}, 'P1346', 'Q270653']
SELECT DISTINCT ?p WHERE { ?p property:P1346 resource:Q270653 . ?p rdf:type ontology:Q618779 }
Best WNBA Player ESPY Award
Player Best WNBA Player ESPY Award was won by that person
Best WNBA Player ESPY Award
action filter_type
action find_reverse
entity Lauren Jackson
relation winner
type award
[{'concept': 'award'}, 'winner', 'Lauren Jackson']
SELECT DISTINCT ?p WHERE { ?p property:winner resource:Lauren_Jackson . ?p rdf:type ontology:award }
[]