Simple Question (Direct)
Simple Question
Q12023989
P101
Q1047113
USER
Which special field is the area of Jaroslav Oliverius ?
(Q12023989,P101,c(Q1047113))
action filter_type
action find
entity Q12023989
relation P101
type Q1047113
['Q12023989', 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ?r WHERE { resource:Q12023989 property:P101 ?r . ?r rdf:type ontology:Q1047113 }
Jaroslav Oliverius
action filter_type
action find
entity Jaroslav Oliverius
relation field of work
type special field
['Jaroslav Oliverius', 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ?r WHERE { resource:Jaroslav_Oliverius property:field_of_work ?r . ?r rdf:type ontology:special_field }
[]
special field
Q739465
SYSTEM
study of the Hebrew language
Q739465
(Q12023989,P101,c(Q1047113))
action filter_type
action find
entity Q12023989
relation P101
type Q1047113
[ANSWER] is the area of Jaroslav Oliverius
['Q12023989', 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ?r WHERE { resource:Q12023989 property:P101 ?r . ?r rdf:type ontology:Q1047113 }
study of the Hebrew language
Study of the Hebrew language is the area of Jaroslav Oliverius
study of the Hebrew language
action filter_type
action find
entity Jaroslav Oliverius
relation field of work
type special field
['Jaroslav Oliverius', 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ?r WHERE { resource:Jaroslav_Oliverius property:field_of_work ?r . ?r rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q739465
P425
Q12737077
USER
Which occupation does that special field belong to ?
(c(Q12737077),P425,Q739465)
action filter_type
action find_reverse
entity Q739465
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q739465']
SELECT DISTINCT ?k WHERE { ?k property:P425 resource:Q739465 . ?k rdf:type ontology:Q12737077 }
study of the Hebrew language
action filter_type
action find_reverse
entity study of the Hebrew language
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'study of the Hebrew language']
SELECT DISTINCT ?k WHERE { ?k property:field_of_this_occupation resource:study_of_the_Hebrew_language . ?k rdf:type ontology:occupation }
[]
occupation
Q4988856
SYSTEM
hebraist
Q4988856
(c(Q12737077),P425,Q739465)
action filter_type
action find_reverse
entity Q739465
relation P425
type Q12737077
That special field belongs to the [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q739465']
SELECT DISTINCT ?k WHERE { ?k property:P425 resource:Q739465 . ?k rdf:type ontology:Q12737077 }
hebraist
That special field belongs to the hebraist
hebraist
action filter_type
action find_reverse
entity study of the Hebrew language
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'study of the Hebrew language']
SELECT DISTINCT ?k WHERE { ?k property:field_of_this_occupation resource:study_of_the_Hebrew_language . ?k rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q739465
P106
Q502895
USER
Which person has the profession of study of the Hebrew language ?
(c(Q502895),P106,Q739465)
action filter_type
action find_reverse
entity Q739465
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q739465']
SELECT DISTINCT ?z WHERE { ?z property:P106 resource:Q739465 . ?z rdf:type ontology:Q502895 }
study of the Hebrew language
action filter_type
action find_reverse
entity study of the Hebrew language
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'study of the Hebrew language']
SELECT DISTINCT ?z WHERE { ?z property:occupation resource:study_of_the_Hebrew_language . ?z rdf:type ontology:common_name }
[]
common name
Q18530322
SYSTEM
John Cook
Q18530322
(c(Q502895),P106,Q739465)
action filter_type
action find_reverse
entity Q739465
relation P106
type Q502895
[ANSWER] has the profession of study of the Hebrew language
[{'concept': 'Q502895'}, 'P106', 'Q739465']
SELECT DISTINCT ?z WHERE { ?z property:P106 resource:Q739465 . ?z rdf:type ontology:Q502895 }
John Cook
John Cook has the profession of study of the Hebrew language
John Cook
action filter_type
action find_reverse
entity study of the Hebrew language
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'study of the Hebrew language']
SELECT DISTINCT ?z WHERE { ?z property:occupation resource:study_of_the_Hebrew_language . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q739465
P361
Q1143546
USER
What is that special field a component of ?
(Q18530322,P361,c(Q1143546))
action filter_type
action find
entity Q739465
relation P361
type Q1143546
['Q18530322', 'P361', {'concept': 'Q1143546'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1143546 . resource:Q739465 property:P361 ?g }
study of the Hebrew language
action filter_type
action find
entity study of the Hebrew language
relation part of
type cultural studies
['John Cook', 'part of', {'concept': 'cultural studies'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:cultural_studies . resource:study_of_the_Hebrew_language property:part_of ?g }
[]
cultural studies
Q476294
SYSTEM
Oriental studies
Q476294
(Q18530322,P361,c(Q1143546))
action filter_type
action find
entity Q739465
relation P361
type Q1143546
That special field a component of is the [ANSWER]
['Q18530322', 'P361', {'concept': 'Q1143546'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1143546 . resource:Q739465 property:P361 ?g }
Oriental studies
That special field a component of is the Oriental studies
Oriental studies
action filter_type
action find
entity study of the Hebrew language
relation part of
type cultural studies
['John Cook', 'part of', {'concept': 'cultural studies'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:cultural_studies . resource:study_of_the_Hebrew_language property:part_of ?g }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 3378 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3378
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?l >= 3378 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?s } }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3378
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?l >= 3378 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?s } }
[]
musical instrument common name
Q5994 Q8355
SYSTEM
piano, violin
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3378
[ANSWERS] are played by atleast 3378 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?l >= 3378 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?s } }
piano violin
Piano and violin are played by atleast 3378 people
piano violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3378
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?l >= 3378 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?s } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5994 Q8355
P106
Q502895
USER
Which people have those musical instruments as his/her means of employment ?
(c(Q502895),P106,Q5994) (c(Q502895),P106,Q8355)
action filter_type
action find_reverse
entity prev_answer
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q5994'] [{'concept': 'Q502895'}, 'P106', 'Q8355']
SELECT DISTINCT ?l WHERE { VALUES ( ?o ) { ( resource:Q5994 ) ( resource:Q8355 ) } . ?l rdf:type ontology:Q502895 . ?l property:P106 ?o }
piano violin
action filter_type
action find_reverse
entity prev_answer
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'piano'] [{'concept': 'common name'}, 'occupation', 'violin']
SELECT DISTINCT ?l WHERE { VALUES ( ?o ) { ( resource:piano ) ( resource:violin ) } . ?l rdf:type ontology:common_name . ?l property:occupation ?o }
[]
common name
Q12261098 Q17191130
SYSTEM
Judith Jauregi, Wim Spaepen
Q12261098 Q17191130
(c(Q502895),P106,Q5994) (c(Q502895),P106,Q8355)
action filter_type
action find_reverse
entity prev_answer
relation P106
type Q502895
[ANSWERS] have those musical instruments as his/her means of employment
[{'concept': 'Q502895'}, 'P106', 'Q5994'] [{'concept': 'Q502895'}, 'P106', 'Q8355']
SELECT DISTINCT ?l WHERE { VALUES ( ?o ) { ( resource:Q5994 ) ( resource:Q8355 ) } . ?l rdf:type ontology:Q502895 . ?l property:P106 ?o }
Judith Jauregi Wim Spaepen
Judith Jauregi and Wim Spaepen have those musical instruments as his/her means of employment
Judith Jauregi Wim Spaepen
action filter_type
action find_reverse
entity prev_answer
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'piano'] [{'concept': 'common name'}, 'occupation', 'violin']
SELECT DISTINCT ?l WHERE { VALUES ( ?o ) { ( resource:piano ) ( resource:violin ) } . ?l rdf:type ontology:common_name . ?l property:occupation ?o }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17191130
P21
Q290
USER
Which sex does that person have ?
(Q17191130,P21,c(Q290))
action filter_type
action find
entity Q17191130
relation P21
type Q290
['Q17191130', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q17191130 property:P21 ?b . ?b rdf:type ontology:Q290 }
Wim Spaepen
action filter_type
action find
entity Wim Spaepen
relation gender
type sex
['Wim Spaepen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Wim_Spaepen property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q12261098
SYSTEM
Did you mean Judith Jauregi ?
Q12261098 Q17191130
(Q12261098,P21,c(Q290)) (Q17191130,P21,c(Q290))
[ANSWER]
['Q12261098', 'P21', {'concept': 'Q290'}] ['Q17191130', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q17191130 property:P21 ?b . ?b rdf:type ontology:Q290 }
Judith Jauregi Wim Spaepen
Did you mean Judith Jauregi ?
Judith Jauregi
['Judith Jauregi', 'gender', {'concept': 'sex'}] ['Wim Spaepen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Wim_Spaepen property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Wim Spaepen. Could you tell me the answer for that?
(Q17191130,P21,c(Q290))
Q17191130
['Q17191130', 'P21', {'concept': 'Q290'}]
['Wim Spaepen', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q17191130,P21,c(Q290))
action filter_type
action find
entity Q17191130
relation P21
type Q290
That person has a [ANSWER]
['Q17191130', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q17191130 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Wim Spaepen
relation gender
type sex
['Wim Spaepen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Wim_Spaepen property:gender ?b . ?b rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q14949914 Q5994
P61 P161
Q502895
USER
Which people discovered or invented piano or were casted in Queen Louise ?
OR((Q5994,P61,c(Q502895)), (Q14949914,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5994
relation P61
action find
entity Q14949914
relation P161
type Q502895
{'OR': [['Q5994', 'P61', {'concept': 'Q502895'}], ['Q14949914', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . { { resource:Q5994 property:P61 ?g } UNION { resource:Q14949914 property:P161 ?g } } }
Queen Louise piano
action filter_type
action union
action find
entity piano
relation discoverer or inventor
action find
entity Queen Louise
relation cast member
type common name
{'OR': [['piano', 'discoverer or inventor', {'concept': 'common name'}], ['Queen Louise', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . { { resource:piano property:discoverer_or_inventor ?g } UNION { resource:Queen_Louise property:cast_member ?g } } }
[]
common name
Q105716 Q1582982 Q97801 Q98148 Q96469 Q75157 Q1913221 Q78880 Q965918 Q90658
SYSTEM
Some of them are Hans Mierendorff, Hans Wassmann, Eduard Rothauser, Alfred Gerasch, Theodor Loos, Adele Sandrock, Max Pohl, Mady Christians, Charles Vanel, Hans Adalbert Schlettow
Q75157 Q301597 Q105716 Q1452259 Q1582982 Q96469 Q78880 Q95540 Q2653679 Q87325 Q1913221 Q6371749 Q1871161 Q109534 Q98148 Q101079 Q97801 Q111461 Q90658 Q965918 Q107579
OR((Q5994,P61,c(Q502895)), (Q14949914,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5994
relation P61
action find
entity Q14949914
relation P161
type Q502895
[ANSWERS] discovered or invented piano or were casted in Queen Louise
{'OR': [['Q5994', 'P61', {'concept': 'Q502895'}], ['Q14949914', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . { { resource:Q5994 property:P61 ?g } UNION { resource:Q14949914 property:P161 ?g } } }
Adele Sandrock Bartolomeo Cristofori Hans Mierendorff Fred Döderlein Hans Wassmann Theodor Loos Mady Christians Anita Dorris Antonie Jaeckel Egon von Jordan Max Pohl Karl Elzer Lotte Lorring Mathias Wieman Alfred Gerasch Auguste Prasch-Grevenberg Eduard Rothauser Hedwig Wangel Hans Adalbert Schlettow Charles Vanel Ferdinand von Alten
Hans Mierendorff, Hans Wassmann, Eduard Rothauser, Alfred Gerasch, Theodor Loos, Adele Sandrock, Max Pohl, Mady Christians, Charles Vanel and Hans Adalbert Schlettow discovered or invented piano or were casted in Queen Louise
Hans Mierendorff Hans Wassmann Eduard Rothauser Alfred Gerasch Theodor Loos Adele Sandrock Max Pohl Mady Christians Charles Vanel Hans Adalbert Schlettow
action filter_type
action union
action find
entity piano
relation discoverer or inventor
action find
entity Queen Louise
relation cast member
type common name
{'OR': [['piano', 'discoverer or inventor', {'concept': 'common name'}], ['Queen Louise', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . { { resource:piano property:discoverer_or_inventor ?g } UNION { resource:Queen_Louise property:cast_member ?g } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6280721 Q75157
P20
Q56061
USER
Which administrative territories did the expiration of Adele Sandrock or Joseph-Émile Perron occur ?
OR((Q75157,P20,c(Q56061)), (Q6280721,P20,c(Q56061)))
action filter_type
action union
action find
entity Q75157
relation P20
action find
entity Q6280721
relation P20
type Q56061
{'OR': [['Q75157', 'P20', {'concept': 'Q56061'}], ['Q6280721', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q75157 property:P20 ?u } UNION { resource:Q6280721 property:P20 ?u } } . ?u rdf:type ontology:Q56061 }
Joseph-Émile Perron Adele Sandrock
action filter_type
action union
action find
entity Adele Sandrock
relation place of death
action find
entity Joseph-Émile Perron
relation place of death
type administrative territorial entity
{'OR': [['Adele Sandrock', 'place of death', {'concept': 'administrative territorial entity'}], ['Joseph-Émile Perron', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Adele_Sandrock property:place_of_death ?u } UNION { resource:Joseph-Émile_Perron property:place_of_death ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q340
SYSTEM
Berlin, Montreal
Q64 Q340
OR((Q75157,P20,c(Q56061)), (Q6280721,P20,c(Q56061)))
action filter_type
action union
action find
entity Q75157
relation P20
action find
entity Q6280721
relation P20
type Q56061
The expiration of Adele Sandrock or Joseph-Émile Perron occurred in [ANSWERS]
{'OR': [['Q75157', 'P20', {'concept': 'Q56061'}], ['Q6280721', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q75157 property:P20 ?u } UNION { resource:Q6280721 property:P20 ?u } } . ?u rdf:type ontology:Q56061 }
Berlin Montreal
The expiration of Adele Sandrock or Joseph-Émile Perron occurred in Berlin and Montreal
Berlin Montreal
action filter_type
action union
action find
entity Adele Sandrock
relation place of death
action find
entity Joseph-Émile Perron
relation place of death
type administrative territorial entity
{'OR': [['Adele Sandrock', 'place of death', {'concept': 'administrative territorial entity'}], ['Joseph-Émile Perron', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Adele_Sandrock property:place_of_death ?u } UNION { resource:Joseph-Émile_Perron property:place_of_death ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]