Simple Question (Direct)
Simple Question
Q869931
P119
Q56061
USER
Which administrative territory is the place of burial of Lojze Spazzapan ?
(Q869931,P119,c(Q56061))
action filter_type
action find
entity Q869931
relation P119
type Q56061
['Q869931', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q869931 property:P119 ?o . ?o rdf:type ontology:Q56061 }
Lojze Spazzapan
action filter_type
action find
entity Lojze Spazzapan
relation place of burial
type administrative territorial entity
['Lojze Spazzapan', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Lojze_Spazzapan property:place_of_burial ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q495
SYSTEM
Turin
Q495
(Q869931,P119,c(Q56061))
action filter_type
action find
entity Q869931
relation P119
type Q56061
[ANSWER] is the place of burial of Lojze Spazzapan
['Q869931', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q869931 property:P119 ?o . ?o rdf:type ontology:Q56061 }
Turin
Turin is the place of burial of Lojze Spazzapan
Turin
action filter_type
action find
entity Lojze Spazzapan
relation place of burial
type administrative territorial entity
['Lojze Spazzapan', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Lojze_Spazzapan property:place_of_burial ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q869931
P20
Q56061
USER
Where did Lojze Spazzapan expire ?
(Q869931,P20,c(Q56061))
action filter_type
action find
entity Q869931
relation P20
type Q56061
['Q869931', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q869931 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Lojze Spazzapan
action filter_type
action find
entity Lojze Spazzapan
relation place of death
type administrative territorial entity
['Lojze Spazzapan', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Lojze_Spazzapan property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q495
SYSTEM
Turin
Q495
(Q869931,P20,c(Q56061))
action filter_type
action find
entity Q869931
relation P20
type Q56061
Lojze Spazzapan expired in [ANSWER]
['Q869931', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q869931 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Turin
Lojze Spazzapan expired in Turin
Turin
action filter_type
action find
entity Lojze Spazzapan
relation place of death
type administrative territorial entity
['Lojze Spazzapan', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Lojze_Spazzapan property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q321058
Q56061
USER
And what about Franciszek Kareu?
(Q321058,P20,c(Q56061))
action filter_type
action find
entity Q321058
relation P20
type Q56061
['Q321058', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q321058 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Franciszek Kareu
action filter_type
action find
entity Franciszek Kareu
relation place of death
type administrative territorial entity
['Franciszek Kareu', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Franciszek_Kareu property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q200797
SYSTEM
Polotsk
Q200797
(Q321058,P20,c(Q56061))
action filter_type
action find
entity Q321058
relation P20
type Q56061
[ANSWER]
['Q321058', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q321058 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Polotsk
Polotsk
action filter_type
action find
entity Franciszek Kareu
relation place of death
type administrative territorial entity
['Franciszek Kareu', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Franciszek_Kareu property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q13220204
USER
How many administrative country subdivisions have a shared border with that administrative territory ?
(Q200797,P47,c(Q13220204))
action count
action filter_type
action find
entity Q200797
relation P47
type Q13220204
['Q200797', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q200797 property:P47 ?n . ?n rdf:type ontology:Q13220204 }
action count
action filter_type
action find
entity Polotsk
relation shares border with
type second-level administrative country subdivision
['Polotsk', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Polotsk property:shares_border_with ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
SYSTEM
1
Q1423032
(Q200797,P47,c(Q13220204))
action count
action filter_type
action find
entity Q200797
relation P47
type Q13220204
[ANSWER]
['Q200797', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q200797 property:P47 ?n . ?n rdf:type ontology:Q13220204 }
Polatsk District
1
action count
action filter_type
action find
entity Polotsk
relation shares border with
type second-level administrative country subdivision
['Polotsk', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Polotsk property:shares_border_with ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q869931 Q21427321
P27
Q15617994
USER
How many administrative territories are Lojze Spazzapan or Fireball Recovery and InterPlanetary Observation Network a civilian of ?
(Q869931,P27,c(Q15617994)) (Q21427321,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q869931
relation P27
type Q15617994
action filter_type
action find
entity Q21427321
relation P27
type Q15617994
['Q869931', 'P27', {'concept': 'Q15617994'}] ['Q21427321', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { resource:Q869931 property:P27 ?m . ?m rdf:type ontology:Q15617994 } UNION { ?m rdf:type ontology:Q15617994 . resource:Q21427321 property:P27 ?m } }
Lojze Spazzapan Fireball Recovery and InterPlanetary Observation Network
action count
action union
action filter_type
action find
entity Lojze Spazzapan
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Fireball Recovery and InterPlanetary Observation Network
relation country of citizenship
type designation for an administrative territorial entity
['Lojze Spazzapan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Fireball Recovery and InterPlanetary Observation Network', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { resource:Lojze_Spazzapan property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fireball_Recovery_and_InterPlanetary_Observation_Network property:country_of_citizenship ?m } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q142 Q38
(Q869931,P27,c(Q15617994)) (Q21427321,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q869931
relation P27
type Q15617994
action filter_type
action find
entity Q21427321
relation P27
type Q15617994
[ANSWER]
['Q869931', 'P27', {'concept': 'Q15617994'}] ['Q21427321', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { resource:Q869931 property:P27 ?m . ?m rdf:type ontology:Q15617994 } UNION { ?m rdf:type ontology:Q15617994 . resource:Q21427321 property:P27 ?m } }
France Italy
2
action count
action union
action filter_type
action find
entity Lojze Spazzapan
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Fireball Recovery and InterPlanetary Observation Network
relation country of citizenship
type designation for an administrative territorial entity
['Lojze Spazzapan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Fireball Recovery and InterPlanetary Observation Network', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { resource:Lojze_Spazzapan property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fireball_Recovery_and_InterPlanetary_Observation_Network property:country_of_citizenship ?m } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q200797
P19
Q502895
USER
How many people have location of birth at Polotsk ?
(c(Q502895),P19,Q200797)
action count
action filter_type
action find_reverse
entity Q200797
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q200797']
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:P19 resource:Q200797 . ?l rdf:type ontology:Q502895 }
Polotsk
action count
action filter_type
action find_reverse
entity Polotsk
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Polotsk']
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:place_of_birth resource:Polotsk . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
35
Q1463452 Q13133104 Q743831 Q3917946 Q4189496 Q2498455 Q326454 Q9150537 Q561635 Q4113877 Q435320 Q700503 Q4415101 Q9286015 Q3920184 Q18244869 Q4143795 Q893667 Q3920648 Q9382377 Q3919508 Q645784 Q2467981 Q11739497 Q497915 Q9370514 Q257706 Q9151068 Q16025236 Q4519588 Q1966127 Q11733150 Q4166785 Q9177009 Q433755
(c(Q502895),P19,Q200797)
action count
action filter_type
action find_reverse
entity Q200797
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q200797']
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:P19 resource:Q200797 . ?l rdf:type ontology:Q502895 }
Uladzimir Aljakseevič Arloŭ Vinces Mudrou Ljavon Barščėŭski Ales Savitsky Zvenyslava Rogvolodovna Bryachislav of Polotsk Gabriel Lenkiewicz Anastasiya Fadzeyenka Symeon of Polotsk Rostislav Vovkushevsky Francysk Skaryna Fjodor Fjodorowitsch Tornau Vasilij Ivanovič Semevskij Hanna Nakhayeva Sergei Saharov Martin Łaski Vyacheslav Gordanov Boris Galerkin Yuri Tarich Władysław Weryho Olga Antropova Igor Shitov Vladimir Alekno Kiryl Lemiashkevich Vseslav of Polotsk Valeryi Alaksandrau Euphrosyne of Polatsk Andrei Pliashkou Savely Abramovitch Sorin Uladzimir Shakaw Natalia Murschtschakina Katsyaryna Shlyupskaya Galina Dorogina Bolesław Zarako-Zarakowski Mary Antin
35
action count
action filter_type
action find_reverse
entity Polotsk
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Polotsk']
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:place_of_birth resource:Polotsk . ?l rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q46206 Q869931
P47 P19
Q15617994
USER
Which administrative territories are the birthplace of Lojze Spazzapan or are bordered by Grancona ?
OR((Q869931,P19,c(Q15617994)), (Q46206,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q869931
relation P19
action find
entity Q46206
relation P47
type Q15617994
{'OR': [['Q869931', 'P19', {'concept': 'Q15617994'}], ['Q46206', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q869931 property:P19 ?o } UNION { resource:Q46206 property:P47 ?o } } . ?o rdf:type ontology:Q15617994 }
Grancona Lojze Spazzapan
action filter_type
action union
action find
entity Lojze Spazzapan
relation place of birth
action find
entity Grancona
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Lojze Spazzapan', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Grancona', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Lojze_Spazzapan property:place_of_birth ?o } UNION { resource:Grancona property:shares_border_with ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q46410 Q47385 Q53129 Q46927 Q46342 Q47234
SYSTEM
Brendola, Lonigo, Gradisca d'Isonzo, Sarego, Zovencedo, San Germano dei Berici
Q46410 Q47385 Q53129 Q46927 Q46342 Q47234
OR((Q869931,P19,c(Q15617994)), (Q46206,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q869931
relation P19
action find
entity Q46206
relation P47
type Q15617994
[ANSWERS] are the birthplace of Lojze Spazzapan or are bordered by Grancona
{'OR': [['Q869931', 'P19', {'concept': 'Q15617994'}], ['Q46206', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q869931 property:P19 ?o } UNION { resource:Q46206 property:P47 ?o } } . ?o rdf:type ontology:Q15617994 }
Brendola Lonigo Gradisca d'Isonzo Sarego Zovencedo San Germano dei Berici
Brendola, Lonigo, Gradisca d'Isonzo, Sarego, Zovencedo and San Germano dei Berici are the birthplace of Lojze Spazzapan or are bordered by Grancona
Brendola Lonigo Gradisca d'Isonzo Sarego Zovencedo San Germano dei Berici
action filter_type
action union
action find
entity Lojze Spazzapan
relation place of birth
action find
entity Grancona
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Lojze Spazzapan', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Grancona', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Lojze_Spazzapan property:place_of_birth ?o } UNION { resource:Grancona property:shares_border_with ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q869931
P106
Q12737077
USER
What are the job of Lojze Spazzapan ?
(Q869931,P106,c(Q12737077))
action filter_type
action find
entity Q869931
relation P106
type Q12737077
['Q869931', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q869931 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Lojze Spazzapan
action filter_type
action find
entity Lojze Spazzapan
relation occupation
type occupation
['Lojze Spazzapan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Lojze_Spazzapan property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q1028181 Q1281618
SYSTEM
painter, sculptor
Q1028181 Q1281618
(Q869931,P106,c(Q12737077))
action filter_type
action find
entity Q869931
relation P106
type Q12737077
The job of Lojze Spazzapan are a [ANSWERS]
['Q869931', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q869931 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
painter sculptor
The job of Lojze Spazzapan are a painter and sculptor
painter sculptor
action filter_type
action find
entity Lojze Spazzapan
relation occupation
type occupation
['Lojze Spazzapan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Lojze_Spazzapan property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q869931
P21
Q290
USER
What is the sex of Lojze Spazzapan ?
(Q869931,P21,c(Q290))
action filter_type
action find
entity Q869931
relation P21
type Q290
['Q869931', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q869931 property:P21 ?e . ?e rdf:type ontology:Q290 }
Lojze Spazzapan
action filter_type
action find
entity Lojze Spazzapan
relation gender
type sex
['Lojze Spazzapan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Lojze_Spazzapan property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q869931,P21,c(Q290))
action filter_type
action find
entity Q869931
relation P21
type Q290
The sex of Lojze Spazzapan is the [ANSWER]
['Q869931', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q869931 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
The sex of Lojze Spazzapan is the male
male
action filter_type
action find
entity Lojze Spazzapan
relation gender
type sex
['Lojze Spazzapan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Lojze_Spazzapan property:gender ?e . ?e rdf:type ontology:sex }
[]