Simple Question (Direct)
Simple Question
Q5789663
P39
Q12737077
USER
Which occupation was a position held by Sven Hansson i Svartbyn ?
(Q5789663,P39,c(Q12737077))
action filter_type
action find
entity Q5789663
relation P39
type Q12737077
['Q5789663', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5789663 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Sven Hansson i Svartbyn
action filter_type
action find
entity Sven Hansson i Svartbyn
relation position held
type occupation
['Sven Hansson i Svartbyn', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Sven_Hansson_i_Svartbyn property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q10655178
SYSTEM
Member of the Riksdag
Q10655178
(Q5789663,P39,c(Q12737077))
action filter_type
action find
entity Q5789663
relation P39
type Q12737077
[ANSWER] was a position held by Sven Hansson i Svartbyn
['Q5789663', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5789663 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Member of the Riksdag
Member of the Riksdag was a position held by Sven Hansson i Svartbyn
Member of the Riksdag
action filter_type
action find
entity Sven Hansson i Svartbyn
relation position held
type occupation
['Sven Hansson i Svartbyn', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Sven_Hansson_i_Svartbyn property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5789663
P21
Q290
USER
What is the sex of Sven Hansson i Svartbyn ?
(Q5789663,P21,c(Q290))
action filter_type
action find
entity Q5789663
relation P21
type Q290
['Q5789663', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q5789663 property:P21 ?l }
Sven Hansson i Svartbyn
action filter_type
action find
entity Sven Hansson i Svartbyn
relation gender
type sex
['Sven Hansson i Svartbyn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Sven_Hansson_i_Svartbyn property:gender ?l }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5789663,P21,c(Q290))
action filter_type
action find
entity Q5789663
relation P21
type Q290
The sex of Sven Hansson i Svartbyn is the [ANSWER]
['Q5789663', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q5789663 property:P21 ?l }
male
The sex of Sven Hansson i Svartbyn is the male
male
action filter_type
action find
entity Sven Hansson i Svartbyn
relation gender
type sex
['Sven Hansson i Svartbyn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Sven_Hansson_i_Svartbyn property:gender ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10655178
P17
Q15617994
USER
Which administrative territory is Member of the Riksdag located in ?
(Q10655178,P17,c(Q15617994))
action filter_type
action find
entity Q10655178
relation P17
type Q15617994
['Q10655178', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q10655178 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Member of the Riksdag
action filter_type
action find
entity Member of the Riksdag
relation country
type designation for an administrative territorial entity
['Member of the Riksdag', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Member_of_the_Riksdag property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q10655178,P17,c(Q15617994))
action filter_type
action find
entity Q10655178
relation P17
type Q15617994
Member of the Riksdag is located in [ANSWER]
['Q10655178', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q10655178 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Sweden
Member of the Riksdag is located in Sweden
Sweden
action filter_type
action find
entity Member of the Riksdag
relation country
type designation for an administrative territorial entity
['Member of the Riksdag', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Member_of_the_Riksdag property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q34 Q952144
P27
Q502895
USER
Is Sebastian Kraupp a citizen of that administrative territory ?
(Q952144,P27,Q34)
action is_in
entity Q34
action find
entity Q952144
relation P27
['Q952144', 'P27', 'Q34']
ASK WHERE { resource:Q952144 property:P27 resource:Q34 }
Sweden Sebastian Kraupp
action is_in
entity Sweden
action find
entity Sebastian Kraupp
relation country of citizenship
['Sebastian Kraupp', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Sebastian_Kraupp property:country_of_citizenship resource:Sweden }
[]
common name
SYSTEM
YES
(Q952144,P27,Q34)
action is_in
entity Q34
action find
entity Q952144
relation P27
[ANSWER]
['Q952144', 'P27', 'Q34']
ASK WHERE { resource:Q952144 property:P27 resource:Q34 }
Yes
action is_in
entity Sweden
action find
entity Sebastian Kraupp
relation country of citizenship
['Sebastian Kraupp', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Sebastian_Kraupp property:country_of_citizenship resource:Sweden }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5789663 Q24932763 Q6541113
P102
Q7210356
USER
Is Sven Hansson i Svartbyn the member of Bahujan Republican Ekta Manch and Liberian Action Party ?
(Q5789663,P102,Q24932763) (Q5789663,P102,Q6541113)
action is_in
entity Q5789663
action intersection
action find_reverse
entity Q24932763
relation P102
action find_reverse
entity Q6541113
relation P102
['Q5789663', 'P102', 'Q24932763'] ['Q5789663', 'P102', 'Q6541113']
ASK WHERE { resource:Q5789663 property:P102 resource:Q6541113 . resource:Q5789663 property:P102 resource:Q24932763 }
Sven Hansson i Svartbyn Bahujan Republican Ekta Manch Liberian Action Party
action is_in
entity Sven Hansson i Svartbyn
action intersection
action find_reverse
entity Bahujan Republican Ekta Manch
relation member of political party
action find_reverse
entity Liberian Action Party
relation member of political party
['Sven Hansson i Svartbyn', 'member of political party', 'Bahujan Republican Ekta Manch'] ['Sven Hansson i Svartbyn', 'member of political party', 'Liberian Action Party']
ASK WHERE { resource:Sven_Hansson_i_Svartbyn property:member_of_political_party resource:Liberian_Action_Party . resource:Sven_Hansson_i_Svartbyn property:member_of_political_party resource:Bahujan_Republican_Ekta_Manch }
[]
political organization
SYSTEM
NO
(Q5789663,P102,Q24932763) (Q5789663,P102,Q6541113)
action is_in
entity Q5789663
action intersection
action find_reverse
entity Q24932763
relation P102
action find_reverse
entity Q6541113
relation P102
[ANSWER]
['Q5789663', 'P102', 'Q24932763'] ['Q5789663', 'P102', 'Q6541113']
ASK WHERE { resource:Q5789663 property:P102 resource:Q6541113 . resource:Q5789663 property:P102 resource:Q24932763 }
No
action is_in
entity Sven Hansson i Svartbyn
action intersection
action find_reverse
entity Bahujan Republican Ekta Manch
relation member of political party
action find_reverse
entity Liberian Action Party
relation member of political party
['Sven Hansson i Svartbyn', 'member of political party', 'Bahujan Republican Ekta Manch'] ['Sven Hansson i Svartbyn', 'member of political party', 'Liberian Action Party']
ASK WHERE { resource:Sven_Hansson_i_Svartbyn property:member_of_political_party resource:Liberian_Action_Party . resource:Sven_Hansson_i_Svartbyn property:member_of_political_party resource:Bahujan_Republican_Ekta_Manch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10655178
P106
Q502895
USER
Who has a job as Member of the Riksdag ?
(c(Q502895),P106,Q10655178)
action filter_type
action find_reverse
entity Q10655178
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q10655178']
SELECT DISTINCT ?f WHERE { ?f property:P106 resource:Q10655178 . ?f rdf:type ontology:Q502895 }
Member of the Riksdag
action filter_type
action find_reverse
entity Member of the Riksdag
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Member of the Riksdag']
SELECT DISTINCT ?f WHERE { ?f property:occupation resource:Member_of_the_Riksdag . ?f rdf:type ontology:common_name }
[]
common name
Q22340395
SYSTEM
Jonas Erici Dryander
Q22340395
(c(Q502895),P106,Q10655178)
action filter_type
action find_reverse
entity Q10655178
relation P106
type Q502895
[ANSWER] has a job as Member of the Riksdag
[{'concept': 'Q502895'}, 'P106', 'Q10655178']
SELECT DISTINCT ?f WHERE { ?f property:P106 resource:Q10655178 . ?f rdf:type ontology:Q502895 }
Jonas Erici Dryander
Jonas Erici Dryander has a job as Member of the Riksdag
Jonas Erici Dryander
action filter_type
action find_reverse
entity Member of the Riksdag
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Member of the Riksdag']
SELECT DISTINCT ?f WHERE { ?f property:occupation resource:Member_of_the_Riksdag . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P1346
Q1190554
USER
Which events were Sweden decalred as a victor of ?
(c(Q1190554),P1346,Q34)
action filter_type
action find_reverse
entity Q34
relation P1346
type Q1190554
[{'concept': 'Q1190554'}, 'P1346', 'Q34']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1190554 . ?x property:P1346 resource:Q34 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation winner
type event
[{'concept': 'event'}, 'winner', 'Sweden']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:event . ?x property:winner resource:Sweden }
[]
event
Q3500708 Q705409
SYSTEM
Battle of Stäket, Battle of Helsingborg
Q3500708 Q705409
(c(Q1190554),P1346,Q34)
action filter_type
action find_reverse
entity Q34
relation P1346
type Q1190554
Sweden were decalred as a victor of the [ANSWERS]
[{'concept': 'Q1190554'}, 'P1346', 'Q34']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1190554 . ?x property:P1346 resource:Q34 }
Battle of Stäket Battle of Helsingborg
Sweden were decalred as a victor of the Battle of Stäket and Battle of Helsingborg
Battle of Stäket Battle of Helsingborg
action filter_type
action find_reverse
entity Sweden
relation winner
type event
[{'concept': 'event'}, 'winner', 'Sweden']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:event . ?x property:winner resource:Sweden }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3500708
P276
Q1267889
USER
Where is that event situated ?
(Q3500708,P276,c(Q1267889))
action filter_type
action find
entity Q3500708
relation P276
type Q1267889
['Q3500708', 'P276', {'concept': 'Q1267889'}]
SELECT DISTINCT ?b WHERE { resource:Q3500708 property:P276 ?b . ?b rdf:type ontology:Q1267889 }
Battle of Stäket
action filter_type
action find
entity Battle of Stäket
relation location
type waterway
['Battle of Stäket', 'location', {'concept': 'waterway'}]
SELECT DISTINCT ?b WHERE { resource:Battle_of_Stäket property:location ?b . ?b rdf:type ontology:waterway }
[]
waterway
Clarification for simple ques.
Q705409
SYSTEM
Did you mean Battle of Helsingborg ?
Q3500708 Q705409
(Q3500708,P276,c(Q1267889)) (Q705409,P276,c(Q1267889))
[ANSWER]
['Q3500708', 'P276', {'concept': 'Q1267889'}] ['Q705409', 'P276', {'concept': 'Q1267889'}]
SELECT DISTINCT ?b WHERE { resource:Q3500708 property:P276 ?b . ?b rdf:type ontology:Q1267889 }
Battle of Stäket Battle of Helsingborg
Did you mean Battle of Helsingborg ?
Battle of Helsingborg
['Battle of Stäket', 'location', {'concept': 'waterway'}] ['Battle of Helsingborg', 'location', {'concept': 'waterway'}]
SELECT DISTINCT ?b WHERE { resource:Battle_of_Stäket property:location ?b . ?b rdf:type ontology:waterway }
[]
Simple Question (Coreferenced)
USER
No, I meant Battle of Stäket. Could you tell me the answer for that?
(Q3500708,P276,c(Q1267889))
Q3500708
['Q3500708', 'P276', {'concept': 'Q1267889'}]
['Battle of Stäket', 'location', {'concept': 'waterway'}]
[]
Q4372986
SYSTEM
Baggensstäket
Q4372986
(Q3500708,P276,c(Q1267889))
action filter_type
action find
entity Q3500708
relation P276
type Q1267889
That event is situated in [ANSWER]
['Q3500708', 'P276', {'concept': 'Q1267889'}]
SELECT DISTINCT ?b WHERE { resource:Q3500708 property:P276 ?b . ?b rdf:type ontology:Q1267889 }
Baggensstäket
That event is situated in Baggensstäket
Baggensstäket
action filter_type
action find
entity Battle of Stäket
relation location
type waterway
['Battle of Stäket', 'location', {'concept': 'waterway'}]
SELECT DISTINCT ?b WHERE { resource:Battle_of_Stäket property:location ?b . ?b rdf:type ontology:waterway }
[]