Linked Questions

Popular Questions

Simple SPARQL query does not give result from turtle file

Asked by At

I have a ttl file which I am querying. This is a sample of two nodes that I am querying:

<http://natarchives.com.mt/archivalresource/R494Vol1>
    a                       "http://data.archiveshub.ac.uk/def/ArchivalResource" ;
    locah:accessProvidedBy  "http://natarchives.com.mt/repository/MT01" ;
    locah:dateCreatedAccumulatedEnd
            "1497" ;
    locah:dateCreatedAccumulatedStart
            "1486" ;
    locah:dateCreatedAccumulatedString
            "1486-1497" ;
    locah:level             "http://data.archiveshub.ac.uk/page/level/file" ;
    <http://purl.org/dc/terms/creator>
            <http://natarchives.com.mt/author/R494Vol1_NotaryGiacomoZabbara> ;
    <http://purl.org/dc/terms/identifier>
            "R494Vol1" ;
    <http://purl.org/dc/terms/language>
            "la" ;
    <http://purl.org/dc/terms/type>
            "Register" ;

and

<http://natarchives.com.mt/deed/R494Vol1-D233>
    locah:accessProvidedBy  "http://natarchives.com.mt/repository/MT01" ;
    locah:associatedWith    "constituens" , "positum" , "annuam gabellam" , "juribus" , "melite" , "festo pasce ressureccionis dominice" , "moratorie" , "converso" , "bonam" , "ponderis" , "situm" , "nobilem" , "completis" , "procuratorem magnifici" , "precario" , "civitatis melite" , "jngabellacionem" , "territorium eiusdem magnifici" , "bona" , "pecunia" , "juravit" , "gabellam juxta usum melite" , "jngabellavit" , "personam" , "augustj" , "procurator magnifici" , "crastato" , "testibus testamur" ;
    locah:associatedWith    <http://natarchives.com.mt/person/person3617> , <http://natarchives.com.mt/place/place727> , <http://natarchives.com.mt/place/place191> , <http://natarchives.com.mt/person/person3612> , <http://natarchives.com.mt/person/person3616> , <http://natarchives.com.mt/place/place726> , <http://natarchives.com.mt/place/place190> , <http://natarchives.com.mt/person/person3619> , <http://natarchives.com.mt/person/person3611> , <http://natarchives.com.mt/person/person3615> , <http://natarchives.com.mt/person/person3614> , <http://natarchives.com.mt/person/person3618> , <http://natarchives.com.mt/place/place728> , <http://natarchives.com.mt/person/person3610> , <http://natarchives.com.mt/person/person3613> ;
    locah:level             "http://data.archiveshub.ac.uk/page/level/item" ;
    <http://purl.org/dc/terms/date>
            "8-8-1487" ;
    <http://purl.org/dc/terms/identifier>
            "R494Vol1-D233" ;
    <http://purl.org/dc/terms/isPartOf>
            "http://natarchives.com.mt/archivalresource/R494Vol1" ;
    <http://purl.org/dc/terms/type>
            "Cabella" .

This is the query I am trying:

SELECT ?x ?reg ?regId
WHERE {
?x dcterms:date "8-8-1487".
?x dcterms:isPartOf ?reg.
?reg dcterms:identifier ?regId.
}

As soon as I try to get the regId the query gives no results where it is obvious from the turtle file that there is a regId. Any idea why?

Related Questions