Simple Question (Direct)
Simple Question
Q4924856
P69
Q3914
USER
Which school was Blanche Grambs educated at ?
(Q4924856,P69,c(Q3914))
action filter_type
action find
entity Q4924856
relation P69
type Q3914
['Q4924856', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?u WHERE { resource:Q4924856 property:P69 ?u . ?u rdf:type ontology:Q3914 }
Blanche Grambs
action filter_type
action find
entity Blanche Grambs
relation educated at
type school
['Blanche Grambs', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?u WHERE { resource:Blanche_Grambs property:educated_at ?u . ?u rdf:type ontology:school }
[]
school
Q705737
SYSTEM
Art Students League of New York
Q705737
(Q4924856,P69,c(Q3914))
action filter_type
action find
entity Q4924856
relation P69
type Q3914
Blanche Grambs was educated by [ANSWER]
['Q4924856', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?u WHERE { resource:Q4924856 property:P69 ?u . ?u rdf:type ontology:Q3914 }
Art Students League of New York
Blanche Grambs was educated by Art Students League of New York
Art Students League of New York
action filter_type
action find
entity Blanche Grambs
relation educated at
type school
['Blanche Grambs', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?u WHERE { resource:Blanche_Grambs property:educated_at ?u . ?u rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4924856
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q705737,P19,c(Q56061))
action filter_type
action find
entity Q4924856
relation P19
type Q56061
['Q705737', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q4924856 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Blanche Grambs
action filter_type
action find
entity Blanche Grambs
relation place of birth
type administrative territorial entity
['Art Students League of New York', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Blanche_Grambs property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q956
SYSTEM
Beijing
Q956
(Q705737,P19,c(Q56061))
action filter_type
action find
entity Q4924856
relation P19
type Q56061
That person was born in [ANSWER]
['Q705737', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q4924856 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Beijing
That person was born in Beijing
Beijing
action filter_type
action find
entity Blanche Grambs
relation place of birth
type administrative territorial entity
['Art Students League of New York', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Blanche_Grambs property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4924856
P27
Q15617994
USER
Which administrative territory is the native country of Blanche Grambs ?
(Q4924856,P27,c(Q15617994))
action filter_type
action find
entity Q4924856
relation P27
type Q15617994
['Q4924856', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q4924856 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Blanche Grambs
action filter_type
action find
entity Blanche Grambs
relation country of citizenship
type designation for an administrative territorial entity
['Blanche Grambs', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Blanche_Grambs property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q4924856,P27,c(Q15617994))
action filter_type
action find
entity Q4924856
relation P27
type Q15617994
The [ANSWER] is the native country of Blanche Grambs
['Q4924856', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q4924856 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of Blanche Grambs
United States of America
action filter_type
action find
entity Blanche Grambs
relation country of citizenship
type designation for an administrative territorial entity
['Blanche Grambs', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Blanche_Grambs property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30 Q155
P530
Q15617994
USER
Does Brazil have diplomatic relationships with United States of America ?
(Q30,P530,Q155)
action is_in
entity Q155
action find
entity Q30
relation P530
['Q30', 'P530', 'Q155']
ASK WHERE { resource:Q30 property:P530 resource:Q155 }
United States of America Brazil
action is_in
entity Brazil
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q30,P530,Q155)
action is_in
entity Q155
action find
entity Q30
relation P530
[ANSWER]
['Q30', 'P530', 'Q155']
ASK WHERE { resource:Q30 property:P530 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Brazil }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12008070 Q4924856
P106
Q12737077
USER
Which occupations are the job of Blanche Grambs or Filip Albrecht ?
OR((Q4924856,P106,c(Q12737077)), (Q12008070,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4924856
relation P106
action find
entity Q12008070
relation P106
type Q12737077
{'OR': [['Q4924856', 'P106', {'concept': 'Q12737077'}], ['Q12008070', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q4924856 property:P106 ?z } UNION { resource:Q12008070 property:P106 ?z } } . ?z rdf:type ontology:Q12737077 }
Filip Albrecht Blanche Grambs
action filter_type
action union
action find
entity Blanche Grambs
relation occupation
action find
entity Filip Albrecht
relation occupation
type occupation
{'OR': [['Blanche Grambs', 'occupation', {'concept': 'occupation'}], ['Filip Albrecht', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Blanche_Grambs property:occupation ?z } UNION { resource:Filip_Albrecht property:occupation ?z } } . ?z rdf:type ontology:occupation }
[]
occupation
Q1028181 Q753110 Q11569986 Q822146 Q36180
SYSTEM
painter, songwriter, printmaker, lyricist, writer
Q1028181 Q753110 Q11569986 Q822146 Q36180
OR((Q4924856,P106,c(Q12737077)), (Q12008070,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4924856
relation P106
action find
entity Q12008070
relation P106
type Q12737077
The [ANSWERS] are the job of Blanche Grambs or Filip Albrecht
{'OR': [['Q4924856', 'P106', {'concept': 'Q12737077'}], ['Q12008070', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q4924856 property:P106 ?z } UNION { resource:Q12008070 property:P106 ?z } } . ?z rdf:type ontology:Q12737077 }
painter songwriter printmaker lyricist writer
The painter, songwriter, printmaker, lyricist and writer are the job of Blanche Grambs or Filip Albrecht
painter songwriter printmaker lyricist writer
action filter_type
action union
action find
entity Blanche Grambs
relation occupation
action find
entity Filip Albrecht
relation occupation
type occupation
{'OR': [['Blanche Grambs', 'occupation', {'concept': 'occupation'}], ['Filip Albrecht', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Blanche_Grambs property:occupation ?z } UNION { resource:Filip_Albrecht property:occupation ?z } } . ?z rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q822146
P425
Q1914636
USER
Which activity is associated with the field of occupation that one ?
(Q822146,P425,c(Q1914636))
action filter_type
action find
entity Q822146
relation P425
type Q1914636
['Q822146', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1914636 . resource:Q822146 property:P425 ?v }
lyricist
action filter_type
action find
entity lyricist
relation field of this occupation
type activity
['lyricist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:activity . resource:lyricist property:field_of_this_occupation ?v }
[]
activity
Clarification for simple ques.
Q11569986
SYSTEM
Did you mean printmaker ?
Q1028181 Q753110 Q11569986 Q822146 Q36180
(Q1028181,P425,c(Q1914636)) (Q753110,P425,c(Q1914636)) (Q11569986,P425,c(Q1914636)) (Q822146,P425,c(Q1914636)) (Q36180,P425,c(Q1914636))
[ANSWER]
['Q1028181', 'P425', {'concept': 'Q1914636'}] ['Q753110', 'P425', {'concept': 'Q1914636'}] ['Q11569986', 'P425', {'concept': 'Q1914636'}] ['Q822146', 'P425', {'concept': 'Q1914636'}] ['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1914636 . resource:Q822146 property:P425 ?v }
painter songwriter printmaker lyricist writer
Did you mean printmaker ?
printmaker
['painter', 'field of this occupation', {'concept': 'activity'}] ['songwriter', 'field of this occupation', {'concept': 'activity'}] ['printmaker', 'field of this occupation', {'concept': 'activity'}] ['lyricist', 'field of this occupation', {'concept': 'activity'}] ['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:activity . resource:lyricist property:field_of_this_occupation ?v }
[]
Simple Question (Coreferenced)
USER
No, I meant lyricist. Could you tell me the answer for that?
(Q822146,P425,c(Q1914636))
Q822146
['Q822146', 'P425', {'concept': 'Q1914636'}]
['lyricist', 'field of this occupation', {'concept': 'activity'}]
[]
Q638
SYSTEM
music
Q638
(Q822146,P425,c(Q1914636))
action filter_type
action find
entity Q822146
relation P425
type Q1914636
Is [ANSWER] is associated with the field of occupation that one
['Q822146', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1914636 . resource:Q822146 property:P425 ?v }
music
Is music is associated with the field of occupation that one
music
action filter_type
action find
entity lyricist
relation field of this occupation
type activity
['lyricist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:activity . resource:lyricist property:field_of_this_occupation ?v }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q638 Q180518
P101
Q502895
USER
Does Pippo Pollina have field of work as that activity ?
(Q180518,P101,Q638)
action is_in
entity Q638
action find
entity Q180518
relation P101
['Q180518', 'P101', 'Q638']
ASK WHERE { resource:Q180518 property:P101 resource:Q638 }
music Pippo Pollina
action is_in
entity music
action find
entity Pippo Pollina
relation field of work
['Pippo Pollina', 'field of work', 'music']
ASK WHERE { resource:Pippo_Pollina property:field_of_work resource:music }
[]
common name
SYSTEM
YES
(Q180518,P101,Q638)
action is_in
entity Q638
action find
entity Q180518
relation P101
[ANSWER]
['Q180518', 'P101', 'Q638']
ASK WHERE { resource:Q180518 property:P101 resource:Q638 }
Yes
action is_in
entity music
action find
entity Pippo Pollina
relation field of work
['Pippo Pollina', 'field of work', 'music']
ASK WHERE { resource:Pippo_Pollina property:field_of_work resource:music }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8004779 Q4924856
P106
Q12737077
USER
Which occupations are the job of Blanche Grambs or William B. Crew ?
OR((Q4924856,P106,c(Q12737077)), (Q8004779,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4924856
relation P106
action find
entity Q8004779
relation P106
type Q12737077
{'OR': [['Q4924856', 'P106', {'concept': 'Q12737077'}], ['Q8004779', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q4924856 property:P106 ?p } UNION { resource:Q8004779 property:P106 ?p } } . ?p rdf:type ontology:Q12737077 }
William B. Crew Blanche Grambs
action filter_type
action union
action find
entity Blanche Grambs
relation occupation
action find
entity William B. Crew
relation occupation
type occupation
{'OR': [['Blanche Grambs', 'occupation', {'concept': 'occupation'}], ['William B. Crew', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Blanche_Grambs property:occupation ?p } UNION { resource:William_B._Crew property:occupation ?p } } . ?p rdf:type ontology:occupation }
[]
occupation
Q1028181 Q16533 Q82955 Q11569986
SYSTEM
painter, judge, politician, printmaker
Q1028181 Q16533 Q82955 Q11569986
OR((Q4924856,P106,c(Q12737077)), (Q8004779,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4924856
relation P106
action find
entity Q8004779
relation P106
type Q12737077
The [ANSWERS] are the job of Blanche Grambs or William B. Crew
{'OR': [['Q4924856', 'P106', {'concept': 'Q12737077'}], ['Q8004779', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q4924856 property:P106 ?p } UNION { resource:Q8004779 property:P106 ?p } } . ?p rdf:type ontology:Q12737077 }
painter judge politician printmaker
The painter, judge, politician and printmaker are the job of Blanche Grambs or William B. Crew
painter judge politician printmaker
action filter_type
action union
action find
entity Blanche Grambs
relation occupation
action find
entity William B. Crew
relation occupation
type occupation
{'OR': [['Blanche Grambs', 'occupation', {'concept': 'occupation'}], ['William B. Crew', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Blanche_Grambs property:occupation ?p } UNION { resource:William_B._Crew property:occupation ?p } } . ?p rdf:type ontology:occupation }
[]