Simple Question (Direct)
Simple Question
Q1201313
P463
Q2088357
USER
What was Riho Sayashi a member of ?
(Q1201313,P463,c(Q2088357))
action filter_type
action find
entity Q1201313
relation P463
type Q2088357
['Q1201313', 'P463', {'concept': 'Q2088357'}]
SELECT DISTINCT ?v WHERE { resource:Q1201313 property:P463 ?v . ?v rdf:type ontology:Q2088357 }
Riho Sayashi
action filter_type
action find
entity Riho Sayashi
relation member of
type musical ensemble
['Riho Sayashi', 'member of', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?v WHERE { resource:Riho_Sayashi property:member_of ?v . ?v rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q6422454
SYSTEM
Peaberry
Q6422454
(Q1201313,P463,c(Q2088357))
action filter_type
action find
entity Q1201313
relation P463
type Q2088357
Riho Sayashi was a member of [ANSWER]
['Q1201313', 'P463', {'concept': 'Q2088357'}]
SELECT DISTINCT ?v WHERE { resource:Q1201313 property:P463 ?v . ?v rdf:type ontology:Q2088357 }
Peaberry
Riho Sayashi was a member of Peaberry
Peaberry
action filter_type
action find
entity Riho Sayashi
relation member of
type musical ensemble
['Riho Sayashi', 'member of', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?v WHERE { resource:Riho_Sayashi property:member_of ?v . ?v rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6422454
P136
Q151885
USER
What is the genre of that musical ensemble ?
(Q6422454,P136,c(Q151885))
action filter_type
action find
entity Q6422454
relation P136
type Q151885
['Q6422454', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q6422454 property:P136 ?r . ?r rdf:type ontology:Q151885 }
Peaberry
action filter_type
action find
entity Peaberry
relation genre
type concept
['Peaberry', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Peaberry property:genre ?r . ?r rdf:type ontology:concept }
[]
concept
Q131578
SYSTEM
J-pop
Q131578
(Q6422454,P136,c(Q151885))
action filter_type
action find
entity Q6422454
relation P136
type Q151885
The genre of that musical ensemble is a [ANSWER]
['Q6422454', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q6422454 property:P136 ?r . ?r rdf:type ontology:Q151885 }
J-pop
The genre of that musical ensemble is a J-pop
J-pop
action filter_type
action find
entity Peaberry
relation genre
type concept
['Peaberry', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Peaberry property:genre ?r . ?r rdf:type ontology:concept }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q131578 Q1073838
P136
Q2031291
USER
Does Winter, Again a that concept as its class ?
(Q1073838,P136,Q131578)
action is_in
entity Q131578
action find
entity Q1073838
relation P136
['Q1073838', 'P136', 'Q131578']
ASK WHERE { resource:Q1073838 property:P136 resource:Q131578 }
J-pop Winter, Again
action is_in
entity J-pop
action find
entity Winter, Again
relation genre
['Winter, Again', 'genre', 'J-pop']
ASK WHERE { resource:Winter,_Again property:genre resource:J-pop }
[]
release
SYSTEM
YES
(Q1073838,P136,Q131578)
action is_in
entity Q131578
action find
entity Q1073838
relation P136
[ANSWER]
['Q1073838', 'P136', 'Q131578']
ASK WHERE { resource:Q1073838 property:P136 resource:Q131578 }
Yes
action is_in
entity J-pop
action find
entity Winter, Again
relation genre
['Winter, Again', 'genre', 'J-pop']
ASK WHERE { resource:Winter,_Again property:genre resource:J-pop }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26387050 Q1201313
P27 P17
Q15617994
USER
Which administrative territories are Riho Sayashi a civilian of or are Christ Church present in ?
OR((Q1201313,P27,c(Q15617994)), (Q26387050,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1201313
relation P27
action find
entity Q26387050
relation P17
type Q15617994
{'OR': [['Q1201313', 'P27', {'concept': 'Q15617994'}], ['Q26387050', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1201313 property:P27 ?i } UNION { resource:Q26387050 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Christ Church Riho Sayashi
action filter_type
action union
action find
entity Riho Sayashi
relation country of citizenship
action find
entity Christ Church
relation country
type designation for an administrative territorial entity
{'OR': [['Riho Sayashi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Christ Church', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Riho_Sayashi property:country_of_citizenship ?i } UNION { resource:Christ_Church property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q145
SYSTEM
Japan, United Kingdom
Q17 Q145
OR((Q1201313,P27,c(Q15617994)), (Q26387050,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1201313
relation P27
action find
entity Q26387050
relation P17
type Q15617994
[ANSWERS] are Riho Sayashi a civilian of or are Christ Church present in
{'OR': [['Q1201313', 'P27', {'concept': 'Q15617994'}], ['Q26387050', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1201313 property:P27 ?i } UNION { resource:Q26387050 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Japan United Kingdom
Japan and United Kingdom are Riho Sayashi a civilian of or are Christ Church present in
Japan United Kingdom
action filter_type
action union
action find
entity Riho Sayashi
relation country of citizenship
action find
entity Christ Church
relation country
type designation for an administrative territorial entity
{'OR': [['Riho Sayashi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Christ Church', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Riho_Sayashi property:country_of_citizenship ?i } UNION { resource:Christ_Church property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26387050
P1435
Q41176
USER
Which building is the heritage status of that temple ?
(Q17,P1435,c(Q41176)) (Q145,P1435,c(Q41176))
action filter_type
action find
entity Q26387050
relation P1435
type Q41176
['Q17', 'P1435', {'concept': 'Q41176'}] ['Q145', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?j WHERE { resource:Q26387050 property:P1435 ?j . ?j rdf:type ontology:Q41176 }
Christ Church
action filter_type
action find
entity Christ Church
relation heritage status
type building
['Japan', 'heritage status', {'concept': 'building'}] ['United Kingdom', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?j WHERE { resource:Christ_Church property:heritage_status ?j . ?j rdf:type ontology:building }
[]
building
Q15700834
SYSTEM
Grade II listed building
Q15700834
(Q17,P1435,c(Q41176)) (Q145,P1435,c(Q41176))
action filter_type
action find
entity Q26387050
relation P1435
type Q41176
The [ANSWER] is the heritage status of that temple
['Q17', 'P1435', {'concept': 'Q41176'}] ['Q145', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?j WHERE { resource:Q26387050 property:P1435 ?j . ?j rdf:type ontology:Q41176 }
Grade II listed building
The Grade II listed building is the heritage status of that temple
Grade II listed building
action filter_type
action find
entity Christ Church
relation heritage status
type building
['Japan', 'heritage status', {'concept': 'building'}] ['United Kingdom', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?j WHERE { resource:Christ_Church property:heritage_status ?j . ?j rdf:type ontology:building }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11567080 Q131578
P495
Q15617994
USER
Which administrative territories are the origins of J-pop or Honoo-no Taiiku-kai TV ?
OR((Q131578,P495,c(Q15617994)), (Q11567080,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q131578
relation P495
action find
entity Q11567080
relation P495
type Q15617994
{'OR': [['Q131578', 'P495', {'concept': 'Q15617994'}], ['Q11567080', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q131578 property:P495 ?y } UNION { resource:Q11567080 property:P495 ?y } } . ?y rdf:type ontology:Q15617994 }
Honoo-no Taiiku-kai TV J-pop
action filter_type
action union
action find
entity J-pop
relation country of origin
action find
entity Honoo-no Taiiku-kai TV
relation country of origin
type designation for an administrative territorial entity
{'OR': [['J-pop', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Honoo-no Taiiku-kai TV', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:J-pop property:country_of_origin ?y } UNION { resource:Honoo-no_Taiiku-kai_TV property:country_of_origin ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
OR((Q131578,P495,c(Q15617994)), (Q11567080,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q131578
relation P495
action find
entity Q11567080
relation P495
type Q15617994
[ANSWER] is the origins of J-pop or Honoo-no Taiiku-kai TV
{'OR': [['Q131578', 'P495', {'concept': 'Q15617994'}], ['Q11567080', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q131578 property:P495 ?y } UNION { resource:Q11567080 property:P495 ?y } } . ?y rdf:type ontology:Q15617994 }
Japan
Japan is the origins of J-pop or Honoo-no Taiiku-kai TV
Japan
action filter_type
action union
action find
entity J-pop
relation country of origin
action find
entity Honoo-no Taiiku-kai TV
relation country of origin
type designation for an administrative territorial entity
{'OR': [['J-pop', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Honoo-no Taiiku-kai TV', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:J-pop property:country_of_origin ?y } UNION { resource:Honoo-no_Taiiku-kai_TV property:country_of_origin ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with approximately 55 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 55
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?j ) WHERE { ?h property:P530 ?c . ?h rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?j = 55 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 55
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?j ) WHERE { ?h property:diplomatic_relation ?c . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?j = 55 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 55
[ANSWER] have diplomatic associations with approximately 55 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?j ) WHERE { ?h property:P530 ?c . ?h rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?j = 55 ) }
Brazil
Brazil have diplomatic associations with approximately 55 administrative territories
Brazil
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 55
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?j ) WHERE { ?h property:diplomatic_relation ?c . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?j = 55 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P36
Q56061 Q515
USER
How many administrative territories or cities are the capitals of that administrative territory ?
(Q155,P36,c(Q56061)) (Q155,P36,c(Q515)) (Q155,P36,c(Q56061)) (Q155,P36,c(Q515))
action count
action union
action filter_type
action find
entity Q155
relation P36
type Q56061
action filter_type
action find
entity Q155
relation P36
type Q515
['Q155', 'P36', {'concept': 'Q56061'}] ['Q155', 'P36', {'concept': 'Q515'}] ['Q155', 'P36', {'concept': 'Q56061'}] ['Q155', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { resource:Q155 property:P36 ?a . ?a rdf:type ontology:Q56061 } UNION { resource:Q155 property:P36 ?a . ?a rdf:type ontology:Q515 } }
action count
action union
action filter_type
action find
entity Brazil
relation capital
type administrative territorial entity
action filter_type
action find
entity Brazil
relation capital
type city
['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['Brazil', 'capital', {'concept': 'city'}] ['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['Brazil', 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { resource:Brazil property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity } UNION { resource:Brazil property:capital ?a . ?a rdf:type ontology:city } }
[]
administrative territorial entity city
SYSTEM
2
Q8678 Q2844
(Q155,P36,c(Q56061)) (Q155,P36,c(Q515)) (Q155,P36,c(Q56061)) (Q155,P36,c(Q515))
action count
action union
action filter_type
action find
entity Q155
relation P36
type Q56061
action filter_type
action find
entity Q155
relation P36
type Q515
[ANSWER]
['Q155', 'P36', {'concept': 'Q56061'}] ['Q155', 'P36', {'concept': 'Q515'}] ['Q155', 'P36', {'concept': 'Q56061'}] ['Q155', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { resource:Q155 property:P36 ?a . ?a rdf:type ontology:Q56061 } UNION { resource:Q155 property:P36 ?a . ?a rdf:type ontology:Q515 } }
Rio de Janeiro Brasília
2
action count
action union
action filter_type
action find
entity Brazil
relation capital
type administrative territorial entity
action filter_type
action find
entity Brazil
relation capital
type city
['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['Brazil', 'capital', {'concept': 'city'}] ['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['Brazil', 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { resource:Brazil property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity } UNION { resource:Brazil property:capital ?a . ?a rdf:type ontology:city } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P710
Q15275719
USER
What event was Spain a participant of ?
(c(Q15275719),P710,Q29)
action filter_type
action find_reverse
entity Q29
relation P710
type Q15275719
[{'concept': 'Q15275719'}, 'P710', 'Q29']
SELECT DISTINCT ?a WHERE { ?a property:P710 resource:Q29 . ?a rdf:type ontology:Q15275719 }
Spain
action filter_type
action find_reverse
entity Spain
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Spain']
SELECT DISTINCT ?a WHERE { ?a property:participant resource:Spain . ?a rdf:type ontology:recurring_event }
[]
recurring event
Q207815
SYSTEM
Eurovision Song Contest 1996
Q207815
(c(Q15275719),P710,Q29)
action filter_type
action find_reverse
entity Q29
relation P710
type Q15275719
Spain was the [ANSWER]
[{'concept': 'Q15275719'}, 'P710', 'Q29']
SELECT DISTINCT ?a WHERE { ?a property:P710 resource:Q29 . ?a rdf:type ontology:Q15275719 }
Eurovision Song Contest 1996
Spain was the Eurovision Song Contest 1996
Eurovision Song Contest 1996
action filter_type
action find_reverse
entity Spain
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Spain']
SELECT DISTINCT ?a WHERE { ?a property:participant resource:Spain . ?a rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P47
Q15617994
USER
Which administrative territories are bordered by that one ?
(Q207815,P47,c(Q15617994))
action filter_type
action find
entity Q29
relation P47
type Q15617994
['Q207815', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q29 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Spain
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
['Eurovision Song Contest 1996', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Spain property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q45 Q1028
SYSTEM
France, Portugal, Morocco
Q142 Q1025 Q45 Q1028 Q228
(Q207815,P47,c(Q15617994))
action filter_type
action find
entity Q29
relation P47
type Q15617994
[ANSWERS] are bordered by that one
['Q207815', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q29 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
France Mauritania Portugal Morocco Andorra
France, Portugal and Morocco are bordered by that one
France Portugal Morocco
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
['Eurovision Song Contest 1996', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Spain property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Are Germany known to have diplomatic connections with those administrative territories ?
(Q183,P530,Q142) (Q183,P530,Q45) (Q183,P530,Q1028)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q142'] ['Q183', 'P530', 'Q45'] ['Q183', 'P530', 'Q1028']
ASK WHERE { resource:Q183 property:P530 ?s . VALUES ( ?s ) { ( resource:Q142 ) ( resource:Q1025 ) ( resource:Q45 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'France'] ['Germany', 'diplomatic relation', 'Portugal'] ['Germany', 'diplomatic relation', 'Morocco']
ASK WHERE { resource:Germany property:diplomatic_relation ?s . VALUES ( ?s ) { ( resource:France ) ( resource:Mauritania ) ( resource:Portugal ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q142) (Q183,P530,Q45) (Q183,P530,Q1028)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q142'] ['Q183', 'P530', 'Q45'] ['Q183', 'P530', 'Q1028']
ASK WHERE { resource:Q183 property:P530 ?s . VALUES ( ?s ) { ( resource:Q142 ) ( resource:Q1025 ) ( resource:Q45 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'France'] ['Germany', 'diplomatic relation', 'Portugal'] ['Germany', 'diplomatic relation', 'Morocco']
ASK WHERE { resource:Germany property:diplomatic_relation ?s . VALUES ( ?s ) { ( resource:France ) ( resource:Mauritania ) ( resource:Portugal ) } }
[]