Simple Question (Direct)
Simple Question
Q604249
P136
Q151885
USER
What can be considered as category for Yuka Kashino ?
(Q604249,P136,c(Q151885))
action filter_type
action find
entity Q604249
relation P136
type Q151885
['Q604249', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q151885 . resource:Q604249 property:P136 ?a }
Yuka Kashino
action filter_type
action find
entity Yuka Kashino
relation genre
type concept
['Yuka Kashino', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:concept . resource:Yuka_Kashino property:genre ?a }
[]
concept
Q131578
SYSTEM
J-pop
Q131578
(Q604249,P136,c(Q151885))
action filter_type
action find
entity Q604249
relation P136
type Q151885
[ANSWER] can be considered as category for Yuka Kashino
['Q604249', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q151885 . resource:Q604249 property:P136 ?a }
J-pop
J-pop can be considered as category for Yuka Kashino
J-pop
action filter_type
action find
entity Yuka Kashino
relation genre
type concept
['Yuka Kashino', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:concept . resource:Yuka_Kashino property:genre ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q604249
P264
Q334453
USER
Which division is the record brand of Yuka Kashino ?
(Q604249,P264,c(Q334453))
action filter_type
action find
entity Q604249
relation P264
type Q334453
['Q604249', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q334453 . resource:Q604249 property:P264 ?j }
Yuka Kashino
action filter_type
action find
entity Yuka Kashino
relation record label
type division
['Yuka Kashino', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:division . resource:Yuka_Kashino property:record_label ?j }
[]
division
Q221162
SYSTEM
Tokuma Japan Communications
Q221162
(Q604249,P264,c(Q334453))
action filter_type
action find
entity Q604249
relation P264
type Q334453
[ANSWER] is the record brand of Yuka Kashino
['Q604249', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q334453 . resource:Q604249 property:P264 ?j }
Tokuma Japan Communications
Tokuma Japan Communications is the record brand of Yuka Kashino
Tokuma Japan Communications
action filter_type
action find
entity Yuka Kashino
relation record label
type division
['Yuka Kashino', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:division . resource:Yuka_Kashino property:record_label ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q221162
P1416
Q502895
USER
Which person has affliliation with that division ?
(c(Q502895),P1416,Q221162)
action filter_type
action find_reverse
entity Q221162
relation P1416
type Q502895
[{'concept': 'Q502895'}, 'P1416', 'Q221162']
SELECT DISTINCT ?y WHERE { ?y property:P1416 resource:Q221162 . ?y rdf:type ontology:Q502895 }
Tokuma Japan Communications
action filter_type
action find_reverse
entity Tokuma Japan Communications
relation affiliation
type common name
[{'concept': 'common name'}, 'affiliation', 'Tokuma Japan Communications']
SELECT DISTINCT ?y WHERE { ?y property:affiliation resource:Tokuma_Japan_Communications . ?y rdf:type ontology:common_name }
[]
common name
Q484812
SYSTEM
Shin Hye-sung
Q484812
(c(Q502895),P1416,Q221162)
action filter_type
action find_reverse
entity Q221162
relation P1416
type Q502895
[ANSWER] has affliliation with that division
[{'concept': 'Q502895'}, 'P1416', 'Q221162']
SELECT DISTINCT ?y WHERE { ?y property:P1416 resource:Q221162 . ?y rdf:type ontology:Q502895 }
Shin Hye-sung
Shin Hye-sung has affliliation with that division
Shin Hye-sung
action filter_type
action find_reverse
entity Tokuma Japan Communications
relation affiliation
type common name
[{'concept': 'common name'}, 'affiliation', 'Tokuma Japan Communications']
SELECT DISTINCT ?y WHERE { ?y property:affiliation resource:Tokuma_Japan_Communications . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q6619679
USER
How many fictional humanoids have been dubbed by around 2 people ?
(c(Q6619679),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 2
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?n ) WHERE { ?g rdf:type ontology:Q6619679 . ?l rdf:type ontology:Q502895 . ?g property:P725 ?l } GROUP BY ?g } . FILTER ( ?n = 2 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 2
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?n ) WHERE { ?g rdf:type ontology:fictional_humanoid . ?l rdf:type ontology:common_name . ?g property:voice_actor ?l } GROUP BY ?g } . FILTER ( ?n = 2 ) }
[]
common name fictional humanoid
SYSTEM
29
Q1623086 Q1205263 Q11609133 Q15726751 Q4992177 Q24010814 Q11479883 Q819585 Q1079617 Q718965 Q3784876 Q4006757 Q15614636 Q1148698 Q1056953 Q18073923 Q250221 Q3149148 Q18156023 Q6989902 Q15726744 Q601978 Q757015 Q15620419 Q13471616 Q12879 Q19796729 Q716636 Q1154920
(c(Q6619679),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 2
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?n ) WHERE { ?g rdf:type ontology:Q6619679 . ?l rdf:type ontology:Q502895 . ?g property:P725 ?l } GROUP BY ?g } . FILTER ( ?n = 2 ) }
Hector Barbossa Eli Vance Sayaka Miki Diamond Tiara Cave Johnson Deckard Cain Mami Tomoe Jaina Proudmoore Wallace Breen Hinata Hyuga Henrietta Utena Tenjo Anna (Disney) Ai Haibara Minsc Sunset Shimmer Alyx Vance Imoen Maud Pie Neku Sakuraba Silver Spoon Kyon Sailor Moon Elsa Mr. Bean Toph Beifong Michelle Mr. Burns Father Grigori
29
action count
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 2
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?n ) WHERE { ?g rdf:type ontology:fictional_humanoid . ?l rdf:type ontology:common_name . ?g property:voice_actor ?l } GROUP BY ?g } . FILTER ( ?n = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q116706 Q604249
P47 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Yuka Kashino or are bordered by Ceccano ?
OR((Q604249,P27,c(Q15617994)), (Q116706,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q604249
relation P27
action find
entity Q116706
relation P47
type Q15617994
{'OR': [['Q604249', 'P27', {'concept': 'Q15617994'}], ['Q116706', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q604249 property:P27 ?q } UNION { resource:Q116706 property:P47 ?q } } . ?q rdf:type ontology:Q15617994 }
Ceccano Yuka Kashino
action filter_type
action union
action find
entity Yuka Kashino
relation country of citizenship
action find
entity Ceccano
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Yuka Kashino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ceccano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Yuka_Kashino property:country_of_citizenship ?q } UNION { resource:Ceccano property:shares_border_with ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q116660 Q13413 Q117612 Q116937 Q116431 Q17 Q116967 Q117178
SYSTEM
Castro dei Volsci, Frosinone, Villa Santo Stefano, Giuliano di Roma, Arnara, Japan, Patrica, Pofi
Q116660 Q13413 Q117612 Q116937 Q116431 Q17 Q116967 Q117178
OR((Q604249,P27,c(Q15617994)), (Q116706,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q604249
relation P27
action find
entity Q116706
relation P47
type Q15617994
[ANSWERS] are the countries of citizenship of Yuka Kashino or are bordered by Ceccano
{'OR': [['Q604249', 'P27', {'concept': 'Q15617994'}], ['Q116706', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q604249 property:P27 ?q } UNION { resource:Q116706 property:P47 ?q } } . ?q rdf:type ontology:Q15617994 }
Castro dei Volsci Frosinone Villa Santo Stefano Giuliano di Roma Arnara Japan Patrica Pofi
Castro dei Volsci, Frosinone, Villa Santo Stefano, Giuliano di Roma, Arnara, Japan, Patrica and Pofi are the countries of citizenship of Yuka Kashino or are bordered by Ceccano
Castro dei Volsci Frosinone Villa Santo Stefano Giuliano di Roma Arnara Japan Patrica Pofi
action filter_type
action union
action find
entity Yuka Kashino
relation country of citizenship
action find
entity Ceccano
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Yuka Kashino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ceccano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Yuka_Kashino property:country_of_citizenship ?q } UNION { resource:Ceccano property:shares_border_with ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q116706
P190
Q20667921 Q486972
USER
How many french administrative divisions or human settlements are sister town of Ceccano ?
(c(Q20667921),P190,Q116706) (c(Q486972),P190,Q116706)
action count
action union
action filter_type
action find_reverse
entity Q116706
relation P190
type Q20667921
action filter_type
action find_reverse
entity Q116706
relation P190
type Q486972
[{'concept': 'Q20667921'}, 'P190', 'Q116706'] [{'concept': 'Q486972'}, 'P190', 'Q116706']
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?b ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } . ?s rdf:type ?b }
Ceccano
action count
action union
action filter_type
action find_reverse
entity Ceccano
relation sister city
type type of french administrative division
action filter_type
action find_reverse
entity Ceccano
relation sister city
type human settlement
[{'concept': 'type of french administrative division'}, 'sister city', 'Ceccano'] [{'concept': 'human settlement'}, 'sister city', 'Ceccano']
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?b ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } . ?s rdf:type ?b }
[]
type of french administrative division human settlement
SYSTEM
3
Q474768 Q6397 Q8969
(c(Q20667921),P190,Q116706) (c(Q486972),P190,Q116706)
action count
action union
action filter_type
action find_reverse
entity Q116706
relation P190
type Q20667921
action filter_type
action find_reverse
entity Q116706
relation P190
type Q486972
[ANSWER]
[{'concept': 'Q20667921'}, 'P190', 'Q116706'] [{'concept': 'Q486972'}, 'P190', 'Q116706']
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?b ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } . ?s rdf:type ?b }
Plouzané Avignon Cancún
3
action count
action union
action filter_type
action find_reverse
entity Ceccano
relation sister city
type type of french administrative division
action filter_type
action find_reverse
entity Ceccano
relation sister city
type human settlement
[{'concept': 'type of french administrative division'}, 'sister city', 'Ceccano'] [{'concept': 'human settlement'}, 'sister city', 'Ceccano']
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?b ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } . ?s rdf:type ?b }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20448 Q117178
P47
Q15617994
USER
Which administrative territories are bordered by Pofi or Salmour ?
OR((Q117178,P47,c(Q15617994)), (Q20448,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q117178
relation P47
action find
entity Q20448
relation P47
type Q15617994
{'OR': [['Q117178', 'P47', {'concept': 'Q15617994'}], ['Q20448', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q117178 property:P47 ?p } UNION { resource:Q20448 property:P47 ?p } } }
Salmour Pofi
action filter_type
action union
action find
entity Pofi
relation shares border with
action find
entity Salmour
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Pofi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Salmour', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Pofi property:shares_border_with ?p } UNION { resource:Salmour property:shares_border_with ?p } } }
[]
designation for an administrative territorial entity
Q116716 Q116660 Q116706 Q116431 Q20247 Q18365 Q19946 Q117198 Q20050 Q19941
SYSTEM
Ceprano, Castro dei Volsci, Ceccano, Arnara, Narzole, Bene Vagienna, Cherasco, Ripi, Fossano, Cervere
Q116716 Q116660 Q116706 Q116431 Q20247 Q18365 Q19946 Q117198 Q20050 Q19941
OR((Q117178,P47,c(Q15617994)), (Q20448,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q117178
relation P47
action find
entity Q20448
relation P47
type Q15617994
[ANSWERS] are bordered by Pofi or Salmour
{'OR': [['Q117178', 'P47', {'concept': 'Q15617994'}], ['Q20448', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q117178 property:P47 ?p } UNION { resource:Q20448 property:P47 ?p } } }
Ceprano Castro dei Volsci Ceccano Arnara Narzole Bene Vagienna Cherasco Ripi Fossano Cervere
Ceprano, Castro dei Volsci, Ceccano, Arnara, Narzole, Bene Vagienna, Cherasco, Ripi, Fossano and Cervere are bordered by Pofi or Salmour
Ceprano Castro dei Volsci Ceccano Arnara Narzole Bene Vagienna Cherasco Ripi Fossano Cervere
action filter_type
action union
action find
entity Pofi
relation shares border with
action find
entity Salmour
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Pofi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Salmour', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Pofi property:shares_border_with ?p } UNION { resource:Salmour property:shares_border_with ?p } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q20050
P47
Q15617994
USER
How many administrative territories are bordered by Fossano ?
(Q20050,P47,c(Q15617994))
action count
action filter_type
action find
entity Q20050
relation P47
type Q15617994
['Q20050', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q20050 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Fossano
action count
action filter_type
action find
entity Fossano
relation shares border with
type designation for an administrative territorial entity
['Fossano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Fossano property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
10
Q20489 Q20448 Q19933 Q20569 Q20481 Q20092 Q18365 Q20520 Q20199 Q19941
(Q20050,P47,c(Q15617994))
action count
action filter_type
action find
entity Q20050
relation P47
type Q15617994
[ANSWER]
['Q20050', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q20050 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Savigliano Salmour Centallo Villafalletto Sant'Albano Stura Genola Bene Vagienna Trinità Montanera Cervere
10
action count
action filter_type
action find
entity Fossano
relation shares border with
type designation for an administrative territorial entity
['Fossano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Fossano property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q100088
P47
Q15617994
USER
And what about Prignano sulla Secchia?
(Q100088,P47,c(Q15617994))
action count
action filter_type
action find
entity Q100088
relation P47
type Q15617994
['Q100088', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q100088 property:P47 ?u . ?u rdf:type ontology:Q15617994 }
Prignano sulla Secchia
action count
action filter_type
action find
entity Prignano sulla Secchia
relation shares border with
type designation for an administrative territorial entity
['Prignano sulla Secchia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Prignano_sulla_Secchia property:shares_border_with ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
7
Q111159 Q100083 Q111292 Q100087 Q111103 Q8598 Q100105
(Q100088,P47,c(Q15617994))
action count
action filter_type
action find
entity Q100088
relation P47
type Q15617994
[ANSWER]
['Q100088', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q100088 property:P47 ?u . ?u rdf:type ontology:Q15617994 }
Castellarano Palagano Toano Polinago Baiso Sassuolo Serramazzoni
7
action count
action filter_type
action find
entity Prignano sulla Secchia
relation shares border with
type designation for an administrative territorial entity
['Prignano sulla Secchia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Prignano_sulla_Secchia property:shares_border_with ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q301492
Q15617994
USER
And what about Rumo?
(Q301492,P47,c(Q15617994))
action count
action filter_type
action find
entity Q301492
relation P47
type Q15617994
['Q301492', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q301492 property:P47 ?x . ?x rdf:type ontology:Q15617994 }
Rumo
action count
action filter_type
action find
entity Rumo
relation shares border with
type designation for an administrative territorial entity
['Rumo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Rumo property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
(Q301492,P47,c(Q15617994))
action count
action filter_type
action find
entity Q301492
relation P47
type Q15617994
[ANSWER]
['Q301492', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q301492 property:P47 ?x . ?x rdf:type ontology:Q15617994 }
4
action count
action filter_type
action find
entity Rumo
relation shares border with
type designation for an administrative territorial entity
['Rumo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Rumo property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]