Note that there are some explanatory texts on larger screens.

plurals
  1. PODBPedia Identifying URIs
    primarykey
    data
    text
    <p>Currently I'm using the dbpedia ontology <a href="http://downloads.dbpedia.org/3.7/dbpedia_3.7.owl.bz2/" rel="nofollow" title="ontology">ontology</a> to identify the type hierarchy <a href="http://downloads.dbpedia.org/3.7/en/mappingbased_properties_en.nt.bz2" rel="nofollow">mapping based properties</a> to extract attributes from the entities and to identify relationships between them. To identify the type of an entity i use the dataset <a href="http://downloads.dbpedia.org/3.7/en/instance_types_en.nt.bz2" rel="nofollow">infobox types / instance types</a> Using the java.net.URlDecoder for identifying an entity's name I get a lot of not found errors in the batch chain i build. Is there anything I'm doing wrong on a conceptual level? (Basically it works but some entities can't be resolved to a type defaulting in unknown). Do I need to use any additional datasets for identiying dbpedia types?</p> <p>Update for clarity: I'm using the type instances like this:</p> <pre><code>&lt;http://dbpedia.org/resource/Autism&gt; &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://dbpedia.org/ontology/Disease&gt; . </code></pre> <p>I'm extracting Autism and Disease to establish that Autism is a disease. To map the attributes to autism I'm using:</p> <pre><code>&lt;http://dbpedia.org/resource/Autism&gt; &lt;http://dbpedia.org/ontology/diseasesdb&gt; "1142"@en . &lt;http://dbpedia.org/resource/Autism&gt; &lt;http://dbpedia.org/ontology/icd9&gt; "299.00"@en . &lt;http://dbpedia.org/resource/Autism&gt; &lt;http://dbpedia.org/ontology/omim&gt; "209850"^^&lt;http://www.w3.org/2001/XMLSchema#integer&gt; . &lt;http://dbpedia.org/resource/Autism&gt; &lt;http://dbpedia.org/ontology/medlineplus&gt; "001526"@en . &lt;http://dbpedia.org/resource/Autism&gt; &lt;http://dbpedia.org/ontology/emedicineSubject&gt; "med"@en . &lt;http://dbpedia.org/resource/Autism&gt; &lt;http://dbpedia.org/ontology/emedicineTopic&gt; "3202"@en . &lt;http://dbpedia.org/resource/Autism&gt; &lt;http://dbpedia.org/ontology/meshId&gt; "D001321"@en . &lt;http://dbpedia.org/resource/Autism&gt; &lt;http://xmlns.com/foaf/0.1/name&gt; "Autism"@en . </code></pre> <p>If the last statement in the triple is not an attribute I'm creating a relationship between those elements. What should I do to identify an URI? </p> <pre><code> &lt;http://dbpedia.org/resource/Autism&gt; </code></pre> <p>Just stripping off the tags and extracting the word Autism doesn't seem to to the deal?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COYou'll need to give some more detail, I think. It's not clear what you mean by "Using the java.net.URlDecoder for identifying an entity's name I get a lot of not found errors in the batch chain i build." Typically an individual's name will be associated with it by an `rdfs:label` property. If you can clarify what you're trying to do a bit, it will be easier to help. As an aside (and one which probably shouldn't affect the rest of your question), I notice that your links are to the 3.7 version of the ontology, but DBpedia's up to version 3.9 now.
      singulars
    2. COThank you for adding information. I don't know what you mean in "If the last statement in the triple is not an attribute I'm creating a relationship between those elements." doesn't make sense. A _statement_ is the same thing as a _triple_; it's a 3-tuple of the form `subject predicate object`. (Predicates are sometimes called properties.)
      singulars
    3. CORDF is graph based representation. Each triple (aka statement) is an edge in the graph. The subject of the statement is one node, the predicate is the label of an edge, and the object is the other node. There are two types of nodes in an RDF graph: literals (e.g., `"299.00"@en`); and resources (e.g., `<http://dbpedia.org/resource/Autism>`). Each resource is either an IRI or a blank node. Are you asking how you can distinguish IRIs from blank nodes and literals?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload