Simple Question (Direct)
Simple Question
Q7654987
P991
Q502895
USER
Which person was the elected candidate from Swedish general election, 2014 ?
(Q7654987,P991,c(Q502895))
action filter_type
action find
entity Q7654987
relation P991
type Q502895
['Q7654987', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q7654987 property:P991 ?u . ?u rdf:type ontology:Q502895 }
Swedish general election, 2014
action filter_type
action find
entity Swedish general election, 2014
relation successful candidate
type common name
['Swedish general election, 2014', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Swedish_general_election,_2014 property:successful_candidate ?u . ?u rdf:type ontology:common_name }
[]
common name
Q2740012
SYSTEM
Stefan Löfven
Q2740012
(Q7654987,P991,c(Q502895))
action filter_type
action find
entity Q7654987
relation P991
type Q502895
[ANSWER] was the elected candidate from Swedish general election, 2014
['Q7654987', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q7654987 property:P991 ?u . ?u rdf:type ontology:Q502895 }
Stefan Löfven
Stefan Löfven was the elected candidate from Swedish general election, 2014
Stefan Löfven
action filter_type
action find
entity Swedish general election, 2014
relation successful candidate
type common name
['Swedish general election, 2014', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Swedish_general_election,_2014 property:successful_candidate ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7654987
P17
Q15617994
USER
Which administrative territory is that general election present in ?
(Q2740012,P17,c(Q15617994))
action filter_type
action find
entity Q7654987
relation P17
type Q15617994
['Q2740012', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q7654987 property:P17 ?n }
Swedish general election, 2014
action filter_type
action find
entity Swedish general election, 2014
relation country
type designation for an administrative territorial entity
['Stefan Löfven', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Swedish_general_election,_2014 property:country ?n }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q2740012,P17,c(Q15617994))
action filter_type
action find
entity Q7654987
relation P17
type Q15617994
That general election is in [ANSWER]
['Q2740012', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q7654987 property:P17 ?n }
Sweden
That general election is in Sweden
Sweden
action filter_type
action find
entity Swedish general election, 2014
relation country
type designation for an administrative territorial entity
['Stefan Löfven', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Swedish_general_election,_2014 property:country ?n }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q11893212 Q7654987
P17
Q15617994
USER
Or Regional road 912?
OR((Q7654987,P17,c(Q15617994)), (Q11893212,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7654987
relation P17
action find
entity Q11893212
relation P17
type Q15617994
{'OR': [['Q7654987', 'P17', {'concept': 'Q15617994'}], ['Q11893212', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?c ) { ( resource:Q7654987 ) ( resource:Q11893212 ) } . ?c property:P17 ?q } . ?q rdf:type ontology:Q15617994 }
Regional road 912 Swedish general election, 2014
action filter_type
action union
action find
entity Swedish general election, 2014
relation country
action find
entity Regional road 912
relation country
type designation for an administrative territorial entity
{'OR': [['Swedish general election, 2014', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Regional road 912', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?c ) { ( resource:Swedish_general_election,_2014 ) ( resource:Regional_road_912 ) } . ?c property:country ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q34
SYSTEM
Finland, Sweden
Q33 Q34
OR((Q7654987,P17,c(Q15617994)), (Q11893212,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7654987
relation P17
action find
entity Q11893212
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q7654987', 'P17', {'concept': 'Q15617994'}], ['Q11893212', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?c ) { ( resource:Q7654987 ) ( resource:Q11893212 ) } . ?c property:P17 ?q } . ?q rdf:type ontology:Q15617994 }
Finland Sweden
Finland Sweden
action filter_type
action union
action find
entity Swedish general election, 2014
relation country
action find
entity Regional road 912
relation country
type designation for an administrative territorial entity
{'OR': [['Swedish general election, 2014', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Regional road 912', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?c ) { ( resource:Swedish_general_election,_2014 ) ( resource:Regional_road_912 ) } . ?c property:country ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11864147
P27
Q502895
USER
Are Håkan Tollet a citizen of those administrative territories ?
(Q11864147,P27,Q33) (Q11864147,P27,Q34)
action is_in
entity prev_answer
action find
entity Q11864147
relation P27
['Q11864147', 'P27', 'Q33'] ['Q11864147', 'P27', 'Q34']
ASK WHERE { resource:Q11864147 property:P27 ?u . VALUES ( ?u ) { ( resource:Q33 ) ( resource:Q34 ) } }
Håkan Tollet
action is_in
entity prev_answer
action find
entity Håkan Tollet
relation country of citizenship
['Håkan Tollet', 'country of citizenship', 'Finland'] ['Håkan Tollet', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Håkan_Tollet property:country_of_citizenship ?u . VALUES ( ?u ) { ( resource:Finland ) ( resource:Sweden ) } }
[]
common name
SYSTEM
YES
(Q11864147,P27,Q33) (Q11864147,P27,Q34)
action is_in
entity prev_answer
action find
entity Q11864147
relation P27
[ANSWER]
['Q11864147', 'P27', 'Q33'] ['Q11864147', 'P27', 'Q34']
ASK WHERE { resource:Q11864147 property:P27 ?u . VALUES ( ?u ) { ( resource:Q33 ) ( resource:Q34 ) } }
Yes
action is_in
entity prev_answer
action find
entity Håkan Tollet
relation country of citizenship
['Håkan Tollet', 'country of citizenship', 'Finland'] ['Håkan Tollet', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Håkan_Tollet property:country_of_citizenship ?u . VALUES ( ?u ) { ( resource:Finland ) ( resource:Sweden ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5086555 Q2740012
P488
Q7210356
USER
Which political organizations do Stefan Löfven or Charniele Herring lead ?
OR((c(Q7210356),P488,Q2740012), (c(Q7210356),P488,Q5086555))
action filter_type
action union
action find_reverse
entity Q2740012
relation P488
action find_reverse
entity Q5086555
relation P488
type Q7210356
{'OR': [[{'concept': 'Q7210356'}, 'P488', 'Q2740012'], [{'concept': 'Q7210356'}, 'P488', 'Q5086555']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P488 resource:Q2740012 } UNION { ?s property:P488 resource:Q5086555 } } . ?s rdf:type ontology:Q7210356 }
Charniele Herring Stefan Löfven
action filter_type
action union
action find_reverse
entity Stefan Löfven
relation chairperson
action find_reverse
entity Charniele Herring
relation chairperson
type political organization
{'OR': [[{'concept': 'political organization'}, 'chairperson', 'Stefan Löfven'], [{'concept': 'political organization'}, 'chairperson', 'Charniele Herring']]}
SELECT DISTINCT ?s WHERE { { { ?s property:chairperson resource:Stefan_Löfven } UNION { ?s property:chairperson resource:Charniele_Herring } } . ?s rdf:type ontology:political_organization }
[]
political organization
Q105112 Q5255726
SYSTEM
Swedish Social Democratic Party, Democratic Party of Virginia
Q105112 Q5255726
OR((c(Q7210356),P488,Q2740012), (c(Q7210356),P488,Q5086555))
action filter_type
action union
action find_reverse
entity Q2740012
relation P488
action find_reverse
entity Q5086555
relation P488
type Q7210356
Stefan Löfven or Charniele Herring lead the [ANSWERS]
{'OR': [[{'concept': 'Q7210356'}, 'P488', 'Q2740012'], [{'concept': 'Q7210356'}, 'P488', 'Q5086555']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P488 resource:Q2740012 } UNION { ?s property:P488 resource:Q5086555 } } . ?s rdf:type ontology:Q7210356 }
Swedish Social Democratic Party Democratic Party of Virginia
Stefan Löfven or Charniele Herring lead the Swedish Social Democratic Party and Democratic Party of Virginia
Swedish Social Democratic Party Democratic Party of Virginia
action filter_type
action union
action find_reverse
entity Stefan Löfven
relation chairperson
action find_reverse
entity Charniele Herring
relation chairperson
type political organization
{'OR': [[{'concept': 'political organization'}, 'chairperson', 'Stefan Löfven'], [{'concept': 'political organization'}, 'chairperson', 'Charniele Herring']]}
SELECT DISTINCT ?s WHERE { { { ?s property:chairperson resource:Stefan_Löfven } UNION { ?s property:chairperson resource:Charniele_Herring } } . ?s rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P112
Q43229
USER
Which organization was started by Sweden ?
(c(Q43229),P112,Q34)
action filter_type
action find_reverse
entity Q34
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q34']
SELECT DISTINCT ?o WHERE { ?o property:P112 resource:Q34 . ?o rdf:type ontology:Q43229 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Sweden']
SELECT DISTINCT ?o WHERE { ?o property:founder resource:Sweden . ?o rdf:type ontology:organization }
[]
organization
Q3181430
SYSTEM
PostNord
Q3181430
(c(Q43229),P112,Q34)
action filter_type
action find_reverse
entity Q34
relation P112
type Q43229
[ANSWER] was started by Sweden
[{'concept': 'Q43229'}, 'P112', 'Q34']
SELECT DISTINCT ?o WHERE { ?o property:P112 resource:Q34 . ?o rdf:type ontology:Q43229 }
PostNord
PostNord was started by Sweden
PostNord
action filter_type
action find_reverse
entity Sweden
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Sweden']
SELECT DISTINCT ?o WHERE { ?o property:founder resource:Sweden . ?o rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3181430
P1454
Q2712963
USER
Which abstract noun is the legal form type of that organization ?
(Q3181430,P1454,c(Q2712963))
action filter_type
action find
entity Q3181430
relation P1454
type Q2712963
['Q3181430', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?h WHERE { resource:Q3181430 property:P1454 ?h . ?h rdf:type ontology:Q2712963 }
PostNord
action filter_type
action find
entity PostNord
relation legal form
type abstract noun
['PostNord', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?h WHERE { resource:PostNord property:legal_form ?h . ?h rdf:type ontology:abstract_noun }
[]
abstract noun
Q134161
SYSTEM
joint-stock company
Q134161
(Q3181430,P1454,c(Q2712963))
action filter_type
action find
entity Q3181430
relation P1454
type Q2712963
A [ANSWER] is the legal form type of that organization
['Q3181430', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?h WHERE { resource:Q3181430 property:P1454 ?h . ?h rdf:type ontology:Q2712963 }
joint-stock company
A joint-stock company is the legal form type of that organization
joint-stock company
action filter_type
action find
entity PostNord
relation legal form
type abstract noun
['PostNord', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?h WHERE { resource:PostNord property:legal_form ?h . ?h rdf:type ontology:abstract_noun }
[]