Hi list,

Moving on to expose different entities within a given RDF dataset, I am trying 
to construct a query to retrieve individuals and their associated numeric 
values. Some sample data is as follows

###  
http://www.semanticweb.org/ontologies/2010/11/section6energydomestic2010.owl#exampleGlazingToConservatory

section6energydomestic2010:exampleGlazingToConservatory rdf:type 
section6energydomestic2010:Glazing ,
                                                                 
owl:NamedIndividual ;

                                                        
section6energydomestic2010:hasMaximumAreaWeightedAverageUvalueForAllElementsOfTheSameTypeWperm²K
 "2.0"^^xsd:double ;

                                                        
section6energydomestic2010:hasMaximumIndividualElementUvalueWperm²K 
"3.3"^^xsd:double .

I am confused as to how to construct my query, so far I have

PREFIX xsd:     <http://www.w3.org/2001/XMLSchema#>
PREFIX rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs:    <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl:     <http://www.w3.org/2002/07/owl#>
PREFIX fn:      <http://www.w3.org/2005/xpath-functions#>
PREFIX apf:     <http://jena.hpl.hp.com/ARQ/property#>
PREFIX dc:      <http://purl.org/dc/elements/1.1/>
PREFIX ns:      
<http://www.semanticweb.org/ontologies/2010/11/section6energydomestic2010.owl#exampleGlazingToConservatory/>
SELECT ?type ?NamedInidividual ?b ?double
WHERE { ?b rdf:type ?type;
         owl:NamedIndividual ?NamedIndividual;
         xsd:double ?double .
        FILTER (?double < 2.5)}

Although again the syntax is valid, I am getting no results as the query is not 
correctly constructed.

I would like to get something like

Glazing | exampleGlazingToConservatory | hasMaximumAreaWeighted...blahblah | 2.0

Thanks for any help on this one. Lewis


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 
2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career 
Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

Reply via email to