On 28/09/17 09:33, Laurent Rucquoy wrote:
...

Note that the wrong behavior discussed here is strange because the given
SPARQL query does not return any data and when I remove the triple pattern
concerning the "annotationDimension" linked resource object (i.e. not a
literal object) the query returns the expected data (as if the linked
resource object did not exist... but this object exists)


I've run the tdbdump on the concerned dataset but the process ended earlier
than expected with the following stacktrace:

com.hp.hpl.jena.tdb.TDBException: Unrecognized node id type: 10
         at com.hp.hpl.jena.tdb.store.NodeId.extract(NodeId.java:346)
         at com.hp.hpl.jena.tdb.nodetable.NodeTableInline.getNodeForNodeId(
NodeTableInline.java:64)

It looks like the database files are damaged in some way - there isn't a "type: 10" NodeId. It's been a long time but I don't remember any mention of this before for any version of TDB. (It's not the same as the "Invalid NodeId" errors.)

All I can think is that at some time in the past, maybe a very long time ago, there was a non-transaction update that didn't get flushed.

Or, maybe, have you run a Jena3 TDB on the database before trying to back it up? I don't see why it would cause that particular message but it is a possibility to consider.

    Andy


         at com.hp.hpl.jena.tdb.lib.TupleLib.triple(TupleLib.java:126)
         at com.hp.hpl.jena.tdb.lib.TupleLib.triple(TupleLib.java:114)
         at com.hp.hpl.jena.tdb.lib.TupleLib.access$000(TupleLib.java:45)
         at com.hp.hpl.jena.tdb.lib.TupleLib$3.convert(TupleLib.java:76)
         at com.hp.hpl.jena.tdb.lib.TupleLib$3.convert(TupleLib.java:72)
         at org.apache.jena.atlas.iterator.Iter$4.next(Iter.java:299)
         at org.apache.jena.atlas.iterator.Iter$4.next(Iter.java:299)
         at org.apache.jena.atlas.iterator.Iter.next(Iter.java:909)
         at org.apache.jena.atlas.iterator.IteratorCons.next(
IteratorCons.java:92)
         at org.apache.jena.riot.system.StreamRDFLib.quadsToStream(
StreamRDFLib.java:69)
         at org.apache.jena.riot.writer.NQuadsWriter.write(
NQuadsWriter.java:40)
         at org.apache.jena.riot.writer.NQuadsWriter.write(
NQuadsWriter.java:67)
         at org.apache.jena.riot.RDFDataMgr.write$(RDFDataMgr.java:1133)
         at org.apache.jena.riot.RDFDataMgr.write(RDFDataMgr.java:1007)
         at org.apache.jena.riot.RDFDataMgr.write(RDFDataMgr.java:997)
         at tdb.tdbdump.exec(tdbdump.java:50)
         at arq.cmdline.CmdMain.mainMethod(CmdMain.java:101)
         at arq.cmdline.CmdMain.mainRun(CmdMain.java:63)
         at arq.cmdline.CmdMain.mainRun(CmdMain.java:50)
         at tdb.tdbdump.main(tdbdump.java:32)


Thank you again for your help.
Sincerely,
Laurent



On 27 September 2017 at 13:27, Lorenz Buehmann <[email protected]
leipzig.de> wrote:

Query works for me on the sample data.

Btw, there is an error in the first URI in the OPTIONAL clause. I'd
suggest to use SPARQL 1.1 VALUES to avoid redundant declaration of the
same URI.


On 27.09.2017 11:35, Andy Seaborne wrote:
That's a lot of data and it's broken by email.  A small extract to
illustrate the problem is all that is needed together with a stripped
down query that shows the effect in question.  Something runnable.

The query is different to the original a well - some of it is matching
strings so you wil need to reload the data.

     Andy


On 26/09/17 20:32, Laurent Rucquoy wrote:
- I will test to reload the data
- The last source code is not what I sent before because I removed some
specific parts when I transcribed because I thought these parts not
relevant for this case but I can be mistaken...

- Here is a data sample:

<http://www.telemis.com/CalculationCollection> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/2000/01/rdf-schema#Class> .
<http://www.telemis.com/CalculationCollection> <
http://thewebsemantic.com/javaclass>
"com.telemis.core.aim.base.CalculationCollection" .
<
http://www.telemis.com/ImagingObservation/654f1e39-a3ce-
483d-9a49-06cd7763d53c>

<http://www.telemis.com/uid> "654f1e39-a3ce-483d-9a49-06cd7763d53c" .
<
http://www.telemis.com/ImagingObservation/654f1e39-a3ce-
483d-9a49-06cd7763d53c>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/ImagingObservation> .
<
http://www.telemis.com/ImagingObservation/654f1e39-a3ce-
483d-9a49-06cd7763d53c>

<http://www.telemis.com/imagingObservationCharacteristicCollection> <
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/f5cbfd6b-062b-4ca8-9ded-3e3b83170975>

.
<
http://www.telemis.com/ImagingObservation/654f1e39-a3ce-
483d-9a49-06cd7763d53c>

<http://www.telemis.com/listReferencedGeometricShape>
_:B5d507a5X3A159288c607fX3A71f1 .
<
http://www.telemis.com/ImagingObservation/654f1e39-a3ce-
483d-9a49-06cd7763d53c>

<http://www.telemis.com/codingSchemeDesignator> "TELEMIS" .
<
http://www.telemis.com/ImagingObservation/654f1e39-a3ce-
483d-9a49-06cd7763d53c>

<http://www.telemis.com/codeMeaning> "Mpr axes" .
<
http://www.telemis.com/ImagingObservation/654f1e39-a3ce-
483d-9a49-06cd7763d53c>

<http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<
http://www.telemis.com/ImagingObservation/654f1e39-a3ce-
483d-9a49-06cd7763d53c>

<http://www.telemis.com/comment>
"0.693359375,0.0,0.0,-191.9199981689453,0.0,0.693359375,0.0,
-76.04000091552734,0.0,0.0,181.1597442626953,179.30000305
17578,0.0,0.0,0.0,1.0"

