I 오전 초보자 .. RDF, RDFa를하고 몇 일 이후에 관련 거즈에 대해 배우려고 노력PHP 또는 Java를 사용하여 HTML에서 RDFa를 추출하려면 어떻게해야합니까?
..이 별도로 RDF 부분을 추출 할 수 있으며, HTML + RDFa를 코드 다음 사항을 고려한다 내 질문? 그렇다면 간단한 코드 스 니펫 (PHP 또는 Java)을 보여줄 수 있습니까?
Jena를 사용할 수 있다고 들었지만이를 설명하는 자습서를 찾을 수 없습니다. 그래서 누군가가 RDF는 HTML의 것들에 대한 추가 정보를 제공로서 당신은 HTML에서 RDF를 분리 할 수
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
version="XHTML+RDFa 1.0" xml:lang="en">
<head>
<title>John's Home Page</title>
<base href="http://example.org/john-d/" />
<meta property="dc:creator" content="Jonathan Doe" />
<link rel="foaf:primaryTopic" href="http://example.org/john-d/#me" />
</head>
<body about="http://example.org/john-d/#me">
<h1>John's Home Page</h1>
<p>My name is <span property="foaf:nick">John D</span> and I like
<a href="http://www.neubauten.org/" rel="foaf:interest"
xml:lang="de">Einstürzende Neubauten</a>.
</p>
<p>
My <span rel="foaf:interest" resource="urn:ISBN:0752820907">favorite
book is the inspiring <span about="urn:ISBN:0752820907"><cite
property="dc:title">Weaving the Web</cite> by
<span property="dc:creator">Tim Berners-Lee</span></span>
</span>
</p>
</body>
</html>
고마워 마이클 .. 링크는 매우 도움이되었다 .. – Robert