Status: | effective |
Progress: | 100% |
Version: | 3.1.0+ |
Extension "Semantic Result Formats"
Semantic Result Formats | |
---|---|
给语义查询提供额外格式 | |
Image collection | |
Further Information | |
Homepage: | → external page |
Maintainer(s): | James Hong Kong, Jeroen De Dauw |
First released: | 8月 2008年 |
Release: | 稳定"稳定" is not in the list (stable, beta, experimental, unstable, unknown, stabil, experimentell, instable, unbekannt, obsolete) of allowed values for the "Has release status" property. |
Development: | 活跃 |
Area of usage: | 展示数据"展示数据" is not in the list (Adding and modifying data, Searching and browsing data, Displaying data, Storing additional data, Storing data via an RDF triplestore, Protecting data, Awareness and workflow, Importing data, Other area of usage, Daten hinzufügen und ändern, ...) of allowed values for the "Has area of usage" property. |
Association:SMW = Semantic MediaWiki, SB = Extension "Semantic Bundle", MW = MediaWiki | SMW, SB |
Shortcut:This is the shortcut to mark the beginning of the subject line when writing a support request to the mailing list or to the extension's author directly. See also this help page. | SRF |
Composer: | → external page |
Repository: | → external page |
Wikidata-ID: | Q21678508 |
目录 | |
Semantic Result Formats(语义结果格式)是“Semantic MediaWiki”扩展未提供描述。的一款扩展,给它添加了大量额外的结果格式,包括日历、时间线、图表、图形和数学函数的格式。这些结果格式可用于行内查询和其他语义搜索。
提供的结果格式[edit]
帮助页面 | 格式 | 说明 | 最低版本 | 类别 | 作者 |
---|---|---|---|---|---|
标签云格式 | tagcloud | 在标签云(tag cloud)之中显示所查询到的数据 | 1.5.3 | misc | Jeroen De Dauw |
BibTeX format/zh-hans | bibtex | 生成供采用BibTeX格式文件下载数据的链接 | 1.4.3 | export | Frank Dengler Steren Giannini |
Outline format/zh-hans | outline | 根据属性取值,采取层级结构式大纲(hierarchical outline)的方式罗列页面 | 1.4.3 | misc | Yaron Koren |
Google pie format/zh-hans | googlepie | 利用Google Charts API(谷歌条图应用编程接口)生成饼图 | 1.4.0 | charts | Denny Vrandečić |
Google bar format/zh-hans | googlebar | 利用Google Charts API(谷歌条图应用编程接口)生成条图 | 1.4.0 | charts | Denny Vrandečić |
Hash format/zh-hans | hash | 逗号分隔型列表,且带有括在英文圆括号当中的额外输出以及额外的格式编排选项 | 1.6.1 | misc | Daniel A. R. Werner |
Gallery format 1.5.0 - 1.7.1/zh-hans | gallery | 用于将查询结果显示为动态画廊,并且其输出与使用MediaWiki内置画廊标签时相同。 | 1.5.0 | misc | Rowan Rodrik van der Molen Jeroen De Dauw |
ICalendar日历格式 | icalendar | 采用iCalendar格式导出数据 | 1.4.2 | export | Markus Krötzsch Denny Vrandečić Jeroen De Dauw |
Jqplotpie format/zh-hans | jqplotpie | 利用 jqPlot Javascript 库生成饼图 | 1.5.1 | charts | Yaron Koren Sanyam Goyal James Hong Kong |
Calendar format/zh-hans | calendar | 在日历上显示关联有日期时间的页面 | 1.4.0 | time | Yaron Koren |
事件轴格式 | timeline | 采用交互式事件轴(interactive eventlines)来显示查询结果 | 1.4.0 | misc | Markus Krötzsch Jeroen De Dauw |
时间轴格式 | timeline | 采用交互式时间轴(interactive timelines)来显示查询结果 | 1.4.0 | misc | Markus Krötzsch Jeroen De Dauw |
Array format/zh-hans | array | 逗号分隔型列表,且带有括在英文圆括号当中的额外输出以及额外的格式编排选项 | 1.6.1 | misc | Daniel A. R. Werner |
Help:最大值格式 | max | 用于显示所查询到的全部数值型数据的最大值 | 1.4.2 | math | Yaron Koren |
Help:最小值格式 | min | 用于显示所查询到的全部数值型数据的最小值 | 1.4.2 | math | Yaron Koren |
VCard format/zh-hans | vcard | 采用vCard格式导出数据 | 1.4.2 | export | Frank Dengler Markus Krötzsch Denny Vrandečić |
Versioning[edit]
Semantic Result Formats requires Semantic MediaWiki to run, at least at the same second-level version number as Semantic Result Formats, i.e. SRF 1.6.2 requires SMW 1.6.x. For a full list of changes in the different versions of Semantic Result Formats, see the release notes.
Compatibility[edit]
See this help page outlining the software compatibility of this extension (MediaWiki, Semantic MediaWiki and PHP).
Installation[edit]
See this help page outlining how to install this extension.
Configuration[edit]
- Enabling additional formats
If nothing else is added, all but the following formats are enabled: 'exhibit', 'incoming', 'googlebar', 'googlepie' and 'jitgraph'. In order to additionally add one of these formats, you can add lines like:
$srfgFormats[] = 'googlebar';
$srfgFormats[] = 'googlepie';
... or alternatively
$srfgFormats = array_merge(
$srfgFormats, [
'googlebar',
'googlepie'
]
);
... or you can override the set of formats entirely, with a call like:
$srfgFormats = [
'calendar',
'timeline',
'filtered'
];
... using one or more of the formats provided.
There are some formats that you may not want to include because they may not follow certain policies within your wiki; the formats 'googlebar' and 'googlepie', for instance, send data to external web services for rendering, which may be considered a data leak.
In the event you want to use features that are taking advantage of Google Maps (such as the map view created by the Filtered result printer), please assign a valid Google Maps key to the $wgGoogleMapsKey
variable in "LocalSettings.php". Otherwise, these features will not be available. If you do not yet have a Google Maps key for your wiki, you can get one at https://developers.google.com/maps/documentation/geocoding/get-api-key?hl=en.
Troubleshooting[edit]
- Some data seems to be ignored in the results.
By default, inline queries return 50 pages. Even if you're aggregating the results, using distribution=yes
, that limit still applies. You probably need to increase the limit, by setting the |limit=
parameter within the query, and (if you need to query more than 500 pages) by setting configuration parameter $smwgQMaxInlineLimit
Sets the maximal number of rows ever printed by queries in "LocalSettings.php" as well.
See also[edit]
- Information on Contributing and support for this extension
- Help page on available result formats, not just by this extension.
- Help page on writing result printers as a development guideline