Simple Question (Direct)
Simple Question
Q6264090
P101
Q1792379
USER
Which art genre is the area of John Willard Raught ?
(Q6264090,P101,c(Q1792379))
action filter_type
action find
entity Q6264090
relation P101
type Q1792379
['Q6264090', 'P101', {'concept': 'Q1792379'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1792379 . resource:Q6264090 property:P101 ?u }
John Willard Raught
action filter_type
action find
entity John Willard Raught
relation field of work
type art genre
['John Willard Raught', 'field of work', {'concept': 'art genre'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:art_genre . resource:John_Willard_Raught property:field_of_work ?u }
[]
art genre
Q191163
SYSTEM
landscape art
Q191163
(Q6264090,P101,c(Q1792379))
action filter_type
action find
entity Q6264090
relation P101
type Q1792379
The [ANSWER] is the area of John Willard Raught
['Q6264090', 'P101', {'concept': 'Q1792379'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1792379 . resource:Q6264090 property:P101 ?u }
landscape art
The landscape art is the area of John Willard Raught
landscape art
action filter_type
action find
entity John Willard Raught
relation field of work
type art genre
['John Willard Raught', 'field of work', {'concept': 'art genre'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:art_genre . resource:John_Willard_Raught property:field_of_work ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6264090
P136
Q1792379
USER
What can be considered as category for that person ?
(Q191163,P136,c(Q1792379))
action filter_type
action find
entity Q6264090
relation P136
type Q1792379
['Q191163', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q6264090 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
John Willard Raught
action filter_type
action find
entity John Willard Raught
relation genre
type art genre
['landscape art', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:John_Willard_Raught property:genre ?d . ?d rdf:type ontology:art_genre }
[]
art genre
Q191163
SYSTEM
landscape art
Q191163
(Q191163,P136,c(Q1792379))
action filter_type
action find
entity Q6264090
relation P136
type Q1792379
The [ANSWER] can be considered as category for that person
['Q191163', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q6264090 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
landscape art
The landscape art can be considered as category for that person
landscape art
action filter_type
action find
entity John Willard Raught
relation genre
type art genre
['landscape art', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:John_Willard_Raught property:genre ?d . ?d rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11952110 Q6264090
P27
Q15617994
USER
Which administrative territories are the native countriesof John Willard Raught or Toni Cabré ?
OR((Q6264090,P27,c(Q15617994)), (Q11952110,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6264090
relation P27
action find
entity Q11952110
relation P27
type Q15617994
{'OR': [['Q6264090', 'P27', {'concept': 'Q15617994'}], ['Q11952110', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . { { resource:Q6264090 property:P27 ?r } UNION { resource:Q11952110 property:P27 ?r } } }
Toni Cabré John Willard Raught
action filter_type
action union
action find
entity John Willard Raught
relation country of citizenship
action find
entity Toni Cabré
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Willard Raught', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Toni Cabré', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:John_Willard_Raught property:country_of_citizenship ?r } UNION { resource:Toni_Cabré property:country_of_citizenship ?r } } }
[]
designation for an administrative territorial entity
Q29 Q30
SYSTEM
Spain, United States of America
Q29 Q30
OR((Q6264090,P27,c(Q15617994)), (Q11952110,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6264090
relation P27
action find
entity Q11952110
relation P27
type Q15617994
[ANSWERS] are the native countriesof John Willard Raught or Toni Cabré
{'OR': [['Q6264090', 'P27', {'concept': 'Q15617994'}], ['Q11952110', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . { { resource:Q6264090 property:P27 ?r } UNION { resource:Q11952110 property:P27 ?r } } }
Spain United States of America
Spain and United States of America are the native countriesof John Willard Raught or Toni Cabré
Spain United States of America
action filter_type
action union
action find
entity John Willard Raught
relation country of citizenship
action find
entity Toni Cabré
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Willard Raught', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Toni Cabré', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:John_Willard_Raught property:country_of_citizenship ?r } UNION { resource:Toni_Cabré property:country_of_citizenship ?r } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q838948
USER
Which administrative territories are the origin of lesser number of musical ensembles and works of art than that administrative territory ?
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { ?n property:P495 ?y . VALUES ( ?n ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { ?n property:country_of_origin ?y . VALUES ( ?n ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
designation for an administrative territorial entity musical ensemble work of art
Comparative|More/Less|Mult. entity type|Clarification
Q29
SYSTEM
Did you mean Spain ?
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { ?n property:P495 ?y . VALUES ( ?n ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
Did you mean Spain ?
Spain
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { ?n property:country_of_origin ?y . VALUES ( ?n ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q155 Q230 Q159
SYSTEM
Brazil, Georgia, Russia
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q55 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 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 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 Q672 Q176 Q863 Q869 Q953
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
[ANSWERS] are the origin of lesser number of musical ensembles and works of art than that administrative territory
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Netherlands 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 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 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 Tuvalu Quebec Tajikistan Thailand Zambia
Brazil, Georgia and Russia are the origin of lesser number of musical ensembles and works of art than that administrative territory
Brazil Georgia Russia
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P840
Q15617994 Q838948 Q15416
USER
Which administrative territories are max number of works of art and television programs set in ?
(c(Q838948)|c(Q15416),P840,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?s WHERE { { ?l property:P840 ?s . ?s rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q838948 } UNION { ?l property:P840 ?s . ?s rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15416 } } GROUP BY ?s } } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?d WHERE { VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?x rdf:type ?g } GROUP BY ?d } }
action argmax
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?s WHERE { { ?l property:narrative_location ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:work_of_art } UNION { ?l property:narrative_location ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:television_program } } GROUP BY ?s } } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?d WHERE { VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?x rdf:type ?g } GROUP BY ?d } }
[]
designation for an administrative territorial entity work of art television program
Q38
SYSTEM
Italy
Q38
(c(Q838948)|c(Q15416),P840,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
Set [ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?s WHERE { { ?l property:P840 ?s . ?s rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q838948 } UNION { ?l property:P840 ?s . ?s rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15416 } } GROUP BY ?s } } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?d WHERE { VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?x rdf:type ?g } GROUP BY ?d } }
Italy
Set Italy
Italy
action argmax
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) ?s WHERE { { ?l property:narrative_location ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:work_of_art } UNION { ?l property:narrative_location ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:television_program } } GROUP BY ?s } } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?d WHERE { VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?x rdf:type ?g } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q47821
P180
Q15617994 Q2342494 Q11060274
USER
How many administrative territories are expressed in around the same number of collectables or prints as Malcesine ?
(c(Q2342494)|c(Q11060274),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q47821
relation P180
type Q2342494
type Q11060274
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:P180 resource:Q47821 . { { ?r rdf:type ontology:Q2342494 } UNION { ?r rdf:type ontology:Q11060274 } } } } . FILTER ( ?f = ?n ) . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2342494 ) ( ontology:Q11060274 ) } } GROUP BY ?u } }
Malcesine
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Malcesine
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:depicts resource:Malcesine . { { ?r rdf:type ontology:collectable } UNION { ?r rdf:type ontology:print } } } } . FILTER ( ?f = ?n ) . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:collectable ) ( ontology:print ) } } GROUP BY ?u } }
[]
designation for an administrative territorial entity collectable print
SYSTEM
82
Q3883 Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q148 Q128081 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q2342494)|c(Q11060274),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q47821
relation P180
type Q2342494
type Q11060274
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:P180 resource:Q47821 . { { ?r rdf:type ontology:Q2342494 } UNION { ?r rdf:type ontology:Q11060274 } } } } . FILTER ( ?f = ?n ) . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2342494 ) ( ontology:Q11060274 ) } } GROUP BY ?u } }
Catanzaro Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom People's Republic of China Cori, Lazio Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Procida Nicaragua Drenthe horn Libya Tuscany Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
82
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Malcesine
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:depicts resource:Malcesine . { { ?r rdf:type ontology:collectable } UNION { ?r rdf:type ontology:print } } } } . FILTER ( ?f = ?n ) . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:collectable ) ( ontology:print ) } } GROUP BY ?u } }
[]