Simple Question (Direct)
Simple Question
Q11596523
P734
Q82799
USER
Who has the surname Bernard Ryosuke Inagaki ?
(Q11596523,P734,c(Q82799))
action filter_type
action find
entity Q11596523
relation P734
type Q82799
['Q11596523', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q11596523 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Bernard Ryosuke Inagaki
action filter_type
action find
entity Bernard Ryosuke Inagaki
relation family name
type name
['Bernard Ryosuke Inagaki', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Bernard_Ryosuke_Inagaki property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Q21450875
SYSTEM
Inagaki
Q21450875
(Q11596523,P734,c(Q82799))
action filter_type
action find
entity Q11596523
relation P734
type Q82799
To [ANSWER] has the surname Bernard Ryosuke [ANSWER]
['Q11596523', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q11596523 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Inagaki
To Inagaki has the surname Bernard Ryosuke Inagaki
Inagaki
action filter_type
action find
entity Bernard Ryosuke Inagaki
relation family name
type name
['Bernard Ryosuke Inagaki', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Bernard_Ryosuke_Inagaki property:family_name ?r . ?r rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11596523
P21
Q290
USER
What is the sex of that person ?
(Q21450875,P21,c(Q290))
action filter_type
action find
entity Q11596523
relation P21
type Q290
['Q21450875', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q11596523 property:P21 ?i . ?i rdf:type ontology:Q290 }
Bernard Ryosuke Inagaki
action filter_type
action find
entity Bernard Ryosuke Inagaki
relation gender
type sex
['Inagaki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Bernard_Ryosuke_Inagaki property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q21450875,P21,c(Q290))
action filter_type
action find
entity Q11596523
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q21450875', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q11596523 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Bernard Ryosuke Inagaki
relation gender
type sex
['Inagaki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Bernard_Ryosuke_Inagaki property:gender ?i . ?i rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q36180 Q21450875
P734 P106
Q502895
USER
Which people have Inagaki as their family name and are not working as writer ?
AND((c(Q502895),P734,Q21450875), NOT((c(Q502895),P106,Q36180)))
action filter_type
action difference
action find_reverse
entity Q21450875
relation P734
action find_reverse
entity Q36180
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q21450875'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q36180']]}]}
SELECT DISTINCT ?e WHERE { FILTER NOT EXISTS { ?e property:P106 resource:Q36180 } . ?e property:P734 resource:Q21450875 . ?e rdf:type ontology:Q502895 }
writer Inagaki
action filter_type
action difference
action find_reverse
entity Inagaki
relation family name
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Inagaki'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'writer']]}]}
SELECT DISTINCT ?e WHERE { FILTER NOT EXISTS { ?e property:occupation resource:writer } . ?e property:family_name resource:Inagaki . ?e rdf:type ontology:common_name }
[]
common name
Q16264219 Q5631882 Q2602357 Q10525740 Q11596510 Q10525599 Q11596512 Q11596538 Q16769719 Q11596483
SYSTEM
Some of them are Sho Inagaki, Heitarō Inagaki, Riichiro Inagaki, Inagaki Shigemitsu, Ayao Inagaki, Inagaki Sadakazu, Naoki Inagaki, Jun Inagaki, Sadao Inagaki, Mamoru Inagaki
Q17193384 Q17349699 Q11596503 Q11596502 Q11596501 Q11596500 Q5631882 Q11596506 Q11596525 Q16264219 Q10525599 Q7677317 Q11596520 Q11596523 Q10525662 Q1092038 Q11596483 Q10525740 Q10518172 Q11596529 Q10526092 Q11596540 Q2602357 Q10525459 Q6535247 Q16769724 Q16769721 Q11596487 Q10525838 Q11596472 Q11596476 Q11596475 Q11596474 Q16264217 Q6273851 Q7688311 Q11596515 Q11596517 Q11596510 Q11596511 Q10526021 Q11596513 Q11596536 Q11596512 Q11596491 Q11596490 Q11596492 Q11596495 Q11596494 Q11596538 Q16264221 Q16264218 Q16264223 Q7463606 Q11596488 Q11596499 Q16769719 Q3149777
AND((c(Q502895),P734,Q21450875), NOT((c(Q502895),P106,Q36180)))
action filter_type
action difference
action find_reverse
entity Q21450875
relation P734
action find_reverse
entity Q36180
relation P106
type Q502895
[ANSWERS] have Inagaki as their family name and are not working as writer
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q21450875'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q36180']]}]}
SELECT DISTINCT ?e WHERE { FILTER NOT EXISTS { ?e property:P106 resource:Q36180 } . ?e property:P734 resource:Q21450875 . ?e rdf:type ontology:Q502895 }
Shōzō Inagaki Shūji Inagaki Inagaki, Takeshi, 1934-2010 Masao Inagaki Seishi Inagaki Masao Inagaki Heitarō Inagaki Hiroshi Inagaki Inagaki Tatsurō Sho Inagaki Inagaki Sadakazu Takashi Inagaki Miwako Inagaki Bernard Ryosuke Inagaki Inagaki Terukata Hiroyuki Inagaki Mamoru Inagaki Inagaki Shigemitsu Inagaki Motokiyo Rinka Inagaki Inagaki Nagaoki Ryūtarō Inagaki Riichiro Inagaki Inagaki Motoyoshi Inagaki Chikai Hiroyoshi Inagaki Tadami Inagaki Mika Inagaki Inagaki Shigefusa Misao Inagaki Hitoshi Inagaki Hisakazu Inagaki Saburō Inagaki Kazuya Inagaki Kiyoshi Inagaki Tatsuo Inagaki Hideto Inagaki Ryō Inagaki Ayao Inagaki Shin'ichi Inagaki Inagaki Nagaakira Masami Inagaki Masayuki Inagaki Naoki Inagaki Tadahiko Inagaki Seiji Inagaki Keiko Inagaki Saori Inagaki Atsushi Inagaki Jun Inagaki Masayuki Inagaki Kyōko Inagaki Ryō Inagaki Hiroyuki Inagaki Iwao Inagaki Eizō Inagaki Sadao Inagaki Inagaki Manjirō
Sho Inagaki, Heitarō Inagaki, Riichiro Inagaki, Inagaki Shigemitsu, Ayao Inagaki, Inagaki Sadakazu, Naoki Inagaki, Jun Inagaki, Sadao Inagaki and Mamoru Inagaki have Inagaki as their family name and are not working as writer
Sho Inagaki Heitarō Inagaki Riichiro Inagaki Inagaki Shigemitsu Ayao Inagaki Inagaki Sadakazu Naoki Inagaki Jun Inagaki Sadao Inagaki Mamoru Inagaki
action filter_type
action difference
action find_reverse
entity Inagaki
relation family name
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Inagaki'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'writer']]}]}
SELECT DISTINCT ?e WHERE { FILTER NOT EXISTS { ?e property:occupation resource:writer } . ?e property:family_name resource:Inagaki . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2602357
P27
Q15617994
USER
Which administrative territory is Riichiro Inagaki a civilian of ?
(Q2602357,P27,c(Q15617994))
action filter_type
action find
entity Q2602357
relation P27
type Q15617994
['Q2602357', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q2602357 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Riichiro Inagaki
action filter_type
action find
entity Riichiro Inagaki
relation country of citizenship
type designation for an administrative territorial entity
['Riichiro Inagaki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Riichiro_Inagaki property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q2602357,P27,c(Q15617994))
action filter_type
action find
entity Q2602357
relation P27
type Q15617994
[ANSWER] is Riichiro Inagaki a civilian of
['Q2602357', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q2602357 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Japan
Japan is Riichiro Inagaki a civilian of
Japan
action filter_type
action find
entity Riichiro Inagaki
relation country of citizenship
type designation for an administrative territorial entity
['Riichiro Inagaki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Riichiro_Inagaki property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2011943
Q15617994
USER
And also tell me about Tim Verfaillie?
(Q2011943,P27,c(Q15617994))
action filter_type
action find
entity Q2011943
relation P27
type Q15617994
['Q2011943', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q2011943 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Tim Verfaillie
action filter_type
action find
entity Tim Verfaillie
relation country of citizenship
type designation for an administrative territorial entity
['Tim Verfaillie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Tim_Verfaillie property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q2011943,P27,c(Q15617994))
action filter_type
action find
entity Q2011943
relation P27
type Q15617994
[ANSWER]
['Q2011943', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q2011943 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Belgium
Belgium
action filter_type
action find
entity Tim Verfaillie
relation country of citizenship
type designation for an administrative territorial entity
['Tim Verfaillie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Tim_Verfaillie property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1095190 Q2011943
P106
Q12737077
USER
Which occupations are the professions of Tim Verfaillie or Clara Harnack ?
OR((Q2011943,P106,c(Q12737077)), (Q1095190,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2011943
relation P106
action find
entity Q1095190
relation P106
type Q12737077
{'OR': [['Q2011943', 'P106', {'concept': 'Q12737077'}], ['Q1095190', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q2011943 property:P106 ?k } UNION { resource:Q1095190 property:P106 ?k } } . ?k rdf:type ontology:Q12737077 }
Clara Harnack Tim Verfaillie
action filter_type
action union
action find
entity Tim Verfaillie
relation occupation
action find
entity Clara Harnack
relation occupation
type occupation
{'OR': [['Tim Verfaillie', 'occupation', {'concept': 'occupation'}], ['Clara Harnack', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Tim_Verfaillie property:occupation ?k } UNION { resource:Clara_Harnack property:occupation ?k } } . ?k rdf:type ontology:occupation }
[]
occupation
Q1028181 Q36180
SYSTEM
painter, writer
Q1028181 Q36180
OR((Q2011943,P106,c(Q12737077)), (Q1095190,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2011943
relation P106
action find
entity Q1095190
relation P106
type Q12737077
The [ANSWERS] are the professions of Tim Verfaillie or Clara Harnack
{'OR': [['Q2011943', 'P106', {'concept': 'Q12737077'}], ['Q1095190', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q2011943 property:P106 ?k } UNION { resource:Q1095190 property:P106 ?k } } . ?k rdf:type ontology:Q12737077 }
painter writer
The painter and writer are the professions of Tim Verfaillie or Clara Harnack
painter writer
action filter_type
action union
action find
entity Tim Verfaillie
relation occupation
action find
entity Clara Harnack
relation occupation
type occupation
{'OR': [['Tim Verfaillie', 'occupation', {'concept': 'occupation'}], ['Clara Harnack', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Tim_Verfaillie property:occupation ?k } UNION { resource:Clara_Harnack property:occupation ?k } } . ?k rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q340169 Q11060274
USER
How many names are depicted in approximately 20 medias and prints ?
(c(Q340169)|c(Q11060274),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
value 20
[[{'concept': 'Q340169'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) ?w WHERE { { ?w rdf:type ontology:Q82799 . ?u rdf:type ontology:Q11060274 . ?u property:P180 ?w } UNION { ?w rdf:type ontology:Q82799 . ?u rdf:type ontology:Q340169 . ?u property:P180 ?w } } GROUP BY ?w } . FILTER ( ?o = 20 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type media
action find_reverse_tuple_counts
relation depicts
type name
type print
value 20
[[{'concept': 'media'}, {'concept': 'print'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) ?w WHERE { { ?w rdf:type ontology:name . ?u rdf:type ontology:print . ?u property:depicts ?w } UNION { ?w rdf:type ontology:name . ?u rdf:type ontology:media . ?u property:depicts ?w } } GROUP BY ?w } . FILTER ( ?o = 20 ) }
[]
name media print
SYSTEM
2
Q5 Q726
(c(Q340169)|c(Q11060274),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
value 20
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) ?w WHERE { { ?w rdf:type ontology:Q82799 . ?u rdf:type ontology:Q11060274 . ?u property:P180 ?w } UNION { ?w rdf:type ontology:Q82799 . ?u rdf:type ontology:Q340169 . ?u property:P180 ?w } } GROUP BY ?w } . FILTER ( ?o = 20 ) }
human horse
2
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type media
action find_reverse_tuple_counts
relation depicts
type name
type print
value 20
[[{'concept': 'media'}, {'concept': 'print'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) ?w WHERE { { ?w rdf:type ontology:name . ?u rdf:type ontology:print . ?u property:depicts ?w } UNION { ?w rdf:type ontology:name . ?u rdf:type ontology:media . ?u property:depicts ?w } } GROUP BY ?w } . FILTER ( ?o = 20 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q31 Q1721
P610
Q14524493
USER
How many terrains are the highest peak of Belgium or Wiesbaden ?
(Q31,P610,c(Q14524493)) (Q1721,P610,c(Q14524493))
action count
action union
action filter_type
action find
entity Q31
relation P610
type Q14524493
action filter_type
action find
entity Q1721
relation P610
type Q14524493
['Q31', 'P610', {'concept': 'Q14524493'}] ['Q1721', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?m property:P610 ?v . VALUES ( ?m ) { ( resource:Q1721 ) ( resource:Q31 ) } }
Belgium Wiesbaden
action count
action union
action filter_type
action find
entity Belgium
relation highest point
type terrain
action filter_type
action find
entity Wiesbaden
relation highest point
type terrain
['Belgium', 'highest point', {'concept': 'terrain'}] ['Wiesbaden', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?m property:highest_point ?v . VALUES ( ?m ) { ( resource:Wiesbaden ) ( resource:Belgium ) } }
[]
terrain
SYSTEM
2
Q322824 Q603680
(Q31,P610,c(Q14524493)) (Q1721,P610,c(Q14524493))
action count
action union
action filter_type
action find
entity Q31
relation P610
type Q14524493
action filter_type
action find
entity Q1721
relation P610
type Q14524493
[ANSWER]
['Q31', 'P610', {'concept': 'Q14524493'}] ['Q1721', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?m property:P610 ?v . VALUES ( ?m ) { ( resource:Q1721 ) ( resource:Q31 ) } }
Signal de Botrange Hohe Wurzel
2
action count
action union
action filter_type
action find
entity Belgium
relation highest point
type terrain
action filter_type
action find
entity Wiesbaden
relation highest point
type terrain
['Belgium', 'highest point', {'concept': 'terrain'}] ['Wiesbaden', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { ?m property:highest_point ?v . VALUES ( ?m ) { ( resource:Wiesbaden ) ( resource:Belgium ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1193320 Q11596483
P27 P495
Q15617994
USER
Which administrative territories are the native countriesof Mamoru Inagaki or are the countries of origin of Coup de Grâce ?
OR((Q11596483,P27,c(Q15617994)), (Q1193320,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q11596483
relation P27
action find
entity Q1193320
relation P495
type Q15617994
{'OR': [['Q11596483', 'P27', {'concept': 'Q15617994'}], ['Q1193320', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q11596483 property:P27 ?u } UNION { resource:Q1193320 property:P495 ?u } } . ?u rdf:type ontology:Q15617994 }
Coup de Grâce Mamoru Inagaki
action filter_type
action union
action find
entity Mamoru Inagaki
relation country of citizenship
action find
entity Coup de Grâce
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Mamoru Inagaki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Coup de Grâce', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Mamoru_Inagaki property:country_of_citizenship ?u } UNION { resource:Coup_de_Grâce property:country_of_origin ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q17
SYSTEM
France, Japan
Q142 Q17
OR((Q11596483,P27,c(Q15617994)), (Q1193320,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q11596483
relation P27
action find
entity Q1193320
relation P495
type Q15617994
[ANSWERS] are the native countriesof Mamoru Inagaki or are the countries of origin of Coup de Grâce
{'OR': [['Q11596483', 'P27', {'concept': 'Q15617994'}], ['Q1193320', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q11596483 property:P27 ?u } UNION { resource:Q1193320 property:P495 ?u } } . ?u rdf:type ontology:Q15617994 }
France Japan
France and Japan are the native countriesof Mamoru Inagaki or are the countries of origin of Coup de Grâce
France Japan
action filter_type
action union
action find
entity Mamoru Inagaki
relation country of citizenship
action find
entity Coup de Grâce
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Mamoru Inagaki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Coup de Grâce', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Mamoru_Inagaki property:country_of_citizenship ?u } UNION { resource:Coup_de_Grâce property:country_of_origin ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16231332 Q11596523
P136 P106
Q151885
USER
Which concepts are the professions of Bernard Ryosuke Inagaki or can be considered as genre of Illa J ?
OR((Q11596523,P106,c(Q151885)), (Q16231332,P136,c(Q151885)))
action filter_type
action union
action find
entity Q11596523
relation P106
action find
entity Q16231332
relation P136
type Q151885
{'OR': [['Q11596523', 'P106', {'concept': 'Q151885'}], ['Q16231332', 'P136', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q11596523 property:P106 ?a } UNION { resource:Q16231332 property:P136 ?a } } . ?a rdf:type ontology:Q151885 }
Illa J Bernard Ryosuke Inagaki
action filter_type
action union
action find
entity Bernard Ryosuke Inagaki
relation occupation
action find
entity Illa J
relation genre
type concept
{'OR': [['Bernard Ryosuke Inagaki', 'occupation', {'concept': 'concept'}], ['Illa J', 'genre', {'concept': 'concept'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Bernard_Ryosuke_Inagaki property:occupation ?a } UNION { resource:Illa_J property:genre ?a } } . ?a rdf:type ontology:concept }
[]
concept
Q4964182 Q11401
SYSTEM
philosopher, hip hop
Q4964182 Q11401
OR((Q11596523,P106,c(Q151885)), (Q16231332,P136,c(Q151885)))
action filter_type
action union
action find
entity Q11596523
relation P106
action find
entity Q16231332
relation P136
type Q151885
[ANSWERS] are the professions of Bernard Ryosuke Inagaki or can be considered as genre of Illa J
{'OR': [['Q11596523', 'P106', {'concept': 'Q151885'}], ['Q16231332', 'P136', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q11596523 property:P106 ?a } UNION { resource:Q16231332 property:P136 ?a } } . ?a rdf:type ontology:Q151885 }
philosopher hip hop
Philosopher and hip hop are the professions of Bernard Ryosuke Inagaki or can be considered as genre of Illa J
philosopher hip hop
action filter_type
action union
action find
entity Bernard Ryosuke Inagaki
relation occupation
action find
entity Illa J
relation genre
type concept
{'OR': [['Bernard Ryosuke Inagaki', 'occupation', {'concept': 'concept'}], ['Illa J', 'genre', {'concept': 'concept'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Bernard_Ryosuke_Inagaki property:occupation ?a } UNION { resource:Illa_J property:genre ?a } } . ?a rdf:type ontology:concept }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P425
Q451967 Q180684 Q151885
USER
Which concepts have greater number of human actions or conflicts as thier field of occupation than that concept ?
(c(Q151885),P425,c(Q451967)|c(Q180684))
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q451967'}, {'concept': 'Q180684'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P425 ?y } UNION { ?z property:P425 ?x } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q451967 . ?x rdf:type ontology:Q4231815 }
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'human action'}, {'concept': 'conflict'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:field_of_this_occupation ?y } UNION { ?z property:field_of_this_occupation ?x } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:human_action . ?x rdf:type ontology:conflict }
[]
human action conflict concept
Comparative|More/Less|Mult. entity type|Clarification
Q4964182
SYSTEM
Did you mean philosopher ?
(c(Q151885),P425,c(Q451967)|c(Q180684))
[ANSWER]
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q451967'}, {'concept': 'Q180684'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P425 ?y } UNION { ?z property:P425 ?x } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q451967 . ?x rdf:type ontology:Q4231815 }
Did you mean philosopher ?
philosopher
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'human action'}, {'concept': 'conflict'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:field_of_this_occupation ?y } UNION { ?z property:field_of_this_occupation ?x } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:human_action . ?x rdf:type ontology:conflict }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q151885),P425,c(Q451967)|c(Q180684))
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q451967'}, {'concept': 'Q180684'}]]
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'human action'}, {'concept': 'conflict'}]]
[]
SYSTEM
2
Q15962734 Q15954665
(c(Q151885),P425,c(Q451967)|c(Q180684))
[ANSWER]
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q451967'}, {'concept': 'Q180684'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P425 ?y } UNION { ?z property:P425 ?x } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q451967 . ?x rdf:type ontology:Q4231815 }
mutineer antisemit
2
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'human action'}, {'concept': 'conflict'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:field_of_this_occupation ?y } UNION { ?z property:field_of_this_occupation ?x } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:human_action . ?x rdf:type ontology:conflict }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4252400 Q11596510
P19
Q56061
USER
Which administrative territories are the birthplace of Ayao Inagaki or Mehmet Akif Pasha ?
OR((Q11596510,P19,c(Q56061)), (Q4252400,P19,c(Q56061)))
action filter_type
action union
action find
entity Q11596510
relation P19
action find
entity Q4252400
relation P19
type Q56061
{'OR': [['Q11596510', 'P19', {'concept': 'Q56061'}], ['Q4252400', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q4252400 property:P19 ?e } UNION { resource:Q11596510 property:P19 ?e } } . ?e rdf:type ontology:Q56061 }
Mehmet Akif Pasha Ayao Inagaki
action filter_type
action union
action find
entity Ayao Inagaki
relation place of birth
action find
entity Mehmet Akif Pasha
relation place of birth
type administrative territorial entity
{'OR': [['Ayao Inagaki', 'place of birth', {'concept': 'administrative territorial entity'}], ['Mehmet Akif Pasha', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Mehmet_Akif_Pasha property:place_of_birth ?e } UNION { resource:Ayao_Inagaki property:place_of_birth ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q200747 Q157024
SYSTEM
Wakayama, Tetovo
Q200747 Q157024
OR((Q11596510,P19,c(Q56061)), (Q4252400,P19,c(Q56061)))
action filter_type
action union
action find
entity Q11596510
relation P19
action find
entity Q4252400
relation P19
type Q56061
[ANSWERS] are the birthplace of Ayao Inagaki or Mehmet Akif Pasha
{'OR': [['Q11596510', 'P19', {'concept': 'Q56061'}], ['Q4252400', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q4252400 property:P19 ?e } UNION { resource:Q11596510 property:P19 ?e } } . ?e rdf:type ontology:Q56061 }
Wakayama Tetovo
Wakayama and Tetovo are the birthplace of Ayao Inagaki or Mehmet Akif Pasha
Wakayama Tetovo
action filter_type
action union
action find
entity Ayao Inagaki
relation place of birth
action find
entity Mehmet Akif Pasha
relation place of birth
type administrative territorial entity
{'OR': [['Ayao Inagaki', 'place of birth', {'concept': 'administrative territorial entity'}], ['Mehmet Akif Pasha', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Mehmet_Akif_Pasha property:place_of_birth ?e } UNION { resource:Ayao_Inagaki property:place_of_birth ?e } } . ?e rdf:type ontology:administrative_territorial_entity }
[]