Simple Question (Direct)
Simple Question
Q323609
P27
Q15617994
USER
Which administrative territory does Makoto Shinohara belong to ?
(Q323609,P27,c(Q15617994))
action filter_type
action find
entity Q323609
relation P27
type Q15617994
['Q323609', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q323609 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Makoto Shinohara
action filter_type
action find
entity Makoto Shinohara
relation country of citizenship
type designation for an administrative territorial entity
['Makoto Shinohara', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Makoto_Shinohara property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q323609,P27,c(Q15617994))
action filter_type
action find
entity Q323609
relation P27
type Q15617994
Makoto Shinohara belongs to [ANSWER]
['Q323609', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q323609 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Japan
Makoto Shinohara belongs to Japan
Japan
action filter_type
action find
entity Makoto Shinohara
relation country of citizenship
type designation for an administrative territorial entity
['Makoto Shinohara', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Makoto_Shinohara property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q323609
P734
Q82799
USER
Who is associated with that person ?
(Q17,P734,c(Q82799))
action filter_type
action find
entity Q323609
relation P734
type Q82799
['Q17', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q323609 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Makoto Shinohara
action filter_type
action find
entity Makoto Shinohara
relation family name
type name
['Japan', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Makoto_Shinohara property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q21507571
SYSTEM
Shinohara
Q21507571
(Q17,P734,c(Q82799))
action filter_type
action find
entity Q323609
relation P734
type Q82799
[ANSWER] is associated with that person
['Q17', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q323609 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Shinohara
Shinohara is associated with that person
Shinohara
action filter_type
action find
entity Makoto Shinohara
relation family name
type name
['Japan', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Makoto_Shinohara property:family_name ?w . ?w rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q536617 Q17
P47 P27
Q15617994
USER
Which administrative territories are adjacent to Japan and are the native countriesof Xiao Guodong ?
AND((Q17,P47,c(Q15617994)), (Q536617,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q17
relation P47
action find
entity Q536617
relation P27
type Q15617994
{'AND': [['Q17', 'P47', {'concept': 'Q15617994'}], ['Q536617', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q536617 property:P27 ?k . resource:Q17 property:P47 ?k . ?k rdf:type ontology:Q15617994 }
Xiao Guodong Japan
action filter_type
action intersection
action find
entity Japan
relation shares border with
action find
entity Xiao Guodong
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Japan', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Xiao Guodong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Xiao_Guodong property:country_of_citizenship ?k . resource:Japan property:shares_border_with ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
AND((Q17,P47,c(Q15617994)), (Q536617,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q17
relation P47
action find
entity Q536617
relation P27
type Q15617994
[ANSWER] is adjacent to Japan and is the native countriesof Xiao Guodong
{'AND': [['Q17', 'P47', {'concept': 'Q15617994'}], ['Q536617', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q536617 property:P27 ?k . resource:Q17 property:P47 ?k . ?k rdf:type ontology:Q15617994 }
People's Republic of China
People's Republic of China is adjacent to Japan and is the native countriesof Xiao Guodong
People's Republic of China
action filter_type
action intersection
action find
entity Japan
relation shares border with
action find
entity Xiao Guodong
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Japan', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Xiao Guodong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Xiao_Guodong property:country_of_citizenship ?k . resource:Japan property:shares_border_with ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148
P127
Q43229
USER
Which organizations are under posessision of that administrative territory ?
(c(Q43229),P127,Q148)
action filter_type
action find_reverse
entity Q148
relation P127
type Q43229
[{'concept': 'Q43229'}, 'P127', 'Q148']
SELECT DISTINCT ?b WHERE { ?b property:P127 resource:Q148 . ?b rdf:type ontology:Q43229 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', "People's Republic of China"]
SELECT DISTINCT ?b WHERE { ?b property:owned_by resource:People's_Republic_of_China . ?b rdf:type ontology:organization }
[]
organization
Q1068485 Q591001 Q1003789
SYSTEM
China Unicom, Chery, China Tobacco
Q1003789 Q18426341 Q1068485 Q591001 Q6202545
(c(Q43229),P127,Q148)
action filter_type
action find_reverse
entity Q148
relation P127
type Q43229
[ANSWERS] are under posessision of that administrative territory
[{'concept': 'Q43229'}, 'P127', 'Q148']
SELECT DISTINCT ?b WHERE { ?b property:P127 resource:Q148 . ?b rdf:type ontology:Q43229 }
China Tobacco Consulate General of China, Gdansk China Unicom Chery Jinjiang International
China Unicom, Chery and China Tobacco are under posessision of that administrative territory
China Unicom Chery China Tobacco
action filter_type
action find_reverse
entity People's Republic of China
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', "People's Republic of China"]
SELECT DISTINCT ?b WHERE { ?b property:owned_by resource:People's_Republic_of_China . ?b rdf:type ontology:organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q21508058
P138
Q82799 Q15619164 Q82799
USER
Which names have greater number of names and abstract beings as their namesake than Delaroche ?
(c(Q82799),P138,c(Q82799)|c(Q15619164))
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q82799
action find_tuple_counts
relation P138
type Q82799
type Q15619164
action count
action filter_multi_types
action find
entity Q21508058
relation P138
type Q82799
type Q15619164
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?a > ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Q21508058 property:P138 ?j . { VALUES ( ?q ) { ( ontology:Q82799 ) ( ontology:Q15619164 ) } . ?j rdf:type ?q } } } . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ?l . VALUES ( ?l ) { ( ontology:Q82799 ) ( ontology:Q15619164 ) } } GROUP BY ?y } }
Delaroche
action greater
action union
action find_tuple_counts
relation named after
type name
type name
action find_tuple_counts
relation named after
type name
type abstract being
action count
action filter_multi_types
action find
entity Delaroche
relation named after
type name
type abstract being
[{'concept': 'name'}, 'named after', [{'concept': 'name'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?a > ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Delaroche property:named_after ?j . { VALUES ( ?q ) { ( ontology:name ) ( ontology:abstract_being ) } . ?j rdf:type ?q } } } . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ?l . VALUES ( ?l ) { ( ontology:name ) ( ontology:abstract_being ) } } GROUP BY ?y } }
[]
name abstract being name
Q1069827 Q23727105 Q21507928
SYSTEM
Rosario, Poisson, Mouton
Q23727105 Q18043344 Q1069827 Q25115046 Q17747435 Q21507928 Q17643158 Q20818054 Q20963077
(c(Q82799),P138,c(Q82799)|c(Q15619164))
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q82799
action find_tuple_counts
relation P138
type Q82799
type Q15619164
action count
action filter_multi_types
action find
entity Q21508058
relation P138
type Q82799
type Q15619164
[ANSWERS] have greater number of names and abstract beings as their namesake than Delaroche
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?a > ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Q21508058 property:P138 ?j . { VALUES ( ?q ) { ( ontology:Q82799 ) ( ontology:Q15619164 ) } . ?j rdf:type ?q } } } . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ?l . VALUES ( ?l ) { ( ontology:Q82799 ) ( ontology:Q15619164 ) } } GROUP BY ?y } }
Poisson Renard Rosario Louarn Ruzena Mouton If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Giolla Íosa Aryaman
Rosario, Poisson and Mouton have greater number of names and abstract beings as their namesake than Delaroche
Rosario Poisson Mouton
action greater
action union
action find_tuple_counts
relation named after
type name
type name
action find_tuple_counts
relation named after
type name
type abstract being
action count
action filter_multi_types
action find
entity Delaroche
relation named after
type name
type abstract being
[{'concept': 'name'}, 'named after', [{'concept': 'name'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?a > ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { resource:Delaroche property:named_after ?j . { VALUES ( ?q ) { ( ontology:name ) ( ontology:abstract_being ) } . ?j rdf:type ?q } } } . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ?l . VALUES ( ?l ) { ( ontology:name ) ( ontology:abstract_being ) } } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1370531
P138
Q82799 Q15619164 Q82799
USER
And how about Meister (surname)?
(c(Q82799),P138,c(Q82799)|c(Q15619164))
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q82799
action find_tuple_counts
relation P138
type Q82799
type Q15619164
action count
action filter_multi_types
action find
entity Q1370531
relation P138
type Q82799
type Q15619164
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) ?z WHERE { { ?i rdf:type ontology:Q82799 . ?z rdf:type ontology:Q82799 . ?z property:P138 ?i } UNION { ?z property:P138 ?i . ?z rdf:type ontology:Q82799 . ?i rdf:type ontology:Q15619164 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Q1370531 property:P138 ?m . { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:Q15619164 ) ( ontology:Q82799 ) } } } } . FILTER ( ?l > ?a ) }
Meister (surname)
action greater
action union
action find_tuple_counts
relation named after
type name
type name
action find_tuple_counts
relation named after
type name
type abstract being
action count
action filter_multi_types
action find
entity Meister (surname)
relation named after
type name
type abstract being
[{'concept': 'name'}, 'named after', [{'concept': 'name'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) ?z WHERE { { ?i rdf:type ontology:name . ?z rdf:type ontology:name . ?z property:named_after ?i } UNION { ?z property:named_after ?i . ?z rdf:type ontology:name . ?i rdf:type ontology:abstract_being } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Meister_(surname) property:named_after ?m . { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:abstract_being ) ( ontology:name ) } } } } . FILTER ( ?l > ?a ) }
[]
name abstract being name
Q1069827 Q23727105 Q21507928
SYSTEM
Rosario, Poisson, Mouton
Q23727105 Q18043344 Q1069827 Q25115046 Q17747435 Q21507928 Q17643158 Q20818054 Q20963077
(c(Q82799),P138,c(Q82799)|c(Q15619164))
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q82799
action find_tuple_counts
relation P138
type Q82799
type Q15619164
action count
action filter_multi_types
action find
entity Q1370531
relation P138
type Q82799
type Q15619164
[ANSWERS]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) ?z WHERE { { ?i rdf:type ontology:Q82799 . ?z rdf:type ontology:Q82799 . ?z property:P138 ?i } UNION { ?z property:P138 ?i . ?z rdf:type ontology:Q82799 . ?i rdf:type ontology:Q15619164 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Q1370531 property:P138 ?m . { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:Q15619164 ) ( ontology:Q82799 ) } } } } . FILTER ( ?l > ?a ) }
Poisson Renard Rosario Louarn Ruzena Mouton If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Giolla Íosa Aryaman
Rosario Poisson Mouton
action greater
action union
action find_tuple_counts
relation named after
type name
type name
action find_tuple_counts
relation named after
type name
type abstract being
action count
action filter_multi_types
action find
entity Meister (surname)
relation named after
type name
type abstract being
[{'concept': 'name'}, 'named after', [{'concept': 'name'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) ?z WHERE { { ?i rdf:type ontology:name . ?z rdf:type ontology:name . ?z property:named_after ?i } UNION { ?z property:named_after ?i . ?z rdf:type ontology:name . ?i rdf:type ontology:abstract_being } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Meister_(surname) property:named_after ?m . { ?m rdf:type ?n . VALUES ( ?n ) { ( ontology:abstract_being ) ( ontology:name ) } } } } . FILTER ( ?l > ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2092297
P180
Q82799 Q17335294 Q18783400
USER
Which names are depicted in less number of coats of arms or genres of sculpture than eagle ?
(c(Q17335294)|c(Q18783400),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q2092297
relation P180
type Q17335294
type Q18783400
[[{'concept': 'Q17335294'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?x ) { ( ontology:Q17335294 ) ( ontology:Q18783400 ) } . ?n rdf:type ?x } GROUP BY ?u } . FILTER ( ?h < ?z ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { { ?k rdf:type ontology:Q17335294 } UNION { ?k rdf:type ontology:Q18783400 } } . ?k property:P180 resource:Q2092297 } } }
eagle
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity eagle
relation depicts
type flag or coat of arms
type genre of sculpture
[[{'concept': 'flag or coat of arms'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?x ) { ( ontology:flag_or_coat_of_arms ) ( ontology:genre_of_sculpture ) } . ?n rdf:type ?x } GROUP BY ?u } . FILTER ( ?h < ?z ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { { ?k rdf:type ontology:flag_or_coat_of_arms } UNION { ?k rdf:type ontology:genre_of_sculpture } } . ?k property:depicts resource:eagle } } }
[]
name flag or coat of arms genre of sculpture
Q1807269 Q876933 Q152
SYSTEM
leek, magi, fish
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q17335294)|c(Q18783400),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q2092297
relation P180
type Q17335294
type Q18783400
[ANSWERS] are depicted in less number of coats of arms or genres of sculpture than eagle
[[{'concept': 'Q17335294'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?x ) { ( ontology:Q17335294 ) ( ontology:Q18783400 ) } . ?n rdf:type ?x } GROUP BY ?u } . FILTER ( ?h < ?z ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { { ?k rdf:type ontology:Q17335294 } UNION { ?k rdf:type ontology:Q18783400 } } . ?k property:P180 resource:Q2092297 } } }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Leek, magi and fish are depicted in less number of coats of arms or genres of sculpture than eagle
leek magi fish
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity eagle
relation depicts
type flag or coat of arms
type genre of sculpture
[[{'concept': 'flag or coat of arms'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?x ) { ( ontology:flag_or_coat_of_arms ) ( ontology:genre_of_sculpture ) } . ?n rdf:type ?x } GROUP BY ?u } . FILTER ( ?h < ?z ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { { ?k rdf:type ontology:flag_or_coat_of_arms } UNION { ?k rdf:type ontology:genre_of_sculpture } } . ?k property:depicts resource:eagle } } }
[]