Thread:Semantic-mediawiki.org:Community portal/Bounties: selecting pages not in category, and option for turning off category inferencing/reply (2)

Sure! These are two separate things...

1) Not in category clauses: I want to be able to do something like !Category::Actor to select pages that aren't in category Actor. This should work with other parts of a clause, like !Category::Actor would return pages in category Hollywood but not Actor.

I'm not sure what the best way to implement this is. I'd hope this would get accepted to the SMW codebase so I'd very much welcome feedback on what the best way to accomplish this filtering is. Maybe it's adding a NOT clause, so you could do NOT  but the NOT clause would also add a lot of power to do other things, which would be nice for everyone in general.

2) Optionally turning off category inferencing: I'm referring to inferencing as described here. I think there should be a flag so you could do  to get a list of pages only in category Person (and not pages in  or  unless those pages are also explicitly in  ).  This use case doesn't make a lot of sense for Person/Man/Woman but could for other use cases.  Obviously `inferencing` would be default =true since that's the existing/default bahavior.

Thanks! : )

Adam