All Downloads are FREE. Search and download functionalities are using the official Maven repository.

webapp.data.demo.d2kabprofile.ttl Maven / Gradle / Ivy

Go to download

Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1 Query and Update.

The newest version!
@prefix spq:    

[] owl:imports 


st:access st:namespace 

.


st:d2kab a st:Server ;
  st:service "d2kab" ;
  
  st:param [ st:lang 'en' ;
    st:sttl st:combine ; 
    #st:transformations (spq:result d3:frame  st:hturtle) ; 
    st:transformations (spq:result) ; 
    st:hyperlink true ; 
    st:number true ;
    st:export true ;
    st:contextlist(st:d2kab) ;
    st:focus false ;
    st:mapzoom 3 ;
    st:mapsize "mapmedium" ; # mapmedium maplarge
    st:title "D2KAB Knowledge Graph Index" ;
    st:lodprofile (
        ( st:hal)
        ( st:hal)
        ( st:hal) 
        ( st:dbpedia)         
        ("*" st:lod)
    ) 
  ] ;
  st:workflow st:d2kabwf ;
  st:shareContent st:d2kabcontent
.

#
# sparql endpoint with json format : /myservice/d2kabsparql ?query=select where
# use case: LinkedDataViz
#
st:d2kabsparqljson a st:Server ;
  st:param [st:format "json"];
  st:service "d2kabsparql" ;
  st:shareContent st:d2kabIndex
.

st:d2kabsparqlxml a st:Server ;
  st:param [st:format "xml"];
  st:service "d2kabsparqlxml" ;
  st:shareContent st:d2kabIndex
.



st:d2kabwf a sw:Workflow ; sw:body (
    [ a sw:Query ; sw:result sw:graph ] # place holder for the query ; result = graph format
    [ a sw:Transformation ; sw:uri st:web ]
)
.


st:d2kabcontent a sw:Workflow ; sw:body ( 
    [ a sw:Parallel ; sw:body ( 
      # main dataset
          st:d2kabIndex  

      [ a sw:Workflow ; sw:body ( [ a sw:Load ; sw:path  ] ) ]
      
      # context dataset with predefined queries in a specific graph
      [ a sw:Workflow ; sw:name st:context ; sw:body ( 
        [ a sw:Load ; sw:path   ; sw:name st:context ]
        st:indexQuery ) ]
        
     #st:d2kabIndex
  
	  
      ) ]    
    # set st:context graph as named graph of main
    [a sw:Dataset]
).

st:d2kabIndex a sw:Workflow ; # sw:name st:d2kab ; 
    sw:body ( 
        [ a sw:Load ; sw:path 
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    
            ]
       # [ a sw:RuleBase ; sw:uri sw:owlrl ]
      ) 




© 2015 - 2025 Weber Informatics LLC | Privacy Policy