Simple Question (Direct)
Simple Question
Q579504
P27
Q15617994
USER
Which administrative territory is John of Głogów an inhabitant of ?
(Q579504,P27,c(Q15617994))
action filter_type
action find
entity Q579504
relation P27
type Q15617994
['Q579504', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q579504 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
John of Głogów
action filter_type
action find
entity John of Głogów
relation country of citizenship
type designation for an administrative territorial entity
['John of Głogów', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:John_of_Głogów property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q579504,P27,c(Q15617994))
action filter_type
action find
entity Q579504
relation P27
type Q15617994
The [ANSWER] is John of Głogów an inhabitant of
['Q579504', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q579504 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Poland
The Poland is John of Głogów an inhabitant of
Poland
action filter_type
action find
entity John of Głogów
relation country of citizenship
type designation for an administrative territorial entity
['John of Głogów', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:John_of_Głogów property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q579504
P21
Q290
USER
What is the sex of that person ?
(Q36,P21,c(Q290))
action filter_type
action find
entity Q579504
relation P21
type Q290
['Q36', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q579504 property:P21 ?b . ?b rdf:type ontology:Q290 }
John of Głogów
action filter_type
action find
entity John of Głogów
relation gender
type sex
['Poland', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:John_of_Głogów property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q36,P21,c(Q290))
action filter_type
action find
entity Q579504
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q36', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q579504 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity John of Głogów
relation gender
type sex
['Poland', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:John_of_Głogów property:gender ?b . ?b rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q7638836 Q579504
P21
Q290
USER
And also Sunao Hozaki
AND((Q579504,P21,c(Q290)), (Q7638836,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q579504
relation P21
action find
entity Q7638836
relation P21
type Q290
{'AND': [['Q579504', 'P21', {'concept': 'Q290'}], ['Q7638836', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?t WHERE { resource:Q579504 property:P21 ?t . resource:Q7638836 property:P21 ?t . ?t rdf:type ontology:Q290 }
Sunao Hozaki John of Głogów
action filter_type
action intersection
action find
entity John of Głogów
relation gender
action find
entity Sunao Hozaki
relation gender
type sex
{'AND': [['John of Głogów', 'gender', {'concept': 'sex'}], ['Sunao Hozaki', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?t WHERE { resource:John_of_Głogów property:gender ?t . resource:Sunao_Hozaki property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q579504,P21,c(Q290)), (Q7638836,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q579504
relation P21
action find
entity Q7638836
relation P21
type Q290
[ANSWER]
{'AND': [['Q579504', 'P21', {'concept': 'Q290'}], ['Q7638836', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?t WHERE { resource:Q579504 property:P21 ?t . resource:Q7638836 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity John of Głogów
relation gender
action find
entity Sunao Hozaki
relation gender
type sex
{'AND': [['John of Głogów', 'gender', {'concept': 'sex'}], ['Sunao Hozaki', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?t WHERE { resource:John_of_Głogów property:gender ?t . resource:Sunao_Hozaki property:gender ?t . ?t rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1356268 Q579504
P135 P106
Q151885
USER
Which concepts do John of Głogów do for a living or were Ernest Cahen associated with ?
OR((Q579504,P106,c(Q151885)), (Q1356268,P135,c(Q151885)))
action filter_type
action union
action find
entity Q579504
relation P106
action find
entity Q1356268
relation P135
type Q151885
{'OR': [['Q579504', 'P106', {'concept': 'Q151885'}], ['Q1356268', 'P135', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q579504 property:P106 ?r } UNION { resource:Q1356268 property:P135 ?r } } . ?r rdf:type ontology:Q151885 }
Ernest Cahen John of Głogów
action filter_type
action union
action find
entity John of Głogów
relation occupation
action find
entity Ernest Cahen
relation movement
type concept
{'OR': [['John of Głogów', 'occupation', {'concept': 'concept'}], ['Ernest Cahen', 'movement', {'concept': 'concept'}]]}
SELECT DISTINCT ?r WHERE { { { resource:John_of_Głogów property:occupation ?r } UNION { resource:Ernest_Cahen property:movement ?r } } . ?r rdf:type ontology:concept }
[]
concept
Q4964182 Q9730
SYSTEM
philosopher, classical music
Q4964182 Q9730
OR((Q579504,P106,c(Q151885)), (Q1356268,P135,c(Q151885)))
action filter_type
action union
action find
entity Q579504
relation P106
action find
entity Q1356268
relation P135
type Q151885
John of Głogów do the [ANSWERS] for a living or were Ernest Cahen
{'OR': [['Q579504', 'P106', {'concept': 'Q151885'}], ['Q1356268', 'P135', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q579504 property:P106 ?r } UNION { resource:Q1356268 property:P135 ?r } } . ?r rdf:type ontology:Q151885 }
philosopher classical music
John of Głogów do the philosopher and classical music for a living or were Ernest Cahen
philosopher classical music
action filter_type
action union
action find
entity John of Głogów
relation occupation
action find
entity Ernest Cahen
relation movement
type concept
{'OR': [['John of Głogów', 'occupation', {'concept': 'concept'}], ['Ernest Cahen', 'movement', {'concept': 'concept'}]]}
SELECT DISTINCT ?r WHERE { { { resource:John_of_Głogów property:occupation ?r } UNION { resource:Ernest_Cahen property:movement ?r } } . ?r rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4964182
P425
Q1047113
USER
What has philosopher as thier associated field of occupation ?
(Q4964182,P425,c(Q1047113))
action filter_type
action find
entity Q4964182
relation P425
type Q1047113
['Q4964182', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?p WHERE { resource:Q4964182 property:P425 ?p . ?p rdf:type ontology:Q1047113 }
philosopher
action filter_type
action find
entity philosopher
relation field of this occupation
type special field
['philosopher', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?p WHERE { resource:philosopher property:field_of_this_occupation ?p . ?p rdf:type ontology:special_field }
[]
special field
Q5891
SYSTEM
philosophy
Q5891
(Q4964182,P425,c(Q1047113))
action filter_type
action find
entity Q4964182
relation P425
type Q1047113
As [ANSWER] has philosopher as thier associated field of occupation
['Q4964182', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?p WHERE { resource:Q4964182 property:P425 ?p . ?p rdf:type ontology:Q1047113 }
philosophy
As philosophy has philosopher as thier associated field of occupation
philosophy
action filter_type
action find
entity philosopher
relation field of this occupation
type special field
['philosopher', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?p WHERE { resource:philosopher property:field_of_this_occupation ?p . ?p rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5891
P512
Q502895
USER
Who have the academic degree that special field ?
(c(Q502895),P512,Q5891)
action filter_type
action find_reverse
entity Q5891
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q5891']
SELECT DISTINCT ?w WHERE { ?w property:P512 resource:Q5891 . ?w rdf:type ontology:Q502895 }
philosophy
action filter_type
action find_reverse
entity philosophy
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'philosophy']
SELECT DISTINCT ?w WHERE { ?w property:academic_degree resource:philosophy . ?w rdf:type ontology:common_name }
[]
common name
Q20004312 Q18604552
SYSTEM
Jordi Graupera i Garcia-Milà, Antoine Borel
Q20004312 Q18604552
(c(Q502895),P512,Q5891)
action filter_type
action find_reverse
entity Q5891
relation P512
type Q502895
[ANSWERS] have the academic degree that special field
[{'concept': 'Q502895'}, 'P512', 'Q5891']
SELECT DISTINCT ?w WHERE { ?w property:P512 resource:Q5891 . ?w rdf:type ontology:Q502895 }
Jordi Graupera i Garcia-Milà Antoine Borel
Jordi Graupera i Garcia-Milà and Antoine Borel have the academic degree that special field
Jordi Graupera i Garcia-Milà Antoine Borel
action filter_type
action find_reverse
entity philosophy
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'philosophy']
SELECT DISTINCT ?w WHERE { ?w property:academic_degree resource:philosophy . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20004312
P737
Q502895
USER
Who had an influence on that one ?
(Q20004312,P737,c(Q502895))
action filter_type
action find
entity Q20004312
relation P737
type Q502895
['Q20004312', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q20004312 property:P737 ?s . ?s rdf:type ontology:Q502895 }
Jordi Graupera i Garcia-Milà
action filter_type
action find
entity Jordi Graupera i Garcia-Milà
relation influenced by
type common name
['Jordi Graupera i Garcia-Milà', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Jordi_Graupera_i_Garcia-Milà property:influenced_by ?s . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q18604552
SYSTEM
Did you mean Antoine Borel ?
Q20004312 Q18604552
(Q20004312,P737,c(Q502895)) (Q18604552,P737,c(Q502895))
[ANSWER]
['Q20004312', 'P737', {'concept': 'Q502895'}] ['Q18604552', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q20004312 property:P737 ?s . ?s rdf:type ontology:Q502895 }
Jordi Graupera i Garcia-Milà Antoine Borel
Did you mean Antoine Borel ?
Antoine Borel
['Jordi Graupera i Garcia-Milà', 'influenced by', {'concept': 'common name'}] ['Antoine Borel', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Jordi_Graupera_i_Garcia-Milà property:influenced_by ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Jordi Graupera i Garcia-Milà. Could you tell me the answer for that?
(Q20004312,P737,c(Q502895))
Q20004312
['Q20004312', 'P737', {'concept': 'Q502895'}]
['Jordi Graupera i Garcia-Milà', 'influenced by', {'concept': 'common name'}]
[]
Q2707309
SYSTEM
Richard J. Bernstein
Q2707309
(Q20004312,P737,c(Q502895))
action filter_type
action find
entity Q20004312
relation P737
type Q502895
[ANSWER] had an influence on that one
['Q20004312', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q20004312 property:P737 ?s . ?s rdf:type ontology:Q502895 }
Richard J. Bernstein
Richard J. Bernstein had an influence on that one
Richard J. Bernstein
action filter_type
action find
entity Jordi Graupera i Garcia-Milà
relation influenced by
type common name
['Jordi Graupera i Garcia-Milà', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Jordi_Graupera_i_Garcia-Milà property:influenced_by ?s . ?s rdf:type ontology:common_name }
[]