Simple Question (Direct)
Simple Question
Q71246
P102
Q7210356
USER
Which political organization is Hans Trippel a member of ?
(Q71246,P102,c(Q7210356))
action filter_type
action find
entity Q71246
relation P102
type Q7210356
['Q71246', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q71246 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Hans Trippel
action filter_type
action find
entity Hans Trippel
relation member of political party
type political organization
['Hans Trippel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Hans_Trippel property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q71246,P102,c(Q7210356))
action filter_type
action find
entity Q71246
relation P102
type Q7210356
Party [ANSWER] is Hans Trippel a member of
['Q71246', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q71246 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Nazi Party
Party Nazi Party is Hans Trippel a member of
Nazi Party
action filter_type
action find
entity Hans Trippel
relation member of political party
type political organization
['Hans Trippel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Hans_Trippel property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q71246
P106
Q12737077
USER
Which occupation is the profession of Hans Trippel ?
(Q71246,P106,c(Q12737077))
action filter_type
action find
entity Q71246
relation P106
type Q12737077
['Q71246', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q71246 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Hans Trippel
action filter_type
action find
entity Hans Trippel
relation occupation
type occupation
['Hans Trippel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Hans_Trippel property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q81096
SYSTEM
engineer
Q81096
(Q71246,P106,c(Q12737077))
action filter_type
action find
entity Q71246
relation P106
type Q12737077
The [ANSWER] is the profession of Hans Trippel
['Q71246', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q71246 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
engineer
The engineer is the profession of Hans Trippel
engineer
action filter_type
action find
entity Hans Trippel
relation occupation
type occupation
['Hans Trippel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Hans_Trippel property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q71246
P20
Q56061
USER
Where did the expiration of Hans Trippel occur ?
(Q71246,P20,c(Q56061))
action filter_type
action find
entity Q71246
relation P20
type Q56061
['Q71246', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q71246 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Hans Trippel
action filter_type
action find
entity Hans Trippel
relation place of death
type administrative territorial entity
['Hans Trippel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Hans_Trippel property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q571748
SYSTEM
Erbach
Q571748
(Q71246,P20,c(Q56061))
action filter_type
action find
entity Q71246
relation P20
type Q56061
The expiration of Hans Trippel occurred in [ANSWER]
['Q71246', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q71246 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Erbach
The expiration of Hans Trippel occurred in Erbach
Erbach
action filter_type
action find
entity Hans Trippel
relation place of death
type administrative territorial entity
['Hans Trippel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Hans_Trippel property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q3516658 Q15709879
USER
Which occupations are expressed in around 1 heraldic symbols and artwork series ?
(c(Q3516658)|c(Q15709879),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 1
[[{'concept': 'Q3516658'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?x WHERE { { ?v property:P180 ?x . ?v rdf:type ontology:Q3516658 . ?x rdf:type ontology:Q12737077 } UNION { ?v property:P180 ?x . ?v rdf:type ontology:Q15709879 . ?x rdf:type ontology:Q12737077 } } GROUP BY ?x } . FILTER ( ?k = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 1
[[{'concept': 'heraldic symbol'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?x WHERE { { ?v property:depicts ?x . ?v rdf:type ontology:heraldic_symbol . ?x rdf:type ontology:occupation } UNION { ?v property:depicts ?x . ?v rdf:type ontology:artwork_series . ?x rdf:type ontology:occupation } } GROUP BY ?x } . FILTER ( ?k = 1 ) }
[]
occupation heraldic symbol artwork series
Q1250916 Q47064 Q805221
SYSTEM
warrior, military personnel, ballet dancer
Q1250916 Q47064 Q805221 Q12059906 Q622630 Q39631
(c(Q3516658)|c(Q15709879),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 1
The [ANSWERS] are expressed in around 1 heraldic symbols and artwork series
[[{'concept': 'Q3516658'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?x WHERE { { ?v property:P180 ?x . ?v rdf:type ontology:Q3516658 . ?x rdf:type ontology:Q12737077 } UNION { ?v property:P180 ?x . ?v rdf:type ontology:Q15709879 . ?x rdf:type ontology:Q12737077 } } GROUP BY ?x } . FILTER ( ?k = 1 ) }
warrior military personnel ballet dancer herder odalisque physician
The warrior, military personnel and ballet dancer are expressed in around 1 heraldic symbols and artwork series
warrior military personnel ballet dancer
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 1
[[{'concept': 'heraldic symbol'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?x WHERE { { ?v property:depicts ?x . ?v rdf:type ontology:heraldic_symbol . ?x rdf:type ontology:occupation } UNION { ?v property:depicts ?x . ?v rdf:type ontology:artwork_series . ?x rdf:type ontology:occupation } } GROUP BY ?x } . FILTER ( ?k = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q805221
P39
Q502895
USER
Which person was responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q805221)
action filter_type
action find_reverse
entity Q805221
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q805221']
SELECT DISTINCT ?l WHERE { ?l property:P39 resource:Q805221 . ?l rdf:type ontology:Q502895 }
ballet dancer
action filter_type
action find_reverse
entity ballet dancer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'ballet dancer']
SELECT DISTINCT ?l WHERE { ?l property:position_held resource:ballet_dancer . ?l rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1250916
SYSTEM
Did you mean warrior ?
Q1250916 Q47064 Q805221
(c(Q502895),P39,Q1250916) (c(Q502895),P39,Q47064) (c(Q502895),P39,Q805221)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q1250916'] [{'concept': 'Q502895'}, 'P39', 'Q47064'] [{'concept': 'Q502895'}, 'P39', 'Q805221']
SELECT DISTINCT ?l WHERE { ?l property:P39 resource:Q805221 . ?l rdf:type ontology:Q502895 }
warrior military personnel ballet dancer
Did you mean warrior ?
warrior
[{'concept': 'common name'}, 'position held', 'warrior'] [{'concept': 'common name'}, 'position held', 'military personnel'] [{'concept': 'common name'}, 'position held', 'ballet dancer']
SELECT DISTINCT ?l WHERE { ?l property:position_held resource:ballet_dancer . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant ballet dancer. Could you tell me the answer for that?
(c(Q502895),P39,Q805221)
Q805221
[{'concept': 'Q502895'}, 'P39', 'Q805221']
[{'concept': 'common name'}, 'position held', 'ballet dancer']
[]
Q19543312
SYSTEM
Viktorina Kapitonova
Q19543312
(c(Q502895),P39,Q805221)
action filter_type
action find_reverse
entity Q805221
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q805221']
SELECT DISTINCT ?l WHERE { ?l property:P39 resource:Q805221 . ?l rdf:type ontology:Q502895 }
Viktorina Kapitonova
Viktorina Kapitonova was responsible for occupying the position of that occupation
Viktorina Kapitonova
action filter_type
action find_reverse
entity ballet dancer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'ballet dancer']
SELECT DISTINCT ?l WHERE { ?l property:position_held resource:ballet_dancer . ?l rdf:type ontology:common_name }
[]