.
<
http://www.telemis.com/ImagingObservation/654f1e39-a3ce-
483d-9a49-06cd7763d53c>

<http://www.telemis.com/codeValue> "MPR-AXES" .
<
http://www.telemis.com/ImagingObservation/654f1e39-a3ce-
483d-9a49-06cd7763d53c>

<http://www.telemis.com/label> "Mpr axes" .
<
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/901659f6-40c0-4d9c-ae86-ab2c2044e1ae>

<http://www.telemis.com/listImagingObservationCharacteristic>
_:B5d507a5X3A159288c607fX3A71ee .
<
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/901659f6-40c0-4d9c-ae86-ab2c2044e1ae>

<http://www.telemis.com/uid> "901659f6-40c0-4d9c-ae86-ab2c2044e1ae" .
<
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/901659f6-40c0-4d9c-ae86-ab2c2044e1ae>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/ImagingObservationCharacteristicCollection> .
_:B5d507a5X3A159288c607fX3A71f1 <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
<
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/ee462cca-8b50-407d-a478-d95a3474a493>

<http://www.telemis.com/listImagingObservationCharacteristic>
_:B5d507a5X3A159288c607fX3A71ec .
<
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/ee462cca-8b50-407d-a478-d95a3474a493>

<http://www.telemis.com/uid> "ee462cca-8b50-407d-a478-d95a3474a493" .
<
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/ee462cca-8b50-407d-a478-d95a3474a493>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/ImagingObservationCharacteristicCollection> .
<http://www.telemis.com/Calculation/1bd11b50-dd4f-44f5-8ed6-
79ec5cd3150d>
<
http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/Calculation/1bd11b50-dd4f-44f5-8ed6-
79ec5cd3150d>
<
http://www.telemis.com/description> "" .
<http://www.telemis.com/Calculation/1bd11b50-dd4f-44f5-8ed6-
79ec5cd3150d>
<
http://www.telemis.com/uid> "1bd11b50-dd4f-44f5-8ed6-79ec5cd3150d" .
<http://www.telemis.com/Calculation/1bd11b50-dd4f-44f5-8ed6-
79ec5cd3150d>
<
http://www.telemis.com/codeValueCanBeNull> "false"^^<
http://www.w3.org/2001/XMLSchema#boolean> .
<http://www.telemis.com/Calculation/1bd11b50-dd4f-44f5-8ed6-
79ec5cd3150d>
<
http://www.telemis.com/codeValue> "R-00317" .
<http://www.telemis.com/Calculation/1bd11b50-dd4f-44f5-8ed6-
79ec5cd3150d>
<
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/Calculation> .
<http://www.telemis.com/Calculation/1bd11b50-dd4f-44f5-8ed6-
79ec5cd3150d>
<
http://www.telemis.com/codingSchemeDesignator> "SRT" .
<http://www.telemis.com/Calculation/1bd11b50-dd4f-44f5-8ed6-
79ec5cd3150d>
<
http://www.telemis.com/calculationResultCollection> <
http://www.telemis.com/CalculationResultCollection/8fe14cc4-
2471-4068-a42a-df359a7b1fc3>

.
<http://www.telemis.com/Calculation/1bd11b50-dd4f-44f5-8ed6-
79ec5cd3150d>
<
http://www.telemis.com/codeMeaning> "Mean" .
<http://www.telemis.com/Calculation/1bd11b50-dd4f-44f5-8ed6-
79ec5cd3150d>
<
http://www.telemis.com/isMaster> "true"^^<
http://www.w3.org/2001/XMLSchema#boolean> .
<
http://www.telemis.com/ImagingObservationCollection/03ca67c4
-462a-4d32-8cc5-90ddda3721ee>

<http://www.telemis.com/listImagingObservation>
_:B5d507a5X3A159288c607fX3A71eb .
<
http://www.telemis.com/ImagingObservationCollection/03ca67c4
-462a-4d32-8cc5-90ddda3721ee>

<http://www.telemis.com/uid> "03ca67c4-462a-4d32-8cc5-90ddda3721ee" .
<
http://www.telemis.com/ImagingObservationCollection/03ca67c4
-462a-4d32-8cc5-90ddda3721ee>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/ImagingObservationCollection> .
_:B5d507a5X3A159288c607fX3A71ef <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
<
http://www.telemis.com/CalculationResultCollection/8fe14cc4-
2471-4068-a42a-df359a7b1fc3>

<http://www.telemis.com/listCalculationResult>
_:B5d507a5X3A159288c607fX3A71db .
<
http://www.telemis.com/CalculationResultCollection/8fe14cc4-
2471-4068-a42a-df359a7b1fc3>

<http://www.telemis.com/uid> "8fe14cc4-2471-4068-a42a-df359a7b1fc3" .
<
http://www.telemis.com/CalculationResultCollection/8fe14cc4-
2471-4068-a42a-df359a7b1fc3>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/CalculationResultCollection> .
<http://www.telemis.com/Point/1cf0533a-cc71-4fae-a1a8-dc775b2b36d0> <
http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/Point/1cf0533a-cc71-4fae-a1a8-dc775b2b36d0> <
http://www.telemis.com/xsiType> "Point" .
<http://www.telemis.com/Point/1cf0533a-cc71-4fae-a1a8-dc775b2b36d0> <
http://www.telemis.com/lineOpacity> "" .
<http://www.telemis.com/Point/1cf0533a-cc71-4fae-a1a8-dc775b2b36d0> <
http://www.telemis.com/lineStyle> "" .
<http://www.telemis.com/Point/1cf0533a-cc71-4fae-a1a8-dc775b2b36d0> <
http://www.telemis.com/uid> "1cf0533a-cc71-4fae-a1a8-dc775b2b36d0" .
<http://www.telemis.com/Point/1cf0533a-cc71-4fae-a1a8-dc775b2b36d0> <
http://www.telemis.com/lineThickness> "" .
<http://www.telemis.com/Point/1cf0533a-cc71-4fae-a1a8-dc775b2b36d0> <
http://www.telemis.com/spatialCoordinateCollection> <
http://www.telemis.com/SpatialCoordinateCollection/1cf0533a-
cc71-4fae-a1a8-dc775b2b36d0>

