Simple Question (Direct)
Simple Question
Q1661392
P735
Q82799
USER
What the name that Jiří Růžička is known by ?
(Q1661392,P735,c(Q82799))
action filter_type
action find
entity Q1661392
relation P735
type Q82799
['Q1661392', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q1661392 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Jiří Růžička
action filter_type
action find
entity Jiří Růžička
relation given name
type name
['Jiří Růžička', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Jiří_Růžička property:given_name ?d . ?d rdf:type ontology:name }
[]
name
Q168563
SYSTEM
Jiří
Q168563
(Q1661392,P735,c(Q82799))
action filter_type
action find
entity Q1661392
relation P735
type Q82799
Known [ANSWER]
['Q1661392', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q1661392 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Jiří
Known Jiří
Jiří
action filter_type
action find
entity Jiří Růžička
relation given name
type name
['Jiří Růžička', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Jiří_Růžička property:given_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1661392
P20
Q515
USER
Where did the demise of Jiří Růžička occur ?
(Q1661392,P20,c(Q515))
action filter_type
action find
entity Q1661392
relation P20
type Q515
['Q1661392', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q1661392 property:P20 ?e . ?e rdf:type ontology:Q515 }
Jiří Růžička
action filter_type
action find
entity Jiří Růžička
relation place of death
type city
['Jiří Růžička', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Jiří_Růžička property:place_of_death ?e . ?e rdf:type ontology:city }
[]
city
Q1000056
SYSTEM
Sušice
Q1000056
(Q1661392,P20,c(Q515))
action filter_type
action find
entity Q1661392
relation P20
type Q515
The demise of Jiří Růžička occurred club [ANSWER]
['Q1661392', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q1661392 property:P20 ?e . ?e rdf:type ontology:Q515 }
Sušice
The demise of Jiří Růžička occurred club Sušice
Sušice
action filter_type
action find
entity Jiří Růžička
relation place of death
type city
['Jiří Růžička', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Jiří_Růžička property:place_of_death ?e . ?e rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1661392
P25
Q502895
USER
Who was the mother of Jiří Růžička ?
(Q1661392,P25,c(Q502895))
action filter_type
action find
entity Q1661392
relation P25
type Q502895
['Q1661392', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1661392 property:P25 ?e . ?e rdf:type ontology:Q502895 }
Jiří Růžička
action filter_type
action find
entity Jiří Růžička
relation mother
type common name
['Jiří Růžička', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Jiří_Růžička property:mother ?e . ?e rdf:type ontology:common_name }
[]
common name
Q455183
SYSTEM
Helena Růžičková
Q455183
(Q1661392,P25,c(Q502895))
action filter_type
action find
entity Q1661392
relation P25
type Q502895
The mother of Jiří Růžička was Princess [ANSWER]
['Q1661392', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1661392 property:P25 ?e . ?e rdf:type ontology:Q502895 }
Helena Růžičková
The mother of Jiří Růžička was Princess Helena Růžičková
Helena Růžičková
action filter_type
action find
entity Jiří Růžička
relation mother
type common name
['Jiří Růžička', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Jiří_Růžička property:mother ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q455183
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q455183,P27,c(Q15617994))
action filter_type
action find
entity Q455183
relation P27
type Q15617994
['Q455183', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q455183 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Helena Růžičková
action filter_type
action find
entity Helena Růžičková
relation country of citizenship
type designation for an administrative territorial entity
['Helena Růžičková', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Helena_Růžičková property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q455183,P27,c(Q15617994))
action filter_type
action find
entity Q455183
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q455183', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q455183 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Czech Republic
Czech Republic is the native country of that person
Czech Republic
action filter_type
action find
entity Helena Růžičková
relation country of citizenship
type designation for an administrative territorial entity
['Helena Růžičková', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Helena_Růžičková property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q19295920 Q455183
P27
Q15617994
USER
Or Martin Schweizer?
OR((Q455183,P27,c(Q15617994)), (Q19295920,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q455183
relation P27
action find
entity Q19295920
relation P27
type Q15617994
{'OR': [['Q455183', 'P27', {'concept': 'Q15617994'}], ['Q19295920', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q455183 property:P27 ?m } UNION { resource:Q19295920 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Martin Schweizer Helena Růžičková
action filter_type
action union
action find
entity Helena Růžičková
relation country of citizenship
action find
entity Martin Schweizer
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Helena Růžičková', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Martin Schweizer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Helena_Růžičková property:country_of_citizenship ?m } UNION { resource:Martin_Schweizer property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q39
SYSTEM
Czech Republic, Switzerland
Q213 Q39
OR((Q455183,P27,c(Q15617994)), (Q19295920,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q455183
relation P27
action find
entity Q19295920
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q455183', 'P27', {'concept': 'Q15617994'}], ['Q19295920', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q455183 property:P27 ?m } UNION { resource:Q19295920 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Czech Republic Switzerland
Czech Republic Switzerland
action filter_type
action union
action find
entity Helena Růžičková
relation country of citizenship
action find
entity Martin Schweizer
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Helena Růžičková', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Martin Schweizer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Helena_Růžičková property:country_of_citizenship ?m } UNION { resource:Martin_Schweizer property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the countries of origin of greater number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|More/Less|Single entity type|Clarification
Q213
SYSTEM
Did you mean Czech Republic ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean Czech Republic ?
Czech Republic
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Switzerland. Could you tell me the answer for that?
(c(Q2031291),P495,c(Q15617994))
Q39
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q668 Q414 Q142 Q55 Q145 Q148 Q712 Q837 Q252 Q258 Q159 Q43 Q41 Q155 Q884 Q826 Q242 Q33 Q31 Q30 Q36 Q34 Q38 Q20 Q27 Q843 Q17 Q902 Q191 Q298 Q213 Q215 Q79 Q29
(c(Q2031291),P495,c(Q15617994))
[ANSWERS] are the countries of origin of greater number of releases than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Israel India Argentina France Netherlands United Kingdom People's Republic of China Fiji Nepal Indonesia South Africa Russia Turkey Greece Brazil South Korea Maldives Belize Finland Belgium United States of America Poland Sweden Italy Norway Ireland Pakistan Japan Bangladesh Estonia Chile Czech Republic Slovenia Egypt Spain
Italy, Brazil and United States of America are the countries of origin of greater number of releases than that administrative territory
Italy Brazil United States of America
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q665777
P530
Q15617994
USER
Do Westhausen have ambassadorial relations with those ones ?
(Q665777,P530,Q38) (Q665777,P530,Q155) (Q665777,P530,Q30)
action is_in
entity prev_answer
action find
entity Q665777
relation P530
['Q665777', 'P530', 'Q38'] ['Q665777', 'P530', 'Q155'] ['Q665777', 'P530', 'Q30']
ASK WHERE { VALUES ( ?l ) { ( resource:Q801 ) ( resource:Q668 ) ( resource:Q414 ) } . resource:Q665777 property:P530 ?l }
Westhausen
action is_in
entity prev_answer
action find
entity Westhausen
relation diplomatic relation
['Westhausen', 'diplomatic relation', 'Italy'] ['Westhausen', 'diplomatic relation', 'Brazil'] ['Westhausen', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?l ) { ( resource:Israel ) ( resource:India ) ( resource:Argentina ) } . resource:Westhausen property:diplomatic_relation ?l }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q665777,P530,Q38) (Q665777,P530,Q155) (Q665777,P530,Q30)
action is_in
entity prev_answer
action find
entity Q665777
relation P530
[ANSWER]
['Q665777', 'P530', 'Q38'] ['Q665777', 'P530', 'Q155'] ['Q665777', 'P530', 'Q30']
ASK WHERE { VALUES ( ?l ) { ( resource:Q801 ) ( resource:Q668 ) ( resource:Q414 ) } . resource:Q665777 property:P530 ?l }
No
action is_in
entity prev_answer
action find
entity Westhausen
relation diplomatic relation
['Westhausen', 'diplomatic relation', 'Italy'] ['Westhausen', 'diplomatic relation', 'Brazil'] ['Westhausen', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?l ) { ( resource:Israel ) ( resource:India ) ( resource:Argentina ) } . resource:Westhausen property:diplomatic_relation ?l }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with atleast 50 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 50
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?y >= 50 ) . { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?y ) WHERE { ?g rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 . ?z property:P530 ?g } GROUP BY ?z } }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 50
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?y >= 50 ) . { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?y ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?g } GROUP BY ?z } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155 Q38 Q230
SYSTEM
Brazil, Italy, Georgia
Q155 Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 50
[ANSWERS] have tactful political relations with atleast 50 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?y >= 50 ) . { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?y ) WHERE { ?g rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 . ?z property:P530 ?g } GROUP BY ?z } }
Brazil Italy Georgia
Brazil, Italy and Georgia have tactful political relations with atleast 50 administrative territories
Brazil Italy Georgia
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 50
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?y >= 50 ) . { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?y ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?g } GROUP BY ?z } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q183 Q1661392
P161 P495
Q838948
USER
Which works of art stars Jiří Růžička as actor and originated in Germany ?
AND((c(Q838948),P161,Q1661392), (c(Q838948),P495,Q183))
action filter_type
action intersection
action find_reverse
entity Q1661392
relation P161
action find_reverse
entity Q183
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q1661392'], [{'concept': 'Q838948'}, 'P495', 'Q183']]}
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q1661392 . ?d property:P495 resource:Q183 . ?d rdf:type ontology:Q838948 }
Germany Jiří Růžička
action filter_type
action intersection
action find_reverse
entity Jiří Růžička
relation cast member
action find_reverse
entity Germany
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Jiří Růžička'], [{'concept': 'work of art'}, 'country of origin', 'Germany']]}
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Jiří_Růžička . ?d property:country_of_origin resource:Germany . ?d rdf:type ontology:work_of_art }
[]
work of art
Q140447
SYSTEM
Three Nuts for Cinderella
Q140447
AND((c(Q838948),P161,Q1661392), (c(Q838948),P495,Q183))
action filter_type
action intersection
action find_reverse
entity Q1661392
relation P161
action find_reverse
entity Q183
relation P495
type Q838948
[ANSWER] stars Jiří Růžička as actor and originated in Germany
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q1661392'], [{'concept': 'Q838948'}, 'P495', 'Q183']]}
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q1661392 . ?d property:P495 resource:Q183 . ?d rdf:type ontology:Q838948 }
Three Nuts for Cinderella
Three Nuts for Cinderella stars Jiří Růžička as actor and originated in Germany
Three Nuts for Cinderella
action filter_type
action intersection
action find_reverse
entity Jiří Růžička
relation cast member
action find_reverse
entity Germany
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Jiří Růžička'], [{'concept': 'work of art'}, 'country of origin', 'Germany']]}
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Jiří_Růžička . ?d property:country_of_origin resource:Germany . ?d rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q140447
P86
Q502895
USER
Who was that work of art composed by ?
(Q140447,P86,c(Q502895))
action filter_type
action find
entity Q140447
relation P86
type Q502895
['Q140447', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q140447 property:P86 ?r }
Three Nuts for Cinderella
action filter_type
action find
entity Three Nuts for Cinderella
relation composer
type common name
['Three Nuts for Cinderella', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Three_Nuts_for_Cinderella property:composer ?r }
[]
common name
Q356687
SYSTEM
Karel Svoboda
Q356687
(Q140447,P86,c(Q502895))
action filter_type
action find
entity Q140447
relation P86
type Q502895
By that work of art was composed by [ANSWER]
['Q140447', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q140447 property:P86 ?r }
Karel Svoboda
By that work of art was composed by Karel Svoboda
Karel Svoboda
action filter_type
action find
entity Three Nuts for Cinderella
relation composer
type common name
['Three Nuts for Cinderella', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Three_Nuts_for_Cinderella property:composer ?r }
[]