Simple Question (Direct)
Simple Question
Q15982611
P106
Q12737077
USER
What are the job of Frederic George Young ?
(Q15982611,P106,c(Q12737077))
action filter_type
action find
entity Q15982611
relation P106
type Q12737077
['Q15982611', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q15982611 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Frederic George Young
action filter_type
action find
entity Frederic George Young
relation occupation
type occupation
['Frederic George Young', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Frederic_George_Young property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q201788 Q1622272 Q1607826
SYSTEM
historian, university teacher, editor
Q201788 Q2047357 Q1622272 Q1607826 Q80687 Q36180
(Q15982611,P106,c(Q12737077))
action filter_type
action find
entity Q15982611
relation P106
type Q12737077
The job of Frederic George Young are a [ANSWERS]
['Q15982611', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q15982611 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
historian trustee university teacher editor secretary writer
The job of Frederic George Young are a historian, university teacher and editor
historian university teacher editor
action filter_type
action find
entity Frederic George Young
relation occupation
type occupation
['Frederic George Young', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Frederic_George_Young property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1607826
P425
Q9332
USER
Who has that one as the associated field of occupation ?
(Q1607826,P425,c(Q9332))
action filter_type
action find
entity Q1607826
relation P425
type Q9332
['Q1607826', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?b WHERE { resource:Q1607826 property:P425 ?b . ?b rdf:type ontology:Q9332 }
editor
action filter_type
action find
entity editor
relation field of this occupation
type behavior
['editor', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?b WHERE { resource:editor property:field_of_this_occupation ?b . ?b rdf:type ontology:behavior }
[]
behavior
Clarification for simple ques.
Q1607826
SYSTEM
Did you mean editor ?
Q201788 Q1622272 Q1607826
(Q201788,P425,c(Q9332)) (Q1622272,P425,c(Q9332)) (Q1607826,P425,c(Q9332))
[ANSWER]
['Q201788', 'P425', {'concept': 'Q9332'}] ['Q1622272', 'P425', {'concept': 'Q9332'}] ['Q1607826', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?b WHERE { resource:Q1607826 property:P425 ?b . ?b rdf:type ontology:Q9332 }
historian university teacher editor
Did you mean editor ?
editor
['historian', 'field of this occupation', {'concept': 'behavior'}] ['university teacher', 'field of this occupation', {'concept': 'behavior'}] ['editor', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?b WHERE { resource:editor property:field_of_this_occupation ?b . ?b rdf:type ontology:behavior }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1607826,P425,c(Q9332))
['Q1607826', 'P425', {'concept': 'Q9332'}]
['editor', 'field of this occupation', {'concept': 'behavior'}]
[]
Q3972943
SYSTEM
publishing
Q3972943
(Q1607826,P425,c(Q9332))
action filter_type
action find
entity Q1607826
relation P425
type Q9332
[ANSWER] has that one as the associated field of occupation
['Q1607826', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?b WHERE { resource:Q1607826 property:P425 ?b . ?b rdf:type ontology:Q9332 }
publishing
Publishing has that one as the associated field of occupation
publishing
action filter_type
action find
entity editor
relation field of this occupation
type behavior
['editor', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?b WHERE { resource:editor property:field_of_this_occupation ?b . ?b rdf:type ontology:behavior }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4178004 Q1622272
P106
Q502895
USER
Which people have career as university teacher and publicist ?
AND((c(Q502895),P106,Q1622272), (c(Q502895),P106,Q4178004))
action filter_type
action intersection
action find_reverse
entity Q1622272
relation P106
action find_reverse
entity Q4178004
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q1622272'], [{'concept': 'Q502895'}, 'P106', 'Q4178004']]}
SELECT DISTINCT ?b WHERE { ?b property:P106 resource:Q1622272 . ?b property:P106 resource:Q4178004 . ?b rdf:type ontology:Q502895 }
publicist university teacher
action filter_type
action intersection
action find_reverse
entity university teacher
relation occupation
action find_reverse
entity publicist
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'university teacher'], [{'concept': 'common name'}, 'occupation', 'publicist']]}
SELECT DISTINCT ?b WHERE { ?b property:occupation resource:university_teacher . ?b property:occupation resource:publicist . ?b rdf:type ontology:common_name }
[]
common name
Q1463443 Q1609574 Q6048288
SYSTEM
Friedrich Wolfram Heubach, Leonie Baumann, Lorens Münter Philipson
Q1463443 Q1609574 Q6048288
AND((c(Q502895),P106,Q1622272), (c(Q502895),P106,Q4178004))
action filter_type
action intersection
action find_reverse
entity Q1622272
relation P106
action find_reverse
entity Q4178004
relation P106
type Q502895
[ANSWERS] have career as university teacher and publicist
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q1622272'], [{'concept': 'Q502895'}, 'P106', 'Q4178004']]}
SELECT DISTINCT ?b WHERE { ?b property:P106 resource:Q1622272 . ?b property:P106 resource:Q4178004 . ?b rdf:type ontology:Q502895 }
Friedrich Wolfram Heubach Leonie Baumann Lorens Münter Philipson
Friedrich Wolfram Heubach, Leonie Baumann and Lorens Münter Philipson have career as university teacher and publicist
Friedrich Wolfram Heubach Leonie Baumann Lorens Münter Philipson
action filter_type
action intersection
action find_reverse
entity university teacher
relation occupation
action find_reverse
entity publicist
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'university teacher'], [{'concept': 'common name'}, 'occupation', 'publicist']]}
SELECT DISTINCT ?b WHERE { ?b property:occupation resource:university_teacher . ?b property:occupation resource:publicist . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1463443 Q1609574 Q6048288
P21
Q290
USER
What are the sex of those people ?
(Q1463443,P21,c(Q290)) (Q1609574,P21,c(Q290)) (Q6048288,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q1463443', 'P21', {'concept': 'Q290'}] ['Q1609574', 'P21', {'concept': 'Q290'}] ['Q6048288', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?z ) { ( resource:Q1463443 ) ( resource:Q1609574 ) ( resource:Q6048288 ) } . ?z property:P21 ?o . ?o rdf:type ontology:Q290 }
Friedrich Wolfram Heubach Leonie Baumann Lorens Münter Philipson
action filter_type
action find
entity prev_answer
relation gender
type sex
['Friedrich Wolfram Heubach', 'gender', {'concept': 'sex'}] ['Leonie Baumann', 'gender', {'concept': 'sex'}] ['Lorens Münter Philipson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?z ) { ( resource:Friedrich_Wolfram_Heubach ) ( resource:Leonie_Baumann ) ( resource:Lorens_Münter_Philipson ) } . ?z property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097
(Q1463443,P21,c(Q290)) (Q1609574,P21,c(Q290)) (Q6048288,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q1463443', 'P21', {'concept': 'Q290'}] ['Q1609574', 'P21', {'concept': 'Q290'}] ['Q6048288', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?z ) { ( resource:Q1463443 ) ( resource:Q1609574 ) ( resource:Q6048288 ) } . ?z property:P21 ?o . ?o rdf:type ontology:Q290 }
male female male
The sex of those people are male, female and male
male female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Friedrich Wolfram Heubach', 'gender', {'concept': 'sex'}] ['Leonie Baumann', 'gender', {'concept': 'sex'}] ['Lorens Münter Philipson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?z ) { ( resource:Friedrich_Wolfram_Heubach ) ( resource:Leonie_Baumann ) ( resource:Lorens_Münter_Philipson ) } . ?z property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1609574
P27
Q1048835
USER
Which political territory is Leonie Baumann an inhabitant of ?
(Q1609574,P27,c(Q1048835))
action filter_type
action find
entity Q1609574
relation P27
type Q1048835
['Q1609574', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q1609574 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Leonie Baumann
action filter_type
action find
entity Leonie Baumann
relation country of citizenship
type political territorial entity
['Leonie Baumann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Leonie_Baumann property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1609574,P27,c(Q1048835))
action filter_type
action find
entity Q1609574
relation P27
type Q1048835
[ANSWER] is Leonie Baumann an inhabitant of
['Q1609574', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q1609574 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Germany
Germany is Leonie Baumann an inhabitant of
Germany
action filter_type
action find
entity Leonie Baumann
relation country of citizenship
type political territorial entity
['Leonie Baumann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Leonie_Baumann property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]