Don't rely on attributes[] being null-terminated in SAX startel handler.
Add sparql_query_model()