.
<http://www.telemis.com/Point/1cf0533a-cc71-4fae-a1a8-dc775b2b36d0> <
http://www.telemis.com/lineColor> "255,255,0" .
<http://www.telemis.com/Point/1cf0533a-cc71-4fae-a1a8-dc775b2b36d0> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/Point> .
<http://www.telemis.com/Point/1cf0533a-cc71-4fae-a1a8-dc775b2b36d0> <
http://www.telemis.com/shapeIdentifier> "9999"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/Point/1cf0533a-cc71-4fae-a1a8-dc775b2b36d0> <
http://www.telemis.com/includeFlag> "false"^^<
http://www.w3.org/2001/XMLSchema#boolean> .
<http://www.telemis.com/Point> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/2000/01/rdf-schema#Class> .
<http://www.telemis.com/Point> <http://thewebsemantic.com/javaclass>
"com.telemis.core.aim.base.Point" .
<http://www.telemis.com/GeometricShapeCollection> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/2000/01/rdf-schema#Class> .
<http://www.telemis.com/GeometricShapeCollection> <
http://thewebsemantic.com/javaclass>
"com.telemis.core.aim.base.GeometricShapeCollection" .
_:B5d507a5X3A159288c607fX3A71f5 <
http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> <
http://www.telemis.com/Image/1.2.840.113704.1.111.9552.1482522638.7395>
.
_:B5d507a5X3A159288c607fX3A71f5 <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
<http://www.telemis.com/Image/1.2.840.113704.1.111.9552.1482522638.7395

<
http://www.telemis.com/imageSeries> <
http://www.telemis.com/ImageSeries/1.2.840.113704.1.111.
3612.1482522341.29>

.
<http://www.telemis.com/Image/1.2.840.113704.1.111.9552.1482522638.7395

<
http://www.telemis.com/imageURL> "" .
<http://www.telemis.com/Image/1.2.840.113704.1.111.9552.1482522638.7395

<
http://www.telemis.com/sopInstanceUID>
"1.2.840.113704.1.111.9552.1482522638.7395" .
<http://www.telemis.com/Image/1.2.840.113704.1.111.9552.1482522638.7395

<
http://www.telemis.com/sopClassUID> "" .
<http://www.telemis.com/Image/1.2.840.113704.1.111.9552.1482522638.7395

<
http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/Image/1.2.840.113704.1.111.9552.1482522638.7395

<
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/Image> .
<
http://www.telemis.com/CalculationResultCollection/6b1d8b4b-
6708-4a67-98b1-5ccefb194d5b>

<http://www.telemis.com/listCalculationResult>
_:B5d507a5X3A159288c607fX3A71e7 .
<
http://www.telemis.com/CalculationResultCollection/6b1d8b4b-
6708-4a67-98b1-5ccefb194d5b>

<http://www.telemis.com/uid> "6b1d8b4b-6708-4a67-98b1-5ccefb194d5b" .
<
http://www.telemis.com/CalculationResultCollection/6b1d8b4b-
6708-4a67-98b1-5ccefb194d5b>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/CalculationResultCollection> .
<http://www.telemis.com/Calculation/29e2ea11-dc91-49d3-9f5c-
dd074a71a547>
<
http://www.telemis.com/calculationResultCollection> <
http://www.telemis.com/CalculationResultCollection/6b1d8b4b-
6708-4a67-98b1-5ccefb194d5b>

.
<http://www.telemis.com/Calculation/29e2ea11-dc91-49d3-9f5c-
dd074a71a547>
<
http://www.telemis.com/codeValueCanBeNull> "false"^^<
http://www.w3.org/2001/XMLSchema#boolean> .
<http://www.telemis.com/Calculation/29e2ea11-dc91-49d3-9f5c-
dd074a71a547>
<
http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/Calculation/29e2ea11-dc91-49d3-9f5c-
dd074a71a547>
<
http://www.telemis.com/description> "" .
<http://www.telemis.com/Calculation/29e2ea11-dc91-49d3-9f5c-
dd074a71a547>
<
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/Calculation> .
<http://www.telemis.com/Calculation/29e2ea11-dc91-49d3-9f5c-
dd074a71a547>
<
http://www.telemis.com/uid> "29e2ea11-dc91-49d3-9f5c-dd074a71a547" .
<http://www.telemis.com/Calculation/29e2ea11-dc91-49d3-9f5c-
dd074a71a547>
<
http://www.telemis.com/codingSchemeDesignator> "SRT" .
<http://www.telemis.com/Calculation/29e2ea11-dc91-49d3-9f5c-
dd074a71a547>
<
http://www.telemis.com/codeMeaning> "Maximum" .
<http://www.telemis.com/Calculation/29e2ea11-dc91-49d3-9f5c-
dd074a71a547>
<
http://www.telemis.com/isMaster> "false"^^<
http://www.w3.org/2001/XMLSchema#boolean> .
<http://www.telemis.com/Calculation/29e2ea11-dc91-49d3-9f5c-
dd074a71a547>
<
http://www.telemis.com/codeValue> "G-A437" .
<http://www.telemis.com/ImagingObservation> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/2000/01/rdf-schema#Class> .
<http://www.telemis.com/ImagingObservation> <
http://thewebsemantic.com/javaclass>
"com.telemis.core.aim.base.ImagingObservation" .
<http://www.telemis.com/AnnotationDimension> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/2000/01/rdf-schema#Class> .
<http://www.telemis.com/AnnotationDimension> <
http://thewebsemantic.com/javaclass>
"com.telemis.core.aim.base.AnnotationDimension" .
_:B5d507a5X3A159288c607fX3A71da <
http://www.w3.org/1999/02/22-rdf-syntax-ns#_4> <
http://www.telemis.com/Calculation/29e2ea11-dc91-49d3-9f5c-dd074a71a547

.
_:B5d507a5X3A159288c607fX3A71da <
http://www.w3.org/1999/02/22-rdf-syntax-ns#_3> <
http://www.telemis.com/Calculation/7b399947-7b10-42f3-a044-260ecff5e66d

.
_:B5d507a5X3A159288c607fX3A71da <
http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> <
http://www.telemis.com/Calculation/980ae0bc-dd74-4778-9e2a-b7f1b9a50324

.
_:B5d507a5X3A159288c607fX3A71da <
http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> <
http://www.telemis.com/Calculation/1bd11b50-dd4f-44f5-8ed6-79ec5cd3150d

.
_:B5d507a5X3A159288c607fX3A71da <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
<http://www.telemis.com/Image> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/2000/01/rdf-schema#Class> .
<http://www.telemis.com/Image> <http://thewebsemantic.com/javaclass>
"com.telemis.core.aim.base.Image" .
_:B5d507a5X3A159288c607fX3A71f4 <
http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> <
http://www.telemis.com/User/tremy> .
_:B5d507a5X3A159288c607fX3A71f4 <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
_:B5d507a5X3A159288c607fX3A71ed <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
<http://www.telemis.com/User/tremy> <http://www.telemis.com/userUID>
"219c3a99-ded4-45dd-8325-5e69531a533d" .
<http://www.telemis.com/User/tremy> <
http://www.telemis.com/numberWithinRoleOfClinicalTrial> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/User/tremy> <http://www.telemis.com/roleInTrial

"0" .
<http://www.telemis.com/User/tremy> <http://www.telemis.com/loginName>
"tremy" .
<http://www.telemis.com/User/tremy> <http://www.telemis.com/name>
"tremy" .
<http://www.telemis.com/User/tremy> <http://www.telemis.com/cagridId>
"0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/User/tremy> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/User> .
<http://www.telemis.com/ImagingObservationCollection> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/2000/01/rdf-schema#Class> .
<http://www.telemis.com/ImagingObservationCollection> <
http://thewebsemantic.com/javaclass>
"com.telemis.core.aim.base.ImagingObservationCollection" .
<http://www.telemis.com/ImageSeries/1.2.840.113704.1.111.
3612.1482522341.29>

<http://www.telemis.com/elId> "A4.cdf.bf13.ch.cdf.S1.768846.1" .
<http://www.telemis.com/ImageSeries/1.2.840.113704.1.111.
3612.1482522341.29>

<http://www.telemis.com/imageStudy> <
http://www.telemis.com/ImageStudy/1.2.840.113704.1.111.3612.
1482519751.1>
.
<http://www.telemis.com/ImageSeries/1.2.840.113704.1.111.
3612.1482522341.29>

<http://www.telemis.com/instanceUID>
"1.2.840.113704.1.111.3612.1482522341.29" .
<http://www.telemis.com/ImageSeries/1.2.840.113704.1.111.
3612.1482522341.29>

<http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/ImageSeries/1.2.840.113704.1.111.
3612.1482522341.29>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/ImageSeries> .
<http://www.telemis.com/Circle/c9c60c1b-8c8e-45d4-9795-0d1ce2e83a89> <
http://www.telemis.com/includeFlag> "false"^^<
http://www.w3.org/2001/XMLSchema#boolean> .
<http://www.telemis.com/Circle/c9c60c1b-8c8e-45d4-9795-0d1ce2e83a89> <
http://www.telemis.com/lineThickness> "" .
<http://www.telemis.com/Circle/c9c60c1b-8c8e-45d4-9795-0d1ce2e83a89> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/Circle> .
<http://www.telemis.com/Circle/c9c60c1b-8c8e-45d4-9795-0d1ce2e83a89> <
http://www.telemis.com/xsiType> "Circle" .
<http://www.telemis.com/Circle/c9c60c1b-8c8e-45d4-9795-0d1ce2e83a89> <
http://www.telemis.com/shapeIdentifier> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/Circle/c9c60c1b-8c8e-45d4-9795-0d1ce2e83a89> <
http://www.telemis.com/lineOpacity> "" .
<http://www.telemis.com/Circle/c9c60c1b-8c8e-45d4-9795-0d1ce2e83a89> <
http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/Circle/c9c60c1b-8c8e-45d4-9795-0d1ce2e83a89> <
http://www.telemis.com/lineColor> "255,255,0" .
<http://www.telemis.com/Circle/c9c60c1b-8c8e-45d4-9795-0d1ce2e83a89> <
http://www.telemis.com/lineStyle> "" .
<http://www.telemis.com/Circle/c9c60c1b-8c8e-45d4-9795-0d1ce2e83a89> <
http://www.telemis.com/spatialCoordinateCollection> <
http://www.telemis.com/SpatialCoordinateCollection/c9c60c1b-
8c8e-45d4-9795-0d1ce2e83a89>

.
<http://www.telemis.com/Circle/c9c60c1b-8c8e-45d4-9795-0d1ce2e83a89> <
http://www.telemis.com/uid> "c9c60c1b-8c8e-45d4-9795-0d1ce2e83a89" .
<
http://www.telemis.com/CalculationResultCollection/6221220e-
3a8e-4f75-8dfe-d05ecfce3322>

<http://www.telemis.com/listCalculationResult>
_:B5d507a5X3A159288c607fX3A71df .
<
http://www.telemis.com/CalculationResultCollection/6221220e-
3a8e-4f75-8dfe-d05ecfce3322>

<http://www.telemis.com/uid> "6221220e-3a8e-4f75-8dfe-d05ecfce3322" .
<
http://www.telemis.com/CalculationResultCollection/6221220e-
3a8e-4f75-8dfe-d05ecfce3322>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/CalculationResultCollection> .
<http://www.telemis.com/ImageSeries> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/2000/01/rdf-schema#Class> .
<http://www.telemis.com/ImageSeries>
<http://thewebsemantic.com/javaclass>
"com.telemis.core.aim.base.ImageSeries" .
<http://www.telemis.com/ImageAnnotation> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/2000/01/rdf-schema#Class> .
<http://www.telemis.com/ImageAnnotation> <
http://thewebsemantic.com/javaclass>
"com.telemis.core.aim.base.ImageAnnotation" .
<http://www.telemis.com/User> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/2000/01/rdf-schema#Class> .
<http://www.telemis.com/User> <http://thewebsemantic.com/javaclass>
"com.telemis.core.aim.base.User" .
<
http://www.telemis.com/SpatialCoordinateCollection/c9c60c1b-
8c8e-45d4-9795-0d1ce2e83a89>

<http://www.telemis.com/listSpatialCoordinate>
_:B5d507a5X3A159288c607fX3A71d8 .
<
http://www.telemis.com/SpatialCoordinateCollection/c9c60c1b-
8c8e-45d4-9795-0d1ce2e83a89>

<http://www.telemis.com/uid> "c9c60c1b-8c8e-45d4-9795-0d1ce2e83a89" .
<
http://www.telemis.com/SpatialCoordinateCollection/c9c60c1b-
8c8e-45d4-9795-0d1ce2e83a89>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/SpatialCoordinateCollection> .
<
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/af3761a9-b3d7-44b6-b772-0f779845b38d>

<http://www.telemis.com/listImagingObservationCharacteristic>
_:B5d507a5X3A159288c607fX3A71f2 .
<
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/af3761a9-b3d7-44b6-b772-0f779845b38d>

<http://www.telemis.com/uid> "af3761a9-b3d7-44b6-b772-0f779845b38d" .
<
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/af3761a9-b3d7-44b6-b772-0f779845b38d>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/ImagingObservationCharacteristicCollection> .
<http://www.telemis.com/AnnotationDimension/dim-4ViewAsymR3> <
http://www.telemis.com/numberOfDimension> "3"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/AnnotationDimension/dim-4ViewAsymR3> <
http://www.telemis.com/mprLayout> "4ViewAsymR" .
<http://www.telemis.com/AnnotationDimension/dim-4ViewAsymR3> <
http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/AnnotationDimension/dim-4ViewAsymR3> <
http://www.telemis.com/uid> "dim-4ViewAsymR3" .
<http://www.telemis.com/AnnotationDimension/dim-4ViewAsymR3> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/AnnotationDimension> .
<
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/f5cbfd6b-062b-4ca8-9ded-3e3b83170975>

<http://www.telemis.com/listImagingObservationCharacteristic>
_:B5d507a5X3A159288c607fX3A71f0 .
<
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/f5cbfd6b-062b-4ca8-9ded-3e3b83170975>

<http://www.telemis.com/uid> "f5cbfd6b-062b-4ca8-9ded-3e3b83170975" .
<
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/f5cbfd6b-062b-4ca8-9ded-3e3b83170975>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/ImagingObservationCharacteristicCollection> .
<
http://www.telemis.com/CalculationResultCollection/b06f5327-
0d8c-4988-99f0-cad0d6be387f>

<http://www.telemis.com/listCalculationResult>
_:B5d507a5X3A159288c607fX3A71e3 .
<
http://www.telemis.com/CalculationResultCollection/b06f5327-
0d8c-4988-99f0-cad0d6be387f>

<http://www.telemis.com/uid> "b06f5327-0d8c-4988-99f0-cad0d6be387f" .
<
http://www.telemis.com/CalculationResultCollection/b06f5327-
0d8c-4988-99f0-cad0d6be387f>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/CalculationResultCollection> .
_:B5d507a5X3A159288c607fX3A71f3 <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
<http://www.telemis.com/Calculation/980ae0bc-dd74-4778-9e2a-
b7f1b9a50324>
<
http://www.telemis.com/codeMeaning> "Minimum" .
<http://www.telemis.com/Calculation/980ae0bc-dd74-4778-9e2a-
b7f1b9a50324>
<
http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/Calculation/980ae0bc-dd74-4778-9e2a-
b7f1b9a50324>
<
http://www.telemis.com/codeValueCanBeNull> "false"^^<
http://www.w3.org/2001/XMLSchema#boolean> .
<http://www.telemis.com/Calculation/980ae0bc-dd74-4778-9e2a-
b7f1b9a50324>
<
http://www.telemis.com/uid> "980ae0bc-dd74-4778-9e2a-b7f1b9a50324" .
<http://www.telemis.com/Calculation/980ae0bc-dd74-4778-9e2a-
b7f1b9a50324>
<
http://www.telemis.com/isMaster> "false"^^<
http://www.w3.org/2001/XMLSchema#boolean> .
<http://www.telemis.com/Calculation/980ae0bc-dd74-4778-9e2a-
b7f1b9a50324>
<
http://www.telemis.com/codeValue> "R-404FB" .
<http://www.telemis.com/Calculation/980ae0bc-dd74-4778-9e2a-
b7f1b9a50324>
<
http://www.telemis.com/codingSchemeDesignator> "SRT" .
<http://www.telemis.com/Calculation/980ae0bc-dd74-4778-9e2a-
b7f1b9a50324>
<
http://www.telemis.com/calculationResultCollection> <
http://www.telemis.com/CalculationResultCollection/6221220e-
3a8e-4f75-8dfe-d05ecfce3322>

.
<http://www.telemis.com/Calculation/980ae0bc-dd74-4778-9e2a-
b7f1b9a50324>
<
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/Calculation> .
<http://www.telemis.com/Calculation/980ae0bc-dd74-4778-9e2a-
b7f1b9a50324>
<
http://www.telemis.com/description> "" .
<
http://www.telemis.com/SpatialCoordinateCollection/1cf0533a-
cc71-4fae-a1a8-dc775b2b36d0>

<http://www.telemis.com/listSpatialCoordinate>
_:B5d507a5X3A159288c607fX3A71d9 .
<
http://www.telemis.com/SpatialCoordinateCollection/1cf0533a-
cc71-4fae-a1a8-dc775b2b36d0>

<http://www.telemis.com/uid> "1cf0533a-cc71-4fae-a1a8-dc775b2b36d0" .
<
http://www.telemis.com/SpatialCoordinateCollection/1cf0533a-
cc71-4fae-a1a8-dc775b2b36d0>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/SpatialCoordinateCollection> .
<
http://www.telemis.com/ImagingObservation/3f932e33-463e-
46a3-89aa-aeee2b4d26e6>

<http://www.telemis.com/codeMeaning> "Mpr slice names" .
<
http://www.telemis.com/ImagingObservation/3f932e33-463e-
46a3-89aa-aeee2b4d26e6>

<http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<
http://www.telemis.com/ImagingObservation/3f932e33-463e-
46a3-89aa-aeee2b4d26e6>

<http://www.telemis.com/uid> "3f932e33-463e-46a3-89aa-aeee2b4d26e6" .
<
http://www.telemis.com/ImagingObservation/3f932e33-463e-
46a3-89aa-aeee2b4d26e6>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/ImagingObservation> .
<
http://www.telemis.com/ImagingObservation/3f932e33-463e-
46a3-89aa-aeee2b4d26e6>

<http://www.telemis.com/listReferencedGeometricShape>
_:B5d507a5X3A159288c607fX3A71f3 .
<
http://www.telemis.com/ImagingObservation/3f932e33-463e-
46a3-89aa-aeee2b4d26e6>

<http://www.telemis.com/label> "Mpr slice name" .
<
http://www.telemis.com/ImagingObservation/3f932e33-463e-
46a3-89aa-aeee2b4d26e6>

<http://www.telemis.com/codingSchemeDesignator> "TELEMIS" .
<
http://www.telemis.com/ImagingObservation/3f932e33-463e-
46a3-89aa-aeee2b4d26e6>

<http://www.telemis.com/imagingObservationCharacteristicCollection> <
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/af3761a9-b3d7-44b6-b772-0f779845b38d>

.
<
http://www.telemis.com/ImagingObservation/3f932e33-463e-
46a3-89aa-aeee2b4d26e6>

<http://www.telemis.com/comment> "Main" .
<
http://www.telemis.com/ImagingObservation/3f932e33-463e-
46a3-89aa-aeee2b4d26e6>

<http://www.telemis.com/codeValue> "MPR-SLICE-NAME" .
<http://www.telemis.com/ImageStudy/1.2.840.113704.1.111.
3612.1482519751.1>
<
http://www.telemis.com/startTime> "+00:00:00.000000" .
<http://www.telemis.com/ImageStudy/1.2.840.113704.1.111.
3612.1482519751.1>
<
http://www.telemis.com/startDate> "2016-12-23T21:14:50" .
<http://www.telemis.com/ImageStudy/1.2.840.113704.1.111.
3612.1482519751.1>
<
http://www.telemis.com/instanceUID>
"1.2.840.113704.1.111.3612.1482519751.1" .
<http://www.telemis.com/ImageStudy/1.2.840.113704.1.111.
3612.1482519751.1>
<
http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/ImageStudy/1.2.840.113704.1.111.
3612.1482519751.1>
<
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/ImageStudy> .
<
http://www.telemis.com/ImagingObservation/c06e727c-042d-
4d21-8863-338573cbca64>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/ImagingObservation> .
<
http://www.telemis.com/ImagingObservation/c06e727c-042d-
4d21-8863-338573cbca64>

<http://www.telemis.com/imagingObservationCharacteristicCollection> <
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/901659f6-40c0-4d9c-ae86-ab2c2044e1ae>

.
<
http://www.telemis.com/ImagingObservation/c06e727c-042d-
4d21-8863-338573cbca64>

<http://www.telemis.com/codeValue> "MPR-PATIENT-AXES" .
<
http://www.telemis.com/ImagingObservation/c06e727c-042d-
4d21-8863-338573cbca64>

<http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<
http://www.telemis.com/ImagingObservation/c06e727c-042d-
4d21-8863-338573cbca64>

<http://www.telemis.com/uid> "c06e727c-042d-4d21-8863-338573cbca64" .
<
http://www.telemis.com/ImagingObservation/c06e727c-042d-
4d21-8863-338573cbca64>

<http://www.telemis.com/label> "Mpr patient axes" .
<
http://www.telemis.com/ImagingObservation/c06e727c-042d-
4d21-8863-338573cbca64>

<http://www.telemis.com/listReferencedGeometricShape>
_:B5d507a5X3A159288c607fX3A71ef .
<
http://www.telemis.com/ImagingObservation/c06e727c-042d-
4d21-8863-338573cbca64>

<http://www.telemis.com/codeMeaning> "Mpr patient axes" .
<
http://www.telemis.com/ImagingObservation/c06e727c-042d-
4d21-8863-338573cbca64>

<http://www.telemis.com/codingSchemeDesignator> "TELEMIS" .
<
http://www.telemis.com/ImagingObservation/c06e727c-042d-
4d21-8863-338573cbca64>

<http://www.telemis.com/comment>
"1.0,0.0,0.0,393.6740555676899,0.0,1.0,0.0,393.6740555676899
,0.0,0.0,1.0,52.0,0.0,0.0,0.0,1.0"

.
<
http://www.telemis.com/CalculationCollection/61ed18ed-0849-
4e79-95f0-f4afe652ae1a>

<http://www.telemis.com/listCalculation>
_:B5d507a5X3A159288c607fX3A71da .
<
http://www.telemis.com/CalculationCollection/61ed18ed-0849-
4e79-95f0-f4afe652ae1a>

<http://www.telemis.com/uid> "61ed18ed-0849-4e79-95f0-f4afe652ae1a" .
<
http://www.telemis.com/CalculationCollection/61ed18ed-0849-
4e79-95f0-f4afe652ae1a>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/CalculationCollection> .
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/dateTime> "2016-12-23T21:14:50" .
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/listUser> _:B5d507a5X3A159288c607fX3A71f4 .
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/uid> "
http://www.telemis.com/2013/measure-rdf/1.0/000b3231-a9c3-42
b1-bb71-2d416f729db8-msr"

.
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/images> _:B5d507a5X3A159288c607fX3A71f5 .
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/aimVersion> "AIM 3.0" .
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/calculationCollection> <
http://www.telemis.com/CalculationCollection/61ed18ed-0849-
4e79-95f0-f4afe652ae1a>

