27 Matching Annotations
  1. Oct 2023
    1. Federated SPARQL Query, incorporating data from both DBpedia & Wikidata

      ```sparql PREFIX wd: http://www.wikidata.org/entity/ PREFIX wdt: http://www.wikidata.org/prop/direct/ PREFIX wikibase: http://wikiba.se/ontology# PREFIX p: http://www.wikidata.org/prop/ PREFIX ps: http://www.wikidata.org/prop/statement/ PREFIX pq: http://www.wikidata.org/prop/qualifier/ PREFIX bd: http://www.bigdata.com/rdf# PREFIX owl: http://www.w3.org/2002/07/owl# PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema# PREFIX foaf: http://xmlns.com/foaf/0.1/ PREFIX dct: http://purl.org/dc/terms/SELECT DISTINCT ?dbpediaID AS ?href xsd:string(?label) AS ?name ?description ?subjectText ?item AS ?wikidataID ?dbpediaID ?image ?picture WHERE { SERVICE http://query.wikidata.org/sparql { SELECT DISTINCT ?item ?itemLabel ?numero ( SAMPLE(?pic) AS ?picture ) WHERE { ?item p:P528 ?catalogStatement . ?catalogStatement ps:P528 ?numero . ?catalogStatement pq:P972 wd:Q14530 . OPTIONAL { ?item wdt:P18 ?pic } . SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } } GROUP BY ?item ?itemLabel ?numero ORDER BY ?numero }

      SERVICE <http://dbpedia.org/sparql>
        { 
          SELECT ?item
                 ?dbpediaID
                 ?label
                 ?image
                 ?description
                 ?subjectText
          FROM  <http://dbpedia.org> 
          WHERE
            {
              ?dbpediaID  owl:sameAs      ?item ; 
                          rdfs:label      ?label ; 
                          foaf:depiction  ?image ;
                          rdfs:comment    ?description ;
                          dct:subject
                            [ rdfs:label  ?subjectText ] .
              FILTER ( LANG(?label) = "en" ) 
              FILTER ( LANG(?description) = "en" ) 
            }
        }
      

      } ```

  2. Jun 2023
  3. May 2023
  4. Aug 2022
  5. May 2022
  6. Jun 2019
    1. DBpedia

      DBpedia is a project aiming to extract structured content from the information created in the Wikipedia project

    Tags

    Annotators

  7. Feb 2017
  8. Feb 2016
    1. Wikidata, in some sense, turns DBpedia around, in that Wikidata is intended to be a data source to populate Wikipedia infoboxes than the other way around.