Simple Question (Direct)
Simple Question
Q6788073
P7
Q502895
USER
Who are Matsudaira Tadayori a sibling of ?
(Q6788073,P7,c(Q502895))
action filter_type
action find
entity Q6788073
relation P7
type Q502895
['Q6788073', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q6788073 property:P7 ?c }
Matsudaira Tadayori
action filter_type
action find
entity Matsudaira Tadayori
relation brother
type common name
['Matsudaira Tadayori', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Matsudaira_Tadayori property:brother ?c }
[]
common name
Q11070067 Q767309 Q11069413
SYSTEM
Hōjō Ujishige, Hoshina Masasada, Matsudaira Nobuyoshi
Q11069425 Q11070067 Q767309 Q11069413
(Q6788073,P7,c(Q502895))
action filter_type
action find
entity Q6788073
relation P7
type Q502895
Of Matsudaira Tadayori are a sibling of [ANSWERS]
['Q6788073', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q6788073 property:P7 ?c }
Matsudaira Iehiro Hōjō Ujishige Hoshina Masasada Matsudaira Nobuyoshi
Of Matsudaira Tadayori are a sibling of Hōjō Ujishige, Hoshina Masasada and Matsudaira Nobuyoshi
Hōjō Ujishige Hoshina Masasada Matsudaira Nobuyoshi
action filter_type
action find
entity Matsudaira Tadayori
relation brother
type common name
['Matsudaira Tadayori', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Matsudaira_Tadayori property:brother ?c }
[]
Clarification
Simple Question|Single Entity|Indirect
Q767309
P25
Q502895
USER
Which person was the mother of that one ?
(Q767309,P25,c(Q502895))
action filter_type
action find
entity Q767309
relation P25
type Q502895
['Q767309', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q767309 property:P25 ?x . ?x rdf:type ontology:Q502895 }
Hoshina Masasada
action filter_type
action find
entity Hoshina Masasada
relation mother
type common name
['Hoshina Masasada', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Hoshina_Masasada property:mother ?x . ?x rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q11070067
SYSTEM
Did you mean Hōjō Ujishige ?
Q11070067 Q767309 Q11069413
(Q11070067,P25,c(Q502895)) (Q767309,P25,c(Q502895)) (Q11069413,P25,c(Q502895))
[ANSWER]
['Q11070067', 'P25', {'concept': 'Q502895'}] ['Q767309', 'P25', {'concept': 'Q502895'}] ['Q11069413', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q767309 property:P25 ?x . ?x rdf:type ontology:Q502895 }
Hōjō Ujishige Hoshina Masasada Matsudaira Nobuyoshi
Did you mean Hōjō Ujishige ?
Hōjō Ujishige
['Hōjō Ujishige', 'mother', {'concept': 'common name'}] ['Hoshina Masasada', 'mother', {'concept': 'common name'}] ['Matsudaira Nobuyoshi', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Hoshina_Masasada property:mother ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Hoshina Masasada. Could you tell me the answer for that?
(Q767309,P25,c(Q502895))
Q767309
['Q767309', 'P25', {'concept': 'Q502895'}]
['Hoshina Masasada', 'mother', {'concept': 'common name'}]
[]
Q11430628
SYSTEM
Take-hime
Q11430628
(Q767309,P25,c(Q502895))
action filter_type
action find
entity Q767309
relation P25
type Q502895
And [ANSWER] was the mother of that one
['Q767309', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q767309 property:P25 ?x . ?x rdf:type ontology:Q502895 }
Take-hime
And Take-hime was the mother of that one
Take-hime
action filter_type
action find
entity Hoshina Masasada
relation mother
type common name
['Hoshina Masasada', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Hoshina_Masasada property:mother ?x . ?x rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q11430628 Q8966859 Q18045246
P40
Q502895
USER
Does that person have Nahoko Miyazaki and Brian Oliván Herrero as a child ?
(Q11430628,P40,Q8966859) (Q11430628,P40,Q18045246)
action is_in
entity Q11430628
action intersection
action find_reverse
entity Q8966859
relation P40
action find_reverse
entity Q18045246
relation P40
['Q11430628', 'P40', 'Q8966859'] ['Q11430628', 'P40', 'Q18045246']
ASK WHERE { resource:Q11430628 property:P40 resource:Q8966859 . resource:Q11430628 property:P40 resource:Q18045246 }
Take-hime Nahoko Miyazaki Brian Oliván Herrero
action is_in
entity Take-hime
action intersection
action find_reverse
entity Nahoko Miyazaki
relation child
action find_reverse
entity Brian Oliván Herrero
relation child
['Take-hime', 'child', 'Nahoko Miyazaki'] ['Take-hime', 'child', 'Brian Oliván Herrero']
ASK WHERE { resource:Take-hime property:child resource:Nahoko_Miyazaki . resource:Take-hime property:child resource:Brian_Oliván_Herrero }
[]
common name
SYSTEM
NO
(Q11430628,P40,Q8966859) (Q11430628,P40,Q18045246)
action is_in
entity Q11430628
action intersection
action find_reverse
entity Q8966859
relation P40
action find_reverse
entity Q18045246
relation P40
[ANSWER]
['Q11430628', 'P40', 'Q8966859'] ['Q11430628', 'P40', 'Q18045246']
ASK WHERE { resource:Q11430628 property:P40 resource:Q8966859 . resource:Q11430628 property:P40 resource:Q18045246 }
No
action is_in
entity Take-hime
action intersection
action find_reverse
entity Nahoko Miyazaki
relation child
action find_reverse
entity Brian Oliván Herrero
relation child
['Take-hime', 'child', 'Nahoko Miyazaki'] ['Take-hime', 'child', 'Brian Oliván Herrero']
ASK WHERE { resource:Take-hime property:child resource:Nahoko_Miyazaki . resource:Take-hime property:child resource:Brian_Oliván_Herrero }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q11069413 Q767309 Q11069425
P7
Q502895
USER
Is Hoshina Masasada and Matsudaira Iehiro a brother of Matsudaira Nobuyoshi ?
(Q11069413,P7,Q767309) (Q11069413,P7,Q11069425)
action is_in
entity Q11069413
action intersection
action find_reverse
entity Q767309
relation P7
action find_reverse
entity Q11069425
relation P7
['Q11069413', 'P7', 'Q767309'] ['Q11069413', 'P7', 'Q11069425']
ASK WHERE { resource:Q11069413 property:P7 resource:Q767309 . resource:Q11069413 property:P7 resource:Q11069425 }
Matsudaira Nobuyoshi Hoshina Masasada Matsudaira Iehiro
action is_in
entity Matsudaira Nobuyoshi
action intersection
action find_reverse
entity Hoshina Masasada
relation brother
action find_reverse
entity Matsudaira Iehiro
relation brother
['Matsudaira Nobuyoshi', 'brother', 'Hoshina Masasada'] ['Matsudaira Nobuyoshi', 'brother', 'Matsudaira Iehiro']
ASK WHERE { resource:Matsudaira_Nobuyoshi property:brother resource:Hoshina_Masasada . resource:Matsudaira_Nobuyoshi property:brother resource:Matsudaira_Iehiro }
[]
common name
SYSTEM
YES
(Q11069413,P7,Q767309) (Q11069413,P7,Q11069425)
action is_in
entity Q11069413
action intersection
action find_reverse
entity Q767309
relation P7
action find_reverse
entity Q11069425
relation P7
[ANSWER]
['Q11069413', 'P7', 'Q767309'] ['Q11069413', 'P7', 'Q11069425']
ASK WHERE { resource:Q11069413 property:P7 resource:Q767309 . resource:Q11069413 property:P7 resource:Q11069425 }
Yes
action is_in
entity Matsudaira Nobuyoshi
action intersection
action find_reverse
entity Hoshina Masasada
relation brother
action find_reverse
entity Matsudaira Iehiro
relation brother
['Matsudaira Nobuyoshi', 'brother', 'Hoshina Masasada'] ['Matsudaira Nobuyoshi', 'brother', 'Matsudaira Iehiro']
ASK WHERE { resource:Matsudaira_Nobuyoshi property:brother resource:Hoshina_Masasada . resource:Matsudaira_Nobuyoshi property:brother resource:Matsudaira_Iehiro }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q11430628 Q7298549 Q6020913
P7
Q502895
USER
Did Take-hime have Raymond Allchin and Mehmet Kerimoğlu as brother ?
(Q11430628,P7,Q7298549) (Q11430628,P7,Q6020913)
action is_in
entity Q11430628
action intersection
action find_reverse
entity Q7298549
relation P7
action find_reverse
entity Q6020913
relation P7
['Q11430628', 'P7', 'Q7298549'] ['Q11430628', 'P7', 'Q6020913']
ASK WHERE { resource:Q11430628 property:P7 resource:Q7298549 . resource:Q11430628 property:P7 resource:Q6020913 }
Take-hime Raymond Allchin Mehmet Kerimoğlu
action is_in
entity Take-hime
action intersection
action find_reverse
entity Raymond Allchin
relation brother
action find_reverse
entity Mehmet Kerimoğlu
relation brother
['Take-hime', 'brother', 'Raymond Allchin'] ['Take-hime', 'brother', 'Mehmet Kerimoğlu']
ASK WHERE { resource:Take-hime property:brother resource:Raymond_Allchin . resource:Take-hime property:brother resource:Mehmet_Kerimoğlu }
[]
common name
SYSTEM
NO
(Q11430628,P7,Q7298549) (Q11430628,P7,Q6020913)
action is_in
entity Q11430628
action intersection
action find_reverse
entity Q7298549
relation P7
action find_reverse
entity Q6020913
relation P7
[ANSWER]
['Q11430628', 'P7', 'Q7298549'] ['Q11430628', 'P7', 'Q6020913']
ASK WHERE { resource:Q11430628 property:P7 resource:Q7298549 . resource:Q11430628 property:P7 resource:Q6020913 }
No
action is_in
entity Take-hime
action intersection
action find_reverse
entity Raymond Allchin
relation brother
action find_reverse
entity Mehmet Kerimoğlu
relation brother
['Take-hime', 'brother', 'Raymond Allchin'] ['Take-hime', 'brother', 'Mehmet Kerimoğlu']
ASK WHERE { resource:Take-hime property:brother resource:Raymond_Allchin . resource:Take-hime property:brother resource:Mehmet_Kerimoğlu }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q767309 Q17 Q7516165
P27
Q15617994
USER
Is Hoshina Masasada a civilian of Japan and Silver Lake USD 372 ?
(Q767309,P27,Q17) (Q767309,P27,Q7516165)
action is_in
entity Q767309
action intersection
action find_reverse
entity Q17
relation P27
action find_reverse
entity Q7516165
relation P27
['Q767309', 'P27', 'Q17'] ['Q767309', 'P27', 'Q7516165']
ASK WHERE { resource:Q767309 property:P27 resource:Q17 . resource:Q767309 property:P27 resource:Q7516165 }
Hoshina Masasada Japan Silver Lake USD 372
action is_in
entity Hoshina Masasada
action intersection
action find_reverse
entity Japan
relation country of citizenship
action find_reverse
entity Silver Lake USD 372
relation country of citizenship
['Hoshina Masasada', 'country of citizenship', 'Japan'] ['Hoshina Masasada', 'country of citizenship', 'Silver Lake USD 372']
ASK WHERE { resource:Hoshina_Masasada property:country_of_citizenship resource:Japan . resource:Hoshina_Masasada property:country_of_citizenship resource:Silver_Lake_USD_372 }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q767309,P27,Q17) (Q767309,P27,Q7516165)
action is_in
entity Q767309
action intersection
action find_reverse
entity Q17
relation P27
action find_reverse
entity Q7516165
relation P27
[ANSWER]
['Q767309', 'P27', 'Q17'] ['Q767309', 'P27', 'Q7516165']
ASK WHERE { resource:Q767309 property:P27 resource:Q17 . resource:Q767309 property:P27 resource:Q7516165 }
YES and NO respectively
action is_in
entity Hoshina Masasada
action intersection
action find_reverse
entity Japan
relation country of citizenship
action find_reverse
entity Silver Lake USD 372
relation country of citizenship
['Hoshina Masasada', 'country of citizenship', 'Japan'] ['Hoshina Masasada', 'country of citizenship', 'Silver Lake USD 372']
ASK WHERE { resource:Hoshina_Masasada property:country_of_citizenship resource:Japan . resource:Hoshina_Masasada property:country_of_citizenship resource:Silver_Lake_USD_372 }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q838948 Q2342494 Q502895
USER
Which people are featured in atleast 2 works of art and collectables ?
(c(Q502895),P1441,c(Q838948)|c(Q2342494))
action atleast
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
value 2
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?p WHERE { { ?p property:P1441 ?y . ?y rdf:type ontology:Q838948 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P1441 ?y . ?p rdf:type ontology:Q502895 . ?y rdf:type ontology:Q2342494 } } GROUP BY ?p } . FILTER ( ?z >= 2 ) }
action atleast
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type collectable
value 2
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?p WHERE { { ?p property:present_in_work ?y . ?y rdf:type ontology:work_of_art . ?p rdf:type ontology:common_name } UNION { ?p property:present_in_work ?y . ?p rdf:type ontology:common_name . ?y rdf:type ontology:collectable } } GROUP BY ?p } . FILTER ( ?z >= 2 ) }
[]
work of art collectable common name
Q9181 Q37085 Q9077
SYSTEM
Abraham, Solomon, Moses
Q23885172 Q9077 Q25858050 Q37085 Q26721185 Q9181
(c(Q502895),P1441,c(Q838948)|c(Q2342494))
action atleast
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
value 2
[ANSWERS] are featured in atleast 2 works of art and collectables
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?p WHERE { { ?p property:P1441 ?y . ?y rdf:type ontology:Q838948 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P1441 ?y . ?p rdf:type ontology:Q502895 . ?y rdf:type ontology:Q2342494 } } GROUP BY ?p } . FILTER ( ?z >= 2 ) }
Victor Petit Moses Helen Kingsleigh Solomon Lena Gogan Abraham
Abraham, Solomon and Moses are featured in atleast 2 works of art and collectables
Abraham Solomon Moses
action atleast
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type collectable
value 2
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?p WHERE { { ?p property:present_in_work ?y . ?y rdf:type ontology:work_of_art . ?p rdf:type ontology:common_name } UNION { ?p property:present_in_work ?y . ?p rdf:type ontology:common_name . ?y rdf:type ontology:collectable } } GROUP BY ?p } . FILTER ( ?z >= 2 ) }
[]