result-opt-2.ttl

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

TTL
33
字号
@prefix rs:      <http://www.w3.org/2001/sw/DataAccess/tests/result-set#> .
@prefix foaf:    <http://xmlns.com/foaf/0.1/> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

[]    rdf:type      rs:ResultSet ;
      rs:resultVariable  "mbox" ;
      rs:resultVariable  "nick" ;
      rs:resultVariable  "name" ;
      rs:solution   [ rs:binding    [ rs:value      <mailto:eve@example.net> ;
                                      rs:variable   "mbox"
                                    ] ;
                      rs:binding    [ rs:value      "DuckSoup" ;
                                      rs:variable   "nick"
                                    ]
                    ] ;
      rs:solution   [ rs:binding    [ rs:value      <mailto:alice@example.net> ;
                                      rs:variable   "mbox"
                                    ] ;
                      rs:binding    [ rs:value      "Alice" ;
                                      rs:variable   "name"
                                    ] ;
                      rs:binding    [ rs:value      "WhoMe?" ;
                                      rs:variable   "nick"
                                    ]
                    ] ;
      rs:solution   [ rs:binding    [ rs:value      <mailto:bert@example.net> ;
                                      rs:variable   "mbox"
                                    ] ;
                      rs:binding    [ rs:value      "Bert" ;
                                      rs:variable   "name"
                                    ]
                    ] .

⌨️ 快捷键说明

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