Simple Question (Direct)
Simple Question
Q20026801
P9
Q502895
USER
Who is Paul-André-Joseph Zacharezuk a sibling of ?
(Q20026801,P9,c(Q502895))
action filter_type
action find
entity Q20026801
relation P9
type Q502895
['Q20026801', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q20026801 property:P9 ?m }
Paul-André-Joseph Zacharezuk
action filter_type
action find
entity Paul-André-Joseph Zacharezuk
relation sister
type common name
['Paul-André-Joseph Zacharezuk', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Paul-André-Joseph_Zacharezuk property:sister ?m }
[]
common name
Q14907648
SYSTEM
Pauline Zacharezuk
Q14907648
(Q20026801,P9,c(Q502895))
action filter_type
action find
entity Q20026801
relation P9
type Q502895
[ANSWER] is Paul-André-Joseph Zacharezuk a sibling of
['Q20026801', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q20026801 property:P9 ?m }
Pauline Zacharezuk
Pauline Zacharezuk is Paul-André-Joseph Zacharezuk a sibling of
Pauline Zacharezuk
action filter_type
action find
entity Paul-André-Joseph Zacharezuk
relation sister
type common name
['Paul-André-Joseph Zacharezuk', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Paul-André-Joseph_Zacharezuk property:sister ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14907648
P40
Q502895
USER
Who have that one as a child ?
(c(Q502895),P40,Q14907648)
action filter_type
action find_reverse
entity Q14907648
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q14907648']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q14907648 . ?x rdf:type ontology:Q502895 }
Pauline Zacharezuk
action filter_type
action find_reverse
entity Pauline Zacharezuk
relation child
type common name
[{'concept': 'common name'}, 'child', 'Pauline Zacharezuk']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Pauline_Zacharezuk . ?x rdf:type ontology:common_name }
[]
common name
Q20026799 Q20026794
SYSTEM
Françoise Zacharezuk, André Zacharezuk
Q20026799 Q20026794
(c(Q502895),P40,Q14907648)
action filter_type
action find_reverse
entity Q14907648
relation P40
type Q502895
[ANSWERS] have that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q14907648']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q14907648 . ?x rdf:type ontology:Q502895 }
Françoise Zacharezuk André Zacharezuk
Françoise Zacharezuk and André Zacharezuk have that one as a child
Françoise Zacharezuk André Zacharezuk
action filter_type
action find_reverse
entity Pauline Zacharezuk
relation child
type common name
[{'concept': 'common name'}, 'child', 'Pauline Zacharezuk']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Pauline_Zacharezuk . ?x rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20026794
P22
Q502895
USER
Which people have that one as a parent ?
(c(Q502895),P22,Q20026794)
action filter_type
action find_reverse
entity Q20026794
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q20026794']
SELECT DISTINCT ?m WHERE { ?m property:P22 resource:Q20026794 . ?m rdf:type ontology:Q502895 }
André Zacharezuk
action filter_type
action find_reverse
entity André Zacharezuk
relation father
type common name
[{'concept': 'common name'}, 'father', 'André Zacharezuk']
SELECT DISTINCT ?m WHERE { ?m property:father resource:André_Zacharezuk . ?m rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q20026794
SYSTEM
Did you mean André Zacharezuk ?
Q20026799 Q20026794
(c(Q502895),P22,Q20026799) (c(Q502895),P22,Q20026794)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q20026799'] [{'concept': 'Q502895'}, 'P22', 'Q20026794']
SELECT DISTINCT ?m WHERE { ?m property:P22 resource:Q20026794 . ?m rdf:type ontology:Q502895 }
Françoise Zacharezuk André Zacharezuk
Did you mean André Zacharezuk ?
André Zacharezuk
[{'concept': 'common name'}, 'father', 'Françoise Zacharezuk'] [{'concept': 'common name'}, 'father', 'André Zacharezuk']
SELECT DISTINCT ?m WHERE { ?m property:father resource:André_Zacharezuk . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P22,Q20026794)
[{'concept': 'Q502895'}, 'P22', 'Q20026794']
[{'concept': 'common name'}, 'father', 'André Zacharezuk']
[]
Q14907648 Q20026801
SYSTEM
Pauline Zacharezuk, Paul-André-Joseph Zacharezuk
Q14907648 Q20026801
(c(Q502895),P22,Q20026794)
action filter_type
action find_reverse
entity Q20026794
relation P22
type Q502895
[ANSWERS] have that one as a parent
[{'concept': 'Q502895'}, 'P22', 'Q20026794']
SELECT DISTINCT ?m WHERE { ?m property:P22 resource:Q20026794 . ?m rdf:type ontology:Q502895 }
Pauline Zacharezuk Paul-André-Joseph Zacharezuk
Pauline Zacharezuk and Paul-André-Joseph Zacharezuk have that one as a parent
Pauline Zacharezuk Paul-André-Joseph Zacharezuk
action filter_type
action find_reverse
entity André Zacharezuk
relation father
type common name
[{'concept': 'common name'}, 'father', 'André Zacharezuk']
SELECT DISTINCT ?m WHERE { ?m property:father resource:André_Zacharezuk . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15961987
USER
Which television genres had around 8 people as the dubbing artist ?
(c(Q15961987),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 8
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?f ) WHERE { ?t property:P725 ?h . ?t rdf:type ontology:Q15961987 . ?h rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?f = 8 ) }
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
value 8
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?f ) WHERE { ?t property:voice_actor ?h . ?t rdf:type ontology:television_genre . ?h rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?f = 8 ) }
[]
common name television genre
Q886 Q53093 Q5415
SYSTEM
The Simpsons, Adventure Time, My Little Pony: Friendship Is Magic
Q24034511 Q11296848 Q7615342 Q53093 Q5415 Q886 Q2750339
(c(Q15961987),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 8
The Simpsons, Adventure Time and My Little Pony: Friendship is Magic had around 8 people as the dubbing artist
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?f ) WHERE { ?t property:P725 ?h . ?t rdf:type ontology:Q15961987 . ?h rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?f = 8 ) }
Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe Adventure Time My Little Pony: Friendship Is Magic The Simpsons Hellsing Ultimate
The Simpsons, Adventure Time and My Little Pony: Friendship is Magic had around 8 people as the dubbing artist
The Simpsons Adventure Time My Little Pony: Friendship Is Magic
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
value 8
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?f ) WHERE { ?t property:voice_actor ?h . ?t rdf:type ontology:television_genre . ?h rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?f = 8 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P941
Q15961987 Q838948 Q201658
USER
How many television genres were around the same number of works of art and film genres inspired by as that television genre ?
(c(Q838948)|c(Q201658),P941,c(Q15961987))
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P941', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:P941 ?y } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15961987 . ?x rdf:type ontology:Q201658 }
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'inspired by', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:inspired_by ?y } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:television_genre . ?x rdf:type ontology:film_genre }
[]
television genre work of art film genre
Comparative|Count over More/Less|Mult. entity type|Clarification
Q886
SYSTEM
Did you mean The Simpsons ?
(c(Q838948)|c(Q201658),P941,c(Q15961987))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P941', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:P941 ?y } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15961987 . ?x rdf:type ontology:Q201658 }
Did you mean The Simpsons ?
The Simpsons
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'inspired by', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:inspired_by ?y } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:television_genre . ?x rdf:type ontology:film_genre }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q838948)|c(Q201658),P941,c(Q15961987))
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P941', {'concept': 'Q15961987'}]
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'inspired by', {'concept': 'television genre'}]
[]
SYSTEM
3
Q886 Q1066948 Q622435
(c(Q838948)|c(Q201658),P941,c(Q15961987))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P941', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P941 ?y } UNION { ?x property:P941 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15961987 . ?x rdf:type ontology:Q201658 }
The Simpsons Ghost in the Shell Looney Tunes
3
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'inspired by', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:inspired_by ?y } UNION { ?x property:inspired_by ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:television_genre . ?x rdf:type ontology:film_genre }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q249073 Q20026801
P27 P17
Q15617994
USER
Which administrative territories are Paul-André-Joseph Zacharezuk an inhabitant of or are Złotniki Kujawskie located in ?
OR((Q20026801,P27,c(Q15617994)), (Q249073,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q20026801
relation P27
action find
entity Q249073
relation P17
type Q15617994
{'OR': [['Q20026801', 'P27', {'concept': 'Q15617994'}], ['Q249073', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q20026801 property:P27 ?n } UNION { resource:Q249073 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
Złotniki Kujawskie Paul-André-Joseph Zacharezuk
action filter_type
action union
action find
entity Paul-André-Joseph Zacharezuk
relation country of citizenship
action find
entity Złotniki Kujawskie
relation country
type designation for an administrative territorial entity
{'OR': [['Paul-André-Joseph Zacharezuk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Złotniki Kujawskie', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Paul-André-Joseph_Zacharezuk property:country_of_citizenship ?n } UNION { resource:Złotniki_Kujawskie property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q36
SYSTEM
France, Poland
Q142 Q36
OR((Q20026801,P27,c(Q15617994)), (Q249073,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q20026801
relation P27
action find
entity Q249073
relation P17
type Q15617994
Are Paul-André- Joseph Zacharezuk an inhabitant of or are Złotniki Kujawskie located in Poland [ANSWERS]
{'OR': [['Q20026801', 'P27', {'concept': 'Q15617994'}], ['Q249073', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q20026801 property:P27 ?n } UNION { resource:Q249073 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
France Poland
Are Paul-André- Joseph Zacharezuk an inhabitant of or are Złotniki Kujawskie located in Poland France and Poland
France Poland
action filter_type
action union
action find
entity Paul-André-Joseph Zacharezuk
relation country of citizenship
action find
entity Złotniki Kujawskie
relation country
type designation for an administrative territorial entity
{'OR': [['Paul-André-Joseph Zacharezuk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Złotniki Kujawskie', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Paul-André-Joseph_Zacharezuk property:country_of_citizenship ?n } UNION { resource:Złotniki_Kujawskie property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q23063000
P27
Q502895
USER
Are Johannes Laschinger a citizen of those administrative territories ?
(Q23063000,P27,Q142) (Q23063000,P27,Q36)
action is_in
entity prev_answer
action find
entity Q23063000
relation P27
['Q23063000', 'P27', 'Q142'] ['Q23063000', 'P27', 'Q36']
ASK WHERE { resource:Q23063000 property:P27 ?v . VALUES ( ?v ) { ( resource:Q142 ) ( resource:Q36 ) } }
Johannes Laschinger
action is_in
entity prev_answer
action find
entity Johannes Laschinger
relation country of citizenship
['Johannes Laschinger', 'country of citizenship', 'France'] ['Johannes Laschinger', 'country of citizenship', 'Poland']
ASK WHERE { resource:Johannes_Laschinger property:country_of_citizenship ?v . VALUES ( ?v ) { ( resource:France ) ( resource:Poland ) } }
[]
common name
SYSTEM
NO
(Q23063000,P27,Q142) (Q23063000,P27,Q36)
action is_in
entity prev_answer
action find
entity Q23063000
relation P27
[ANSWER]
['Q23063000', 'P27', 'Q142'] ['Q23063000', 'P27', 'Q36']
ASK WHERE { resource:Q23063000 property:P27 ?v . VALUES ( ?v ) { ( resource:Q142 ) ( resource:Q36 ) } }
No
action is_in
entity prev_answer
action find
entity Johannes Laschinger
relation country of citizenship
['Johannes Laschinger', 'country of citizenship', 'France'] ['Johannes Laschinger', 'country of citizenship', 'Poland']
ASK WHERE { resource:Johannes_Laschinger property:country_of_citizenship ?v . VALUES ( ?v ) { ( resource:France ) ( resource:Poland ) } }
[]