Simple Question (Direct)
Simple Question
Q4360589
P19
Q56061
USER
Which administrative territory was Sebastian Petrycy born at ?
(Q4360589,P19,c(Q56061))
action filter_type
action find
entity Q4360589
relation P19
type Q56061
['Q4360589', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q4360589 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Sebastian Petrycy
action filter_type
action find
entity Sebastian Petrycy
relation place of birth
type administrative territorial entity
['Sebastian Petrycy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Sebastian_Petrycy property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1051750
SYSTEM
Pilzno
Q1051750
(Q4360589,P19,c(Q56061))
action filter_type
action find
entity Q4360589
relation P19
type Q56061
Sebastian Petrycy was born in [ANSWER]
['Q4360589', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q4360589 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Pilzno
Sebastian Petrycy was born in Pilzno
Pilzno
action filter_type
action find
entity Sebastian Petrycy
relation place of birth
type administrative territorial entity
['Sebastian Petrycy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Sebastian_Petrycy property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4360589
P20
Q486972
USER
Where did the demise of Sebastian Petrycy occur ?
(Q4360589,P20,c(Q486972))
action filter_type
action find
entity Q4360589
relation P20
type Q486972
['Q4360589', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?l WHERE { resource:Q4360589 property:P20 ?l . ?l rdf:type ontology:Q486972 }
Sebastian Petrycy
action filter_type
action find
entity Sebastian Petrycy
relation place of death
type human settlement
['Sebastian Petrycy', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?l WHERE { resource:Sebastian_Petrycy property:place_of_death ?l . ?l rdf:type ontology:human_settlement }
[]
human settlement
Q31487
SYSTEM
Kraków
Q31487
(Q4360589,P20,c(Q486972))
action filter_type
action find
entity Q4360589
relation P20
type Q486972
The demise of Sebastian Petrycy occurred in [ANSWER]
['Q4360589', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?l WHERE { resource:Q4360589 property:P20 ?l . ?l rdf:type ontology:Q486972 }
Kraków
The demise of Sebastian Petrycy occurred in Kraków
Kraków
action filter_type
action find
entity Sebastian Petrycy
relation place of death
type human settlement
['Sebastian Petrycy', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?l WHERE { resource:Sebastian_Petrycy property:place_of_death ?l . ?l rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4158133 Q4360589
P27 P17
Q15617994
USER
Which administrative territories do Sebastian Petrycy belong to or are Peter and Fevronia Day present in ?
OR((Q4360589,P27,c(Q15617994)), (Q4158133,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4360589
relation P27
action find
entity Q4158133
relation P17
type Q15617994
{'OR': [['Q4360589', 'P27', {'concept': 'Q15617994'}], ['Q4158133', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q4360589 property:P27 ?m } UNION { resource:Q4158133 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Peter and Fevronia Day Sebastian Petrycy
action filter_type
action union
action find
entity Sebastian Petrycy
relation country of citizenship
action find
entity Peter and Fevronia Day
relation country
type designation for an administrative territorial entity
{'OR': [['Sebastian Petrycy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Peter and Fevronia Day', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Sebastian_Petrycy property:country_of_citizenship ?m } UNION { resource:Peter_and_Fevronia_Day property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q184 Q159 Q36
SYSTEM
Ukraine, Belarus, Russia, Poland
Q212 Q184 Q159 Q36
OR((Q4360589,P27,c(Q15617994)), (Q4158133,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4360589
relation P27
action find
entity Q4158133
relation P17
type Q15617994
[ANSWERS] Sebastian Petrycy belong to or are Peter and Fevronia Day present in
{'OR': [['Q4360589', 'P27', {'concept': 'Q15617994'}], ['Q4158133', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q4360589 property:P27 ?m } UNION { resource:Q4158133 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Ukraine Belarus Russia Poland
Ukraine, Belarus, Russia and Poland Sebastian Petrycy belong to or are Peter and Fevronia Day present in
Ukraine Belarus Russia Poland
action filter_type
action union
action find
entity Sebastian Petrycy
relation country of citizenship
action find
entity Peter and Fevronia Day
relation country
type designation for an administrative territorial entity
{'OR': [['Sebastian Petrycy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Peter and Fevronia Day', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Sebastian_Petrycy property:country_of_citizenship ?m } UNION { resource:Peter_and_Fevronia_Day property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q159 Q717
P463
Q43229
USER
How many organizations had Russia and Venezuela as their member ?
(Q159,P463,c(Q43229)) (Q717,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q159
relation P463
type Q43229
action filter_type
action find
entity Q717
relation P463
type Q43229
['Q159', 'P463', {'concept': 'Q43229'}] ['Q717', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { resource:Q159 property:P463 ?z . ?z rdf:type ontology:Q43229 . resource:Q717 property:P463 ?z . ?z rdf:type ontology:Q43229 }
Russia Venezuela
action count
action intersection
action filter_type
action find
entity Russia
relation member of
type organization
action filter_type
action find
entity Venezuela
relation member of
type organization
['Russia', 'member of', {'concept': 'organization'}] ['Venezuela', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { resource:Russia property:member_of ?z . ?z rdf:type ontology:organization . resource:Venezuela property:member_of ?z . ?z rdf:type ontology:organization }
[]
organization
SYSTEM
3
Q7825 Q191384 Q656801
(Q159,P463,c(Q43229)) (Q717,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q159
relation P463
type Q43229
action filter_type
action find
entity Q717
relation P463
type Q43229
[ANSWER]
['Q159', 'P463', {'concept': 'Q43229'}] ['Q717', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { resource:Q159 property:P463 ?z . ?z rdf:type ontology:Q43229 . resource:Q717 property:P463 ?z . ?z rdf:type ontology:Q43229 }
World Trade Organization International Bank for Reconstruction and Development International Finance Corporation
3
action count
action intersection
action filter_type
action find
entity Russia
relation member of
type organization
action filter_type
action find
entity Venezuela
relation member of
type organization
['Russia', 'member of', {'concept': 'organization'}] ['Venezuela', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { resource:Russia property:member_of ?z . ?z rdf:type ontology:organization . resource:Venezuela property:member_of ?z . ?z rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4286234 Q4360589
P512
Q3412758
USER
Which qualifications are the names of the degree held by Sebastian Petrycy and Mikhail Davidovich Mashkovsky ?
AND((Q4360589,P512,c(Q3412758)), (Q4286234,P512,c(Q3412758)))
action filter_type
action intersection
action find
entity Q4360589
relation P512
action find
entity Q4286234
relation P512
type Q3412758
{'AND': [['Q4360589', 'P512', {'concept': 'Q3412758'}], ['Q4286234', 'P512', {'concept': 'Q3412758'}]]}
SELECT DISTINCT ?y WHERE { resource:Q4360589 property:P512 ?y . resource:Q4286234 property:P512 ?y . ?y rdf:type ontology:Q3412758 }
Mikhail Davidovich Mashkovsky Sebastian Petrycy
action filter_type
action intersection
action find
entity Sebastian Petrycy
relation academic degree
action find
entity Mikhail Davidovich Mashkovsky
relation academic degree
type qualification
{'AND': [['Sebastian Petrycy', 'academic degree', {'concept': 'qualification'}], ['Mikhail Davidovich Mashkovsky', 'academic degree', {'concept': 'qualification'}]]}
SELECT DISTINCT ?y WHERE { resource:Sebastian_Petrycy property:academic_degree ?y . resource:Mikhail_Davidovich_Mashkovsky property:academic_degree ?y . ?y rdf:type ontology:qualification }
[]
qualification
Q17281165
SYSTEM
Doktor Nauk in Medicine
Q17281165
AND((Q4360589,P512,c(Q3412758)), (Q4286234,P512,c(Q3412758)))
action filter_type
action intersection
action find
entity Q4360589
relation P512
action find
entity Q4286234
relation P512
type Q3412758
[ANSWER] is the names of the degree held by Sebastian Petrycy and Mikhail Davidovich Mashkovsky
{'AND': [['Q4360589', 'P512', {'concept': 'Q3412758'}], ['Q4286234', 'P512', {'concept': 'Q3412758'}]]}
SELECT DISTINCT ?y WHERE { resource:Q4360589 property:P512 ?y . resource:Q4286234 property:P512 ?y . ?y rdf:type ontology:Q3412758 }
Doktor Nauk in Medicine
Doktor Nauk in Medicine is the names of the degree held by Sebastian Petrycy and Mikhail Davidovich Mashkovsky
Doktor Nauk in Medicine
action filter_type
action intersection
action find
entity Sebastian Petrycy
relation academic degree
action find
entity Mikhail Davidovich Mashkovsky
relation academic degree
type qualification
{'AND': [['Sebastian Petrycy', 'academic degree', {'concept': 'qualification'}], ['Mikhail Davidovich Mashkovsky', 'academic degree', {'concept': 'qualification'}]]}
SELECT DISTINCT ?y WHERE { resource:Sebastian_Petrycy property:academic_degree ?y . resource:Mikhail_Davidovich_Mashkovsky property:academic_degree ?y . ?y rdf:type ontology:qualification }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q17281165 Q4230977
P512
Q502895
USER
Does Aleksandr Konovalov have the academic degree that qualification ?
(Q4230977,P512,Q17281165)
action is_in
entity Q17281165
action find
entity Q4230977
relation P512
['Q4230977', 'P512', 'Q17281165']
ASK WHERE { resource:Q4230977 property:P512 resource:Q17281165 }
Doktor Nauk in Medicine Aleksandr Konovalov
action is_in
entity Doktor Nauk in Medicine
action find
entity Aleksandr Konovalov
relation academic degree
['Aleksandr Konovalov', 'academic degree', 'Doktor Nauk in Medicine']
ASK WHERE { resource:Aleksandr_Konovalov property:academic_degree resource:Doktor_Nauk_in_Medicine }
[]
common name
SYSTEM
YES
(Q4230977,P512,Q17281165)
action is_in
entity Q17281165
action find
entity Q4230977
relation P512
[ANSWER]
['Q4230977', 'P512', 'Q17281165']
ASK WHERE { resource:Q4230977 property:P512 resource:Q17281165 }
Yes
action is_in
entity Doktor Nauk in Medicine
action find
entity Aleksandr Konovalov
relation academic degree
['Aleksandr Konovalov', 'academic degree', 'Doktor Nauk in Medicine']
ASK WHERE { resource:Aleksandr_Konovalov property:academic_degree resource:Doktor_Nauk_in_Medicine }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4360589 Q17281165 Q6008527
P512
Q3412758
USER
Does Sebastian Petrycy have the diploma Doktor Nauk in Medicine and undergraduate degree ?
(Q4360589,P512,Q17281165) (Q4360589,P512,Q6008527)
action is_in
entity Q4360589
action intersection
action find_reverse
entity Q17281165
relation P512
action find_reverse
entity Q6008527
relation P512
['Q4360589', 'P512', 'Q17281165'] ['Q4360589', 'P512', 'Q6008527']
ASK WHERE { resource:Q4360589 property:P512 resource:Q17281165 . resource:Q4360589 property:P512 resource:Q6008527 }
Sebastian Petrycy Doktor Nauk in Medicine undergraduate degree
action is_in
entity Sebastian Petrycy
action intersection
action find_reverse
entity Doktor Nauk in Medicine
relation academic degree
action find_reverse
entity undergraduate degree
relation academic degree
['Sebastian Petrycy', 'academic degree', 'Doktor Nauk in Medicine'] ['Sebastian Petrycy', 'academic degree', 'undergraduate degree']
ASK WHERE { resource:Sebastian_Petrycy property:academic_degree resource:Doktor_Nauk_in_Medicine . resource:Sebastian_Petrycy property:academic_degree resource:undergraduate_degree }
[]
qualification
SYSTEM
YES and NO respectively
(Q4360589,P512,Q17281165) (Q4360589,P512,Q6008527)
action is_in
entity Q4360589
action intersection
action find_reverse
entity Q17281165
relation P512
action find_reverse
entity Q6008527
relation P512
[ANSWER]
['Q4360589', 'P512', 'Q17281165'] ['Q4360589', 'P512', 'Q6008527']
ASK WHERE { resource:Q4360589 property:P512 resource:Q17281165 . resource:Q4360589 property:P512 resource:Q6008527 }
YES and NO respectively
action is_in
entity Sebastian Petrycy
action intersection
action find_reverse
entity Doktor Nauk in Medicine
relation academic degree
action find_reverse
entity undergraduate degree
relation academic degree
['Sebastian Petrycy', 'academic degree', 'Doktor Nauk in Medicine'] ['Sebastian Petrycy', 'academic degree', 'undergraduate degree']
ASK WHERE { resource:Sebastian_Petrycy property:academic_degree resource:Doktor_Nauk_in_Medicine . resource:Sebastian_Petrycy property:academic_degree resource:undergraduate_degree }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q184 Q502825
P530
Q15617994
USER
Does Buch am Wald have diplomatic relationships with Belarus ?
(Q184,P530,Q502825)
action is_in
entity Q502825
action find
entity Q184
relation P530
['Q184', 'P530', 'Q502825']
ASK WHERE { resource:Q184 property:P530 resource:Q502825 }
Belarus Buch am Wald
action is_in
entity Buch am Wald
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Buch am Wald']
ASK WHERE { resource:Belarus property:diplomatic_relation resource:Buch_am_Wald }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q184,P530,Q502825)
action is_in
entity Q502825
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q502825']
ASK WHERE { resource:Q184 property:P530 resource:Q502825 }
No
action is_in
entity Buch am Wald
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Buch am Wald']
ASK WHERE { resource:Belarus property:diplomatic_relation resource:Buch_am_Wald }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q8021486 Q4360589
P106
Q151885
USER
Which concepts have Sebastian Petrycy and Willie Esterhuyse as his/her as a career ?
AND((Q4360589,P106,c(Q151885)), (Q8021486,P106,c(Q151885)))
action filter_type
action intersection
action find
entity Q4360589
relation P106
action find
entity Q8021486
relation P106
type Q151885
{'AND': [['Q4360589', 'P106', {'concept': 'Q151885'}], ['Q8021486', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?i WHERE { resource:Q4360589 property:P106 ?i . resource:Q8021486 property:P106 ?i . ?i rdf:type ontology:Q151885 }
Willie Esterhuyse Sebastian Petrycy
action filter_type
action intersection
action find
entity Sebastian Petrycy
relation occupation
action find
entity Willie Esterhuyse
relation occupation
type concept
{'AND': [['Sebastian Petrycy', 'occupation', {'concept': 'concept'}], ['Willie Esterhuyse', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?i WHERE { resource:Sebastian_Petrycy property:occupation ?i . resource:Willie_Esterhuyse property:occupation ?i . ?i rdf:type ontology:concept }
[]
concept
Q4964182
SYSTEM
philosopher
Q4964182
AND((Q4360589,P106,c(Q151885)), (Q8021486,P106,c(Q151885)))
action filter_type
action intersection
action find
entity Q4360589
relation P106
action find
entity Q8021486
relation P106
type Q151885
The [ANSWER] have Sebastian Petrycy and Willie Esterhuyse as his/her as a career
{'AND': [['Q4360589', 'P106', {'concept': 'Q151885'}], ['Q8021486', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?i WHERE { resource:Q4360589 property:P106 ?i . resource:Q8021486 property:P106 ?i . ?i rdf:type ontology:Q151885 }
philosopher
The philosopher have Sebastian Petrycy and Willie Esterhuyse as his/her as a career
philosopher
action filter_type
action intersection
action find
entity Sebastian Petrycy
relation occupation
action find
entity Willie Esterhuyse
relation occupation
type concept
{'AND': [['Sebastian Petrycy', 'occupation', {'concept': 'concept'}], ['Willie Esterhuyse', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?i WHERE { resource:Sebastian_Petrycy property:occupation ?i . resource:Willie_Esterhuyse property:occupation ?i . ?i rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26707634 Q4360589
P27
Q15617994
USER
Which administrative territories do Sebastian Petrycy or Emil Schulthess belong to ?
OR((Q4360589,P27,c(Q15617994)), (Q26707634,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4360589
relation P27
action find
entity Q26707634
relation P27
type Q15617994
{'OR': [['Q4360589', 'P27', {'concept': 'Q15617994'}], ['Q26707634', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?f ) { ( resource:Q4360589 ) ( resource:Q26707634 ) } . ?f property:P27 ?k } . ?k rdf:type ontology:Q15617994 }
Emil Schulthess Sebastian Petrycy
action filter_type
action union
action find
entity Sebastian Petrycy
relation country of citizenship
action find
entity Emil Schulthess
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sebastian Petrycy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Emil Schulthess', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?f ) { ( resource:Sebastian_Petrycy ) ( resource:Emil_Schulthess ) } . ?f property:country_of_citizenship ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39 Q36
SYSTEM
Switzerland, Poland
Q39 Q36
OR((Q4360589,P27,c(Q15617994)), (Q26707634,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4360589
relation P27
action find
entity Q26707634
relation P27
type Q15617994
Sebastian Petrycy or Emil Schulthess belong to the [ANSWERS]
{'OR': [['Q4360589', 'P27', {'concept': 'Q15617994'}], ['Q26707634', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?f ) { ( resource:Q4360589 ) ( resource:Q26707634 ) } . ?f property:P27 ?k } . ?k rdf:type ontology:Q15617994 }
Switzerland Poland
Sebastian Petrycy or Emil Schulthess belong to the Switzerland and Poland
Switzerland Poland
action filter_type
action union
action find
entity Sebastian Petrycy
relation country of citizenship
action find
entity Emil Schulthess
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sebastian Petrycy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Emil Schulthess', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?f ) { ( resource:Sebastian_Petrycy ) ( resource:Emil_Schulthess ) } . ?f property:country_of_citizenship ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]