Type:Boolean #num formatter

From semantic-mediawiki.org

A special formatting option for Booleans is the 1 or 0 result.

{{#ask:
 [[Category:Project]]
 |?successful#num
}}

This would show 1 for all cases where the property is set to true, and 0 if it is false or unset.