/** * Extract the main content form ARC:s SPARQL result HTML * and do some processing (wikify tables) * @param string $output * @return string $html */ function extractPrepareARCHTMLOutput( $output ) { $html = RDFIOUtils::extractHTMLBodyContent( $output ); $html = RDFIOUtils::wikifyTables( $html ); $html = "<h3>Result:</h3><div style='font-size: 11px;'>" . $html . "</div>"; return $html; }