The shape of the query depends on the data and I known nothing about the domain.

On 15/11/12 18:50, Frank Lee wrote:
Thanks a lot, Andy.

Since you are the expert, normally, what kind of SPARQL query you'd have? Let's 
forget about all these existing ones and come up with a workable query string. 
Thanks.
Just simply query all the values (cim:AnalogValue.value) referenced by the 
chain of cim:Analog, cim:Measurement.PowerSystemResource and 
cim:SynchronousMachine.

That is meaningless - some are properties, some are classes.

Output the data as Turtle and study the data.

        Andy


Cheers,
Frank

Here is the reduced original data from RDF file

<?xml version="1.0" encoding="UTF-8" ?>
<rdf:RDF xmlns:cim="http://iec.ch/TC57/2010/CIM-schema-cim15#"; 
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
  <cim:Terminal rdf:ID="_58D23877E70F49AB1273427E482636E3">
   <cim:IdentifiedObject.name>T1</cim:IdentifiedObject.name>
   <cim:Terminal.ConductingEquipment 
rdf:resource="#_41C523013BF3CA80A10769F38E88FD42"/>
   <cim:Terminal.ConnectivityNode 
rdf:resource="#_89B1FAA85658B6A92AE0465B57EBD879"/>
   <cim:Terminal.sequenceNumber>1</cim:Terminal.sequenceNumber>
  </cim:Terminal>



Reply via email to