RDFa extractor.
Examples:
Obtaining an RDFa reader class
RDF::Reader.for(:rdfa) #=> RDF::Raptor::RDFa::Reader RDF::Reader.for("input.html") RDF::Reader.for(file_name: "input.html") RDF::Reader.for(file_extension: "html") RDF::Reader.for(content_type: "application/xhtml+xml")
Extracting RDF statements from an XHTML+RDFa file
RDF::Reader.open("input.html") do |reader| reader.each_statement do |statement| puts statement.inspect end end