Simple Question (Direct)
Simple Question
Q6019298
P119
Q43229
USER
Which organization is the tomb of Carl Rupert Nyblom ?
(Q6019298,P119,c(Q43229))
action filter_type
action find
entity Q6019298
relation P119
type Q43229
['Q6019298', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q6019298 property:P119 ?k . ?k rdf:type ontology:Q43229 }
Carl Rupert Nyblom
action filter_type
action find
entity Carl Rupert Nyblom
relation place of burial
type organization
['Carl Rupert Nyblom', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:Carl_Rupert_Nyblom property:place_of_burial ?k . ?k rdf:type ontology:organization }
[]
organization
Q4353116
SYSTEM
Uppsala old cemetery
Q4353116
(Q6019298,P119,c(Q43229))
action filter_type
action find
entity Q6019298
relation P119
type Q43229
[ANSWER]
['Q6019298', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q6019298 property:P119 ?k . ?k rdf:type ontology:Q43229 }
Uppsala old cemetery
Uppsala old cemetery
action filter_type
action find
entity Carl Rupert Nyblom
relation place of burial
type organization
['Carl Rupert Nyblom', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:Carl_Rupert_Nyblom property:place_of_burial ?k . ?k rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4353116
P17
Q15617994
USER
How many administrative territories are Uppsala old cemetery a part of ?
(Q4353116,P17,c(Q15617994))
action count
action filter_type
action find
entity Q4353116
relation P17
type Q15617994
['Q4353116', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q4353116 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Uppsala old cemetery
action count
action filter_type
action find
entity Uppsala old cemetery
relation country
type designation for an administrative territorial entity
['Uppsala old cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Uppsala_old_cemetery property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q34
(Q4353116,P17,c(Q15617994))
action count
action filter_type
action find
entity Q4353116
relation P17
type Q15617994
[ANSWER]
['Q4353116', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q4353116 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Sweden
1
action count
action filter_type
action find
entity Uppsala old cemetery
relation country
type designation for an administrative territorial entity
['Uppsala old cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Uppsala_old_cemetery property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6019298
P27
Q15617994
USER
Which administrative territory is Carl Rupert Nyblom an inhabitant of ?
(Q6019298,P27,c(Q15617994))
action filter_type
action find
entity Q6019298
relation P27
type Q15617994
['Q6019298', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q6019298 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Carl Rupert Nyblom
action filter_type
action find
entity Carl Rupert Nyblom
relation country of citizenship
type designation for an administrative territorial entity
['Carl Rupert Nyblom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Carl_Rupert_Nyblom property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q6019298,P27,c(Q15617994))
action filter_type
action find
entity Q6019298
relation P27
type Q15617994
[ANSWER]
['Q6019298', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q6019298 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Sweden
Sweden
action filter_type
action find
entity Carl Rupert Nyblom
relation country of citizenship
type designation for an administrative territorial entity
['Carl Rupert Nyblom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Carl_Rupert_Nyblom property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6019298
P734
Q82799
USER
Who has the surname that person ?
(Q34,P734,c(Q82799))
action filter_type
action find
entity Q6019298
relation P734
type Q82799
['Q34', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q6019298 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Carl Rupert Nyblom
action filter_type
action find
entity Carl Rupert Nyblom
relation family name
type name
['Sweden', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Carl_Rupert_Nyblom property:family_name ?e . ?e rdf:type ontology:name }
[]
name
Q15837155
SYSTEM
Nyblom
Q15837155
(Q34,P734,c(Q82799))
action filter_type
action find
entity Q6019298
relation P734
type Q82799
[ANSWER]
['Q34', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q6019298 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Nyblom
Nyblom
action filter_type
action find
entity Carl Rupert Nyblom
relation family name
type name
['Sweden', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Carl_Rupert_Nyblom property:family_name ?e . ?e rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3523695 Q6019298
P734
Q82799
USER
Or Theodore Hsueh-Huang Pian?
OR((Q6019298,P734,c(Q82799)), (Q3523695,P734,c(Q82799)))
action filter_type
action union
action find
entity Q6019298
relation P734
action find
entity Q3523695
relation P734
type Q82799
{'OR': [['Q6019298', 'P734', {'concept': 'Q82799'}], ['Q3523695', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q6019298 property:P734 ?d } UNION { resource:Q3523695 property:P734 ?d } } . ?d rdf:type ontology:Q82799 }
Theodore Hsueh-Huang Pian Carl Rupert Nyblom
action filter_type
action union
action find
entity Carl Rupert Nyblom
relation family name
action find
entity Theodore Hsueh-Huang Pian
relation family name
type name
{'OR': [['Carl Rupert Nyblom', 'family name', {'concept': 'name'}], ['Theodore Hsueh-Huang Pian', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Carl_Rupert_Nyblom property:family_name ?d } UNION { resource:Theodore_Hsueh-Huang_Pian property:family_name ?d } } . ?d rdf:type ontology:name }
[]
name
Q15837155 Q10909642
SYSTEM
Nyblom, Byeon
Q15837155 Q10909642
OR((Q6019298,P734,c(Q82799)), (Q3523695,P734,c(Q82799)))
action filter_type
action union
action find
entity Q6019298
relation P734
action find
entity Q3523695
relation P734
type Q82799
[ANSWERS]
{'OR': [['Q6019298', 'P734', {'concept': 'Q82799'}], ['Q3523695', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q6019298 property:P734 ?d } UNION { resource:Q3523695 property:P734 ?d } } . ?d rdf:type ontology:Q82799 }
Nyblom Byeon
Nyblom Byeon
action filter_type
action union
action find
entity Carl Rupert Nyblom
relation family name
action find
entity Theodore Hsueh-Huang Pian
relation family name
type name
{'OR': [['Carl Rupert Nyblom', 'family name', {'concept': 'name'}], ['Theodore Hsueh-Huang Pian', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Carl_Rupert_Nyblom property:family_name ?d } UNION { resource:Theodore_Hsueh-Huang_Pian property:family_name ?d } } . ?d rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6083063 Q6019298
P106
Q12737077
USER
Which occupations are the professions of Carl Rupert Nyblom or John Ruggles ?
OR((Q6019298,P106,c(Q12737077)), (Q6083063,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q6019298
relation P106
action find
entity Q6083063
relation P106
type Q12737077
{'OR': [['Q6019298', 'P106', {'concept': 'Q12737077'}], ['Q6083063', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q6083063 property:P106 ?l } UNION { resource:Q6019298 property:P106 ?l } } . ?l rdf:type ontology:Q12737077 }
John Ruggles Carl Rupert Nyblom
action filter_type
action union
action find
entity Carl Rupert Nyblom
relation occupation
action find
entity John Ruggles
relation occupation
type occupation
{'OR': [['Carl Rupert Nyblom', 'occupation', {'concept': 'occupation'}], ['John Ruggles', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { { { resource:John_Ruggles property:occupation ?l } UNION { resource:Carl_Rupert_Nyblom property:occupation ?l } } . ?l rdf:type ontology:occupation }
[]
occupation
Q205375 Q333634 Q82955 Q16533
SYSTEM
inventor, translator, politician, judge
Q205375 Q333634 Q82955 Q16533
OR((Q6019298,P106,c(Q12737077)), (Q6083063,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q6019298
relation P106
action find
entity Q6083063
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q6019298', 'P106', {'concept': 'Q12737077'}], ['Q6083063', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q6083063 property:P106 ?l } UNION { resource:Q6019298 property:P106 ?l } } . ?l rdf:type ontology:Q12737077 }
inventor translator politician judge
inventor translator politician judge
action filter_type
action union
action find
entity Carl Rupert Nyblom
relation occupation
action find
entity John Ruggles
relation occupation
type occupation
{'OR': [['Carl Rupert Nyblom', 'occupation', {'concept': 'occupation'}], ['John Ruggles', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { { { resource:John_Ruggles property:occupation ?l } UNION { resource:Carl_Rupert_Nyblom property:occupation ?l } } . ?l rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q10909642
P734 P21
Q502895
USER
Which people have Byeon as family name and are a male ?
AND((c(Q502895),P734,Q10909642), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q10909642
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q10909642'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b property:P734 resource:Q10909642 . ?b property:P21 resource:Q6581097 . ?b rdf:type ontology:Q502895 }
male Byeon
action filter_type
action intersection
action find_reverse
entity Byeon
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Byeon'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b property:family_name resource:Byeon . ?b property:gender resource:male . ?b rdf:type ontology:common_name }
[]
common name
Q3523695 Q4902475 Q4902467 Q482965
SYSTEM
Theodore Hsueh-Huang Pian, Bian Zhilin, Bian Jun, Byeon Yeong-tae
Q3523695 Q4902475 Q4902467 Q482965
AND((c(Q502895),P734,Q10909642), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q10909642
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q10909642'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b property:P734 resource:Q10909642 . ?b property:P21 resource:Q6581097 . ?b rdf:type ontology:Q502895 }
Theodore Hsueh-Huang Pian Bian Zhilin Bian Jun Byeon Yeong-tae
Theodore Hsueh-Huang Pian Bian Zhilin Bian Jun Byeon Yeong-tae
action filter_type
action intersection
action find_reverse
entity Byeon
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Byeon'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b property:family_name resource:Byeon . ?b property:gender resource:male . ?b rdf:type ontology:common_name }
[]