User egon willighagen - Semantic Overflowmost recent 30 from http://www.semanticoverflow.com2010-07-31T07:58:57Zhttp://www.semanticoverflow.com/feeds/user/103http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://www.semanticoverflow.com/questions/1336/xslt-like-rdf-conversion-with-sparql-instead-of-xpathXSLT-like RDF conversion with SPARQL instead of XPath?Egon Willighagen2010-07-18T11:13:24Z2010-07-27T04:26:20Z
<p><a href="http://foaf-visualizer.org/?uri=http://www.joergkurtwegner.eu/foaf.xml&hl=en" rel="nofollow">Joerg</a> pointed me at this <a href="http://foaf-visualizer.org/" rel="nofollow">FOAF visualizer</a>. Inspecting the source code, I noted it uses XSLT and XPath to find patterns. Since my FOAF file is <a href="http://egonw.github.com" rel="nofollow">embedded as RDFa</a>, it does not surprise me that a lot of information is not visualized.</p>
<p>That made me wonder: I know XSLT and XPath are XML oriented... but, it would be nice to have something like XSLT to create HTML using SPARQL queries...</p>
<p>So, that we can do something like:</p>
<pre><code><xsl:template match="SELECT ?p ?name WHERE { ?p rdf:type foaf:Person; foaf:name ?name }">
<html:div class="person">
Name: <xsl:value-of select="?name"/>
</html:div>
</xsl:template>
</code></pre>
<p>What system allows me to write a XSLT-like template like this, and if it exists, can you give an example to perform the above task?</p>
http://www.semanticoverflow.com/questions/245/who-set-up-this-website-and-how-can-we-reach-him-herWho set up this website, and how can we reach him/her?Egon Willighagen2009-11-10T21:49:26Z2010-06-29T10:26:37Z
<p>I have been wanting to ask the 'owner' of this forum to think about a weekly '<a href="http://www.semanticoverflow.com/?tab=featured" rel="nofollow">featured</a>' questions, but I can't actually find a link with some contact information. The oldest account is <a href="http://www.semanticoverflow.com/users/-1/community" rel="nofollow">Community</a>, but that one is hardly active. <a href="http://www.semanticoverflow.com/users/3/andrew-matthews" rel="nofollow">Andrew</a> perhaps?</p>
http://www.semanticoverflow.com/questions/1059/how-to-set-up-a-clustered-virtuoso-on-debian-ubuntuHow to set up a clustered Virtuoso on Debian/Ubuntu?Egon Willighagen2010-06-23T12:42:22Z2010-06-24T00:12:54Z
<p><a href="http://www.semanticoverflow.com/users/468/cygri" rel="nofollow">Cygri</a> mentioned in reply to the question <a href="http://www.semanticoverflow.com/questions/1053/distributed-triple-stores" rel="nofollow">Distributed triple stores</a> that <a href="http://en.wikipedia.org/wiki/Virtuoso" rel="nofollow">Virtuoso</a> can be set up in a clustered mode. How would one do this using the Virtuoso that comes with <a href="http://packages.debian.org/testing/virtuoso-opensource" rel="nofollow">Debian</a> or <a href="http://packages.ubuntu.com/lucid/virtuoso-opensource" rel="nofollow">Ubuntu</a>? Please provide detailed configuration scripts.</p>
http://www.semanticoverflow.com/questions/79/how-do-i-use-jena-in-a-google-appHow do I use Jena in a Google App?Egon Willighagen2009-11-02T20:08:59Z2010-06-18T15:56:04Z
<p>Is there a tutorial explaining in detail how Jena can be installed and used as part of a Google App using the Google Plugin for Eclipse, and in particular what Jena jars need to be uploaded to ensure no class loading problems are encountered?</p>
http://www.semanticoverflow.com/questions/877/is-snorql-still-actively-developedIs SNORQL still actively developed?Egon Willighagen2010-05-13T12:03:08Z2010-05-19T16:12:50Z
<p><a href="http://www.mail-archive.com/dbpedia-discussion@lists.sourceforge.net/msg00690.html" rel="nofollow">SNORQL</a> is a nice interface to SPARQL end points, and I am using it myself. I was informed today about this <a href="http://marijn.haverbeke.nl/codemirror/sparqltest.html" rel="nofollow">JavaScript SPARQL editor</a> (<a href="http://marijn.haverbeke.nl/codemirror/story.html" rel="nofollow">story</a>), and that made me wonder if SNORQL is still developed, and where the most recent and up-to-date source code can be found. Is SNORQL still developed, under which license, and who might be interested in mashing it up with this SPARQL editor?</p>
http://www.semanticoverflow.com/questions/677/xsd-to-owl-importer/689#689Answer by Egon Willighagen for XSD to OWL importerEgon Willighagen2010-03-28T17:42:08Z2010-03-28T17:42:08Z<p>You can use a XSLT stylesheet to make this transformation, translating xsd:element into owl:Class, and child relations into owl:ObjectProperty. A minimal example is:</p>
<pre><code><?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#">
<xsl:output method="xml" encoding="utf-8" indent="yes"/>
<xsl:template match="//xsd:schema">
<rdf:RDF>
<xsl:for-each select=".//xsd:element">
<xsl:apply-templates select="."/>
</xsl:for-each>
</rdf:RDF>
</xsl:template>
<xsl:template match="xsd:element">
<xsl:if test="./@name">
<xsl:element name="owl:Class">
<xsl:attribute name="rdf:about">
<xsl:value-of select="./@name"/>
</xsl:attribute>
</xsl:element>
<xsl:for-each select=".//xsd:element">
<xsl:element name="owl:ObjectProperty">
<xsl:attribute name="rdf:about">
has<xsl:value-of select="./@ref"/>
</xsl:attribute>
<xsl:element name="rdf:Range">
<xsl:attribute name="rdf:resource">
<xsl:value-of select="./@ref"/>
</xsl:attribute>
</xsl:element>
</xsl:element>
</xsl:for-each>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
</code></pre>
http://www.semanticoverflow.com/questions/426/potential-usage-for-purifyr/656#656Answer by Egon Willighagen for Potential usage for Purifyr?Egon Willighagen2010-03-17T09:18:56Z2010-03-17T10:44:05Z<p>The great advantage of RDF is that it separates data from presentation. If you would use <a href="http://www.w3.org/TR/xhtml-rdfa-primer/" rel="nofollow">XHTML/RDFa</a>, the HTML would not need to be cleaned at all, as the data would be cleanly provided anyway. So, cleaning HTML is not important if you already provide the data itself cleanly. The latter is what the RDF community focuses on.</p>
http://www.semanticoverflow.com/questions/649/how-to-query-a-sparql-end-point-for-properties-for-multiple-resourcesHow to query a SPARQL end point for properties for multiple resources?Egon Willighagen2010-03-15T08:46:09Z2010-03-15T20:06:57Z
<p>SPARQL end points are quite suited for extracting large tables of data from one resource. I can eaily ask for all protein sequences for all object, or limit this to 5, with something like (see <a href="http://chem-bla-ics.blogspot.com/2010/02/chembl-rdf-1sparql-end-point.html" rel="nofollow">this blog</a> for more details):</p>
<pre><code>PREFIX chembl: <http://rdf.farmbio.uu.se/chembl/onto/#>
PREFIX blueobelisk: <http://www.blueobelisk.org/chemistryblogs/>
SELECT DISTINCT ?act ?ass ?mol ?inchi
WHERE {
?act chembl:type \"IC50\" ;
chembl:onAssay ?ass;
chembl:forMolecule ?mol;
?mol blueobelisk:inchi ?inchi.
?ass chembl:hasTarget <http://rdf.farmbio.uu.se/chembl/target/t10885> .
}
</code></pre>
<p>However, when I want to take this result set and go to another SPARQL end point to query for properties for all molecules from this result set, I could:</p>
<ol>
<li>make queries against the second end point for each <a href="http://www.iupac.org/inchi/" rel="nofollow">InChI</a> separately</li>
<li>query the second end point for all molecules with InChIs, and do a merge client side.</li>
</ol>
<p>Both seem inefficient.</p>
<p>Is there not a nicer way of taking the result set of one SPARQL query as input to another, to query a specific set of resources, than the two sketched solutions?</p>
http://www.semanticoverflow.com/questions/646/latex-listings-like-support-for-rdf-serialization-in-notation3LaTeX listings-like support for RDF serialization in Notation3?Egon Willighagen2010-03-14T16:58:10Z2010-03-15T11:08:54Z
<p>LaTeX has the nice <a href="http://en.wikibooks.org/wiki/LaTeX/Packages/Listings" rel="nofollow">listings package</a> for putting source code into documents, but it does not seem to have syntax highlighting for <a href="http://www.w3.org/DesignIssues/Notation3.html" rel="nofollow">Notation3</a>. What alternative can I use?</p>
http://www.semanticoverflow.com/questions/640/dct-or-dcterms/644#644Answer by Egon Willighagen for dct: or dcterms:Egon Willighagen2010-03-14T10:10:18Z2010-03-14T17:23:55Z<p>I am not aware of guidance for prefixes, and as explained below, there should not be such guidance.</p>
<p>It does not matter which <em>prefix</em> you use (there is no <em>right</em> prefix), as long as it is properly tied to the namespace. These <a href="http://dublincore.org/documents/dces/" rel="nofollow">specs</a> use two prefixes (<em>dc</em> and <em>dcterms</em>), but are merely used as shortcuts to their two matching namespaces (<em>http://purl.org/dc/elements/1.1/</em> and <em>http://purl.org/dc/terms/</em>).</p>
<p>It is important to note that namespaces do not easily conflict, but prefixes can. It is therefore important that the actual prefix used does not matter. That said, there is a trade off between length of the document (short prefix) and human-readability (longer prefix).</p>
http://www.semanticoverflow.com/questions/639/is-there-a-namespace-to-describe-mimetypes-and-encodings/645#645Answer by Egon Willighagen for Is there a namespace to describe mimetypes and encodings?Egon Willighagen2010-03-14T10:31:02Z2010-03-14T10:31:02Z<p>The <a href="http://www.semanticdesktop.org/ontologies/nie/" rel="nofollow">NEPOMUK Information Element Ontology</a> has a <a href="http://www.semanticdesktop.org/ontologies/nie/#mimeType" rel="nofollow">:mimeType</a> predicate. Is has a xsd:string as range; the domain might be a problem, as it is defined as a <a href="http://www.semanticdesktop.org/ontologies/nie/#InformationElement" rel="nofollow">:InformatationElement</a> which may not be compatible with your application.</p>
http://www.semanticoverflow.com/questions/628/limiting-results-in-sparql-to-subjects-with-only-one-predicate-of-a-certain-typeLimiting results in SPARQL to subjects with only one predicate of a certain type?Egon Willighagen2010-03-09T17:03:11Z2010-03-10T01:02:17Z
<p>Given I have an RDF graph ?a ?pred1 ?b, ?b ?pred2 ?c. Now, every ?a only has one ?pred1, but there may exists multiple ?pred2 for ?b. For example, ?pred2 could be rdfs:label.</p>
<p>Now, for my purposes, I want to query with SPARQL for results ?a, ?b, ?c, but if and only if ?b has <em>one</em> ?pred2 to a ?c.</p>
<p>If I use the SPARQL:</p>
<pre><code>SELECT ?a ?b ?c {
?a ?pred1 ?b.
?b ?pred2 ?c.
}
</code></pre>
<p>I get "?a ?b" duplicated for each "?b ?pred2 ?c". However, I like to restrict these results to just listing the "?a ?b ?c" of there is only one triple ?b ?pred2 ?c.</p>
<p>That is, given the RDF triples:</p>
<pre><code>:fooA :pred1 :fooB. :fooB :pred2 :fooC1;
:barA :pred1 :barB. :barB :pred2 :barC1;
:barB :pred2 :barC2;
</code></pre>
<p>I only want as results for the SPARQL:</p>
<pre><code>:fooA :fooB :fooC1
</code></pre>
<p>What do I need to add to my SPARQL to make this happen?</p>
http://www.semanticoverflow.com/questions/585/owl-axiom-for-inference-on-resource-urisOWL Axiom for inference on resource URIs?Egon Willighagen2010-02-20T11:12:47Z2010-02-23T17:00:15Z
<p>Given the following RDF triples:</p>
<pre><code>@prefix swan: <http://swan.mindinformatics.org/ontologies/1.2/citations/>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
<urn:doi:10.1186/1758-2946-2-1> a swan:JournalArticle ;
foaf:homepage <http://dx.doi.org/10.1186/1758-2946-2-1> ;
swan:doi "10.1186/1758-2946-2-1" ;
</code></pre>
<p>There is clearly a strong interdependency. Is there a way to reduce this graph, and infer these three equivalent triples from each other, for example, with OWL Axioms? The complicated bit is here in that the URIs contain the <a href="http://www.doi.org/" rel="nofollow">DOI</a>...</p>
http://www.semanticoverflow.com/questions/584/what-jena-arq-pellet-api-methods-to-call-for-owl-validationWhat Jena/ARQ/Pellet API methods to call for OWL validation?Egon Willighagen2010-02-20T09:39:53Z2010-02-22T12:27:49Z
<p>Sort of in reply to the questions <a href="http://www.semanticoverflow.com/questions/235/simple-cli-useable-owl-reasoner" rel="nofollow">Simple CLI useable OWL Reasoner</a> and <a href="http://www.semanticoverflow.com/questions/417/validate-against-rdf-vocabulary" rel="nofollow">Validate against rdf vocabulary?</a>, I have the following question about what Java methods to call to validate: </p>
<ol>
<li>an OWL ontology internally, and against the ontologies it builds upon (<a href="http://en.wikipedia.org/wiki/TBox" rel="nofollow">TBox</a>)</li>
<li>a set of triples that uses that OWL ontology (<a href="http://en.wikipedia.org/wiki/Abox" rel="nofollow">ABox</a>)</li>
</ol>
<p>I am looking for actual Java code; the Jena, ARQ, Pellet and related websites have quite a few code samples, but all around from just one angle, and not a list of calls one would like to make sequentially. Is the RDF valid? (Possible even after: is the XML well-formed?) Is the OWL ontology valid? (Possible split up in various aspects) Is the ontology internally consistent= Is the data using the ontology consistent? And whatever other validation is possible in between...</p>
<p>What is the Java code that you use to sequentially run these validation tests?</p>
http://www.semanticoverflow.com/questions/587/is-there-a-web-service-that-allow-me-to-run-sparql-against-a-xhtmlrdfa-websiteIs there a web service that allow me to run SPARQL against a XHTML+RDFa website?Egon Willighagen2010-02-20T13:33:44Z2010-02-22T10:13:52Z
<p>It would be cool if, like those <a href="http://www.w3.org/2007/08/pyRdfa/" rel="nofollow">RDFa extraction services</a>, there would be a service that would allow running a <a href="http://www.w3.org/TR/rdf-sparql-query/" rel="nofollow">SPARQL</a> query against an arbitrary <a href="http://www.w3.org/TR/rdfa-syntax/" rel="nofollow">XHTML+RDFa</a> website and return it in, for example, <a href="http://www.json.org/" rel="nofollow">JSON</a>. Is there such a public service?</p>
http://www.semanticoverflow.com/questions/573/how-to-create-rdfa-powered-n3-in-the-html-outputHow to create RDFa-powered N3 in the HTML output?Egon Willighagen2010-02-18T08:55:18Z2010-02-21T13:23:36Z
<p>Related to the earlier question on <a href="http://www.semanticoverflow.com/questions/182/marking-up-a-table-with-rdfa" rel="nofollow">Marking up a table with RDFa</a>, I am looking for a XHTML+RDFa code snippet that outputs a triple as N3, but uses RDFa to make it machine readable at the same time. I am not so much looking for ways to markup the N3 line itself, which can already be considered machine readable, but for a code snippet that uses N3 for the visual output and RDFa for machine readability.</p>
<p>I have gotten to the below snippet but that is both rather verbose and has unwanted duplication:</p>
<pre><code><pre xmlns:bibo="http://purl.org/ontology/bibo/"
xmlns:bibocto="http://github.com/egonw/bibo-cto/"
about="urn:doi:10.1021/ci025584y"
rel="bibocto:cites"
typeOf="bibo:Article">
@prefix bibo: &lt;http://purl.org/ontology/bibo/>.
@prefix bibocto: &lt;http://github.com/egonw/bibo-cto/>.
&lt;urn:doi:10.1186/1758-2946-2-1> a bibo:Article ;
bibocto:cites <span about="urn:doi:10.1021/ci025584y">&lt;urn:doi:10.1021/ci025584y></span> .
</pre>
</code></pre>
<p>Does someone have a more efficient solution?</p>
http://www.semanticoverflow.com/questions/470/any-applications-or-libraries-that-implement-opendocument-rdf-data/551#551Answer by Egon Willighagen for Any applications or libraries that implement OpenDocument RDF Data?Egon Willighagen2010-02-09T09:15:09Z2010-02-09T09:15:09Z<p><a href="http://strigi.sourceforge.net/" rel="nofollow">Strigi</a> is a desktop search engine (e.g. used by the <a href="http://www.kde.org" rel="nofollow">KDE</a> desktop) and indexes RDF data for OpenOffice documents:</p>
<pre><code>> rdfindexer semanticOverflow.odt
</code></pre>
http://www.semanticoverflow.com/questions/534/how-to-use-existing-ontologies-with-semantic-media-wikiHow to use existing ontologies with Semantic Media Wiki?Egon Willighagen2010-02-03T08:35:09Z2010-02-03T11:43:30Z
<p><a href="http://www.bioclipse.net" rel="nofollow">Bioclipse</a> recently started using <a href="http://semantic-mediawiki.org/wiki/Semantic%5FMediaWiki" rel="nofollow">Semantic MediaWiki</a> (thanx to <a href="http://www.semanticoverflow.com/users/112/samuel-lampa" rel="nofollow">Samuel</a>), which allows me to define new classes, predicates and the sorts. For example, we have a custom class for our <a href="http://wiki.bioclipse.net/index.php?title=Bioclipse.Cheminformatics" rel="nofollow">git repositories</a>.</p>
<p>I was wondering, though, if people are also using existing ontologies (e.g. <a href="http://www.semanticuniverse.com/blogs-dublin-core-and-owl.html" rel="nofollow">Dublin Core</a>) on semantic wikis? Do you just replicate the terms, or is there a more clever way of importing that existing ontology into the wiki?</p>
http://www.semanticoverflow.com/questions/382/semantic-latex-creating-htmlrdfaSemantic LaTeX creating HTML+RDFa?Egon Willighagen2009-12-04T18:49:39Z2010-01-27T15:34:23Z
<p>There are quite a few questions and answers about how to create HTML-RDFa. But regarding writing my papers, I am very fond of <a href="http://en.wikipedia.org/wiki/LaTeX" rel="nofollow">LaTeX</a>. Now, I mostly use this to create PDFs, which are known hamburgers (see the <a href="http://wwmm.ch.cam.ac.uk/blogs/murrayrust/?p=126" rel="nofollow">cow-hamburgers paradigm</a>). But I could also convert the LaTeX to (X)HTML. So, that make me wonder if anyone knows about how to enrich my LaTeX with RDFa. Besides producing semantic papers, it would also work for semantic slide presentations, etc.</p>
<p>Has anyone already done something like that? Would anyone be interested in drafting a LaTeX-RDFa proposal?</p>
http://www.semanticoverflow.com/questions/478/java-library-to-convert-a-sparql-query-into-its-construct-variantJava library to convert a SPARQL query into its CONSTRUCT variant?Egon Willighagen2010-01-13T13:52:32Z2010-01-27T15:32:19Z
<p>Is there a Java library that allows me to parse a SPARQL query and that can convert that query into a SPARQL version which uses the <a href="http://www.w3.org/TR/rdf-sparql-query/#construct" rel="nofollow">CONSTRUCT</a> command to return RDF? Or am I being silly and are there better ways to use SPARQL to return RDF?</p>
http://www.semanticoverflow.com/questions/483/how-to-speed-up-rdftype-foobar-sparql-queries-by-virtuoso-tuningHow to speed up rdf:type foo:Bar SPARQL queries by Virtuoso tuning?Egon Willighagen2010-01-15T19:32:50Z2010-01-19T02:07:03Z
<p>I'm running SPARQL queries like:</p>
<pre><code>prefix ch: <http://pele.farmbio.uu.se/chembl/?>
select count(?s) where {
?s a ch:Compound .
}
</code></pre>
<p>or any other 'a' query asking all Resources of a certain rdf:type, which is quite slow resulting in a time out... how can I get Virtuoso to be a bit speedier here? Can I <em>index</em> the store so that it more efficiently can return all resources <em>rdf:type some:Foo</em>?</p>
http://www.semanticoverflow.com/questions/205/is-there-an-open-source-faceted-browser-based-on-swt-widgetsIs there an open source, faceted browser based on SWT widgets?Egon Willighagen2009-11-07T15:06:56Z2010-01-11T14:15:52Z
<p>I am looking for a open source, faceted browser based on <a href="http://www.eclipse.org/swt/widgets/" rel="nofollow">SWT widgets</a> or <a href="http://wiki.eclipse.org/index.php/Rich%5FClient%5FPlatform" rel="nofollow">Eclipse Rich Client Platform</a> technologies. Is anyone aware of such functionality? Please indicate what license the code is available under.</p>
http://www.semanticoverflow.com/questions/454/skos-relationships/461#461Answer by Egon Willighagen for SKOS RelationshipsEgon Willighagen2010-01-05T10:43:33Z2010-01-05T10:43:33Z<p><a href="http://www.metware.org" rel="nofollow">MetWare</a> uses SKOS because the domain is rather fuzzily modeled, but we extend the skos:broader and skos:narrower predicates to add additional meaning.</p>
<pre><code><rdf:Property rdf:about="&metware;isFieldOf">
<rdfs:subPropertyOf rdf:resource="&skos;broader"/>
<rdfs:label>Is Field Of</rdfs:label>
<rdfs:comment>
Metware specific relation that indicates that the
subject is a field of the object.
</rdfs:comment>
</rdf:Property>
</code></pre>
http://www.semanticoverflow.com/questions/314/what-open-source-framework-can-autogenerate-html-for-sparql-outputWhat Open Source framework can autogenerate HTML for SPARQL output?Egon Willighagen2009-11-19T13:51:31Z2009-12-03T20:52:52Z
<p>I am looking for an overview of solutions for Open Source web frameworks which use some HTML template mechanism and creates the content HTML directly from a SPARQL query I define? That is, I want to pass the web framework the SPARQL query and not have to care about creating the HTML GUI stuff for displaying the results. The framework would analyze the SPARQL itself, see how many fields it can expect and create HTML accordingly, allowing me to simply care about the SPARQL itself.</p>
<p>Preferably, the output would be Ajax-using XHTML+RDFa output, but at the moment I would settle for anything. The framework should allow something along the lines of this pseudo code:</p>
<pre><code>sparql = "SELECT WHERE ...";
insert("header");
insert(query(remoteServerURL, sparql));
insert("footer");
</code></pre>
<p>The results should be more fancy than a simple table, and preferably even allow me to specify how certain data types should be visualized. For example, a object property of type xsd:date to be automatically converted into a calendar widget?</p>
http://www.semanticoverflow.com/questions/360/ontology-for-units-of-measure/370#370Answer by Egon Willighagen for Ontology for units of measureEgon Willighagen2009-12-03T08:19:15Z2009-12-03T08:19:15Z<p>The <a href="http://www.obofoundry.org/" rel="nofollow">Open Biomedical Ontologies</a> also has an suitable ontology for units:</p>
<p><a href="http://www.obofoundry.org/cgi-bin/detail.cgi?id=unit" rel="nofollow">http://www.obofoundry.org/cgi-bin/detail.cgi?id=unit</a></p>
<p>The question is, are all mentioned unit ontologies compatible?</p>
http://www.semanticoverflow.com/questions/350/why-an-ontology-is-owl-full/363#363Answer by Egon Willighagen for Why an ontology is OWL full?Egon Willighagen2009-12-01T14:01:16Z2009-12-01T14:01:16Z<p>Any OWL DL document is OWL Full too. OWL DL puts restrictions on the OWL to make it compatible with description logic.</p>
http://www.semanticoverflow.com/questions/312/mapping-ontologies-are-there-alternatives-to-owlsameasMapping Ontologies: are there alternatives to owl:sameAs ?Egon Willighagen2009-11-19T08:56:04Z2009-11-27T04:09:21Z
<p>With the numerous ontologies being set up (which I do not see as bad), we also see the need to map ontologies. I am aware of the use of upper-ontologies (like <a href="http://www.umbel.org/" rel="nofollow">UMBEL</a>) to help make such mappings, and I am aware that I can use owl:sameAs to make rdfs:Resource-s and rdfs:Class-es.</p>
<p>What I am looking for is a literature on good-practices in this area, and in particular about alternatives to the use of owl:sameAs. If the documentation has theoretical arguments for the various options, that would be rather interesting.</p>
<p>Is there such information available? </p>
http://www.semanticoverflow.com/questions/210/are-there-semantic-web-applications-that-can-make-use-of-foaf-profileAre there (Semantic Web) applications that can make use of FOAF profile?Egon Willighagen2009-11-08T13:20:21Z2009-11-22T08:15:52Z
<p>Increasingly, browser will push some personal information to websites like <a href="http://dev.w3.org/geo/api/spec-source.html" rel="nofollow">Geolocation</a>. Are there websites/browsers that use similar functionality using, for example, my FOAF profile?</p>
<p>For example, <a href="http://openid.net/get-an-openid/what-is-openid/" rel="nofollow">OpenID</a> client websites could pull my OpenID account from my FOAF profile (see <a href="http://xmlns.com/foaf/spec/#term%5Fopenid" rel="nofollow">foaf:openid</a>) and the browser could log in with having to ask me for my OpenID account...</p>
<p>But there is much more information in ones FOAF profile than just the OpenID, and other applications I am very much interested in too!</p>
http://www.semanticoverflow.com/questions/317/template-system-for-rdf/318#318Answer by Egon Willighagen for Template system for RDF ?Egon Willighagen2009-11-20T11:47:51Z2009-11-20T11:47:51Z<p>If your input is in an XML format, you could use <a href="http://www.w3.org/TR/xslt" rel="nofollow">XSLT</a> for this.</p>
<p>But your favorite programming language could help too. This is a piece of <a href="http://groovy.codehaus.org/" rel="nofollow">Groovy</a> code I wrote yesterday to convert a <a href="http://www.json.org/" rel="nofollow">JSON</a> format in <a href="http://www.w3.org/DesignIssues/Notation3.html" rel="nofollow">N3</a>:</p>
<p><a href="http://chem-bla-ics.blogspot.com/2009/11/chempedia-rdf-1-sparql-end-point.html" rel="nofollow">http://chem-bla-ics.blogspot.com/2009/11/chempedia-rdf-1-sparql-end-point.html</a></p>
http://www.semanticoverflow.com/questions/152/what-bibo-tools-are-you-usingWhat BIBO tools are you using?Egon Willighagen2009-11-04T20:52:16Z2009-11-19T15:46:32Z
<p>BIBO (<a href="http://bibliontology.com/" rel="nofollow">http://bibliontology.com/</a>) is a RDF ontology for the markup of references. It can complement BibTeX in allowing the reference data to be directly embedded in webpages with XHTML+RDFa. In the past, I patched <a href="http://jabref.sf.net" rel="nofollow">JabRef</a> for preliminary BIBO support, but am wondering what tools people are using, or know about, that support BIBO for editing, conversion to/from, etc.</p>
<p><strong>Supporting Export into BIBO</strong></p>
<ul>
<li><a href="http://jabref.sf.net" rel="nofollow">JabRef</a> (subset of BIBO 1.0)</li>
</ul>
<p><strong>Supporting Import from BIBO</strong></p>
<ul>
<li>?</li>
</ul>
http://www.semanticoverflow.com/questions/1373/how-to-upload-rdf-using-sdb-in-javaComment by Egon WillighagenEgon Willighagen2010-07-26T08:42:21Z2010-07-26T08:42:21ZPayam, please add the updated code as answer to your question, and then mark it as final answer.http://www.semanticoverflow.com/questions/1336/xslt-like-rdf-conversion-with-sparql-instead-of-xpath/1341#1341Comment by Egon WillighagenEgon Willighagen2010-07-21T05:29:19Z2010-07-21T05:29:19ZCan you give an example on how I template would look like?http://www.semanticoverflow.com/questions/1336/xslt-like-rdf-conversion-with-sparql-instead-of-xpath/1339#1339Comment by Egon WillighagenEgon Willighagen2010-07-21T05:28:56Z2010-07-21T05:28:56ZBTW, can you extend the above example, and see how I would use the current selector, to create a bit of HTML?http://www.semanticoverflow.com/questions/1336/xslt-like-rdf-conversion-with-sparql-instead-of-xpath/1339#1339Comment by Egon WillighagenEgon Willighagen2010-07-21T05:28:06Z2010-07-21T05:28:06ZPerhaps you can start blogging about it, and build documentation bit by bit that way... with examples etc... if you do, please let me know the URL... it sounds rather interesting!http://www.semanticoverflow.com/questions/914/rdfa-foaf-adding-foafonlineaccount/915#915Comment by Egon WillighagenEgon Willighagen2010-07-18T11:47:55Z2010-07-18T11:47:55Z@Richard: <span rel="foaf:accountServiceHomepage" href="<a href="http://twitter.com/">Twitter</span>" rel="nofollow">twitter.com/">Twitter</span></a>; should be fine too, right?http://www.semanticoverflow.com/questions/1298/has-anyone-written-a-mapping-from-odata-to-rdfComment by Egon WillighagenEgon Willighagen2010-07-18T11:37:22Z2010-07-18T11:37:22ZDo you have any particular OData in mind? From what I just read, it seems to may that OData can be much more unstructured...http://www.semanticoverflow.com/questions/351/formatting-the-sparql-output/352#352Comment by Egon WillighagenEgon Willighagen2010-07-18T11:07:06Z2010-07-18T11:07:06ZSome explanation on why I should check out that talk would be useful...http://www.semanticoverflow.com/questions/963/best-vocabulary-for-converting-bibtex-to-rdf/966#966Comment by Egon WillighagenEgon Willighagen2010-06-09T09:20:03Z2010-06-09T09:20:03ZI like CiTO very much, and it is currently aligned with SWAN.http://www.semanticoverflow.com/questions/501/qa-sites-that-publish-linked-data/502#502Comment by Egon WillighagenEgon Willighagen2010-04-17T06:36:14Z2010-04-17T06:36:14ZPierre, you should be able to delete your answer.http://www.semanticoverflow.com/questions/677/xsd-to-owl-importer/679#679Comment by Egon WillighagenEgon Willighagen2010-03-28T17:43:41Z2010-03-28T17:43:41ZYou should also have enough karma now to add links to the product homepages.http://www.semanticoverflow.com/questions/657/protege-classifying-foafComment by Egon WillighagenEgon Willighagen2010-03-17T13:56:06Z2010-03-17T13:56:06ZCan you point to an existing FOAF file that gives that behavior?http://www.semanticoverflow.com/questions/649/how-to-query-a-sparql-end-point-for-properties-for-multiple-resourcesComment by Egon WillighagenEgon Willighagen2010-03-16T11:13:08Z2010-03-16T11:13:08ZThanx. Fixed it.http://www.semanticoverflow.com/questions/649/how-to-query-a-sparql-end-point-for-properties-for-multiple-resources/650#650Comment by Egon WillighagenEgon Willighagen2010-03-16T11:12:37Z2010-03-16T11:12:37ZInteresting link, thanx!http://www.semanticoverflow.com/questions/640/dct-or-dctermsComment by Egon WillighagenEgon Willighagen2010-03-14T17:24:27Z2010-03-14T17:24:27ZAdded comment on the lack of guidance and comment that that is a good thing.http://www.semanticoverflow.com/questions/22/what-web-site-would-you-use-to-show-the-power-of-the-semantic-webComment by Egon WillighagenEgon Willighagen2010-03-14T10:19:05Z2010-03-14T10:19:05ZDear Steevc, did you write up a summary of the answers somewhere? Could you link to that perhaps?