Simple Question (Direct)
Simple Question
Q107694
P102
Q7210356
USER
Which political organization is Richard Donnevert a member of ?
(Q107694,P102,c(Q7210356))
action filter_type
action find
entity Q107694
relation P102
type Q7210356
['Q107694', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q107694 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Richard Donnevert
action filter_type
action find
entity Richard Donnevert
relation member of political party
type political organization
['Richard Donnevert', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Richard_Donnevert property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q107694,P102,c(Q7210356))
action filter_type
action find
entity Q107694
relation P102
type Q7210356
Germany [ANSWER] is Richard Donnevert a member of
['Q107694', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q107694 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Nazi Party
Germany Nazi Party is Richard Donnevert a member of
Nazi Party
action filter_type
action find
entity Richard Donnevert
relation member of political party
type political organization
['Richard Donnevert', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Richard_Donnevert property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q107694
P39
Q12737077
USER
Which occupations were the positions occupied by that person ?
(Q7320,P39,c(Q12737077))
action filter_type
action find
entity Q107694
relation P39
type Q12737077
['Q7320', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q107694 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Richard Donnevert
action filter_type
action find
entity Richard Donnevert
relation position held
type occupation
['Nazi Party', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Richard_Donnevert property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q514725 Q17856046
SYSTEM
Landrat, member of the Reichstag of Nazi Germany
Q514725 Q17856046
(Q7320,P39,c(Q12737077))
action filter_type
action find
entity Q107694
relation P39
type Q12737077
[ANSWERS] were the positions occupied by that person
['Q7320', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q107694 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Landrat member of the Reichstag of Nazi Germany
Landrat and member of the Reichstag of Nazi Germany were the positions occupied by that person
Landrat member of the Reichstag of Nazi Germany
action filter_type
action find
entity Richard Donnevert
relation position held
type occupation
['Nazi Party', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Richard_Donnevert property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q107694
P69
Q811979
USER
Where was Richard Donnevert educated ?
(Q107694,P69,c(Q811979))
action filter_type
action find
entity Q107694
relation P69
type Q811979
['Q107694', 'P69', {'concept': 'Q811979'}]
SELECT DISTINCT ?i WHERE { resource:Q107694 property:P69 ?i . ?i rdf:type ontology:Q811979 }
Richard Donnevert
action filter_type
action find
entity Richard Donnevert
relation educated at
type architectural structure
['Richard Donnevert', 'educated at', {'concept': 'architectural structure'}]
SELECT DISTINCT ?i WHERE { resource:Richard_Donnevert property:educated_at ?i . ?i rdf:type ontology:architectural_structure }
[]
architectural structure
Q152838
SYSTEM
University of Göttingen
Q152838
(Q107694,P69,c(Q811979))
action filter_type
action find
entity Q107694
relation P69
type Q811979
Richard Donnevert was educated by [ANSWER]
['Q107694', 'P69', {'concept': 'Q811979'}]
SELECT DISTINCT ?i WHERE { resource:Q107694 property:P69 ?i . ?i rdf:type ontology:Q811979 }
University of Göttingen
Richard Donnevert was educated by University of Göttingen
University of Göttingen
action filter_type
action find
entity Richard Donnevert
relation educated at
type architectural structure
['Richard Donnevert', 'educated at', {'concept': 'architectural structure'}]
SELECT DISTINCT ?i WHERE { resource:Richard_Donnevert property:educated_at ?i . ?i rdf:type ontology:architectural_structure }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q107694
P106
Q12737077
USER
What do Richard Donnevert do for a living ?
(Q107694,P106,c(Q12737077))
action filter_type
action find
entity Q107694
relation P106
type Q12737077
['Q107694', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q107694 property:P106 ?s }
Richard Donnevert
action filter_type
action find
entity Richard Donnevert
relation occupation
type occupation
['Richard Donnevert', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Richard_Donnevert property:occupation ?s }
[]
occupation
Q82955 Q27349
SYSTEM
politician, dentist
Q82955 Q27349
(Q107694,P106,c(Q12737077))
action filter_type
action find
entity Q107694
relation P106
type Q12737077
Richard Donnevert do for a living a [ANSWERS]
['Q107694', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q107694 property:P106 ?s }
politician dentist
Richard Donnevert do for a living a politician and dentist
politician dentist
action filter_type
action find
entity Richard Donnevert
relation occupation
type occupation
['Richard Donnevert', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Richard_Donnevert property:occupation ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q107694
P20
Q515
USER
Where did Richard Donnevert die ?
(Q107694,P20,c(Q515))
action filter_type
action find
entity Q107694
relation P20
type Q515
['Q107694', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q107694 property:P20 ?n . ?n rdf:type ontology:Q515 }
Richard Donnevert
action filter_type
action find
entity Richard Donnevert
relation place of death
type city
['Richard Donnevert', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Richard_Donnevert property:place_of_death ?n . ?n rdf:type ontology:city }
[]
city
Q1721
SYSTEM
Wiesbaden
Q1721
(Q107694,P20,c(Q515))
action filter_type
action find
entity Q107694
relation P20
type Q515
Richard Donnevert died in [ANSWER]
['Q107694', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q107694 property:P20 ?n . ?n rdf:type ontology:Q515 }
Wiesbaden
Richard Donnevert died in Wiesbaden
Wiesbaden
action filter_type
action find
entity Richard Donnevert
relation place of death
type city
['Richard Donnevert', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Richard_Donnevert property:place_of_death ?n . ?n rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1556082
Q515
USER
And what about Gustav Klemm?
(Q1556082,P20,c(Q515))
action filter_type
action find
entity Q1556082
relation P20
type Q515
['Q1556082', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q1556082 property:P20 ?i . ?i rdf:type ontology:Q515 }
Gustav Klemm
action filter_type
action find
entity Gustav Klemm
relation place of death
type city
['Gustav Klemm', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Gustav_Klemm property:place_of_death ?i . ?i rdf:type ontology:city }
[]
city
Q2973
SYSTEM
Darmstadt
Q2973
(Q1556082,P20,c(Q515))
action filter_type
action find
entity Q1556082
relation P20
type Q515
[ANSWER]
['Q1556082', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q1556082 property:P20 ?i . ?i rdf:type ontology:Q515 }
Darmstadt
Darmstadt
action filter_type
action find
entity Gustav Klemm
relation place of death
type city
['Gustav Klemm', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Gustav_Klemm property:place_of_death ?i . ?i rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2973 Q183 Q4133119
P17
Q1048835
USER
Is that city located in Germany and Hamivka ?
(Q2973,P17,Q183) (Q2973,P17,Q4133119)
action is_in
entity Q2973
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q4133119
relation P17
['Q2973', 'P17', 'Q183'] ['Q2973', 'P17', 'Q4133119']
ASK WHERE { resource:Q2973 property:P17 resource:Q4133119 . resource:Q2973 property:P17 resource:Q183 }
Darmstadt Germany Hamivka
action is_in
entity Darmstadt
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Hamivka
relation country
['Darmstadt', 'country', 'Germany'] ['Darmstadt', 'country', 'Hamivka']
ASK WHERE { resource:Darmstadt property:country resource:Hamivka . resource:Darmstadt property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q2973,P17,Q183) (Q2973,P17,Q4133119)
action is_in
entity Q2973
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q4133119
relation P17
[ANSWER]
['Q2973', 'P17', 'Q183'] ['Q2973', 'P17', 'Q4133119']
ASK WHERE { resource:Q2973 property:P17 resource:Q4133119 . resource:Q2973 property:P17 resource:Q183 }
YES and NO respectively
action is_in
entity Darmstadt
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Hamivka
relation country
['Darmstadt', 'country', 'Germany'] ['Darmstadt', 'country', 'Hamivka']
ASK WHERE { resource:Darmstadt property:country resource:Hamivka . resource:Darmstadt property:country resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q514725 Q183
P1001
Q1048835
USER
Is Germany linked to that occupation ?
(Q514725,P1001,Q183)
action is_in
entity Q183
action find
entity Q514725
relation P1001
['Q514725', 'P1001', 'Q183']
ASK WHERE { resource:Q514725 property:P1001 resource:Q183 }
Landrat Germany
action is_in
entity Germany
action find
entity Landrat
relation applies to jurisdiction
['Landrat', 'applies to jurisdiction', 'Germany']
ASK WHERE { resource:Landrat property:applies_to_jurisdiction resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q514725,P1001,Q183)
action is_in
entity Q183
action find
entity Q514725
relation P1001
[ANSWER]
['Q514725', 'P1001', 'Q183']
ASK WHERE { resource:Q514725 property:P1001 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Landrat
relation applies to jurisdiction
['Landrat', 'applies to jurisdiction', 'Germany']
ASK WHERE { resource:Landrat property:applies_to_jurisdiction resource:Germany }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1376
Q15617994 Q515
USER
Which administrative territories have max number of cities as their capital ?
(c(Q515),P1376,Q12564)
action argmax
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q12564']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?u ) { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:P1376 ?t . ?t rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q515 } GROUP BY ?t } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?l ) WHERE { ?j rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q515 . ?z property:P1376 ?j } GROUP BY ?j } . FILTER ( ?l = ?u ) }
action argmax
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
[{'concept': 'city'}, 'capital of', 'Loir-et-Cher']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?u ) { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:capital_of ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:city } GROUP BY ?t } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?l ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:city . ?z property:capital_of ?j } GROUP BY ?j } . FILTER ( ?l = ?u ) }
[]
designation for an administrative territorial entity city
Q252
SYSTEM
Indonesia
Q252
(c(Q515),P1376,Q12564)
action argmax
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
[ANSWER] have max number of cities as their capital
[{'concept': 'Q515'}, 'P1376', 'Q12564']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?u ) { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:P1376 ?t . ?t rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q515 } GROUP BY ?t } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?l ) WHERE { ?j rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q515 . ?z property:P1376 ?j } GROUP BY ?j } . FILTER ( ?l = ?u ) }
Indonesia
Indonesia have max number of cities as their capital
Indonesia
action argmax
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
[{'concept': 'city'}, 'capital of', 'Loir-et-Cher']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?u ) { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?y ) WHERE { ?c property:capital_of ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:city } GROUP BY ?t } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?l ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:city . ?z property:capital_of ?j } GROUP BY ?j } . FILTER ( ?l = ?u ) }
[]