Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Stam query should output the full annotation data when using --format json , not just IDs #7

@proycon

Description

@proycon
$ stam query -F json  --query "SELECT ANNOTATION ?letter WHERE ID hoof001hwva02_01_0275;"  hoof001hwva.store.stam.json                                                                                                                        
[{                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                
"letter": {                                                                                                                                                                                                                                     
  "@type": "Annotation",                                                                                                                                                                                                                        
  "@id": "hoof001hwva02_01_0275",                                                                                                                                                                                                               
  "target": {                                                                                                                                                                                                                                   
    "@type": "TextSelector",                                                                                                                                                                                                                    
    "resource": "hoof001hwva02.txt",                                                                                                                                                                                                            
    "offset": {                                                                                                                                                                                                                                 
      "@type": "Offset",                                                                                                                                                                                                                        
      "begin": {                                                                                                                                                                                                                                
        "@type": "BeginAlignedCursor",                                                                                                                                                                                                          
        "value": 1231033                                                                                                                                                                                                                        
      },                                                                                                                                                                                                                                        
      "end": {                                                                                                                                                                                                                                  
        "@type": "BeginAlignedCursor",
        "value": 1233344
      }
    }
  },
  "data": [
    {
      "@type": "AnnotationData",
      "@id": "!D16",
      "set": "brieven-van-hooft-categories"
    },
    {
      "@type": "AnnotationData",
      "@id": "!D1",
      "set": "brieven-van-hooft-categories"
    },

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions