Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The resource <a href="http://dbpedia.org/resource/Iceland_national_under-21_football_team" rel="nofollow noreferrer">http://dbpedia.org/resource/Iceland_national_under-21_football_team</a> is typed a <code>foaf:Person</code> (and <code>dbpedia-owl:Person</code> etc.), which is why it shows up in the result set.</p> <p>Looking at the statements, I see that this resource is also a <code>dbpedia-owl:SportsTeamMember</code>, which is a subclass of <code>dbpedia-owl:Person</code>, which is an <code>owl:equivalentClass</code> of <code>foaf:Person</code>. This shows how the sports team was inferred to be a person.</p> <p>The information in DBpedia is extracted from Wikipedia using templates, as described <a href="http://mappings.dbpedia.org/index.php/How_to_edit_DBpedia_Mappings" rel="nofollow noreferrer">here</a>. In general, mapping templates map the information in Wikipedia infoboxes and other templates to DBpedia resource properties. An article having a certain infobox (or for other mappings, a 'normal' template) are then said to be of a specific RDF class.<br> For example, the <a href="http://mappings.dbpedia.org/index.php/Mapping_en:Infobox_football_club" rel="nofollow noreferrer">Infobox football club</a> mapping template maps creates resources of type <code>dbpedia-owl:SoccerClub</code> from articles that have this infobox. (This doesn't apply to the Iceland team, though.)</p> <p>It looks like the mapping <a href="http://mappings.dbpedia.org/index.php/Mapping_en:Football_squad_player" rel="nofollow noreferrer">Football squad player</a> may have been responsible for the assertion that the Iceland team is typed a person. The template is used to list the team players, but the version of the Wikipedia page used to create the DBpedia resource has typos that could have broken the process. I'm not completely sure, but it may explain why not all national football teams are typed <code>foaf:Person</code>.</p> <p>You can't remove specific statements from DBpedia, but you can correct errors in the source Wikipedia article, or correct, update or create mappings for DBpedia.</p> <p>To remove self references, you can add a <code>FILTER</code> statement to your <code>WHERE</code> clause like this:</p> <pre><code>WHERE { ?person1 ?p ?person2. ?person1 a foaf:Person. ?person2 a foaf:Person. FILTER (?person1 != ?person2). } </code></pre> <p>If you are looking for specific types of relations between pairs of <code>foaf:Person</code>s, you can of course specify them:</p> <pre><code>WHERE { ... ?person1 foaf:knows ?person2. ... } </code></pre> <p>Edit 2: I later realised you were asking for a different type of self-reference. From <a href="https://stackoverflow.com/questions/9909369/dbpedia-whats-the-meaning-of-1-double-underscores-in-uris">DBPedia: What&#39;s the meaning of &#39;__1&#39; (double underscores) in URIs?</a> I understand these are URIs for intermediate nodes, created to avoid having to use blank nodes. For example, <code>:%C3%84ngelholms_FF__Jakob_Augustsson__1</code> is the (prefixed) URI for Jakob Augustsson within (the description of) <code>:%C3%84ngelholms_FF</code>. For the football example, you could add <code>FILTER (?p != dbpedia-owl:currentMember)</code> to exclude these results.</p> <p>Edit 1: added a few hyperlinks.</p>
    singulars
    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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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