You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this use case, the JavaScript is directly embedded in the HTML document, and RDFa needs to be extracted once the user has performed some action.
I believe that extracting RDFa from parsed DOM has two advantages:
(1) no need for parsing the same HTML twice
(2) include input values from form elements, as entered by the user, in the extracted RDF
Currently, this use case requires something like rdfaParser.write($("body").html());, which parses the original HTML (body) string - this requires manually looking up input values and inserting them into the extracted RDF (e.g., using rdfjs/N3.js).
The text was updated successfully, but these errors were encountered:
In this use case, the JavaScript is directly embedded in the HTML document, and RDFa needs to be extracted once the user has performed some action.
I believe that extracting RDFa from parsed DOM has two advantages:
(1) no need for parsing the same HTML twice
(2) include input values from form elements, as entered by the user, in the extracted RDF
Currently, this use case requires something like
rdfaParser.write($("body").html());
, which parses the original HTML (body) string - this requires manually looking up input values and inserting them into the extracted RDF (e.g., using rdfjs/N3.js).The text was updated successfully, but these errors were encountered: