Simple Question (Direct)
Simple Question
Q2047663
P161
Q502895
USER
Which people are in Na dobre i na złe ?
(Q2047663,P161,c(Q502895))
action filter_type
action find
entity Q2047663
relation P161
type Q502895
['Q2047663', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q2047663 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Na dobre i na złe
action filter_type
action find
entity Na dobre i na złe
relation cast member
type common name
['Na dobre i na złe', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Na_dobre_i_na_złe property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
common name
Q8865565 Q450928 Q1869029
SYSTEM
Daria Trafankowska, Maja Ostaszewska, Redbad Klynstra
Q2947203 Q166271 Q11768005 Q9253601 Q11814494 Q11728057 Q9256844 Q8865565 Q1909935 Q459661 Q9333821 Q9302581 Q450928 Q11749614 Q11687439 Q4076382 Q11686136 Q11770071 Q11687436 Q11817481 Q1869029 Q9310911 Q9202023 Q1930601 Q6757253 Q4534532 Q1896685 Q11736413
(Q2047663,P161,c(Q502895))
action filter_type
action find
entity Q2047663
relation P161
type Q502895
[ANSWERS] are in Na dobre i na złe
['Q2047663', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q2047663 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Cezary Kosinski Małgorzata Foremniak Marek Barbasiewicz Emilia Komarnicka Paweł Wilczak Jolanta Fraszyńska Ewa Skibińska Daria Trafankowska Anita Sokołowska Artur Żmijewski Sara Müldner Radosław Krzyżowski Maja Ostaszewska Krzysztof Pieczyński Bartosz Opania Saulius Balandis Andrzej Zielinski Mariusz Bonaszewski Bartosz Obuchowicz Piotr Garlicki Redbad Klynstra Robert Koszucki Dariusz Jakubowski Michał Żebrowski Marcin Rogacewicz Edyta Jungowska Marian Opania Karolina Borkowska
Daria Trafankowska, Maja Ostaszewska and Redbad Klynstra are in Na dobre i na złe
Daria Trafankowska Maja Ostaszewska Redbad Klynstra
action filter_type
action find
entity Na dobre i na złe
relation cast member
type common name
['Na dobre i na złe', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Na_dobre_i_na_złe property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1869029
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q1869029,P19,c(Q56061))
action filter_type
action find
entity Q1869029
relation P19
type Q56061
['Q1869029', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1869029 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Redbad Klynstra
action filter_type
action find
entity Redbad Klynstra
relation place of birth
type administrative territorial entity
['Redbad Klynstra', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Redbad_Klynstra property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q1869029
SYSTEM
Did you mean Redbad Klynstra ?
Q8865565 Q450928 Q1869029
(Q8865565,P19,c(Q56061)) (Q450928,P19,c(Q56061)) (Q1869029,P19,c(Q56061))
[ANSWER]
['Q8865565', 'P19', {'concept': 'Q56061'}] ['Q450928', 'P19', {'concept': 'Q56061'}] ['Q1869029', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1869029 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Daria Trafankowska Maja Ostaszewska Redbad Klynstra
Did you mean Redbad Klynstra ?
Redbad Klynstra
['Daria Trafankowska', 'place of birth', {'concept': 'administrative territorial entity'}] ['Maja Ostaszewska', 'place of birth', {'concept': 'administrative territorial entity'}] ['Redbad Klynstra', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Redbad_Klynstra property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1869029,P19,c(Q56061))
['Q1869029', 'P19', {'concept': 'Q56061'}]
['Redbad Klynstra', 'place of birth', {'concept': 'administrative territorial entity'}]
[]
Q727
SYSTEM
Amsterdam
Q727
(Q1869029,P19,c(Q56061))
action filter_type
action find
entity Q1869029
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q1869029', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1869029 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Amsterdam
Amsterdam is the place of birth of that person
Amsterdam
action filter_type
action find
entity Redbad Klynstra
relation place of birth
type administrative territorial entity
['Redbad Klynstra', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Redbad_Klynstra property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q727 Q9921
P47
Q13220204
USER
Is Haarlemmerliede en Spaarnwoude adjacent to Amsterdam ?
(Q727,P47,Q9921)
action is_in
entity Q9921
action find
entity Q727
relation P47
['Q727', 'P47', 'Q9921']
ASK WHERE { resource:Q727 property:P47 resource:Q9921 }
Amsterdam Haarlemmerliede en Spaarnwoude
action is_in
entity Haarlemmerliede en Spaarnwoude
action find
entity Amsterdam
relation shares border with
['Amsterdam', 'shares border with', 'Haarlemmerliede en Spaarnwoude']
ASK WHERE { resource:Amsterdam property:shares_border_with resource:Haarlemmerliede_en_Spaarnwoude }
[]
second-level administrative country subdivision
SYSTEM
YES
(Q727,P47,Q9921)
action is_in
entity Q9921
action find
entity Q727
relation P47
[ANSWER]
['Q727', 'P47', 'Q9921']
ASK WHERE { resource:Q727 property:P47 resource:Q9921 }
Yes
action is_in
entity Haarlemmerliede en Spaarnwoude
action find
entity Amsterdam
relation shares border with
['Amsterdam', 'shares border with', 'Haarlemmerliede en Spaarnwoude']
ASK WHERE { resource:Amsterdam property:shares_border_with resource:Haarlemmerliede_en_Spaarnwoude }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1869029 Q29999
P27
Q15617994
USER
Is Kingdom of the Netherlands the native country of Redbad Klynstra ?
(Q1869029,P27,Q29999)
action is_in
entity Q29999
action find
entity Q1869029
relation P27
['Q1869029', 'P27', 'Q29999']
ASK WHERE { resource:Q1869029 property:P27 resource:Q29999 }
Redbad Klynstra Kingdom of the Netherlands
action is_in
entity Kingdom of the Netherlands
action find
entity Redbad Klynstra
relation country of citizenship
['Redbad Klynstra', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Redbad_Klynstra property:country_of_citizenship resource:Kingdom_of_the_Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1869029,P27,Q29999)
action is_in
entity Q29999
action find
entity Q1869029
relation P27
[ANSWER]
['Q1869029', 'P27', 'Q29999']
ASK WHERE { resource:Q1869029 property:P27 resource:Q29999 }
Yes
action is_in
entity Kingdom of the Netherlands
action find
entity Redbad Klynstra
relation country of citizenship
['Redbad Klynstra', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Redbad_Klynstra property:country_of_citizenship resource:Kingdom_of_the_Netherlands }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1869029
P21
Q290
USER
What is the sex of that person ?
action filter_type
action find
entity Q1869029
relation P21
type Q290
SELECT DISTINCT ?y WHERE { resource:Q1869029 property:P21 ?y . ?y rdf:type ontology:Q290 }
Redbad Klynstra
action filter_type
action find
entity Redbad Klynstra
relation gender
type sex
SELECT DISTINCT ?y WHERE { resource:Redbad_Klynstra property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q1869029
relation P21
type Q290
The sex of that person is a [ANSWER]
SELECT DISTINCT ?y WHERE { resource:Q1869029 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Redbad Klynstra
relation gender
type sex
SELECT DISTINCT ?y WHERE { resource:Redbad_Klynstra property:gender ?y . ?y rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q19645021 Q727
P17
Q15617994
USER
Which administrative territories do Amsterdam but not Walraven van Hallstraat belong to ?
AND((Q727,P17,c(Q15617994)), NOT((Q19645021,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q727
relation P17
action find
entity Q19645021
relation P17
type Q15617994
{'AND': [['Q727', 'P17', {'concept': 'Q15617994'}], {'NOT': [['Q19645021', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?l WHERE { MINUS { resource:Q19645021 property:P17 ?l } . resource:Q727 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Walraven van Hallstraat Amsterdam
action filter_type
action difference
action find
entity Amsterdam
relation country
action find
entity Walraven van Hallstraat
relation country
type designation for an administrative territorial entity
{'AND': [['Amsterdam', 'country', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Walraven van Hallstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?l WHERE { MINUS { resource:Walraven_van_Hallstraat property:country ?l } . resource:Amsterdam property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q727,P17,c(Q15617994)), NOT((Q19645021,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q727
relation P17
action find
entity Q19645021
relation P17
type Q15617994
Amsterdam but not Walraven van Hallstraat belong to the [ANSWER]
{'AND': [['Q727', 'P17', {'concept': 'Q15617994'}], {'NOT': [['Q19645021', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?l WHERE { MINUS { resource:Q19645021 property:P17 ?l } . resource:Q727 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
France
Amsterdam but not Walraven van Hallstraat belong to the France
France
action filter_type
action difference
action find
entity Amsterdam
relation country
action find
entity Walraven van Hallstraat
relation country
type designation for an administrative territorial entity
{'AND': [['Amsterdam', 'country', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Walraven van Hallstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?l WHERE { MINUS { resource:Walraven_van_Hallstraat property:country ?l } . resource:Amsterdam property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2056526 Q29999
P47 P17
Q15617994
USER
Which administrative territories are adjacent to Kingdom of the Netherlands or are Podžaga situated in ?
OR((Q29999,P47,c(Q15617994)), (Q2056526,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q29999
relation P47
action find
entity Q2056526
relation P17
type Q15617994
{'OR': [['Q29999', 'P47', {'concept': 'Q15617994'}], ['Q2056526', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q29999 property:P47 ?c } UNION { resource:Q2056526 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
Podžaga Kingdom of the Netherlands
action filter_type
action union
action find
entity Kingdom of the Netherlands
relation shares border with
action find
entity Podžaga
relation country
type designation for an administrative territorial entity
{'OR': [['Kingdom of the Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Podžaga', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Kingdom_of_the_Netherlands property:shares_border_with ?c } UNION { resource:Podžaga property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q31 Q717 Q215
SYSTEM
France, Belgium, Venezuela, Slovenia
Q142 Q31 Q717 Q215
OR((Q29999,P47,c(Q15617994)), (Q2056526,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q29999
relation P47
action find
entity Q2056526
relation P17
type Q15617994
[ANSWERS] are adjacent to Kingdom of the Netherlands or are Podžaga situated in
{'OR': [['Q29999', 'P47', {'concept': 'Q15617994'}], ['Q2056526', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q29999 property:P47 ?c } UNION { resource:Q2056526 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
France Belgium Venezuela Slovenia
France, Belgium, Venezuela and Slovenia are adjacent to Kingdom of the Netherlands or are Podžaga situated in
France Belgium Venezuela Slovenia
action filter_type
action union
action find
entity Kingdom of the Netherlands
relation shares border with
action find
entity Podžaga
relation country
type designation for an administrative territorial entity
{'OR': [['Kingdom of the Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Podžaga', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Kingdom_of_the_Netherlands property:shares_border_with ?c } UNION { resource:Podžaga property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]