Simple Question (Direct)
Simple Question
Q213935
P20
Q515
USER
Where did the demise of Felix Victor Birch-Hirschfeld occur ?
(Q213935,P20,c(Q515))
action filter_type
action find
entity Q213935
relation P20
type Q515
['Q213935', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q213935 property:P20 ?u . ?u rdf:type ontology:Q515 }
Felix Victor Birch-Hirschfeld
action filter_type
action find
entity Felix Victor Birch-Hirschfeld
relation place of death
type city
['Felix Victor Birch-Hirschfeld', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Felix_Victor_Birch-Hirschfeld property:place_of_death ?u . ?u rdf:type ontology:city }
[]
city
Q2079
SYSTEM
Leipzig
Q2079
(Q213935,P20,c(Q515))
action filter_type
action find
entity Q213935
relation P20
type Q515
The demise of Felix Victor Birch-Hirschfeld occurred in [ANSWER]
['Q213935', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q213935 property:P20 ?u . ?u rdf:type ontology:Q515 }
Leipzig
The demise of Felix Victor Birch-Hirschfeld occurred in Leipzig
Leipzig
action filter_type
action find
entity Felix Victor Birch-Hirschfeld
relation place of death
type city
['Felix Victor Birch-Hirschfeld', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Felix_Victor_Birch-Hirschfeld property:place_of_death ?u . ?u rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213935
P27
Q3024240
USER
Which former country is Felix Victor Birch-Hirschfeld an inhabitant of ?
(Q213935,P27,c(Q3024240))
action filter_type
action find
entity Q213935
relation P27
type Q3024240
['Q213935', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?b WHERE { resource:Q213935 property:P27 ?b . ?b rdf:type ontology:Q3024240 }
Felix Victor Birch-Hirschfeld
action filter_type
action find
entity Felix Victor Birch-Hirschfeld
relation country of citizenship
type former country
['Felix Victor Birch-Hirschfeld', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?b WHERE { resource:Felix_Victor_Birch-Hirschfeld property:country_of_citizenship ?b . ?b rdf:type ontology:former_country }
[]
former country
Q43287
SYSTEM
German Empire
Q43287
(Q213935,P27,c(Q3024240))
action filter_type
action find
entity Q213935
relation P27
type Q3024240
The [ANSWER] is Felix Victor Birch-Hirschfeld an inhabitant of
['Q213935', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?b WHERE { resource:Q213935 property:P27 ?b . ?b rdf:type ontology:Q3024240 }
German Empire
The German Empire is Felix Victor Birch-Hirschfeld an inhabitant of
German Empire
action filter_type
action find
entity Felix Victor Birch-Hirschfeld
relation country of citizenship
type former country
['Felix Victor Birch-Hirschfeld', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?b WHERE { resource:Felix_Victor_Birch-Hirschfeld property:country_of_citizenship ?b . ?b rdf:type ontology:former_country }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213935
P21
Q290
USER
Which sex does that person have ?
(Q43287,P21,c(Q290))
action filter_type
action find
entity Q213935
relation P21
type Q290
['Q43287', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q213935 property:P21 ?s . ?s rdf:type ontology:Q290 }
Felix Victor Birch-Hirschfeld
action filter_type
action find
entity Felix Victor Birch-Hirschfeld
relation gender
type sex
['German Empire', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Felix_Victor_Birch-Hirschfeld property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q43287,P21,c(Q290))
action filter_type
action find
entity Q213935
relation P21
type Q290
That person has a [ANSWER]
['Q43287', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q213935 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Felix Victor Birch-Hirschfeld
relation gender
type sex
['German Empire', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Felix_Victor_Birch-Hirschfeld property:gender ?s . ?s rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2079
P840
Q234460 Q838948
USER
How many texts or works of art have their narrative set in Leipzig ?
(c(Q234460),P840,Q2079) (c(Q838948),P840,Q2079)
action count
action union
action filter_type
action find_reverse
entity Q2079
relation P840
type Q234460
action filter_type
action find_reverse
entity Q2079
relation P840
type Q838948
[{'concept': 'Q234460'}, 'P840', 'Q2079'] [{'concept': 'Q838948'}, 'P840', 'Q2079']
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { VALUES ( ?b ) { ( ontology:Q234460 ) ( ontology:Q838948 ) } . ?i rdf:type ?b }
Leipzig
action count
action union
action filter_type
action find_reverse
entity Leipzig
relation narrative location
type text
action filter_type
action find_reverse
entity Leipzig
relation narrative location
type work of art
[{'concept': 'text'}, 'narrative location', 'Leipzig'] [{'concept': 'work of art'}, 'narrative location', 'Leipzig']
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { VALUES ( ?b ) { ( ontology:text ) ( ontology:work_of_art ) } . ?i rdf:type ?b }
[]
text work of art
SYSTEM
2
Q386431 Q18642433
(c(Q234460),P840,Q2079) (c(Q838948),P840,Q2079)
action count
action union
action filter_type
action find_reverse
entity Q2079
relation P840
type Q234460
action filter_type
action find_reverse
entity Q2079
relation P840
type Q838948
[ANSWER]
[{'concept': 'Q234460'}, 'P840', 'Q2079'] [{'concept': 'Q838948'}, 'P840', 'Q2079']
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { VALUES ( ?b ) { ( ontology:Q234460 ) ( ontology:Q838948 ) } . ?i rdf:type ?b }
Doctor Faustus As We Were Dreaming
2
action count
action union
action filter_type
action find_reverse
entity Leipzig
relation narrative location
type text
action filter_type
action find_reverse
entity Leipzig
relation narrative location
type work of art
[{'concept': 'text'}, 'narrative location', 'Leipzig'] [{'concept': 'work of art'}, 'narrative location', 'Leipzig']
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { VALUES ( ?b ) { ( ontology:text ) ( ontology:work_of_art ) } . ?i rdf:type ?b }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q16732236 Q213935
P106
Q12737077
USER
Which occupations do Felix Victor Birch-Hirschfeld and Irma McClaurin do for a living ?
AND((Q213935,P106,c(Q12737077)), (Q16732236,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q213935
relation P106
action find
entity Q16732236
relation P106
type Q12737077
{'AND': [['Q213935', 'P106', {'concept': 'Q12737077'}], ['Q16732236', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q213935 property:P106 ?a . resource:Q16732236 property:P106 ?a }
Irma McClaurin Felix Victor Birch-Hirschfeld
action filter_type
action intersection
action find
entity Felix Victor Birch-Hirschfeld
relation occupation
action find
entity Irma McClaurin
relation occupation
type occupation
{'AND': [['Felix Victor Birch-Hirschfeld', 'occupation', {'concept': 'occupation'}], ['Irma McClaurin', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Felix_Victor_Birch-Hirschfeld property:occupation ?a . resource:Irma_McClaurin property:occupation ?a }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
AND((Q213935,P106,c(Q12737077)), (Q16732236,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q213935
relation P106
action find
entity Q16732236
relation P106
type Q12737077
[ANSWER] Felix Victor Birch-Hirschfeld and Irma McClaurin do for a living
{'AND': [['Q213935', 'P106', {'concept': 'Q12737077'}], ['Q16732236', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q213935 property:P106 ?a . resource:Q16732236 property:P106 ?a }
university teacher
University teacher Felix Victor Birch-Hirschfeld and Irma McClaurin do for a living
university teacher
action filter_type
action intersection
action find
entity Felix Victor Birch-Hirschfeld
relation occupation
action find
entity Irma McClaurin
relation occupation
type occupation
{'AND': [['Felix Victor Birch-Hirschfeld', 'occupation', {'concept': 'occupation'}], ['Irma McClaurin', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Felix_Victor_Birch-Hirschfeld property:occupation ?a . resource:Irma_McClaurin property:occupation ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1622272 Q887401
P417
Q502895
USER
Is Bo Jackson the patron saint of that occupation ?
(Q1622272,P417,Q887401)
action is_in
entity Q887401
action find
entity Q1622272
relation P417
['Q1622272', 'P417', 'Q887401']
ASK WHERE { resource:Q1622272 property:P417 resource:Q887401 }
university teacher Bo Jackson
action is_in
entity Bo Jackson
action find
entity university teacher
relation patron saint
['university teacher', 'patron saint', 'Bo Jackson']
ASK WHERE { resource:university_teacher property:patron_saint resource:Bo_Jackson }
[]
common name
SYSTEM
NO
(Q1622272,P417,Q887401)
action is_in
entity Q887401
action find
entity Q1622272
relation P417
[ANSWER]
['Q1622272', 'P417', 'Q887401']
ASK WHERE { resource:Q1622272 property:P417 resource:Q887401 }
No
action is_in
entity Bo Jackson
action find
entity university teacher
relation patron saint
['university teacher', 'patron saint', 'Bo Jackson']
ASK WHERE { resource:university_teacher property:patron_saint resource:Bo_Jackson }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10308825 Q887401
P27
Q15617994
USER
Which administrative territories are Bo Jackson or José Antônio Flores da Cunha a civilian of ?
OR((Q887401,P27,c(Q15617994)), (Q10308825,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q887401
relation P27
action find
entity Q10308825
relation P27
type Q15617994
{'OR': [['Q887401', 'P27', {'concept': 'Q15617994'}], ['Q10308825', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q887401 property:P27 ?q } UNION { resource:Q10308825 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
José Antônio Flores da Cunha Bo Jackson
action filter_type
action union
action find
entity Bo Jackson
relation country of citizenship
action find
entity José Antônio Flores da Cunha
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bo Jackson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['José Antônio Flores da Cunha', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Bo_Jackson property:country_of_citizenship ?q } UNION { resource:José_Antônio_Flores_da_Cunha property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q30
SYSTEM
Brazil, United States of America
Q155 Q30
OR((Q887401,P27,c(Q15617994)), (Q10308825,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q887401
relation P27
action find
entity Q10308825
relation P27
type Q15617994
[ANSWERS] are Bo Jackson or José Antônio Flores da Cunha a civilian of
{'OR': [['Q887401', 'P27', {'concept': 'Q15617994'}], ['Q10308825', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q887401 property:P27 ?q } UNION { resource:Q10308825 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Brazil United States of America
Brazil and United States of America are Bo Jackson or José Antônio Flores da Cunha a civilian of
Brazil United States of America
action filter_type
action union
action find
entity Bo Jackson
relation country of citizenship
action find
entity José Antônio Flores da Cunha
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bo Jackson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['José Antônio Flores da Cunha', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Bo_Jackson property:country_of_citizenship ?q } UNION { resource:José_Antônio_Flores_da_Cunha property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q30
P163
Q14660
USER
Which flags are associated with Brazil and United States of America ?
(Q155,P163,c(Q14660)) (Q30,P163,c(Q14660))
action union
action filter_type
action find
entity Q155
relation P163
type Q14660
action filter_type
action find
entity Q30
relation P163
type Q14660
['Q155', 'P163', {'concept': 'Q14660'}] ['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?t WHERE { { resource:Q155 property:P163 ?t . ?t rdf:type ontology:Q14660 } UNION { ?t rdf:type ontology:Q14660 . resource:Q30 property:P163 ?t } }
Brazil United States of America
action union
action filter_type
action find
entity Brazil
relation flag
type flag
action filter_type
action find
entity United States of America
relation flag
type flag
['Brazil', 'flag', {'concept': 'flag'}] ['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?t WHERE { { resource:Brazil property:flag ?t . ?t rdf:type ontology:flag } UNION { ?t rdf:type ontology:flag . resource:United_States_of_America property:flag ?t } }
[]
flag
Q82194 Q42537
SYSTEM
flag of Brazil, flag of the United States of America
Q82194 Q42537
(Q155,P163,c(Q14660)) (Q30,P163,c(Q14660))
action union
action filter_type
action find
entity Q155
relation P163
type Q14660
action filter_type
action find
entity Q30
relation P163
type Q14660
[ANSWERS] are associated with Brazil and United States of America
['Q155', 'P163', {'concept': 'Q14660'}] ['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?t WHERE { { resource:Q155 property:P163 ?t . ?t rdf:type ontology:Q14660 } UNION { ?t rdf:type ontology:Q14660 . resource:Q30 property:P163 ?t } }
flag of Brazil flag of the United States of America
Flag of Brazil and flag of the United States of America are associated with Brazil and United States of America
flag of Brazil flag of the United States of America
action union
action filter_type
action find
entity Brazil
relation flag
type flag
action filter_type
action find
entity United States of America
relation flag
type flag
['Brazil', 'flag', {'concept': 'flag'}] ['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?t WHERE { { resource:Brazil property:flag ?t . ?t rdf:type ontology:flag } UNION { ?t rdf:type ontology:flag . resource:United_States_of_America property:flag ?t } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q82194 Q42537
P462
Q1075
USER
Which colors are those flags associated with ?
(Q82194,P462,c(Q1075)) (Q42537,P462,c(Q1075))
action filter_type
action find
entity prev_answer
relation P462
type Q1075
['Q82194', 'P462', {'concept': 'Q1075'}] ['Q42537', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1075 . ?z property:P462 ?t . VALUES ( ?z ) { ( resource:Q82194 ) ( resource:Q42537 ) } }
flag of Brazil flag of the United States of America
action filter_type
action find
entity prev_answer
relation color
type color
['flag of Brazil', 'color', {'concept': 'color'}] ['flag of the United States of America', 'color', {'concept': 'color'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:color . ?z property:color ?t . VALUES ( ?z ) { ( resource:flag_of_Brazil ) ( resource:flag_of_the_United_States_of_America ) } }
[]
color
Q943 Q1088 Q3133
SYSTEM
yellow, blue, green
Q943 Q1088 Q3133 Q3142 Q1088
(Q82194,P462,c(Q1075)) (Q42537,P462,c(Q1075))
action filter_type
action find
entity prev_answer
relation P462
type Q1075
Those flags are associated with [ANSWERS]
['Q82194', 'P462', {'concept': 'Q1075'}] ['Q42537', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1075 . ?z property:P462 ?t . VALUES ( ?z ) { ( resource:Q82194 ) ( resource:Q42537 ) } }
yellow blue green red blue
Those flags are associated with yellow, blue and green
yellow blue green
action filter_type
action find
entity prev_answer
relation color
type color
['flag of Brazil', 'color', {'concept': 'color'}] ['flag of the United States of America', 'color', {'concept': 'color'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:color . ?z property:color ?t . VALUES ( ?z ) { ( resource:flag_of_Brazil ) ( resource:flag_of_the_United_States_of_America ) } }
[]