Thread:Semantic-mediawiki.org:Community portal/XML parsing error/reply (4)

There is an API available. Perhaps this serves your purpose. I guess another alternative is the SMWAskAPI extension. Just have a look. Cheers