.
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/geometricShapeCollection> <
http://www.telemis.com/GeometricShapeCollection/fb8541ec-
5787-4d1a-a5d6-b77a40d99ef4>

.
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/comment> "" .
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/ImageAnnotation> .
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/codeMeaning> "ROI Circle measure" .
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/codeValue> "MSR-ROI002" .
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/annotationDimension> <
http://www.telemis.com/AnnotationDimension/dim-4ViewAsymR3> .
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/deleted> "true"^^<
http://www.w3.org/2001/XMLSchema#boolean> .
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/name> "" .
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/codingSchemeDesignator> "TELEMIS" .
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/imagingObservationCollection> <
http://www.telemis.com/ImagingObservationCollection/03ca67c4
-462a-4d32-8cc5-90ddda3721ee>

.
<
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/xsiType> "ImageAnnotation" .
_:B5d507a5X3A159288c607fX3A71eb <
http://www.w3.org/1999/02/22-rdf-syntax-ns#_4> <
http://www.telemis.com/ImagingObservation/3f932e33-463e-
46a3-89aa-aeee2b4d26e6>

.
_:B5d507a5X3A159288c607fX3A71eb <
http://www.w3.org/1999/02/22-rdf-syntax-ns#_3> <
http://www.telemis.com/ImagingObservation/654f1e39-a3ce-
483d-9a49-06cd7763d53c>

.
_:B5d507a5X3A159288c607fX3A71eb <
http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> <
http://www.telemis.com/ImagingObservation/c06e727c-042d-
4d21-8863-338573cbca64>

.
_:B5d507a5X3A159288c607fX3A71eb <
http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> <
http://www.telemis.com/ImagingObservation/05a852e5-45ba-
496c-b7a0-9f5296babdbb>

.
_:B5d507a5X3A159288c607fX3A71eb <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
<http://www.telemis.com/Circle> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/2000/01/rdf-schema#Class> .
<http://www.telemis.com/Circle> <http://thewebsemantic.com/javaclass>
"com.telemis.core.aim.base.Circle" .
_:B5d507a5X3A159288c607fX3A71d7 <
http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> <
http://www.telemis.com/Point/1cf0533a-cc71-4fae-a1a8-dc775b2b36d0> .
_:B5d507a5X3A159288c607fX3A71d7 <
http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> <
http://www.telemis.com/Circle/c9c60c1b-8c8e-45d4-9795-0d1ce2e83a89> .
_:B5d507a5X3A159288c607fX3A71d7 <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> .
<
http://www.telemis.com/GeometricShapeCollection/fb8541ec-
5787-4d1a-a5d6-b77a40d99ef4>

<http://www.telemis.com/listGeometricShape>
_:B5d507a5X3A159288c607fX3A71d7
.
<
http://www.telemis.com/GeometricShapeCollection/fb8541ec-
5787-4d1a-a5d6-b77a40d99ef4>

<http://www.telemis.com/uid> "fb8541ec-5787-4d1a-a5d6-b77a40d99ef4" .
<
http://www.telemis.com/GeometricShapeCollection/fb8541ec-
5787-4d1a-a5d6-b77a40d99ef4>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/GeometricShapeCollection> .
<http://www.telemis.com/Calculation/7b399947-7b10-42f3-a044-
260ecff5e66d>
<
http://www.telemis.com/calculationResultCollection> <
http://www.telemis.com/CalculationResultCollection/b06f5327-
0d8c-4988-99f0-cad0d6be387f>

.
<http://www.telemis.com/Calculation/7b399947-7b10-42f3-a044-
260ecff5e66d>
<
http://www.telemis.com/uid> "7b399947-7b10-42f3-a044-260ecff5e66d" .
<http://www.telemis.com/Calculation/7b399947-7b10-42f3-a044-
260ecff5e66d>
<
http://www.telemis.com/codingSchemeDesignator> "SRT" .
<http://www.telemis.com/Calculation/7b399947-7b10-42f3-a044-
260ecff5e66d>
<
http://www.telemis.com/codeMeaning> "Standard Deviation" .
<http://www.telemis.com/Calculation/7b399947-7b10-42f3-a044-
260ecff5e66d>
<
http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<http://www.telemis.com/Calculation/7b399947-7b10-42f3-a044-
260ecff5e66d>
<
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/Calculation> .
<http://www.telemis.com/Calculation/7b399947-7b10-42f3-a044-
260ecff5e66d>
<
http://www.telemis.com/codeValueCanBeNull> "false"^^<
http://www.w3.org/2001/XMLSchema#boolean> .
<http://www.telemis.com/Calculation/7b399947-7b10-42f3-a044-
260ecff5e66d>
<
http://www.telemis.com/description> "" .
<http://www.telemis.com/Calculation/7b399947-7b10-42f3-a044-
260ecff5e66d>
<
http://www.telemis.com/isMaster> "false"^^<
http://www.w3.org/2001/XMLSchema#boolean> .
<http://www.telemis.com/Calculation/7b399947-7b10-42f3-a044-
260ecff5e66d>
<
http://www.telemis.com/codeValue> "R-10047" .
<http://www.telemis.com/Calculation> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.w3.org/2000/01/rdf-schema#Class> .
<http://www.telemis.com/Calculation>
<http://thewebsemantic.com/javaclass>
"com.telemis.core.aim.base.Calculation" .
<
http://www.telemis.com/ImagingObservation/05a852e5-45ba-
496c-b7a0-9f5296babdbb>

<http://www.telemis.com/codingSchemeDesignator> "TELEMIS" .
<
http://www.telemis.com/ImagingObservation/05a852e5-45ba-
496c-b7a0-9f5296babdbb>

<http://www.telemis.com/codeMeaning> "Mpr Layout" .
<
http://www.telemis.com/ImagingObservation/05a852e5-45ba-
496c-b7a0-9f5296babdbb>

<http://www.telemis.com/label> "Mpr Layout" .
<
http://www.telemis.com/ImagingObservation/05a852e5-45ba-
496c-b7a0-9f5296babdbb>

