Simple Question (Direct)
Simple Question
Q2778951
P1066
Q502895
USER
Which person was the professor of Jean Charles Cazin ?
(Q2778951,P1066,c(Q502895))
action filter_type
action find
entity Q2778951
relation P1066
type Q502895
['Q2778951', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q2778951 property:P1066 ?k . ?k rdf:type ontology:Q502895 }
Jean Charles Cazin
action filter_type
action find
entity Jean Charles Cazin
relation student of
type common name
['Jean Charles Cazin', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Jean_Charles_Cazin property:student_of ?k . ?k rdf:type ontology:common_name }
[]
common name
Q3140465
SYSTEM
Horace Lecoq de Boisbaudran
Q3140465
(Q2778951,P1066,c(Q502895))
action filter_type
action find
entity Q2778951
relation P1066
type Q502895
[ANSWER] was the professor of Jean Charles Cazin
['Q2778951', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q2778951 property:P1066 ?k . ?k rdf:type ontology:Q502895 }
Horace Lecoq de Boisbaudran
Horace Lecoq de Boisbaudran was the professor of Jean Charles Cazin
Horace Lecoq de Boisbaudran
action filter_type
action find
entity Jean Charles Cazin
relation student of
type common name
['Jean Charles Cazin', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Jean_Charles_Cazin property:student_of ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3140465
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q3140465,P27,c(Q15617994))
action filter_type
action find
entity Q3140465
relation P27
type Q15617994
['Q3140465', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q3140465 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Horace Lecoq de Boisbaudran
action filter_type
action find
entity Horace Lecoq de Boisbaudran
relation country of citizenship
type designation for an administrative territorial entity
['Horace Lecoq de Boisbaudran', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Horace_Lecoq_de_Boisbaudran property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3140465,P27,c(Q15617994))
action filter_type
action find
entity Q3140465
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q3140465', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q3140465 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
France
The France is the country of citizenship of that person
France
action filter_type
action find
entity Horace Lecoq de Boisbaudran
relation country of citizenship
type designation for an administrative territorial entity
['Horace Lecoq de Boisbaudran', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Horace_Lecoq_de_Boisbaudran property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q2778951
P21 P22
Q502895
USER
Which people have Jean Charles Cazin as dad and have the gender as male ?
AND((c(Q502895),P22,Q2778951), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2778951
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q2778951'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P22 resource:Q2778951 . ?y property:P21 resource:Q6581097 }
male Jean Charles Cazin
action filter_type
action intersection
action find_reverse
entity Jean Charles Cazin
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Jean Charles Cazin'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:father resource:Jean_Charles_Cazin . ?y property:gender resource:male }
[]
common name
Q15970346
SYSTEM
Michel Cazin
Q15970346
AND((c(Q502895),P22,Q2778951), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2778951
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Jean Charles Cazin as dad and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q2778951'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P22 resource:Q2778951 . ?y property:P21 resource:Q6581097 }
Michel Cazin
Michel Cazin have Jean Charles Cazin as dad and have the gender as male
Michel Cazin
action filter_type
action intersection
action find_reverse
entity Jean Charles Cazin
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Jean Charles Cazin'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:father resource:Jean_Charles_Cazin . ?y property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories do that person belong to ?
(Q15970346,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15970346
relation P27
type Q15617994
['Q15970346', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q15970346 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Michel Cazin
relation country of citizenship
type designation for an administrative territorial entity
['Michel Cazin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Michel_Cazin property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q15970346,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15970346
relation P27
type Q15617994
[ANSWER]
['Q15970346', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q15970346 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity Michel Cazin
relation country of citizenship
type designation for an administrative territorial entity
['Michel Cazin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Michel_Cazin property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q705778 Q15970346
P47 P19
Q56061
USER
Which administrative territories were Michel Cazin born at or share border with Wald ?
OR((Q15970346,P19,c(Q56061)), (Q705778,P47,c(Q56061)))
action filter_type
action union
action find
entity Q15970346
relation P19
action find
entity Q705778
relation P47
type Q56061
{'OR': [['Q15970346', 'P19', {'concept': 'Q56061'}], ['Q705778', 'P47', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q15970346 property:P19 ?m } UNION { resource:Q705778 property:P47 ?m } } . ?m rdf:type ontology:Q56061 }
Wald Michel Cazin
action filter_type
action union
action find
entity Michel Cazin
relation place of birth
action find
entity Wald
relation shares border with
type administrative territorial entity
{'OR': [['Michel Cazin', 'place of birth', {'concept': 'administrative territorial entity'}], ['Wald', 'shares border with', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Michel_Cazin property:place_of_birth ?m } UNION { resource:Wald property:shares_border_with ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q82724 Q90
SYSTEM
Messkirch, Paris
Q82724 Q90
OR((Q15970346,P19,c(Q56061)), (Q705778,P47,c(Q56061)))
action filter_type
action union
action find
entity Q15970346
relation P19
action find
entity Q705778
relation P47
type Q56061
Michel Cazin were born share in [ANSWERS]
{'OR': [['Q15970346', 'P19', {'concept': 'Q56061'}], ['Q705778', 'P47', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q15970346 property:P19 ?m } UNION { resource:Q705778 property:P47 ?m } } . ?m rdf:type ontology:Q56061 }
Messkirch Paris
Michel Cazin were born share in Messkirch and Paris
Messkirch Paris
action filter_type
action union
action find
entity Michel Cazin
relation place of birth
action find
entity Wald
relation shares border with
type administrative territorial entity
{'OR': [['Michel Cazin', 'place of birth', {'concept': 'administrative territorial entity'}], ['Wald', 'shares border with', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Michel_Cazin property:place_of_birth ?m } UNION { resource:Wald property:shares_border_with ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1028181 Q15970346
P106 P40
Q502895
USER
Which people have Michel Cazin as a child and have career as painter ?
AND((c(Q502895),P40,Q15970346), (c(Q502895),P106,Q1028181))
action filter_type
action intersection
action find_reverse
entity Q15970346
relation P40
action find_reverse
entity Q1028181
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q15970346'], [{'concept': 'Q502895'}, 'P106', 'Q1028181']]}
SELECT DISTINCT ?t WHERE { ?t property:P40 resource:Q15970346 . ?t property:P106 resource:Q1028181 . ?t rdf:type ontology:Q502895 }
painter Michel Cazin
action filter_type
action intersection
action find_reverse
entity Michel Cazin
relation child
action find_reverse
entity painter
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Michel Cazin'], [{'concept': 'common name'}, 'occupation', 'painter']]}
SELECT DISTINCT ?t WHERE { ?t property:child resource:Michel_Cazin . ?t property:occupation resource:painter . ?t rdf:type ontology:common_name }
[]
common name
Q2778951 Q3292434
SYSTEM
Jean Charles Cazin, Marie Cazin
Q2778951 Q3292434
AND((c(Q502895),P40,Q15970346), (c(Q502895),P106,Q1028181))
action filter_type
action intersection
action find_reverse
entity Q15970346
relation P40
action find_reverse
entity Q1028181
relation P106
type Q502895
[ANSWERS] have Michel Cazin as a child and have career as painter
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q15970346'], [{'concept': 'Q502895'}, 'P106', 'Q1028181']]}
SELECT DISTINCT ?t WHERE { ?t property:P40 resource:Q15970346 . ?t property:P106 resource:Q1028181 . ?t rdf:type ontology:Q502895 }
Jean Charles Cazin Marie Cazin
Jean Charles Cazin and Marie Cazin have Michel Cazin as a child and have career as painter
Jean Charles Cazin Marie Cazin
action filter_type
action intersection
action find_reverse
entity Michel Cazin
relation child
action find_reverse
entity painter
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Michel Cazin'], [{'concept': 'common name'}, 'occupation', 'painter']]}
SELECT DISTINCT ?t WHERE { ?t property:child resource:Michel_Cazin . ?t property:occupation resource:painter . ?t rdf:type ontology:common_name }
[]