Simple Question (Direct)
Simple Question
Q16336004
P19
Q56061
USER
Which administrative territory is the birthplace of Shigeo Minowa ?
(Q16336004,P19,c(Q56061))
action filter_type
action find
entity Q16336004
relation P19
type Q56061
['Q16336004', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q16336004 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Shigeo Minowa
action filter_type
action find
entity Shigeo Minowa
relation place of birth
type administrative territorial entity
['Shigeo Minowa', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Shigeo_Minowa property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1490
SYSTEM
Tokyo
Q1490
(Q16336004,P19,c(Q56061))
action filter_type
action find
entity Q16336004
relation P19
type Q56061
[ANSWER] is the birthplace of Shigeo Minowa
['Q16336004', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q16336004 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Tokyo
Tokyo is the birthplace of Shigeo Minowa
Tokyo
action filter_type
action find
entity Shigeo Minowa
relation place of birth
type administrative territorial entity
['Shigeo Minowa', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Shigeo_Minowa property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16336004
P734
Q82799
USER
Who has the surname that person ?
(Q1490,P734,c(Q82799))
action filter_type
action find
entity Q16336004
relation P734
type Q82799
['Q1490', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q16336004 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Shigeo Minowa
action filter_type
action find
entity Shigeo Minowa
relation family name
type name
['Tokyo', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Shigeo_Minowa property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q16877190
SYSTEM
Minowa
Q16877190
(Q1490,P734,c(Q82799))
action filter_type
action find
entity Q16336004
relation P734
type Q82799
[ANSWER] has the surname that person
['Q1490', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q16336004 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Minowa
Minowa has the surname that person
Minowa
action filter_type
action find
entity Shigeo Minowa
relation family name
type name
['Tokyo', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Shigeo_Minowa property:family_name ?i . ?i rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q858243
P180
Q82799 Q11060274 Q3305213
USER
Which names are expressed in around the same number of prints or paintings as Tree squirrel ?
(c(Q11060274)|c(Q3305213),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q858243
relation P180
type Q11060274
type Q3305213
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?m WHERE { VALUES ( ?a ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } . ?z rdf:type ?a } GROUP BY ?m } . FILTER ( ?u = ?n ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P180 resource:Q858243 . { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } } } } }
Tree squirrel
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity Tree squirrel
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?m WHERE { VALUES ( ?a ) { ( ontology:painting ) ( ontology:print ) } . ?z rdf:type ?a } GROUP BY ?m } . FILTER ( ?u = ?n ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:depicts resource:Tree_squirrel . { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:painting ) ( ontology:print ) } } } } }
[]
name print painting
Q1807269 Q876933 Q152
SYSTEM
leek, magi, fish
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q11060274)|c(Q3305213),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q858243
relation P180
type Q11060274
type Q3305213
[ANSWERS] are expressed in around the same number of prints or paintings as Tree squirrel
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?m WHERE { VALUES ( ?a ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } . ?z rdf:type ?a } GROUP BY ?m } . FILTER ( ?u = ?n ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P180 resource:Q858243 . { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } } } } }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Leek, magi and fish are expressed in around the same number of prints or paintings as Tree squirrel
leek magi fish
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity Tree squirrel
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) ?m WHERE { VALUES ( ?a ) { ( ontology:painting ) ( ontology:print ) } . ?z rdf:type ?a } GROUP BY ?m } . FILTER ( ?u = ?n ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:depicts resource:Tree_squirrel . { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:painting ) ( ontology:print ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q41692
P180
Q82799 Q11060274 Q3305213
USER
And also tell me about mule?
(c(Q11060274)|c(Q3305213),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q41692
relation P180
type Q11060274
type Q3305213
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?w ) WHERE { VALUES ( ?i ) { ( ontology:Q11060274 ) ( ontology:Q3305213 ) } . ?c rdf:type ?i } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P180 resource:Q41692 . { { ?y rdf:type ontology:Q11060274 } UNION { ?y rdf:type ontology:Q3305213 } } } } . FILTER ( ?w = ?r ) }
mule
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity mule
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?w ) WHERE { VALUES ( ?i ) { ( ontology:print ) ( ontology:painting ) } . ?c rdf:type ?i } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:depicts resource:mule . { { ?y rdf:type ontology:print } UNION { ?y rdf:type ontology:painting } } } } . FILTER ( ?w = ?r ) }
[]
name print painting
Q1807269 Q876933 Q152
SYSTEM
leek, magi, fish
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q11060274)|c(Q3305213),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q41692
relation P180
type Q11060274
type Q3305213
[ANSWERS]
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?w ) WHERE { VALUES ( ?i ) { ( ontology:Q11060274 ) ( ontology:Q3305213 ) } . ?c rdf:type ?i } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P180 resource:Q41692 . { { ?y rdf:type ontology:Q11060274 } UNION { ?y rdf:type ontology:Q3305213 } } } } . FILTER ( ?w = ?r ) }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
leek magi fish
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type painting
action count
action filter_multi_types
action find_reverse
entity mule
relation depicts
type print
type painting
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?w ) WHERE { VALUES ( ?i ) { ( ontology:print ) ( ontology:painting ) } . ?c rdf:type ?i } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:depicts resource:mule . { { ?y rdf:type ontology:print } UNION { ?y rdf:type ontology:painting } } } } . FILTER ( ?w = ?r ) }
[]