<http://www.telemis.com/cagridId> "0"^^<
http://www.w3.org/2001/XMLSchema#integer> .
<
http://www.telemis.com/ImagingObservation/05a852e5-45ba-
496c-b7a0-9f5296babdbb>

<http://www.telemis.com/codeValue> "MPR-LAYOUT" .
<
http://www.telemis.com/ImagingObservation/05a852e5-45ba-
496c-b7a0-9f5296babdbb>

<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://www.telemis.com/ImagingObservation> .
<
http://www.telemis.com/ImagingObservation/05a852e5-45ba-
496c-b7a0-9f5296babdbb>

<http://www.telemis.com/comment> "4ViewAsymR" .
<
http://www.telemis.com/ImagingObservation/05a852e5-45ba-
496c-b7a0-9f5296babdbb>

<http://www.telemis.com/listReferencedGeometricShape>
_:B5d507a5X3A159288c607fX3A71ed .
<
http://www.telemis.com/ImagingObservation/05a852e5-45ba-
496c-b7a0-9f5296babdbb>

<http://www.telemis.com/imagingObservationCharacteristicCollection> <
http://www.telemis.com/ImagingObservationCharacteristicColle
ction/ee462cca-8b50-407d-a478-d95a3474a493>

.
<
http://www.telemis.com/ImagingObservation/05a852e5-45ba-
496c-b7a0-9f5296babdbb>

<http://www.telemis.com/uid> "05a852e5-45ba-496c-b7a0-9f5296babdbb" .


Here is a SPARQL query sample:
SELECT ?cagridId ?aimVersion ?comment ?dateTime ?name ?uid ?codeValue
?codeMeaning ?codingSchemeDesignator ?xsiType ?deleted
?annotationDimension
?label
WHERE {
      <
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>

<http://www.telemis.com/cagridId> ?cagridId ;
          <http://www.telemis.com/aimVersion> ?aimVersion ;
          <http://www.telemis.com/comment> ?comment ;
          <http://www.telemis.com/dateTime> ?dateTime ;
          <http://www.telemis.com/name> ?name ;
          <http://www.telemis.com/uid> ?uid ;
          <http://www.telemis.com/codeValue> ?codeValue ;
          <http://www.telemis.com/codeMeaning> ?codeMeaning ;
          <http://www.telemis.com/codingSchemeDesignator>
?codingSchemeDesignator ;
          <http://www.telemis.com/xsiType> ?xsiType ;
          <http://www.telemis.com/deleted> ?deleted ;
          <http://www.telemis.com/annotationDimension>
?annotationDimension .
      OPTIONAL {
          <
http://www.telemis.com/ImageAnnotation/http://www.telemis.
com/2013/measure-rdf/1.0/000b3231-a9c3-42b1-bb71-2d416f729db8-msr>

<http://www.telemis.com/labels> ?labels .
          ?labels <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1>
?label .
      }
}

On 26 September 2017 at 18:12, Andy Seaborne <[email protected]> wrote:



On 26/09/17 17:00, Laurent Rucquoy wrote:

- Did you reload the data ?
No, I did not know that. How can I reload the data ?


Write out with tdbdump from Jena 2.10.1 and load into a clean database
with tdbloader from 3.1.1

https://jena.apache.org/documentation/migrate_jena2_jena3.
html#persistent-data


- We are using the Apache Jena 3.1.1 instead of 3.4.0 because this is
integrated in a product with a big release cycle...

- Is there a transaction ?
Yes all the queries are made in transactions




- Here is a minimal example

String sparql = "SELECT ?annotationDimension WHERE {
           <
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>
<http://www.telemis.com/annotationDimension> ?annotationDimension .
}";

Dataset dataset = TDBFactory.createDataset("C:/tdb");
dataset.begin(ReadWrite.READ);




try {

       try (QueryExecution queryExecution =
QueryExecutionFactory.create(sparql, dataset)) {


Not what you had last time!


           ResultSet resultSet = queryExecution.execSelect();

           while (resultSet.hasNext()) {  // <=== No result

               QuerySolution querySolution = resultSet.nextSolution();
               RDFNode rdfNode =
querySolution.get("annotationDimension");
               if(rdfNode != null) {
                   if(rdfNode.isLiteral()) {
                        // ...
                   } else if(rdfNode.isResource()) {
                       // ...
                   }
               }
           }
       }

} finally {
       dataset.end();
}


- Do you need a larger data sample ?


There isn't any data sample here!


If you have some small amount of data, a test query, I might be able to
run it otherwise you can test reloaded data with tdbquery using your
queries.

          Andy




Thank you for your help.

Laurent




On 26 September 2017 at 16:40, Andy Seaborne <[email protected]> wrote:

Did you reload the data?

https://jena.apache.org/documentation/migrate_jena2_jena3.html



On 26/09/17 15:08, Laurent Rucquoy wrote:

Hello,

We are currently migrating an Apache Jena 2.10.1 (jena-tdb 0.10.1)
dataset
to a new model with Apache Jena 3.1.1


3.1.1 is old - 3.4.0 is current.


Some SPARQL select queries on the source dataset don't return any
solution
when the where pattern includes a triple having a resource as object
(others patterns have a literal as object)... however we are sure
that
the
missing solution exists.

Here is an example of query where ?annotationDimension is a
resource:

SELECT ?annotationDimension
WHERE {
        <
http://www.telemis.com/ImageAnnotation/000b3231-a9c3-42b1-
bb71-2d416f729db8-msr>
<http://www.telemis.com/annotationDimension> ?annotationDimension .
}

These queries are executed through


Is there a transaction?

QueryExecution queryExecution = QueryExecutionFactory.create(sparql,

dataset, initialJenaQuerySolutionMap)

              ^^^^^^^^^^^^^^^^^^^^^^^^^^^

ResultSet resultSet = queryExecution.execSelect();



What can I do to retrieve the missing solution ?

Thank you in advance for your help.


Please provide a complete, minimal example.  As described, I can't
recreate a test case because it is about the data.

           Andy


Regards,
Laurent









Reply via email to