Simple Question (Direct)
Simple Question
Q1876788
P20
Q56061
USER
Where did Henri Bachelin die ?
(Q1876788,P20,c(Q56061))
action filter_type
action find
entity Q1876788
relation P20
type Q56061
['Q1876788', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q1876788 property:P20 ?m }
Henri Bachelin
action filter_type
action find
entity Henri Bachelin
relation place of death
type administrative territorial entity
['Henri Bachelin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Henri_Bachelin property:place_of_death ?m }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q1876788,P20,c(Q56061))
action filter_type
action find
entity Q1876788
relation P20
type Q56061
Henri Bachelin died in [ANSWER]
['Q1876788', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q1876788 property:P20 ?m }
Paris
Henri Bachelin died in Paris
Paris
action filter_type
action find
entity Henri Bachelin
relation place of death
type administrative territorial entity
['Henri Bachelin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Henri_Bachelin property:place_of_death ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1876788
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q90,P106,c(Q12737077))
action filter_type
action find
entity Q1876788
relation P106
type Q12737077
['Q90', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1876788 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Henri Bachelin
action filter_type
action find
entity Henri Bachelin
relation occupation
type occupation
['Paris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Henri_Bachelin property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q36180 Q6625963
SYSTEM
writer, novelist
Q36180 Q6625963
(Q90,P106,c(Q12737077))
action filter_type
action find
entity Q1876788
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q90', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1876788 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
writer novelist
The professions of that person are writer and novelist
writer novelist
action filter_type
action find
entity Henri Bachelin
relation occupation
type occupation
['Paris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Henri_Bachelin property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q16334295 Q15619164
USER
How many groups of humans or abstract beings have career as that occupation ?
(c(Q16334295),P106,Q36180) (c(Q15619164),P106,Q36180) (c(Q16334295),P106,Q36180) (c(Q15619164),P106,Q36180) (c(Q16334295),P106,Q6625963) (c(Q15619164),P106,Q6625963)
[{'concept': 'Q16334295'}, 'P106', 'Q36180'] [{'concept': 'Q15619164'}, 'P106', 'Q36180'] [{'concept': 'Q16334295'}, 'P106', 'Q36180'] [{'concept': 'Q15619164'}, 'P106', 'Q36180'] [{'concept': 'Q16334295'}, 'P106', 'Q6625963'] [{'concept': 'Q15619164'}, 'P106', 'Q6625963']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q36180 } UNION { ?y property:Q528892 resource:Q36180 } UNION { ?z property:Q528892 resource:Q36180 } UNION { ?y property:Q528892 resource:Q36180 } UNION { ?z property:Q528892 resource:Q6625963 } UNION { ?y property:Q528892 resource:Q6625963 } } . ?z rdf:type ontology:Q16334295 . ?y rdf:type ontology:Q15619164 }
[{'concept': 'group of humans'}, 'occupation', 'writer'] [{'concept': 'abstract being'}, 'occupation', 'writer'] [{'concept': 'group of humans'}, 'occupation', 'writer'] [{'concept': 'abstract being'}, 'occupation', 'writer'] [{'concept': 'group of humans'}, 'occupation', 'novelist'] [{'concept': 'abstract being'}, 'occupation', 'novelist']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:writer } UNION { ?y property:occupation resource:writer } UNION { ?z property:occupation resource:writer } UNION { ?y property:occupation resource:writer } UNION { ?z property:occupation resource:novelist } UNION { ?y property:occupation resource:novelist } } . ?z rdf:type ontology:group_of_humans . ?y rdf:type ontology:abstract_being }
[]
group of humans abstract being
Quantitative|Count|Mult. entity type|Clarification
Q6625963
SYSTEM
Did you mean novelist ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q36180 } UNION { ?y property:Q528892 resource:Q36180 } UNION { ?z property:Q528892 resource:Q36180 } UNION { ?y property:Q528892 resource:Q36180 } UNION { ?z property:Q528892 resource:Q6625963 } UNION { ?y property:Q528892 resource:Q6625963 } } . ?z rdf:type ontology:Q16334295 . ?y rdf:type ontology:Q15619164 }
Did you mean novelist ?
novelist
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:writer } UNION { ?y property:occupation resource:writer } UNION { ?z property:occupation resource:writer } UNION { ?y property:occupation resource:writer } UNION { ?z property:occupation resource:novelist } UNION { ?y property:occupation resource:novelist } } . ?z rdf:type ontology:group_of_humans . ?y rdf:type ontology:abstract_being }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant writer. Could you tell me the answer for that?
(c(Q16334295),P106,Q36180) (c(Q15619164),P106,Q36180) (c(Q16334295),P106,Q36180) (c(Q15619164),P106,Q36180) (c(Q16334295),P106,Q6625963) (c(Q15619164),P106,Q6625963)
Q36180
[{'concept': 'Q16334295'}, 'P106', 'Q36180'] [{'concept': 'Q15619164'}, 'P106', 'Q36180'] [{'concept': 'Q16334295'}, 'P106', 'Q36180'] [{'concept': 'Q15619164'}, 'P106', 'Q36180'] [{'concept': 'Q16334295'}, 'P106', 'Q6625963'] [{'concept': 'Q15619164'}, 'P106', 'Q6625963']
[{'concept': 'group of humans'}, 'occupation', 'writer'] [{'concept': 'abstract being'}, 'occupation', 'writer'] [{'concept': 'group of humans'}, 'occupation', 'writer'] [{'concept': 'abstract being'}, 'occupation', 'writer'] [{'concept': 'group of humans'}, 'occupation', 'novelist'] [{'concept': 'abstract being'}, 'occupation', 'novelist']
[]
SYSTEM
30
Q18039973 Q7421762 Q1806270 Q641740 Q1543194 Q764950 Q3293766 Q10392733 Q781484 Q16314211 Q1348668 Q2674759 Q3272442 Q11339654 Q586362 Q616541 Q2075097 Q4924839 Q8704 Q918598 Q7154114 Q1798102 Q21010056 Q561105 Q1902768 Q4772603 Q22028151 Q839369 Q458346 Q262816
(c(Q16334295),P106,Q36180) (c(Q15619164),P106,Q36180) (c(Q16334295),P106,Q36180) (c(Q15619164),P106,Q36180) (c(Q16334295),P106,Q6625963) (c(Q15619164),P106,Q6625963)
[ANSWER]
[{'concept': 'Q16334295'}, 'P106', 'Q36180'] [{'concept': 'Q15619164'}, 'P106', 'Q36180'] [{'concept': 'Q16334295'}, 'P106', 'Q36180'] [{'concept': 'Q15619164'}, 'P106', 'Q36180'] [{'concept': 'Q16334295'}, 'P106', 'Q6625963'] [{'concept': 'Q15619164'}, 'P106', 'Q6625963']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q36180 } UNION { ?y property:Q528892 resource:Q36180 } UNION { ?z property:Q528892 resource:Q36180 } UNION { ?y property:Q528892 resource:Q36180 } UNION { ?z property:Q528892 resource:Q6625963 } UNION { ?y property:Q528892 resource:Q6625963 } } . ?z rdf:type ontology:Q16334295 . ?y rdf:type ontology:Q15619164 }
Amélie Nothomb Sara Seale Lars Kepler Erin Hunter Grant Naylor Richard Castle Marius-Ary Leblond Victor Leal P. J. Tracy Erik Axl Sund Erckmann-Chatrian Marion Bekker M. Lothaire Michael Slade Ellery Queen Patrick Quentin Peter Garski Blanche Descartes Walt Disney Stefan Brockhoff Paul Urquhart Patrick Lynch Alan Wake Anna Kalman Marshall Jevons Anthony Godby Johnson Jefferson Bass Michael Field Lemony Snicket Ilf and Petrov
30
[{'concept': 'group of humans'}, 'occupation', 'writer'] [{'concept': 'abstract being'}, 'occupation', 'writer'] [{'concept': 'group of humans'}, 'occupation', 'writer'] [{'concept': 'abstract being'}, 'occupation', 'writer'] [{'concept': 'group of humans'}, 'occupation', 'novelist'] [{'concept': 'abstract being'}, 'occupation', 'novelist']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:writer } UNION { ?y property:occupation resource:writer } UNION { ?z property:occupation resource:writer } UNION { ?y property:occupation resource:writer } UNION { ?z property:occupation resource:novelist } UNION { ?y property:occupation resource:novelist } } . ?z rdf:type ontology:group_of_humans . ?y rdf:type ontology:abstract_being }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3106453 Q1876788
P19
Q20667921
USER
Which french administrative divisions were Henri Bachelin or Gilles Peycelon born at ?
OR((Q1876788,P19,c(Q20667921)), (Q3106453,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q1876788
relation P19
action find
entity Q3106453
relation P19
type Q20667921
{'OR': [['Q1876788', 'P19', {'concept': 'Q20667921'}], ['Q3106453', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q3106453 property:P19 ?f } UNION { resource:Q1876788 property:P19 ?f } } . ?f rdf:type ontology:Q20667921 }
Gilles Peycelon Henri Bachelin
action filter_type
action union
action find
entity Henri Bachelin
relation place of birth
action find
entity Gilles Peycelon
relation place of birth
type type of french administrative division
{'OR': [['Henri Bachelin', 'place of birth', {'concept': 'type of french administrative division'}], ['Gilles Peycelon', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Gilles_Peycelon property:place_of_birth ?f } UNION { resource:Henri_Bachelin property:place_of_birth ?f } } . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q633357 Q42716
SYSTEM
Lormes, Saint-Étienne
Q633357 Q42716
OR((Q1876788,P19,c(Q20667921)), (Q3106453,P19,c(Q20667921)))
action filter_type
action union
action find
entity Q1876788
relation P19
action find
entity Q3106453
relation P19
type Q20667921
[ANSWERS]
{'OR': [['Q1876788', 'P19', {'concept': 'Q20667921'}], ['Q3106453', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q3106453 property:P19 ?f } UNION { resource:Q1876788 property:P19 ?f } } . ?f rdf:type ontology:Q20667921 }
Lormes Saint-Étienne
Which french administrative divisions were Henri Bachelin or Gilles Peycelon born at
Lormes Saint-Étienne
action filter_type
action union
action find
entity Henri Bachelin
relation place of birth
action find
entity Gilles Peycelon
relation place of birth
type type of french administrative division
{'OR': [['Henri Bachelin', 'place of birth', {'concept': 'type of french administrative division'}], ['Gilles Peycelon', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Gilles_Peycelon property:place_of_birth ?f } UNION { resource:Henri_Bachelin property:place_of_birth ?f } } . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q20188383 Q6625963
P136 P425
Q1792379
USER
What have novelist as the associated field of occupation or can be considered as genre of Beacon Rock, Newport Harbor ?
OR((Q6625963,P425,c(Q1792379)), (Q20188383,P136,c(Q1792379)))
action filter_type
action union
action find
entity Q6625963
relation P425
action find
entity Q20188383
relation P136
type Q1792379
{'OR': [['Q6625963', 'P425', {'concept': 'Q1792379'}], ['Q20188383', 'P136', {'concept': 'Q1792379'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q20188383 property:P136 ?j } UNION { resource:Q6625963 property:P425 ?j } } . ?j rdf:type ontology:Q1792379 }
Beacon Rock, Newport Harbor novelist
action filter_type
action union
action find
entity novelist
relation field of this occupation
action find
entity Beacon Rock, Newport Harbor
relation genre
type art genre
{'OR': [['novelist', 'field of this occupation', {'concept': 'art genre'}], ['Beacon Rock, Newport Harbor', 'genre', {'concept': 'art genre'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Beacon_Rock,_Newport_Harbor property:genre ?j } UNION { resource:novelist property:field_of_this_occupation ?j } } . ?j rdf:type ontology:art_genre }
[]
art genre
Q8261 Q158607
SYSTEM
novel, marine art
Q8261 Q158607
OR((Q6625963,P425,c(Q1792379)), (Q20188383,P136,c(Q1792379)))
action filter_type
action union
action find
entity Q6625963
relation P425
action find
entity Q20188383
relation P136
type Q1792379
[ANSWERS] have novelist as the associated field of occupation or can be considered as genre of Beacon Rock, Newport Harbor
{'OR': [['Q6625963', 'P425', {'concept': 'Q1792379'}], ['Q20188383', 'P136', {'concept': 'Q1792379'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q20188383 property:P136 ?j } UNION { resource:Q6625963 property:P425 ?j } } . ?j rdf:type ontology:Q1792379 }
novel marine art
Novel and marine art have novelist as the associated field of occupation or can be considered as genre of Beacon Rock, Newport Harbor
novel marine art
action filter_type
action union
action find
entity novelist
relation field of this occupation
action find
entity Beacon Rock, Newport Harbor
relation genre
type art genre
{'OR': [['novelist', 'field of this occupation', {'concept': 'art genre'}], ['Beacon Rock, Newport Harbor', 'genre', {'concept': 'art genre'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Beacon_Rock,_Newport_Harbor property:genre ?j } UNION { resource:novelist property:field_of_this_occupation ?j } } . ?j rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42716
P6
Q502895
USER
Which person is the head of government of Saint-Étienne ?
(Q42716,P6,c(Q502895))
action filter_type
action find
entity Q42716
relation P6
type Q502895
['Q42716', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q42716 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Saint-Étienne
action filter_type
action find
entity Saint-Étienne
relation head of government
type common name
['Saint-Étienne', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Saint-Étienne property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
common name
Q17497010
SYSTEM
Gaël Perdriau
Q17497010
(Q42716,P6,c(Q502895))
action filter_type
action find
entity Q42716
relation P6
type Q502895
[ANSWER] is the head of government of Saint-Étienne
['Q42716', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q42716 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Gaël Perdriau
Gaël Perdriau is the head of government of Saint-Étienne
Gaël Perdriau
action filter_type
action find
entity Saint-Étienne
relation head of government
type common name
['Saint-Étienne', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Saint-Étienne property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]