I am writing a foaf editor/explorer  and I need it to create foaf files that are somewhat humanly readable at least, so that developers can help debug things.
to publish a foaf I create a SPARQL CONSTRUCT query  and write the triples to a special temporary context. Using a (set of) CONSTRUCT query should makes it easy to fine tune the triples that one wishes to make public in one's foaf file. I then serialise that foaf file to a (local or remote) file.
It would be nice if the serialiser could group the statements together by subject more. Currently there are a lot of statements about me in the output.
Also relations with the same predicate should be linked together by ","
I will attach the current output of my SPARQL query.