manifest.ttl

来自「Jena推理机」· TTL 代码 · 共 52 行

TTL
52
字号
@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:	<http://www.w3.org/2000/01/rdf-schema#> .
@prefix mf:     <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
@prefix qt:     <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> .

<>  rdf:type mf:Manifest ;
    rdfs:label "Planning" ;
    mf:entries
    ( 
      [  mf:name    "Base case - fixed then optional" ;
         mf:action
            [ qt:query  <q-opt-1.rq> ;
              qt:data   <data-1.ttl> ] ;
        mf:result  <results-1.ttl>
      ]

    # With reordering enabled
##       [  mf:name    "Optional then fixed" ;
##          mf:action
##             [ qt:query  <q-opt-2.rq> ;
##               qt:data   <data-1.ttl> ] ;
##         mf:result  <results-1.ttl>  ## NB same as before
##       ]

    # Without
      [  mf:name    "Optional then fixed" ;
         mf:action
            [ qt:query  <q-opt-2.rq> ;
              qt:data   <data-1.ttl> ] ;
        mf:result  <results-2.ttl>  ## Not the same as Q1
      ]



    # With reordering enabled
##       [  mf:name    "Fixed, then two optionals" ;
##          mf:action
##             [ qt:query  <q-opt-3.rq> ;
##               qt:data   <data-1.ttl> ] ;
##         mf:result  <results-3.ttl>
##       ]

    # Without reordering
      [  mf:name    "Fixed, then two optionals" ;
         mf:action
            [ qt:query  <q-opt-3.rq> ;
              qt:data   <data-1.ttl> ] ;
        mf:result  <results-4.ttl>
      ]

    ).

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?