result-a-01.n3

来自「Jena推理机」· N3 代码 · 共 37 行

N3
37
字号
@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rs:     <http://www.w3.org/2001/sw/DataAccess/tests/result-set#> .

[] rdf:type rs:ResultSet ;
    rs:resultVariable "b" ;
    rs:resultVariable "y" ;

    rs:solution
        [ rdf:type rs:ResultSolution ; 
          rs:binding [ rdf:type rs:ResultBinding ;
                       rs:variable "b" ; rs:value _:b1 ] ;
          rs:binding [ rdf:type rs:ResultBinding ;
                       rs:variable "y" ; rs:value "11" ] ;
        ] ;
    rs:solution
        [ rdf:type rs:ResultSolution ; 
          rs:binding [ rdf:type rs:ResultBinding ;
                       rs:variable "b" ; rs:value _:b1 ] ;
          rs:binding [ rdf:type rs:ResultBinding ;
                       rs:variable "y" ; rs:value "12" ] ;
        ] ;
    rs:solution
        [ rdf:type rs:ResultSolution ; 
          rs:binding [ rdf:type rs:ResultBinding ;
                       rs:variable "b" ; rs:value <http://never/bag> ] ;
          rs:binding [ rdf:type rs:ResultBinding ;
                       rs:variable "y" ; rs:value "21" ] ;
        ] ;
    rs:solution
        [ rdf:type rs:ResultSolution ; 
          rs:binding [ rdf:type rs:ResultBinding ;
                       rs:variable "b" ; rs:value <http://never/bag> ] ;
          rs:binding [ rdf:type rs:ResultBinding ;
                       rs:variable "y" ; rs:value "22" ] ;
        ] ;
    .

⌨️ 快捷键说明

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