Simple Question (Direct)
Simple Question
Q3163430
P162
Q502895
USER
Which person is the produced of Je l'ai été trois fois ?
(Q3163430,P162,c(Q502895))
action filter_type
action find
entity Q3163430
relation P162
type Q502895
['Q3163430', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q3163430 property:P162 ?a . ?a rdf:type ontology:Q502895 }
Je l'ai été trois fois
action filter_type
action find
entity Je l'ai été trois fois
relation producer
type common name
["Je l'ai été trois fois", 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Je_l'ai_été_trois_fois property:producer ?a . ?a rdf:type ontology:common_name }
[]
common name
Q7154200
SYSTEM
Paul Wagner
Q7154200
(Q3163430,P162,c(Q502895))
action filter_type
action find
entity Q3163430
relation P162
type Q502895
[ANSWER] is the produced of Je l'ai été trois fois
['Q3163430', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q3163430 property:P162 ?a . ?a rdf:type ontology:Q502895 }
Paul Wagner
Paul Wagner is the produced of Je l'ai été trois fois
Paul Wagner
action filter_type
action find
entity Je l'ai été trois fois
relation producer
type common name
["Je l'ai été trois fois", 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Je_l'ai_été_trois_fois property:producer ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3163430
P462
Q1075
USER
Which color is Je l'ai été trois fois associated with ?
(Q3163430,P462,c(Q1075))
action filter_type
action find
entity Q3163430
relation P462
type Q1075
['Q3163430', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?x WHERE { resource:Q3163430 property:P462 ?x . ?x rdf:type ontology:Q1075 }
Je l'ai été trois fois
action filter_type
action find
entity Je l'ai été trois fois
relation color
type color
["Je l'ai été trois fois", 'color', {'concept': 'color'}]
SELECT DISTINCT ?x WHERE { resource:Je_l'ai_été_trois_fois property:color ?x . ?x rdf:type ontology:color }
[]
color
Q2254548
SYSTEM
black-and-white film
Q2254548
(Q3163430,P462,c(Q1075))
action filter_type
action find
entity Q3163430
relation P462
type Q1075
Je is l'ai été associated with [ANSWER] trois fois
['Q3163430', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?x WHERE { resource:Q3163430 property:P462 ?x . ?x rdf:type ontology:Q1075 }
black-and-white film
Je is l'ai été associated with black-and-white film trois fois
black-and-white film
action filter_type
action find
entity Je l'ai été trois fois
relation color
type color
["Je l'ai été trois fois", 'color', {'concept': 'color'}]
SELECT DISTINCT ?x WHERE { resource:Je_l'ai_été_trois_fois property:color ?x . ?x rdf:type ontology:color }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7154200
P27
Q15617994
USER
How many administrative territories do Paul Wagner belong to ?
(Q7154200,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7154200
relation P27
type Q15617994
['Q7154200', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Q7154200 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Paul Wagner
action count
action filter_type
action find
entity Paul Wagner
relation country of citizenship
type designation for an administrative territorial entity
['Paul Wagner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Paul_Wagner property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q7154200,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7154200
relation P27
type Q15617994
[ANSWER]
['Q7154200', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Q7154200 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Paul Wagner
relation country of citizenship
type designation for an administrative territorial entity
['Paul Wagner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Paul_Wagner property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7154200
P161
Q838948
USER
Which work of art has that person as actor ?
action filter_type
action find_reverse
entity Q7154200
relation P161
type Q838948
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q7154200 . ?j rdf:type ontology:Q838948 }
Paul Wagner
action filter_type
action find_reverse
entity Paul Wagner
relation cast member
type work of art
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Paul_Wagner . ?j rdf:type ontology:work_of_art }
[]
work of art
Q1194147
SYSTEM
The Captain from Köpenick
Q1194147
action filter_type
action find_reverse
entity Q7154200
relation P161
type Q838948
[ANSWER] has that person as actor
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q7154200 . ?j rdf:type ontology:Q838948 }
The Captain from Köpenick
The Captain from Köpenick has that person as actor
The Captain from Köpenick
action filter_type
action find_reverse
entity Paul Wagner
relation cast member
type work of art
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Paul_Wagner . ?j rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used to fabricate exactly 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action equal
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P2079 ?c . ?c rdf:type ontology:Q2695280 . ?v rdf:type ontology:Q838948 } GROUP BY ?c } . FILTER ( ?o = 1 ) }
action equal
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:fabrication_method ?c . ?c rdf:type ontology:technics . ?v rdf:type ontology:work_of_art } GROUP BY ?c } . FILTER ( ?o = 1 ) }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action equal
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWERS] are used to fabricate exactly 1 work of art
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P2079 ?c . ?c rdf:type ontology:Q2695280 . ?v rdf:type ontology:Q838948 } GROUP BY ?c } . FILTER ( ?o = 1 ) }
gilding collage
Gilding and collage are used to fabricate exactly 1 work of art
gilding collage
action equal
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:fabrication_method ?c . ?c rdf:type ontology:technics . ?v rdf:type ontology:work_of_art } GROUP BY ?c } . FILTER ( ?o = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q170593
P1056
Q838948
USER
Which work of art is produced by that technics ?
(Q170593,P1056,c(Q838948))
action filter_type
action find
entity Q170593
relation P1056
type Q838948
['Q170593', 'P1056', {'concept': 'Q838948'}]
SELECT DISTINCT ?x WHERE { resource:Q170593 property:P1056 ?x . ?x rdf:type ontology:Q838948 }
collage
action filter_type
action find
entity collage
relation product
type work of art
['collage', 'product', {'concept': 'work of art'}]
SELECT DISTINCT ?x WHERE { resource:collage property:product ?x . ?x rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q170593
SYSTEM
Did you mean collage ?
Q1334300 Q170593
(Q1334300,P1056,c(Q838948)) (Q170593,P1056,c(Q838948))
[ANSWER]
['Q1334300', 'P1056', {'concept': 'Q838948'}] ['Q170593', 'P1056', {'concept': 'Q838948'}]
SELECT DISTINCT ?x WHERE { resource:Q170593 property:P1056 ?x . ?x rdf:type ontology:Q838948 }
gilding collage
Did you mean collage ?
collage
['gilding', 'product', {'concept': 'work of art'}] ['collage', 'product', {'concept': 'work of art'}]
SELECT DISTINCT ?x WHERE { resource:collage property:product ?x . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
Yes
(Q170593,P1056,c(Q838948))
['Q170593', 'P1056', {'concept': 'Q838948'}]
['collage', 'product', {'concept': 'work of art'}]
[]
Q22669857
SYSTEM
collage
Q22669857
(Q170593,P1056,c(Q838948))
action filter_type
action find
entity Q170593
relation P1056
type Q838948
[ANSWER] is produced by that technics
['Q170593', 'P1056', {'concept': 'Q838948'}]
SELECT DISTINCT ?x WHERE { resource:Q170593 property:P1056 ?x . ?x rdf:type ontology:Q838948 }
collage
Collage is produced by that technics
collage
action filter_type
action find
entity collage
relation product
type work of art
['collage', 'product', {'concept': 'work of art'}]
SELECT DISTINCT ?x WHERE { resource:collage property:product ?x . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170593
P101
Q502895
USER
Which people have his/her area as collage ?
(c(Q502895),P101,Q170593)
action filter_type
action find_reverse
entity Q170593
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q170593']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P101 resource:Q170593 }
collage
action filter_type
action find_reverse
entity collage
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'collage']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:field_of_work resource:collage }
[]
common name
Q3159195 Q3476652
SYSTEM
Jacques Jouet, Sea Diallo
Q3159195 Q3476652
(c(Q502895),P101,Q170593)
action filter_type
action find_reverse
entity Q170593
relation P101
type Q502895
[ANSWERS] have his/her area as collage
[{'concept': 'Q502895'}, 'P101', 'Q170593']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P101 resource:Q170593 }
Jacques Jouet Sea Diallo
Jacques Jouet and Sea Diallo have his/her area as collage
Jacques Jouet Sea Diallo
action filter_type
action find_reverse
entity collage
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'collage']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:field_of_work resource:collage }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3159195
P170
Q860861
USER
Which works were created by Jacques Jouet ?
(c(Q860861),P170,Q3159195)
action filter_type
action find_reverse
entity Q3159195
relation P170
type Q860861
[{'concept': 'Q860861'}, 'P170', 'Q3159195']
SELECT DISTINCT ?y WHERE { ?y property:P170 resource:Q3159195 . ?y rdf:type ontology:Q860861 }
Jacques Jouet
action filter_type
action find_reverse
entity Jacques Jouet
relation creator
type sculpture
[{'concept': 'sculpture'}, 'creator', 'Jacques Jouet']
SELECT DISTINCT ?y WHERE { ?y property:creator resource:Jacques_Jouet . ?y rdf:type ontology:sculpture }
[]
sculpture
Q3231609
SYSTEM
Les Clous de l'Esplanade
Q3231609
(c(Q860861),P170,Q3159195)
action filter_type
action find_reverse
entity Q3159195
relation P170
type Q860861
[ANSWER] was created by Jacques Jouet
[{'concept': 'Q860861'}, 'P170', 'Q3159195']
SELECT DISTINCT ?y WHERE { ?y property:P170 resource:Q3159195 . ?y rdf:type ontology:Q860861 }
Les Clous de l'Esplanade
Les Clous de l'Esplanade was created by Jacques Jouet
Les Clous de l'Esplanade
action filter_type
action find_reverse
entity Jacques Jouet
relation creator
type sculpture
[{'concept': 'sculpture'}, 'creator', 'Jacques Jouet']
SELECT DISTINCT ?y WHERE { ?y property:creator resource:Jacques_Jouet . ?y rdf:type ontology:sculpture }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3159195
P21
Q290
USER
What is the sex of Jacques Jouet ?
(Q3159195,P21,c(Q290))
action filter_type
action find
entity Q3159195
relation P21
type Q290
['Q3159195', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q3159195 property:P21 ?r . ?r rdf:type ontology:Q290 }
Jacques Jouet
action filter_type
action find
entity Jacques Jouet
relation gender
type sex
['Jacques Jouet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Jacques_Jouet property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3159195,P21,c(Q290))
action filter_type
action find
entity Q3159195
relation P21
type Q290
The sex of Jacques Jouet is the [ANSWER]
['Q3159195', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q3159195 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of Jacques Jouet is the male
male
action filter_type
action find
entity Jacques Jouet
relation gender
type sex
['Jacques Jouet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Jacques_Jouet property:gender ?r . ?r rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q11615325
P21
Q502895
USER
Is Eiko Hanaoka a that sex ?
(Q11615325,P21,Q6581097)
action is_in
entity Q11615325
action find
entity Q6581097
relation P21
['Q11615325', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q11615325 }
male Eiko Hanaoka
action is_in
entity Eiko Hanaoka
action find
entity male
relation gender
['Eiko Hanaoka', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Eiko_Hanaoka }
[]
common name
SYSTEM
NO
(Q11615325,P21,Q6581097)
action is_in
entity Q11615325
action find
entity Q6581097
relation P21
[ANSWER]
['Q11615325', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q11615325 }
No
action is_in
entity Eiko Hanaoka
action find
entity male
relation gender
['Eiko Hanaoka', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Eiko_Hanaoka }
[]