Simple Question (Direct)
Simple Question
Q2484346
P641
Q31629
USER
Which type of sport did Ralph Wilson participate in ?
(Q2484346,P641,c(Q31629))
action filter_type
action find
entity Q2484346
relation P641
type Q31629
['Q2484346', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { resource:Q2484346 property:P641 ?h . ?h rdf:type ontology:Q31629 }
Ralph Wilson
action filter_type
action find
entity Ralph Wilson
relation sport
type type of sport
['Ralph Wilson', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { resource:Ralph_Wilson property:sport ?h . ?h rdf:type ontology:type_of_sport }
[]
type of sport
Q326827
SYSTEM
artistic gymnastics
Q326827
(Q2484346,P641,c(Q31629))
action filter_type
action find
entity Q2484346
relation P641
type Q31629
Ralph Wilson participated in [ANSWER]
['Q2484346', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?h WHERE { resource:Q2484346 property:P641 ?h . ?h rdf:type ontology:Q31629 }
artistic gymnastics
Ralph Wilson participated in artistic gymnastics
artistic gymnastics
action filter_type
action find
entity Ralph Wilson
relation sport
type type of sport
['Ralph Wilson', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?h WHERE { resource:Ralph_Wilson property:sport ?h . ?h rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2484346
P734
Q82799
USER
Which name is associated with Ralph Wilson ?
(Q2484346,P734,c(Q82799))
action filter_type
action find
entity Q2484346
relation P734
type Q82799
['Q2484346', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q2484346 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Ralph Wilson
action filter_type
action find
entity Ralph Wilson
relation family name
type name
['Ralph Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Ralph_Wilson property:family_name ?u . ?u rdf:type ontology:name }
[]
name
Q1645480
SYSTEM
Wilson
Q1645480
(Q2484346,P734,c(Q82799))
action filter_type
action find
entity Q2484346
relation P734
type Q82799
[ANSWER] is associated with Ralph [ANSWER]
['Q2484346', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q2484346 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Wilson
Wilson is associated with Ralph Wilson
Wilson
action filter_type
action find
entity Ralph Wilson
relation family name
type name
['Ralph Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Ralph_Wilson property:family_name ?u . ?u rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q11671220 Q2484346
P734
Q82799
USER
Or Kōhei Takahashi?
OR((Q2484346,P734,c(Q82799)), (Q11671220,P734,c(Q82799)))
action filter_type
action union
action find
entity Q2484346
relation P734
action find
entity Q11671220
relation P734
type Q82799
{'OR': [['Q2484346', 'P734', {'concept': 'Q82799'}], ['Q11671220', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q2484346 property:P734 ?j } UNION { resource:Q11671220 property:P734 ?j } } . ?j rdf:type ontology:Q82799 }
Kōhei Takahashi Ralph Wilson
action filter_type
action union
action find
entity Ralph Wilson
relation family name
action find
entity Kōhei Takahashi
relation family name
type name
{'OR': [['Ralph Wilson', 'family name', {'concept': 'name'}], ['Kōhei Takahashi', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Ralph_Wilson property:family_name ?j } UNION { resource:Kōhei_Takahashi property:family_name ?j } } . ?j rdf:type ontology:name }
[]
name
Q16884188 Q1645480
SYSTEM
Takahashi, Wilson
Q16884188 Q1645480
OR((Q2484346,P734,c(Q82799)), (Q11671220,P734,c(Q82799)))
action filter_type
action union
action find
entity Q2484346
relation P734
action find
entity Q11671220
relation P734
type Q82799
[ANSWERS]
{'OR': [['Q2484346', 'P734', {'concept': 'Q82799'}], ['Q11671220', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q2484346 property:P734 ?j } UNION { resource:Q11671220 property:P734 ?j } } . ?j rdf:type ontology:Q82799 }
Takahashi Wilson
Takahashi Wilson
action filter_type
action union
action find
entity Ralph Wilson
relation family name
action find
entity Kōhei Takahashi
relation family name
type name
{'OR': [['Ralph Wilson', 'family name', {'concept': 'name'}], ['Kōhei Takahashi', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Ralph_Wilson property:family_name ?j } UNION { resource:Kōhei_Takahashi property:family_name ?j } } . ?j rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q326827
P2416
Q502895
USER
Which people competed in artistic gymnastics ?
(c(Q502895),P2416,Q326827)
action filter_type
action find_reverse
entity Q326827
relation P2416
type Q502895
[{'concept': 'Q502895'}, 'P2416', 'Q326827']
SELECT DISTINCT ?z WHERE { ?z property:P2416 resource:Q326827 . ?z rdf:type ontology:Q502895 }
artistic gymnastics
action filter_type
action find_reverse
entity artistic gymnastics
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'artistic gymnastics']
SELECT DISTINCT ?z WHERE { ?z property:sports_discipline_competed_in resource:artistic_gymnastics . ?z rdf:type ontology:common_name }
[]
common name
Q241847 Q4805307 Q390877
SYSTEM
McKayla Maroney, Ashleigh Brennan, Agata Karczmarek
Q241847 Q4805307 Q390877
(c(Q502895),P2416,Q326827)
action filter_type
action find_reverse
entity Q326827
relation P2416
type Q502895
[ANSWERS] competed in artistic gymnastics
[{'concept': 'Q502895'}, 'P2416', 'Q326827']
SELECT DISTINCT ?z WHERE { ?z property:P2416 resource:Q326827 . ?z rdf:type ontology:Q502895 }
McKayla Maroney Ashleigh Brennan Agata Karczmarek
McKayla Maroney, Ashleigh Brennan and Agata Karczmarek competed in artistic gymnastics
McKayla Maroney Ashleigh Brennan Agata Karczmarek
action filter_type
action find_reverse
entity artistic gymnastics
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'artistic gymnastics']
SELECT DISTINCT ?z WHERE { ?z property:sports_discipline_competed_in resource:artistic_gymnastics . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q326827
P106
Q502895
USER
Which person has the profession as artistic gymnastics ?
(c(Q502895),P106,Q326827)
action filter_type
action find_reverse
entity Q326827
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q326827']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P106 resource:Q326827 }
artistic gymnastics
action filter_type
action find_reverse
entity artistic gymnastics
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'artistic gymnastics']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:occupation resource:artistic_gymnastics }
[]
common name
Q3179833
SYSTEM
Jocelyn Hunt
Q3179833
(c(Q502895),P106,Q326827)
action filter_type
action find_reverse
entity Q326827
relation P106
type Q502895
[ANSWER] has the profession as artistic gymnastics
[{'concept': 'Q502895'}, 'P106', 'Q326827']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P106 resource:Q326827 }
Jocelyn Hunt
Jocelyn Hunt has the profession as artistic gymnastics
Jocelyn Hunt
action filter_type
action find_reverse
entity artistic gymnastics
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'artistic gymnastics']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:occupation resource:artistic_gymnastics }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q200765 Q2484346
P27 P495
Q15617994
USER
Which administrative territories are Ralph Wilson a civilian of or are the origin of The Dust of Time ?
OR((Q2484346,P27,c(Q15617994)), (Q200765,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q2484346
relation P27
action find
entity Q200765
relation P495
type Q15617994
{'OR': [['Q2484346', 'P27', {'concept': 'Q15617994'}], ['Q200765', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q200765 property:P495 ?o } UNION { resource:Q2484346 property:P27 ?o } } . ?o rdf:type ontology:Q15617994 }
The Dust of Time Ralph Wilson
action filter_type
action union
action find
entity Ralph Wilson
relation country of citizenship
action find
entity The Dust of Time
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Ralph Wilson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['The Dust of Time', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:The_Dust_of_Time property:country_of_origin ?o } UNION { resource:Ralph_Wilson property:country_of_citizenship ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q38 Q41
SYSTEM
United States of America, Italy, Greece
Q30 Q38 Q41
OR((Q2484346,P27,c(Q15617994)), (Q200765,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q2484346
relation P27
action find
entity Q200765
relation P495
type Q15617994
[ANSWERS] are Ralph Wilson a civilian of or are the origin of The Dust of Time
{'OR': [['Q2484346', 'P27', {'concept': 'Q15617994'}], ['Q200765', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q200765 property:P495 ?o } UNION { resource:Q2484346 property:P27 ?o } } . ?o rdf:type ontology:Q15617994 }
United States of America Italy Greece
United States of America, Italy and Greece are Ralph Wilson a civilian of or are the origin of The Dust of Time
United States of America Italy Greece
action filter_type
action union
action find
entity Ralph Wilson
relation country of citizenship
action find
entity The Dust of Time
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Ralph Wilson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['The Dust of Time', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:The_Dust_of_Time property:country_of_origin ?o } UNION { resource:Ralph_Wilson property:country_of_citizenship ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16837237
P495
Q2088357
USER
Are those administrative territories a country of origin of Folkodia ?
(Q16837237,P495,Q30) (Q16837237,P495,Q38) (Q16837237,P495,Q41)
action is_in
entity prev_answer
action find
entity Q16837237
relation P495
['Q16837237', 'P495', 'Q30'] ['Q16837237', 'P495', 'Q38'] ['Q16837237', 'P495', 'Q41']
ASK WHERE { resource:Q16837237 property:P495 ?a . VALUES ( ?a ) { ( resource:Q30 ) ( resource:Q38 ) ( resource:Q41 ) } }
Folkodia
action is_in
entity prev_answer
action find
entity Folkodia
relation country of origin
['Folkodia', 'country of origin', 'United States of America'] ['Folkodia', 'country of origin', 'Italy'] ['Folkodia', 'country of origin', 'Greece']
ASK WHERE { resource:Folkodia property:country_of_origin ?a . VALUES ( ?a ) { ( resource:United_States_of_America ) ( resource:Italy ) ( resource:Greece ) } }
[]
musical ensemble
SYSTEM
YES
(Q16837237,P495,Q30) (Q16837237,P495,Q38) (Q16837237,P495,Q41)
action is_in
entity prev_answer
action find
entity Q16837237
relation P495
[ANSWER]
['Q16837237', 'P495', 'Q30'] ['Q16837237', 'P495', 'Q38'] ['Q16837237', 'P495', 'Q41']
ASK WHERE { resource:Q16837237 property:P495 ?a . VALUES ( ?a ) { ( resource:Q30 ) ( resource:Q38 ) ( resource:Q41 ) } }
Yes
action is_in
entity prev_answer
action find
entity Folkodia
relation country of origin
['Folkodia', 'country of origin', 'United States of America'] ['Folkodia', 'country of origin', 'Italy'] ['Folkodia', 'country of origin', 'Greece']
ASK WHERE { resource:Folkodia property:country_of_origin ?a . VALUES ( ?a ) { ( resource:United_States_of_America ) ( resource:Italy ) ( resource:Greece ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q3305213 Q340169
USER
How many administrative territories are expressed in around 2 paintings or medias ?
(c(Q3305213)|c(Q340169),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
value 2
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?q ) WHERE { { ?p rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q3305213 . ?a property:P180 ?p } UNION { ?a property:P180 ?p . ?p rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q340169 } } GROUP BY ?p } }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
value 2
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?q ) WHERE { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:painting . ?a property:depicts ?p } UNION { ?a property:depicts ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:media } } GROUP BY ?p } }
[]
designation for an administrative territorial entity painting media
SYSTEM
6
Q131596 Q739 Q38 Q736 Q159605 Q82025
(c(Q3305213)|c(Q340169),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
value 2
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?q ) WHERE { { ?p rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q3305213 . ?a property:P180 ?p } UNION { ?a property:P180 ?p . ?p rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q340169 } } GROUP BY ?p } }
farm Colombia Italy Ecuador Tivoli horn
6
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
value 2
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?q ) WHERE { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:painting . ?a property:depicts ?p } UNION { ?a property:depicts ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:media } } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P47
Q56061
USER
Which administrative territory shares border with Italy ?
(c(Q56061),P47,Q38)
action filter_type
action find
entity Q38
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q38']
SELECT DISTINCT ?s WHERE { resource:Q38 property:P47 ?s . ?s rdf:type ontology:Q56061 }
Italy
action filter_type
action find
entity Italy
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Italy']
SELECT DISTINCT ?s WHERE { resource:Italy property:shares_border_with ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q237
SYSTEM
Vatican City
Q237
(c(Q56061),P47,Q38)
action filter_type
action find
entity Q38
relation P47
type Q56061
[ANSWER] shares border with Italy
[{'concept': 'Q56061'}, 'P47', 'Q38']
SELECT DISTINCT ?s WHERE { resource:Q38 property:P47 ?s . ?s rdf:type ontology:Q56061 }
Vatican City
Vatican City shares border with Italy
Vatican City
action filter_type
action find
entity Italy
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Italy']
SELECT DISTINCT ?s WHERE { resource:Italy property:shares_border_with ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q237
P463
Q484652
USER
What were that administrative territory a member of ?
(Q237,P463,c(Q484652))
action filter_type
action find
entity Q237
relation P463
type Q484652
['Q237', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q484652 . resource:Q237 property:P463 ?x }
Vatican City
action filter_type
action find
entity Vatican City
relation member of
type international organization
['Vatican City', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:international_organization . resource:Vatican_City property:member_of ?x }
[]
international organization
Q8475 Q17495
SYSTEM
Interpol, Universal Postal Union
Q8475 Q17495
(Q237,P463,c(Q484652))
action filter_type
action find
entity Q237
relation P463
type Q484652
[ANSWERS] a member of
['Q237', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q484652 . resource:Q237 property:P463 ?x }
Interpol Universal Postal Union
Interpol and Universal Postal Union a member of
Interpol Universal Postal Union
action filter_type
action find
entity Vatican City
relation member of
type international organization
['Vatican City', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:international_organization . resource:Vatican_City property:member_of ?x }
[]