Simple Question (Direct)
Simple Question
Q2645637
P20
Q13220204
USER
Where did the demise of Alfred Pauletto occur ?
(Q2645637,P20,c(Q13220204))
action filter_type
action find
entity Q2645637
relation P20
type Q13220204
['Q2645637', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?j WHERE { resource:Q2645637 property:P20 ?j . ?j rdf:type ontology:Q13220204 }
Alfred Pauletto
action filter_type
action find
entity Alfred Pauletto
relation place of death
type second-level administrative country subdivision
['Alfred Pauletto', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?j WHERE { resource:Alfred_Pauletto property:place_of_death ?j . ?j rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q581647
SYSTEM
Arlesheim
Q581647
(Q2645637,P20,c(Q13220204))
action filter_type
action find
entity Q2645637
relation P20
type Q13220204
The demise of Alfred Pauletto occurred in [ANSWER]
['Q2645637', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?j WHERE { resource:Q2645637 property:P20 ?j . ?j rdf:type ontology:Q13220204 }
Arlesheim
The demise of Alfred Pauletto occurred in Arlesheim
Arlesheim
action filter_type
action find
entity Alfred Pauletto
relation place of death
type second-level administrative country subdivision
['Alfred Pauletto', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?j WHERE { resource:Alfred_Pauletto property:place_of_death ?j . ?j rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2645637
P19
Q13220204
USER
Which administrative country subdivision is the birthplace of Alfred Pauletto ?
(Q2645637,P19,c(Q13220204))
action filter_type
action find
entity Q2645637
relation P19
type Q13220204
['Q2645637', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?k WHERE { resource:Q2645637 property:P19 ?k . ?k rdf:type ontology:Q13220204 }
Alfred Pauletto
action filter_type
action find
entity Alfred Pauletto
relation place of birth
type second-level administrative country subdivision
['Alfred Pauletto', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?k WHERE { resource:Alfred_Pauletto property:place_of_birth ?k . ?k rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q64865
SYSTEM
Bischofszell
Q64865
(Q2645637,P19,c(Q13220204))
action filter_type
action find
entity Q2645637
relation P19
type Q13220204
[ANSWER] is the birthplace of Alfred Pauletto
['Q2645637', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?k WHERE { resource:Q2645637 property:P19 ?k . ?k rdf:type ontology:Q13220204 }
Bischofszell
Bischofszell is the birthplace of Alfred Pauletto
Bischofszell
action filter_type
action find
entity Alfred Pauletto
relation place of birth
type second-level administrative country subdivision
['Alfred Pauletto', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?k WHERE { resource:Alfred_Pauletto property:place_of_birth ?k . ?k rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2645637
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q64865,P106,c(Q12737077))
action filter_type
action find
entity Q2645637
relation P106
type Q12737077
['Q64865', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q2645637 property:P106 ?l }
Alfred Pauletto
action filter_type
action find
entity Alfred Pauletto
relation occupation
type occupation
['Bischofszell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Alfred_Pauletto property:occupation ?l }
[]
occupation
Q1028181 Q644687 Q627325
SYSTEM
painter, illustrator, graphic designer
Q1028181 Q644687 Q627325 Q15296811
(Q64865,P106,c(Q12737077))
action filter_type
action find
entity Q2645637
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q64865', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q2645637 property:P106 ?l }
painter illustrator graphic designer draughtsperson
The professions of that person are painter, illustrator and graphic designer
painter illustrator graphic designer
action filter_type
action find
entity Alfred Pauletto
relation occupation
type occupation
['Bischofszell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Alfred_Pauletto property:occupation ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2645637
P21
Q290
USER
What is the sex of that person ?
(Q1028181,P21,c(Q290)) (Q644687,P21,c(Q290)) (Q627325,P21,c(Q290))
action filter_type
action find
entity Q2645637
relation P21
type Q290
['Q1028181', 'P21', {'concept': 'Q290'}] ['Q644687', 'P21', {'concept': 'Q290'}] ['Q627325', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q2645637 property:P21 ?w }
Alfred Pauletto
action filter_type
action find
entity Alfred Pauletto
relation gender
type sex
['painter', 'gender', {'concept': 'sex'}] ['illustrator', 'gender', {'concept': 'sex'}] ['graphic designer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Alfred_Pauletto property:gender ?w }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1028181,P21,c(Q290)) (Q644687,P21,c(Q290)) (Q627325,P21,c(Q290))
action filter_type
action find
entity Q2645637
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q1028181', 'P21', {'concept': 'Q290'}] ['Q644687', 'P21', {'concept': 'Q290'}] ['Q627325', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q2645637 property:P21 ?w }
male
The sex of that person is a male
male
action filter_type
action find
entity Alfred Pauletto
relation gender
type sex
['painter', 'gender', {'concept': 'sex'}] ['illustrator', 'gender', {'concept': 'sex'}] ['graphic designer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Alfred_Pauletto property:gender ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q99126
P21
Q502895
USER
Does Otto Bruchwitz have the gender as that sex ?
(Q99126,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q99126
relation P21
['Q99126', 'P21', 'Q6581097']
ASK WHERE { resource:Q99126 property:P21 resource:Q6581097 }
male Otto Bruchwitz
action is_in
entity male
action find
entity Otto Bruchwitz
relation gender
['Otto Bruchwitz', 'gender', 'male']
ASK WHERE { resource:Otto_Bruchwitz property:gender resource:male }
[]
common name
SYSTEM
YES
(Q99126,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q99126
relation P21
[ANSWER]
['Q99126', 'P21', 'Q6581097']
ASK WHERE { resource:Q99126 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Otto Bruchwitz
relation gender
['Otto Bruchwitz', 'gender', 'male']
ASK WHERE { resource:Otto_Bruchwitz property:gender resource:male }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q15709879 Q17638008
USER
Which occupations are depicted in exactly 1 artwork series or game equipment ?
(c(Q15709879)|c(Q17638008),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
value 1
[[{'concept': 'Q15709879'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?w ) WHERE { VALUES ( ?p ) { ( ontology:Q17638008 ) ( ontology:Q15709879 ) } . ?f rdf:type ?p } GROUP BY ?g } . FILTER ( ?w = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
value 1
[[{'concept': 'artwork series'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?w ) WHERE { VALUES ( ?p ) { ( ontology:game_equipment ) ( ontology:artwork_series ) } . ?f rdf:type ?p } GROUP BY ?g } . FILTER ( ?w = 1 ) }
[]
occupation artwork series game equipment
Q47064 Q805221 Q12059906
SYSTEM
military personnel, ballet dancer, herder
Q47064 Q805221 Q12059906 Q622630 Q39631
(c(Q15709879)|c(Q17638008),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
value 1
Rank [ANSWERS] are depicted in exactly 1 artwork series or game equipment
[[{'concept': 'Q15709879'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?w ) WHERE { VALUES ( ?p ) { ( ontology:Q17638008 ) ( ontology:Q15709879 ) } . ?f rdf:type ?p } GROUP BY ?g } . FILTER ( ?w = 1 ) }
military personnel ballet dancer herder odalisque physician
Rank military personnel, ballet dancer and herder are depicted in exactly 1 artwork series or game equipment
military personnel ballet dancer herder
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
value 1
[[{'concept': 'artwork series'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?w ) WHERE { VALUES ( ?p ) { ( ontology:game_equipment ) ( ontology:artwork_series ) } . ?f rdf:type ?p } GROUP BY ?g } . FILTER ( ?w = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q581647
P17
Q15617994
USER
How many administrative territories are Arlesheim located in ?
(Q581647,P17,c(Q15617994))
action count
action filter_type
action find
entity Q581647
relation P17
type Q15617994
['Q581647', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q581647 property:P17 ?u }
Arlesheim
action count
action filter_type
action find
entity Arlesheim
relation country
type designation for an administrative territorial entity
['Arlesheim', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Arlesheim property:country ?u }
[]
designation for an administrative territorial entity
SYSTEM
1
Q39
(Q581647,P17,c(Q15617994))
action count
action filter_type
action find
entity Q581647
relation P17
type Q15617994
[ANSWER]
['Q581647', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q581647 property:P17 ?u }
Switzerland
1
action count
action filter_type
action find
entity Arlesheim
relation country
type designation for an administrative territorial entity
['Arlesheim', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Arlesheim property:country ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q581647
P17
Q15617994
USER
Which administrative territory does that administrative country subdivision belong to ?
action filter_type
action find
entity Q581647
relation P17
type Q15617994
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q581647 property:P17 ?t }
Arlesheim
action filter_type
action find
entity Arlesheim
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Arlesheim property:country ?t }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
action filter_type
action find
entity Q581647
relation P17
type Q15617994
That administrative country subdivision belongs to the [ANSWER]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q581647 property:P17 ?t }
Switzerland
That administrative country subdivision belongs to the Switzerland
Switzerland
action filter_type
action find
entity Arlesheim
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Arlesheim property:country ?t }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5551659 Q627325
P425 P289
Q5962346
USER
Which classification schemes have graphic designer as thier associated field of occupation or do German submarine U-424 possess as their vessel class ?
OR((Q627325,P425,c(Q5962346)), (Q5551659,P289,c(Q5962346)))
action filter_type
action union
action find
entity Q627325
relation P425
action find
entity Q5551659
relation P289
type Q5962346
{'OR': [['Q627325', 'P425', {'concept': 'Q5962346'}], ['Q5551659', 'P289', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q627325 property:P425 ?n } UNION { resource:Q5551659 property:P289 ?n } } . ?n rdf:type ontology:Q5962346 }
German submarine U-424 graphic designer
action filter_type
action union
action find
entity graphic designer
relation field of this occupation
action find
entity German submarine U-424
relation vessel class
type classification scheme
{'OR': [['graphic designer', 'field of this occupation', {'concept': 'classification scheme'}], ['German submarine U-424', 'vessel class', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?n WHERE { { { resource:graphic_designer property:field_of_this_occupation ?n } UNION { resource:German_submarine_U-424 property:vessel_class ?n } } . ?n rdf:type ontology:classification_scheme }
[]
classification scheme
Q185925 Q10374571
SYSTEM
graphic design, German Type VIIC submarine
Q185925 Q10374571
OR((Q627325,P425,c(Q5962346)), (Q5551659,P289,c(Q5962346)))
action filter_type
action union
action find
entity Q627325
relation P425
action find
entity Q5551659
relation P289
type Q5962346
[ANSWERS] have graphic designer as thier associated field of occupation or do German submarine U-424 possess as their vessel class
{'OR': [['Q627325', 'P425', {'concept': 'Q5962346'}], ['Q5551659', 'P289', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q627325 property:P425 ?n } UNION { resource:Q5551659 property:P289 ?n } } . ?n rdf:type ontology:Q5962346 }
graphic design German Type VIIC submarine
Graphic design and German Type VIIC submarine have graphic designer as thier associated field of occupation or do German submarine U-424 possess as their vessel class
graphic design German Type VIIC submarine
action filter_type
action union
action find
entity graphic designer
relation field of this occupation
action find
entity German submarine U-424
relation vessel class
type classification scheme
{'OR': [['graphic designer', 'field of this occupation', {'concept': 'classification scheme'}], ['German submarine U-424', 'vessel class', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?n WHERE { { { resource:graphic_designer property:field_of_this_occupation ?n } UNION { resource:German_submarine_U-424 property:vessel_class ?n } } . ?n rdf:type ontology:classification_scheme }
[]