Simple Question (Direct)
Simple Question
Q11678327
P21
Q290
USER
Which sex does Momoko Kuroki have ?
(Q11678327,P21,c(Q290))
action filter_type
action find
entity Q11678327
relation P21
type Q290
['Q11678327', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q11678327 property:P21 ?l . ?l rdf:type ontology:Q290 }
Momoko Kuroki
action filter_type
action find
entity Momoko Kuroki
relation gender
type sex
['Momoko Kuroki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Momoko_Kuroki property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q11678327,P21,c(Q290))
action filter_type
action find
entity Q11678327
relation P21
type Q290
Momoko Kuroki has a [ANSWER]
['Q11678327', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q11678327 property:P21 ?l . ?l rdf:type ontology:Q290 }
female
Momoko Kuroki has a female
female
action filter_type
action find
entity Momoko Kuroki
relation gender
type sex
['Momoko Kuroki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Momoko_Kuroki property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11678327
P734
Q82799
USER
Who is associated with that person ?
(Q6581072,P734,c(Q82799))
action filter_type
action find
entity Q11678327
relation P734
type Q82799
['Q6581072', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q11678327 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Momoko Kuroki
action filter_type
action find
entity Momoko Kuroki
relation family name
type name
['female', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Momoko_Kuroki property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q21510698
SYSTEM
Kuroki
Q21510698
(Q6581072,P734,c(Q82799))
action filter_type
action find
entity Q11678327
relation P734
type Q82799
To [ANSWER] is associated with that person
['Q6581072', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q11678327 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Kuroki
To Kuroki is associated with that person
Kuroki
action filter_type
action find
entity Momoko Kuroki
relation family name
type name
['female', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Momoko_Kuroki property:family_name ?j . ?j rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q15982935 Q11678327
P734
Q82799
USER
Or Carlo Cattaneo?
OR((Q11678327,P734,c(Q82799)), (Q15982935,P734,c(Q82799)))
action filter_type
action union
action find
entity Q11678327
relation P734
action find
entity Q15982935
relation P734
type Q82799
{'OR': [['Q11678327', 'P734', {'concept': 'Q82799'}], ['Q15982935', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . { { resource:Q15982935 property:P734 ?p } UNION { resource:Q11678327 property:P734 ?p } } }
Carlo Cattaneo Momoko Kuroki
action filter_type
action union
action find
entity Momoko Kuroki
relation family name
action find
entity Carlo Cattaneo
relation family name
type name
{'OR': [['Momoko Kuroki', 'family name', {'concept': 'name'}], ['Carlo Cattaneo', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . { { resource:Carlo_Cattaneo property:family_name ?p } UNION { resource:Momoko_Kuroki property:family_name ?p } } }
[]
name
Q21510698 Q21452595
SYSTEM
Kuroki, Cattaneo
Q21510698 Q21452595
OR((Q11678327,P734,c(Q82799)), (Q15982935,P734,c(Q82799)))
action filter_type
action union
action find
entity Q11678327
relation P734
action find
entity Q15982935
relation P734
type Q82799
[ANSWERS]
{'OR': [['Q11678327', 'P734', {'concept': 'Q82799'}], ['Q15982935', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . { { resource:Q15982935 property:P734 ?p } UNION { resource:Q11678327 property:P734 ?p } } }
Kuroki Cattaneo
Kuroki Cattaneo
action filter_type
action union
action find
entity Momoko Kuroki
relation family name
action find
entity Carlo Cattaneo
relation family name
type name
{'OR': [['Momoko Kuroki', 'family name', {'concept': 'name'}], ['Carlo Cattaneo', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . { { resource:Carlo_Cattaneo property:family_name ?p } UNION { resource:Momoko_Kuroki property:family_name ?p } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2258881
P180
Q82799 Q838948 Q340169
USER
How many names are demonstrated in approximately the same number of works of art or medias as trout ?
(c(Q838948)|c(Q340169),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q2258881
relation P180
type Q838948
type Q340169
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:P180 resource:Q2258881 . { { ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q340169 } } } } . FILTER ( ?q = ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) ?k WHERE { { ?o property:P180 ?k . ?k rdf:type ontology:Q82799 . ?o rdf:type ontology:Q838948 } UNION { ?o property:P180 ?k . ?k rdf:type ontology:Q82799 . ?o rdf:type ontology:Q340169 } } GROUP BY ?k } }
trout
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity trout
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:depicts resource:trout . { { ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:media } } } } . FILTER ( ?q = ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) ?k WHERE { { ?o property:depicts ?k . ?k rdf:type ontology:name . ?o rdf:type ontology:work_of_art } UNION { ?o property:depicts ?k . ?k rdf:type ontology:name . ?o rdf:type ontology:media } } GROUP BY ?k } }
[]
name work of art media
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 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(Q838948)|c(Q340169),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q2258881
relation P180
type Q838948
type Q340169
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:P180 resource:Q2258881 . { { ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q340169 } } } } . FILTER ( ?q = ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) ?k WHERE { { ?o property:P180 ?k . ?k rdf:type ontology:Q82799 . ?o rdf:type ontology:Q838948 } UNION { ?o property:P180 ?k . ?k rdf:type ontology:Q82799 . ?o rdf:type ontology:Q340169 } } GROUP BY ?k } }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog 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
54
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity trout
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:depicts resource:trout . { { ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:media } } } } . FILTER ( ?q = ?h ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) ?k WHERE { { ?o property:depicts ?k . ?k rdf:type ontology:name . ?o rdf:type ontology:work_of_art } UNION { ?o property:depicts ?k . ?k rdf:type ontology:name . ?o rdf:type ontology:media } } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q858243
P180
Q82799 Q838948 Q340169
USER
And how about Tree squirrel?
(c(Q838948)|c(Q340169),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q858243
relation P180
type Q838948
type Q340169
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:P180 resource:Q858243 . { VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } . ?z rdf:type ?y } } } . FILTER ( ?e = ?n ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?e ) WHERE { { ?g property:P180 ?t . ?t rdf:type ontology:Q82799 . ?g rdf:type ontology:Q340169 } UNION { ?g property:P180 ?t . ?t rdf:type ontology:Q82799 . ?g rdf:type ontology:Q838948 } } GROUP BY ?t } }
Tree squirrel
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity Tree squirrel
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:depicts resource:Tree_squirrel . { VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:media ) } . ?z rdf:type ?y } } } . FILTER ( ?e = ?n ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?e ) WHERE { { ?g property:depicts ?t . ?t rdf:type ontology:name . ?g rdf:type ontology:media } UNION { ?g property:depicts ?t . ?t rdf:type ontology:name . ?g rdf:type ontology:work_of_art } } GROUP BY ?t } }
[]
name work of art media
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 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(Q838948)|c(Q340169),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q858243
relation P180
type Q838948
type Q340169
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:P180 resource:Q858243 . { VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } . ?z rdf:type ?y } } } . FILTER ( ?e = ?n ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?e ) WHERE { { ?g property:P180 ?t . ?t rdf:type ontology:Q82799 . ?g rdf:type ontology:Q340169 } UNION { ?g property:P180 ?t . ?t rdf:type ontology:Q82799 . ?g rdf:type ontology:Q838948 } } GROUP BY ?t } }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog 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
54
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity Tree squirrel
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:depicts resource:Tree_squirrel . { VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:media ) } . ?z rdf:type ?y } } } . FILTER ( ?e = ?n ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?e ) WHERE { { ?g property:depicts ?t . ?t rdf:type ontology:name . ?g rdf:type ontology:media } UNION { ?g property:depicts ?t . ?t rdf:type ontology:name . ?g rdf:type ontology:work_of_art } } GROUP BY ?t } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11678327
P27
Q15617994
USER
Which administrative territory is the native country of Momoko Kuroki ?
(Q11678327,P27,c(Q15617994))
action filter_type
action find
entity Q11678327
relation P27
type Q15617994
['Q11678327', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q11678327 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Momoko Kuroki
action filter_type
action find
entity Momoko Kuroki
relation country of citizenship
type designation for an administrative territorial entity
['Momoko Kuroki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Momoko_Kuroki property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11678327,P27,c(Q15617994))
action filter_type
action find
entity Q11678327
relation P27
type Q15617994
In [ANSWER] is the native country of Momoko Kuroki
['Q11678327', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q11678327 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Japan
In Japan is the native country of Momoko Kuroki
Japan
action filter_type
action find
entity Momoko Kuroki
relation country of citizenship
type designation for an administrative territorial entity
['Momoko Kuroki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Momoko_Kuroki property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q13563229
Q15617994
USER
And how about Julia K. Wetherill Baker?
(Q13563229,P27,c(Q15617994))
action filter_type
action find
entity Q13563229
relation P27
type Q15617994
['Q13563229', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q13563229 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Julia K. Wetherill Baker
action filter_type
action find
entity Julia K. Wetherill Baker
relation country of citizenship
type designation for an administrative territorial entity
['Julia K. Wetherill Baker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Julia_K._Wetherill_Baker property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q13563229,P27,c(Q15617994))
action filter_type
action find
entity Q13563229
relation P27
type Q15617994
[ANSWER]
['Q13563229', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q13563229 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Julia K. Wetherill Baker
relation country of citizenship
type designation for an administrative territorial entity
['Julia K. Wetherill Baker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Julia_K._Wetherill_Baker property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q2342494
USER
Which administrative territories are the origins of less number of works of art or collectables than that administrative territory ?
(c(Q838948)|c(Q2342494),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:P495 resource:Q30 . { VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?f rdf:type ?u } } } . FILTER ( ?a < ?j ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?k } }
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:country_of_origin resource:United_States_of_America . { VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?f rdf:type ?u } } } . FILTER ( ?a < ?j ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?k } }
[]
designation for an administrative territorial entity work of art collectable
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q838948)|c(Q2342494),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q838948
type Q2342494
[ANSWERS] are the origins of less number of works of art or collectables than that administrative territory
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:P495 resource:Q30 . { VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?f rdf:type ?u } } } . FILTER ( ?a < ?j ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?k } }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the origins of less number of works of art or collectables than that administrative territory
Italy Brazil Georgia
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:country_of_origin resource:United_States_of_America . { VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?f rdf:type ?u } } } . FILTER ( ?a < ?j ) . { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?a ) WHERE { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?k } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q21452595
P734 P21
Q502895
USER
Which people have Cattaneo as surname and are a male ?
AND((c(Q502895),P734,Q21452595), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q21452595
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q21452595'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P21 resource:Q6581097 . ?j property:P734 resource:Q21452595 . ?j rdf:type ontology:Q502895 }
male Cattaneo
action filter_type
action intersection
action find_reverse
entity Cattaneo
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Cattaneo'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:gender resource:male . ?j property:family_name resource:Cattaneo . ?j rdf:type ontology:common_name }
[]
common name
Q3665378 Q16577209 Q522424 Q3893875 Q3472924 Q1609666 Q1241761 Q976719 Q1080223 Q3645685
SYSTEM
Some of them are Cesare Cattaneo, Maurizio Cattaneo, Mattia Cattaneo, Paolo Cattaneo, Sante Cattaneo, Giuseppe Cattaneo, Peter Cattaneo, Riccardo Cattaneo, Danese Cattaneo, Bruno Cattaneo
Q17279961 Q3604353 Q27436703 Q1042024 Q15411477 Q16862219 Q16555200 Q3733893 Q20046840 Q3749758 Q966150 Q976719 Q3712951 Q3609911 Q3903199 Q20895581 Q3765351 Q3804671 Q16558402 Q1241761 Q3734307 Q1609657 Q1609672 Q3769542 Q1609653 Q3645685 Q21832805 Q367426 Q3472924 Q3766621 Q4007866 Q1609686 Q3659175 Q3659176 Q3769540 Q18811848 Q3845996 Q3665378 Q15982935 Q3888779 Q3893875 Q3765349 Q16862206 Q16577209 Q6688486 Q3746466 Q1080223 Q17992613 Q522424 Q1609641 Q2824198 Q18222991 Q16739832 Q1609649 Q1609661 Q1609666
AND((c(Q502895),P734,Q21452595), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q21452595
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Cattaneo as surname and are a male
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q21452595'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P21 resource:Q6581097 . ?j property:P734 resource:Q21452595 . ?j rdf:type ontology:Q502895 }
Gaetano Cattaneo Achille Cattaneo Arturo Cattaneo Carlo Cattaneo Raffaele Cattaneo Giuseppe Cattaneo Faraone Cattaneo Ettore Cattaneo Girolamo Cattaneo Francesco Cattaneo Luca Cattaneo Riccardo Cattaneo Domenico Cattaneo Alessandro Cattaneo Piero Cattaneo Renzo Cattaneo Giorgio Cattaneo Ivan Cattaneo Galeazzo Cattaneo Peter Cattaneo Eugenio Cattaneo Dante Cattaneo Guerrino Cattaneo Giulio Cattaneo Cesare Cattaneo Bruno Cattaneo Giovanni Cattaneo Renato Cattaneo Sante Cattaneo Giovanni Battista Cattaneo Valerio Cattaneo Renato Cattaneo Carlo Cattaneo Carlo Cattaneo Giulio Cattaneo Mario Alessandro Cattaneo Marco Cattaneo Cesare Cattaneo Carlo Cattaneo Padre Angelico Cattaneo Paolo Cattaneo Giorgio Cattaneo Antonio Cattaneo Maurizio Cattaneo Lazzaro Cattaneo Flavio Cattaneo Danese Cattaneo Altigrado Cattaneo Mattia Cattaneo Angelo Cattaneo Adelardo Cattaneo Luigi Cattaneo Giovanni Cattaneo Carlo Cattaneo Egidio Cattaneo Giuseppe Cattaneo
Cesare Cattaneo, Maurizio Cattaneo, Mattia Cattaneo, Paolo Cattaneo, Sante Cattaneo, Giuseppe Cattaneo, Peter Cattaneo, Riccardo Cattaneo, Danese Cattaneo and Bruno Cattaneo have Cattaneo as surname and are a male
Cesare Cattaneo Maurizio Cattaneo Mattia Cattaneo Paolo Cattaneo Sante Cattaneo Giuseppe Cattaneo Peter Cattaneo Riccardo Cattaneo Danese Cattaneo Bruno Cattaneo
action filter_type
action intersection
action find_reverse
entity Cattaneo
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Cattaneo'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:gender resource:male . ?j property:family_name resource:Cattaneo . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3665378 Q16577209 Q522424 Q3893875 Q3472924 Q1609666 Q1241761 Q976719 Q1080223 Q3645685
P21
Q290
USER
Which sexes do Cesare Cattaneo, Maurizio Cattaneo, Mattia Cattaneo, Paolo Cattaneo, Sante Cattaneo, Giuseppe Cattaneo, Peter Cattaneo, Riccardo Cattaneo, Danese Cattaneo and Bruno Cattaneo have ?
(Q3665378,P21,c(Q290)) (Q16577209,P21,c(Q290)) (Q522424,P21,c(Q290)) (Q3893875,P21,c(Q290)) (Q3472924,P21,c(Q290)) (Q1609666,P21,c(Q290)) (Q1241761,P21,c(Q290)) (Q976719,P21,c(Q290)) (Q1080223,P21,c(Q290)) (Q3645685,P21,c(Q290))
action union
action filter_type
action find
entity Q3665378
relation P21
type Q290
action filter_type
action find
entity Q16577209
relation P21
type Q290
action filter_type
action find
entity Q522424
relation P21
type Q290
action filter_type
action find
entity Q3893875
relation P21
type Q290
action filter_type
action find
entity Q3472924
relation P21
type Q290
action filter_type
action find
entity Q1609666
relation P21
type Q290
action filter_type
action find
entity Q1241761
relation P21
type Q290
action filter_type
action find
entity Q976719
relation P21
type Q290
action filter_type
action find
entity Q1080223
relation P21
type Q290
action filter_type
action find
entity Q3645685
relation P21
type Q290
['Q3665378', 'P21', {'concept': 'Q290'}] ['Q16577209', 'P21', {'concept': 'Q290'}] ['Q522424', 'P21', {'concept': 'Q290'}] ['Q3893875', 'P21', {'concept': 'Q290'}] ['Q3472924', 'P21', {'concept': 'Q290'}] ['Q1609666', 'P21', {'concept': 'Q290'}] ['Q1241761', 'P21', {'concept': 'Q290'}] ['Q976719', 'P21', {'concept': 'Q290'}] ['Q1080223', 'P21', {'concept': 'Q290'}] ['Q3645685', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { { resource:Q3665378 property:P21 ?n . ?n rdf:type ontology:Q290 } UNION { resource:Q16577209 property:P21 ?n . ?n rdf:type ontology:Q290 } }
Cesare Cattaneo Maurizio Cattaneo Mattia Cattaneo Paolo Cattaneo Sante Cattaneo Giuseppe Cattaneo Peter Cattaneo Riccardo Cattaneo Danese Cattaneo Bruno Cattaneo
action union
action filter_type
action find
entity Cesare Cattaneo
relation gender
type sex
action filter_type
action find
entity Maurizio Cattaneo
relation gender
type sex
action filter_type
action find
entity Mattia Cattaneo
relation gender
type sex
action filter_type
action find
entity Paolo Cattaneo
relation gender
type sex
action filter_type
action find
entity Sante Cattaneo
relation gender
type sex
action filter_type
action find
entity Giuseppe Cattaneo
relation gender
type sex
action filter_type
action find
entity Peter Cattaneo
relation gender
type sex
action filter_type
action find
entity Riccardo Cattaneo
relation gender
type sex
action filter_type
action find
entity Danese Cattaneo
relation gender
type sex
action filter_type
action find
entity Bruno Cattaneo
relation gender
type sex
['Cesare Cattaneo', 'gender', {'concept': 'sex'}] ['Maurizio Cattaneo', 'gender', {'concept': 'sex'}] ['Mattia Cattaneo', 'gender', {'concept': 'sex'}] ['Paolo Cattaneo', 'gender', {'concept': 'sex'}] ['Sante Cattaneo', 'gender', {'concept': 'sex'}] ['Giuseppe Cattaneo', 'gender', {'concept': 'sex'}] ['Peter Cattaneo', 'gender', {'concept': 'sex'}] ['Riccardo Cattaneo', 'gender', {'concept': 'sex'}] ['Danese Cattaneo', 'gender', {'concept': 'sex'}] ['Bruno Cattaneo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { { resource:Cesare_Cattaneo property:gender ?n . ?n rdf:type ontology:sex } UNION { resource:Maurizio_Cattaneo property:gender ?n . ?n rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097
(Q3665378,P21,c(Q290)) (Q16577209,P21,c(Q290)) (Q522424,P21,c(Q290)) (Q3893875,P21,c(Q290)) (Q3472924,P21,c(Q290)) (Q1609666,P21,c(Q290)) (Q1241761,P21,c(Q290)) (Q976719,P21,c(Q290)) (Q1080223,P21,c(Q290)) (Q3645685,P21,c(Q290))
action union
action filter_type
action find
entity Q3665378
relation P21
type Q290
action filter_type
action find
entity Q16577209
relation P21
type Q290
action filter_type
action find
entity Q522424
relation P21
type Q290
action filter_type
action find
entity Q3893875
relation P21
type Q290
action filter_type
action find
entity Q3472924
relation P21
type Q290
action filter_type
action find
entity Q1609666
relation P21
type Q290
action filter_type
action find
entity Q1241761
relation P21
type Q290
action filter_type
action find
entity Q976719
relation P21
type Q290
action filter_type
action find
entity Q1080223
relation P21
type Q290
action filter_type
action find
entity Q3645685
relation P21
type Q290
Cesare Cattaneo , Maurizio Cattaneo , Mattia Cattaneo , Paolo Cattaneo , Sante Cattaneo , Giuseppe Cattaneo , Peter Cattaneo , Riccardo Cattaneo , Danese Cattaneo and Bruno Cattaneo have a [ANSWER], [ANSWER] and [ANSWER]
['Q3665378', 'P21', {'concept': 'Q290'}] ['Q16577209', 'P21', {'concept': 'Q290'}] ['Q522424', 'P21', {'concept': 'Q290'}] ['Q3893875', 'P21', {'concept': 'Q290'}] ['Q3472924', 'P21', {'concept': 'Q290'}] ['Q1609666', 'P21', {'concept': 'Q290'}] ['Q1241761', 'P21', {'concept': 'Q290'}] ['Q976719', 'P21', {'concept': 'Q290'}] ['Q1080223', 'P21', {'concept': 'Q290'}] ['Q3645685', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { { resource:Q3665378 property:P21 ?n . ?n rdf:type ontology:Q290 } UNION { resource:Q16577209 property:P21 ?n . ?n rdf:type ontology:Q290 } }
male male male male male male male male male male
Cesare Cattaneo , Maurizio Cattaneo , Mattia Cattaneo , Paolo Cattaneo , Sante Cattaneo , Giuseppe Cattaneo , Peter Cattaneo , Riccardo Cattaneo , Danese Cattaneo and Bruno Cattaneo have a male, male and male
male male male
action union
action filter_type
action find
entity Cesare Cattaneo
relation gender
type sex
action filter_type
action find
entity Maurizio Cattaneo
relation gender
type sex
action filter_type
action find
entity Mattia Cattaneo
relation gender
type sex
action filter_type
action find
entity Paolo Cattaneo
relation gender
type sex
action filter_type
action find
entity Sante Cattaneo
relation gender
type sex
action filter_type
action find
entity Giuseppe Cattaneo
relation gender
type sex
action filter_type
action find
entity Peter Cattaneo
relation gender
type sex
action filter_type
action find
entity Riccardo Cattaneo
relation gender
type sex
action filter_type
action find
entity Danese Cattaneo
relation gender
type sex
action filter_type
action find
entity Bruno Cattaneo
relation gender
type sex
['Cesare Cattaneo', 'gender', {'concept': 'sex'}] ['Maurizio Cattaneo', 'gender', {'concept': 'sex'}] ['Mattia Cattaneo', 'gender', {'concept': 'sex'}] ['Paolo Cattaneo', 'gender', {'concept': 'sex'}] ['Sante Cattaneo', 'gender', {'concept': 'sex'}] ['Giuseppe Cattaneo', 'gender', {'concept': 'sex'}] ['Peter Cattaneo', 'gender', {'concept': 'sex'}] ['Riccardo Cattaneo', 'gender', {'concept': 'sex'}] ['Danese Cattaneo', 'gender', {'concept': 'sex'}] ['Bruno Cattaneo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { { resource:Cesare_Cattaneo property:gender ?n . ?n rdf:type ontology:sex } UNION { resource:Maurizio_Cattaneo property:gender ?n . ?n rdf:type ontology:sex } }
[]