Simple Question (Direct)
Simple Question
Q2658514
P19
Q161243
USER
Which dependent territory is the birthplace of Mwepu Ilunga ?
(Q2658514,P19,c(Q161243))
action filter_type
action find
entity Q2658514
relation P19
type Q161243
['Q2658514', 'P19', {'concept': 'Q161243'}]
SELECT DISTINCT ?h WHERE { resource:Q2658514 property:P19 ?h . ?h rdf:type ontology:Q161243 }
Mwepu Ilunga
action filter_type
action find
entity Mwepu Ilunga
relation place of birth
type dependent territory
['Mwepu Ilunga', 'place of birth', {'concept': 'dependent territory'}]
SELECT DISTINCT ?h WHERE { resource:Mwepu_Ilunga property:place_of_birth ?h . ?h rdf:type ontology:dependent_territory }
[]
dependent territory
Q213510
SYSTEM
Belgian Congo
Q213510
(Q2658514,P19,c(Q161243))
action filter_type
action find
entity Q2658514
relation P19
type Q161243
[ANSWER] is the birthplace of Mwepu Ilunga
['Q2658514', 'P19', {'concept': 'Q161243'}]
SELECT DISTINCT ?h WHERE { resource:Q2658514 property:P19 ?h . ?h rdf:type ontology:Q161243 }
Belgian Congo
Belgian Congo is the birthplace of Mwepu Ilunga
Belgian Congo
action filter_type
action find
entity Mwepu Ilunga
relation place of birth
type dependent territory
['Mwepu Ilunga', 'place of birth', {'concept': 'dependent territory'}]
SELECT DISTINCT ?h WHERE { resource:Mwepu_Ilunga property:place_of_birth ?h . ?h rdf:type ontology:dependent_territory }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213510
P140
Q879146
USER
Which Christian denomination does that dependent territory relate to ?
(Q213510,P140,c(Q879146))
action filter_type
action find
entity Q213510
relation P140
type Q879146
['Q213510', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q879146 . resource:Q213510 property:P140 ?s }
Belgian Congo
action filter_type
action find
entity Belgian Congo
relation religion
type Christian denomination
['Belgian Congo', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Christian_denomination . resource:Belgian_Congo property:religion ?s }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q213510,P140,c(Q879146))
action filter_type
action find
entity Q213510
relation P140
type Q879146
That dependent territory relates to [ANSWER]
['Q213510', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q879146 . resource:Q213510 property:P140 ?s }
Roman Catholic Church
That dependent territory relates to Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Belgian Congo
relation religion
type Christian denomination
['Belgian Congo', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Christian_denomination . resource:Belgian_Congo property:religion ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q213510 Q11190
P101
Q21114848
USER
How many magazine genres work in the domain of Belgian Congo or medicine ?
(c(Q21114848),P101,Q213510) (c(Q21114848),P101,Q11190)
action count
action union
action filter_type
action find_reverse
entity Q213510
relation P101
type Q21114848
action filter_type
action find_reverse
entity Q11190
relation P101
type Q21114848
[{'concept': 'Q21114848'}, 'P101', 'Q213510'] [{'concept': 'Q21114848'}, 'P101', 'Q11190']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { ?h rdf:type ontology:Q21114848 . ?h property:P101 resource:Q11190 } UNION { ?h property:P101 resource:Q213510 . ?h rdf:type ontology:Q21114848 } }
Belgian Congo medicine
action count
action union
action filter_type
action find_reverse
entity Belgian Congo
relation field of work
type magazine genre
action filter_type
action find_reverse
entity medicine
relation field of work
type magazine genre
[{'concept': 'magazine genre'}, 'field of work', 'Belgian Congo'] [{'concept': 'magazine genre'}, 'field of work', 'medicine']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { ?h rdf:type ontology:magazine_genre . ?h property:field_of_work resource:medicine } UNION { ?h property:field_of_work resource:Belgian_Congo . ?h rdf:type ontology:magazine_genre } }
[]
magazine genre
SYSTEM
4
Q7750866 Q15720862 Q262581 Q18390864
(c(Q21114848),P101,Q213510) (c(Q21114848),P101,Q11190)
action count
action union
action filter_type
action find_reverse
entity Q213510
relation P101
type Q21114848
action filter_type
action find_reverse
entity Q11190
relation P101
type Q21114848
[ANSWER]
[{'concept': 'Q21114848'}, 'P101', 'Q213510'] [{'concept': 'Q21114848'}, 'P101', 'Q11190']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { ?h rdf:type ontology:Q21114848 . ?h property:P101 resource:Q11190 } UNION { ?h property:P101 resource:Q213510 . ?h rdf:type ontology:Q21114848 } }
The Medical Journal of Australia The Medical Roundtable Prescrire Zaïre. Revue Congolaise—Congoleesch Tijdschrift
4
action count
action union
action filter_type
action find_reverse
entity Belgian Congo
relation field of work
type magazine genre
action filter_type
action find_reverse
entity medicine
relation field of work
type magazine genre
[{'concept': 'magazine genre'}, 'field of work', 'Belgian Congo'] [{'concept': 'magazine genre'}, 'field of work', 'medicine']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { ?h rdf:type ontology:magazine_genre . ?h property:field_of_work resource:medicine } UNION { ?h property:field_of_work resource:Belgian_Congo . ?h rdf:type ontology:magazine_genre } }
[]