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

webapp.data.demo.halprofile.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 navlab: 
@prefix d3:  


st:tutorialhal a st:Server ;
  st:param [ st:lang 'en' ;
  
#  st:patternparam  st:mode ;
#  st:patternoption ("?country" "$mode, ?country") ;

# these URI have space instead of _ in hal
# we need special treatment (see workflowhal.ttl)

  st:patternvalue  (
        db:Afrique_du_Sud db:Arabie_saoudite 
        db:Corée_du_Sud db:Corée_du_Nord  db:République_tchèque db:Sierra_Leone db:Sri_Lanka 
    ) ;
    
    #st:processquery fun:trace ;
    
    st:sttl st:combine ; 
    st:transformations (
        navlab:map d3:frame st:hturtle
        ) ; 
    st:hyperlink true ; 
    st:number true ;
    st:export true ;
    st:contextlist(st:geo) ;
    st:focus false ;
    st:mapzoom 3 ;
    st:mapsize "mapmedium" ; # mapmedium maplarge
    st:title "HAL Open Data" ;
    st:lodprofile (
        ( st:hal)
        ( st:hal)
        ( st:hal) 
        ( st:dbpedia)         
        ("*" st:lod)
    ) 
  ] ;
  st:service "halopendata" ;
  st:workflow st:halwf ;
  st:shareContent st:tutohal
.


st:halsparql a st:Server ;
  st:service "halsparql" ;
  st:shareContent st:tutohal
.


st:halwf a sw:Workflow ; sw:body (
    [ a sw:Query ] # place holder for the query
    [ a sw:Transformation ; sw:uri st:web ]
)
.


st:tutohal a sw:Workflow ; sw:body ( 
    [ a sw:Query ; sw:uri  ]
    [ a sw:Parallel ; sw:body ( 
      # main is empty
          #  st:humancontent  

      [ 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 ) ]
        
      [ a sw:Workflow ; sw:name st:geo ; sw:body ( 
        [ a sw:Load ; sw:path  ; sw:name st:geo ]
        [ a sw:RuleBase ; sw:uri sw:owlrl ]
      ) ]
  
	  
      ) ]    
    # set st:context graph as named graph of main
    [a sw:Dataset]
).





© 2015 - 2025 Weber Informatics LLC | Privacy Policy