Simple Question (Direct)
Simple Question
Q16760729
P39
Q12737077
USER
Which occupations were the positions occupied by Ole Torjeson Lindstøl ?
(Q16760729,P39,c(Q12737077))
action filter_type
action find
entity Q16760729
relation P39
type Q12737077
['Q16760729', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q16760729 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Ole Torjeson Lindstøl
action filter_type
action find
entity Ole Torjeson Lindstøl
relation position held
type occupation
['Ole Torjeson Lindstøl', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Ole_Torjeson_Lindstøl property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q9045502 Q30185
SYSTEM
member of the Parliament of Norway, mayor
Q9045502 Q30185
(Q16760729,P39,c(Q12737077))
action filter_type
action find
entity Q16760729
relation P39
type Q12737077
The [ANSWERS] were the positions occupied by Ole Torjeson Lindstøl
['Q16760729', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q16760729 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
member of the Parliament of Norway mayor
The member of the Parliament of Norway and mayor were the positions occupied by Ole Torjeson Lindstøl
member of the Parliament of Norway mayor
action filter_type
action find
entity Ole Torjeson Lindstøl
relation position held
type occupation
['Ole Torjeson Lindstøl', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Ole_Torjeson_Lindstøl property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9045502 Q30185
P106
Q502895
USER
Which people have the profession of member of the Parliament of Norway and mayor ?
(c(Q502895),P106,Q9045502) (c(Q502895),P106,Q30185)
action union
action filter_type
action find_reverse
entity Q9045502
relation P106
type Q502895
action filter_type
action find_reverse
entity Q30185
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q9045502'] [{'concept': 'Q502895'}, 'P106', 'Q30185']
SELECT DISTINCT ?o WHERE { { ?o property:P106 resource:Q30185 . ?o rdf:type ontology:Q502895 } UNION { ?o property:P106 resource:Q9045502 . ?o rdf:type ontology:Q502895 } }
member of the Parliament of Norway mayor
action union
action filter_type
action find_reverse
entity member of the Parliament of Norway
relation occupation
type common name
action filter_type
action find_reverse
entity mayor
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the Parliament of Norway'] [{'concept': 'common name'}, 'occupation', 'mayor']
SELECT DISTINCT ?o WHERE { { ?o property:occupation resource:mayor . ?o rdf:type ontology:common_name } UNION { ?o property:occupation resource:member_of_the_Parliament_of_Norway . ?o rdf:type ontology:common_name } }
[]
common name
Q2651847 Q11972393 Q7159099
SYSTEM
Ramón Labayen Sansinenea, Gotfred Johan Hølvold, Peder Klykken
Q7159099 Q11972393 Q20054192 Q27665572 Q5481949 Q12266475 Q12260703 Q2651847 Q4532603
(c(Q502895),P106,Q9045502) (c(Q502895),P106,Q30185)
action union
action filter_type
action find_reverse
entity Q9045502
relation P106
type Q502895
action filter_type
action find_reverse
entity Q30185
relation P106
type Q502895
[ANSWERS] have the profession of member of the Parliament of Norway and mayor
[{'concept': 'Q502895'}, 'P106', 'Q9045502'] [{'concept': 'Q502895'}, 'P106', 'Q30185']
SELECT DISTINCT ?o WHERE { { ?o property:P106 resource:Q30185 . ?o rdf:type ontology:Q502895 } UNION { ?o property:P106 resource:Q9045502 . ?o rdf:type ontology:Q502895 } }
Peder Klykken Gotfred Johan Hølvold Tomáš Hájek Dominique-François Sébire Francis Moon Ramón Fernandez Garaialde Jose Maria Soroa Ramón Labayen Sansinenea Heo Nam-sik
Ramón Labayen Sansinenea, Gotfred Johan Hølvold and Peder Klykken have the profession of member of the Parliament of Norway and mayor
Ramón Labayen Sansinenea Gotfred Johan Hølvold Peder Klykken
action union
action filter_type
action find_reverse
entity member of the Parliament of Norway
relation occupation
type common name
action filter_type
action find_reverse
entity mayor
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the Parliament of Norway'] [{'concept': 'common name'}, 'occupation', 'mayor']
SELECT DISTINCT ?o WHERE { { ?o property:occupation resource:mayor . ?o rdf:type ontology:common_name } UNION { ?o property:occupation resource:member_of_the_Parliament_of_Norway . ?o rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2651847 Q11972393 Q7159099
P27
Q15617994
USER
Which administrative territories are Ramón Labayen Sansinenea, Gotfred Johan Hølvold and Peder Klykken an inhabitant of ?
(Q2651847,P27,c(Q15617994)) (Q11972393,P27,c(Q15617994)) (Q7159099,P27,c(Q15617994))
action union
action filter_type
action find
entity Q2651847
relation P27
type Q15617994
action filter_type
action find
entity Q11972393
relation P27
type Q15617994
action filter_type
action find
entity Q7159099
relation P27
type Q15617994
['Q2651847', 'P27', {'concept': 'Q15617994'}] ['Q11972393', 'P27', {'concept': 'Q15617994'}] ['Q7159099', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?b property:P27 ?y . VALUES ( ?b ) { ( resource:Q2651847 ) ( resource:Q11972393 ) } }
Ramón Labayen Sansinenea Gotfred Johan Hølvold Peder Klykken
action union
action filter_type
action find
entity Ramón Labayen Sansinenea
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Gotfred Johan Hølvold
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Peder Klykken
relation country of citizenship
type designation for an administrative territorial entity
['Ramón Labayen Sansinenea', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Gotfred Johan Hølvold', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Peder Klykken', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?b property:country_of_citizenship ?y . VALUES ( ?b ) { ( resource:Ramón_Labayen_Sansinenea ) ( resource:Gotfred_Johan_Hølvold ) } }
[]
designation for an administrative territorial entity
Q29 Q20 Q20
SYSTEM
Norway for 2nd, 3rd, Spain for 1st
Q29 Q20 Q20
(Q2651847,P27,c(Q15617994)) (Q11972393,P27,c(Q15617994)) (Q7159099,P27,c(Q15617994))
action union
action filter_type
action find
entity Q2651847
relation P27
type Q15617994
action filter_type
action find
entity Q11972393
relation P27
type Q15617994
action filter_type
action find
entity Q7159099
relation P27
type Q15617994
[ANSWERS]
['Q2651847', 'P27', {'concept': 'Q15617994'}] ['Q11972393', 'P27', {'concept': 'Q15617994'}] ['Q7159099', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?b property:P27 ?y . VALUES ( ?b ) { ( resource:Q2651847 ) ( resource:Q11972393 ) } }
Spain Norway Norway
Spain, Norway and Norway are Ramón Labayen Sansinenea, Gotfred Johan Hølvold and Peder Klykken an inhabitant of
Spain Norway Norway
action union
action filter_type
action find
entity Ramón Labayen Sansinenea
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Gotfred Johan Hølvold
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Peder Klykken
relation country of citizenship
type designation for an administrative territorial entity
['Ramón Labayen Sansinenea', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Gotfred Johan Hølvold', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Peder Klykken', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?b property:country_of_citizenship ?y . VALUES ( ?b ) { ( resource:Ramón_Labayen_Sansinenea ) ( resource:Gotfred_Johan_Hølvold ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2651847
P937
Q7188
USER
What is the work location of Ramón Labayen Sansinenea ?
(Q2651847,P937,c(Q7188))
action filter_type
action find
entity Q2651847
relation P937
type Q7188
['Q2651847', 'P937', {'concept': 'Q7188'}]
SELECT DISTINCT ?w WHERE { resource:Q2651847 property:P937 ?w . ?w rdf:type ontology:Q7188 }
Ramón Labayen Sansinenea
action filter_type
action find
entity Ramón Labayen Sansinenea
relation work location
type government
['Ramón Labayen Sansinenea', 'work location', {'concept': 'government'}]
SELECT DISTINCT ?w WHERE { resource:Ramón_Labayen_Sansinenea property:work_location ?w . ?w rdf:type ontology:government }
[]
government
Q4018
SYSTEM
Navarre
Q4018
(Q2651847,P937,c(Q7188))
action filter_type
action find
entity Q2651847
relation P937
type Q7188
The work location of Ramón Labayen Sansinenea is in [ANSWER]
['Q2651847', 'P937', {'concept': 'Q7188'}]
SELECT DISTINCT ?w WHERE { resource:Q2651847 property:P937 ?w . ?w rdf:type ontology:Q7188 }
Navarre
The work location of Ramón Labayen Sansinenea is in Navarre
Navarre
action filter_type
action find
entity Ramón Labayen Sansinenea
relation work location
type government
['Ramón Labayen Sansinenea', 'work location', {'concept': 'government'}]
SELECT DISTINCT ?w WHERE { resource:Ramón_Labayen_Sansinenea property:work_location ?w . ?w rdf:type ontology:government }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q2651847
Q56061
USER
And which administrative territory?
(Q2651847,P937,c(Q56061))
action filter_type
action find
entity Q2651847
relation P937
type Q56061
['Q2651847', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q2651847 property:P937 ?t . ?t rdf:type ontology:Q56061 }
Ramón Labayen Sansinenea
action filter_type
action find
entity Ramón Labayen Sansinenea
relation work location
type administrative territorial entity
['Ramón Labayen Sansinenea', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ramón_Labayen_Sansinenea property:work_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q10313
SYSTEM
Donostia/San Sebastián
Q10313
(Q2651847,P937,c(Q56061))
action filter_type
action find
entity Q2651847
relation P937
type Q56061
[ANSWER]
['Q2651847', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q2651847 property:P937 ?t . ?t rdf:type ontology:Q56061 }
Donostia/San Sebastián
Donostia/San Sebastián
action filter_type
action find
entity Ramón Labayen Sansinenea
relation work location
type administrative territorial entity
['Ramón Labayen Sansinenea', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ramón_Labayen_Sansinenea property:work_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10313
P6
Q502895
USER
Which people are the head of government of that administrative territory ?
(Q10313,P6,c(Q502895))
action filter_type
action find
entity Q10313
relation P6
type Q502895
['Q10313', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q10313 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Donostia/San Sebastián
action filter_type
action find
entity Donostia/San Sebastián
relation head of government
type common name
['Donostia/San Sebastián', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Donostia/San_Sebastián property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
common name
Q3756214 Q4892191 Q2151531
SYSTEM
Xabier Albistur Marín, Odón Elorza González, Juan Karlos Izagirre
Q4892191 Q2151531 Q12256843 Q3756214
(Q10313,P6,c(Q502895))
action filter_type
action find
entity Q10313
relation P6
type Q502895
[ANSWERS] are the head of government of that administrative territory
['Q10313', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q10313 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Odón Elorza González Juan Karlos Izagirre Eneko Goia Laso Xabier Albistur Marín
Xabier Albistur Marín, Odón Elorza González and Juan Karlos Izagirre are the head of government of that administrative territory
Xabier Albistur Marín Odón Elorza González Juan Karlos Izagirre
action filter_type
action find
entity Donostia/San Sebastián
relation head of government
type common name
['Donostia/San Sebastián', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Donostia/San_Sebastián property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2000659
Q502895
USER
And also tell me about Stonava?
(Q2000659,P6,c(Q502895))
action filter_type
action find
entity Q2000659
relation P6
type Q502895
['Q2000659', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2000659 property:P6 ?y . ?y rdf:type ontology:Q502895 }
Stonava
action filter_type
action find
entity Stonava
relation head of government
type common name
['Stonava', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Stonava property:head_of_government ?y . ?y rdf:type ontology:common_name }
[]
common name
Q11685867
SYSTEM
Ondřej Feber
Q11685867
(Q2000659,P6,c(Q502895))
action filter_type
action find
entity Q2000659
relation P6
type Q502895
[ANSWER]
['Q2000659', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2000659 property:P6 ?y . ?y rdf:type ontology:Q502895 }
Ondřej Feber
Ondřej Feber
action filter_type
action find
entity Stonava
relation head of government
type common name
['Stonava', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Stonava property:head_of_government ?y . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2322505 Q11685867
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Ondřej Feber or Dennis ten Vergert ?
OR((Q11685867,P27,c(Q15617994)), (Q2322505,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11685867
relation P27
action find
entity Q2322505
relation P27
type Q15617994
{'OR': [['Q11685867', 'P27', {'concept': 'Q15617994'}], ['Q2322505', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q2322505 property:P27 ?l } UNION { resource:Q11685867 property:P27 ?l } } }
Dennis ten Vergert Ondřej Feber
action filter_type
action union
action find
entity Ondřej Feber
relation country of citizenship
action find
entity Dennis ten Vergert
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ondřej Feber', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dennis ten Vergert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Dennis_ten_Vergert property:country_of_citizenship ?l } UNION { resource:Ondřej_Feber property:country_of_citizenship ?l } } }
[]
designation for an administrative territorial entity
Q213 Q29999
SYSTEM
Czech Republic, Kingdom of the Netherlands
Q213 Q29999
OR((Q11685867,P27,c(Q15617994)), (Q2322505,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11685867
relation P27
action find
entity Q2322505
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Ondřej Feber or Dennis ten Vergert
{'OR': [['Q11685867', 'P27', {'concept': 'Q15617994'}], ['Q2322505', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q2322505 property:P27 ?l } UNION { resource:Q11685867 property:P27 ?l } } }
Czech Republic Kingdom of the Netherlands
Czech Republic and Kingdom of the Netherlands are the countries of citizenship of Ondřej Feber or Dennis ten Vergert
Czech Republic Kingdom of the Netherlands
action filter_type
action union
action find
entity Ondřej Feber
relation country of citizenship
action find
entity Dennis ten Vergert
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ondřej Feber', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dennis ten Vergert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Dennis_ten_Vergert property:country_of_citizenship ?l } UNION { resource:Ondřej_Feber property:country_of_citizenship ?l } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q23460082
P27
Q502895
USER
Are Helena van der Kraan a citizen of those administrative territories ?
(Q23460082,P27,Q213) (Q23460082,P27,Q29999)
action is_in
entity prev_answer
action find
entity Q23460082
relation P27
['Q23460082', 'P27', 'Q213'] ['Q23460082', 'P27', 'Q29999']
ASK WHERE { resource:Q23460082 property:P27 ?x . VALUES ( ?x ) { ( resource:Q213 ) ( resource:Q29999 ) } }
Helena van der Kraan
action is_in
entity prev_answer
action find
entity Helena van der Kraan
relation country of citizenship
['Helena van der Kraan', 'country of citizenship', 'Czech Republic'] ['Helena van der Kraan', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Helena_van_der_Kraan property:country_of_citizenship ?x . VALUES ( ?x ) { ( resource:Czech_Republic ) ( resource:Kingdom_of_the_Netherlands ) } }
[]
common name
SYSTEM
YES
(Q23460082,P27,Q213) (Q23460082,P27,Q29999)
action is_in
entity prev_answer
action find
entity Q23460082
relation P27
[ANSWER]
['Q23460082', 'P27', 'Q213'] ['Q23460082', 'P27', 'Q29999']
ASK WHERE { resource:Q23460082 property:P27 ?x . VALUES ( ?x ) { ( resource:Q213 ) ( resource:Q29999 ) } }
Yes
action is_in
entity prev_answer
action find
entity Helena van der Kraan
relation country of citizenship
['Helena van der Kraan', 'country of citizenship', 'Czech Republic'] ['Helena van der Kraan', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Helena_van_der_Kraan property:country_of_citizenship ?x . VALUES ( ?x ) { ( resource:Czech_Republic ) ( resource:Kingdom_of_the_Netherlands ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q11972393 Q13193048
P937
Q56061
USER
Is Noreikiškės the work location of Gotfred Johan Hølvold ?
(Q11972393,P937,Q13193048)
action is_in
entity Q13193048
action find
entity Q11972393
relation P937
['Q11972393', 'P937', 'Q13193048']
ASK WHERE { resource:Q11972393 property:P937 resource:Q13193048 }
Gotfred Johan Hølvold Noreikiškės
action is_in
entity Noreikiškės
action find
entity Gotfred Johan Hølvold
relation work location
['Gotfred Johan Hølvold', 'work location', 'Noreikiškės']
ASK WHERE { resource:Gotfred_Johan_Hølvold property:work_location resource:Noreikiškės }
[]
administrative territorial entity
SYSTEM
NO
(Q11972393,P937,Q13193048)
action is_in
entity Q13193048
action find
entity Q11972393
relation P937
[ANSWER]
['Q11972393', 'P937', 'Q13193048']
ASK WHERE { resource:Q11972393 property:P937 resource:Q13193048 }
No
action is_in
entity Noreikiškės
action find
entity Gotfred Johan Hølvold
relation work location
['Gotfred Johan Hølvold', 'work location', 'Noreikiškės']
ASK WHERE { resource:Gotfred_Johan_Hølvold property:work_location resource:Noreikiškės }
[]