DSV格式

From Linux Web Expert

Revision as of 05:50, 13 April 2020 by >Kghbln (+ interlanguage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DSV format/zh-hans
采用UNIX式样的分隔符分隔型取值(Delimiter Separated Value,DSV)格式来输出语义数据
更多信息
提供者: Semantic MediaWiki/zh-hans
添加版本: 1.6.0
移除版本: 依然支持
需求:
格式名称: dsv
启用?表明安装相应扩展时是否默认启用该结果格式。
作者: Jeroen De Dauw
分类: export · plaintext
目录

DSV格式dsv用于生成指向分隔符分隔型取值(Delimiter Separated Value,DSV)格式文件的链接。

参数

⧼validator-describe-header-parameter⧽ ⧼validator-describe-header-aliases⧽ ⧼validator-describe-header-type⧽ ⧼validator-describe-header-default⧽ ⧼validator-describe-header-description⧽
separator sep ⧼validator-type-string⧽ : 要使用的分隔符
filename - ⧼validator-type-string⧽ result.dsv DSV文件的名称

示例

{{#ask: [[Category:City]] [[located in::Germany]] 
| ?population
| format=dsv
}}

实际输出结果: DSV

同样的查询,但此次我们则是以波浪号(«~»)为分隔符

{{#ask: [[Category:City]] [[located in::Germany]] 
| ?population
| format=dsv
| sep=~
}}

实际输出结果: DSV



Property "Namespace" has a restricted application area and cannot be used as annotation property by a user.Property "Docinfo editor" (as page type) with input value "User:>Kghbln" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

本文档页面适用于SMW从1.6.0版到最新版本的所有版本。
      其他语言: DeFr


Template:Interlanguagelink: en