Help:Форматы вывода

From semantic-mediawiki.org
Jump to: navigation, search
Руководство пользователя
Введение
Интерфейсы навигации
Служебная:Ask
Служебная:Навигация (англ.)
Семантический поиск
Выборка страниц
Строгие компараторы
Отображение информации
Форматы вывода
Встраиваемые запросы
Концепты
Логический вывод
Редактирование
Свойства и типы (англ.)
Единицы измерения (англ.)
Семантические шаблоны (англ.)
Сервисные ссылки (англ.)
Семантическая паутина (англ.)
Экспорт OWL/RDF (англ.)
Внешние инструменты (англ.)
Импорт словарей
Импорт онтологий (англ.)
Руководство администратора (англ.)

На этой странице описываются форматы вывода, которые можно использовать во встроенных запросах Semantic MediaWiki Semantic MediaWiki (SMW). Формат вывода определяет то, как должны быть отображены результаты запроса. На спецстранице Special:Ask при составлении запроса есть выпадающий список "Форматировать как - с его помощью можно выбрать нужный формат вывода. Если же вы пишете запросы вручную, то достаточно указать формат в параметре format вашего запроса. По умолчанию результаты запроса отображаются в виде таблицы, что соответствует format=table. Если же результат запроса состоит из всего одной колонки, по умоллчанию он форматируется как список, разделенный запятыми (можно задать этот формат явно с помощью format=list).

Важно заметить, что семантические расширения иногда предоставляют дополнительные форматы вывода: к примеру с установкой расширения Semantic Maps у вас будет доступен вывод результатов запроса на карте, а расширение Semantic Result Formats включает целый список интересных форматов: линии времени, облака тэгов и многое другое.

На этой страничке кратко описаны форматы вывода. Есть и другая страница с их описанием, находящаяся вот тут.

Форматы, предоставляемые самой Semantic MediaWiki

Ниже приведен список форматов вывода, которые предустановлены вместе с Semantic MediaWiki. (для русского языка список может быть неполным!)

Page Format Description Added in Categories Authors
Broadtable format broadtable Outputs the result in a broad table. 0.4 misc Markus Krötzsch
CSV format csv Outputs semantic data in Windows-style Comma Separated Value format 1.2.1 export
plaintext
Nathan Yergler
Markus Krötzsch
Category format category List in columns, with first letters as section headers, in the style of MediaWiki category pages 1.4.3 misc David Loomer
Yaron Koren
Count format count Returns just the number of results (a count of the number of matching pages), instead of the results themselves 0.7 math Markus Krötzsch
DSV format dsv Outputs semantic data in UNIX-style Delimiter Separated Value format 1.6.0 export
plaintext
Jeroen De Dauw
Debug format debug Debugging information for analysing problems in query answering. 0.7 misc Markus Krötzsch
Embedded format embedded Embed selected articles. 0.7 misc Markus Krötzsch
JSON format json Outputs semantic data in JSON format 1.4.2 export
plaintext
Fabian Howahl
Jeroen De Dauw
List format list Comma-separated list, with additional outputs shown in parentheses 0.7 misc Markus Krötzsch
Ol format ol Numbered list, with additional outputs shown in parentheses 0.7 misc Markus Krötzsch
RDF format rdf Export result table as RDF 1.5.5 export Markus Krötzsch
RSS format rss Print links to RSS feeds for query results. 1.1.0 export
xml
Denny Vrandecic
Markus Krötzsch
Table format table Outputs the result in a table. 0.4 misc Markus Krötzsch
Template format template Uses a specified template to format and display the results 0.7 misc Markus Krötzsch
Ul format ul Bulleted list, with additional outputs shown in parentheses 0.7 misc Markus Krötzsch

Форматы, предоставленные семантическими расширениями

Для того, чтобы использовать вот эти форматы, вам потребуется установить соответствующие семантические расширения:

Page Format Description Provided by Added in Categories Authors
Array format array Comma-separated list, with additional outputs shown in parentheses and extra formatting options Semantic Result Formats 1.6.1 misc Daniel Werner
Average format average Displays the average of all queried numerical data Semantic Result Formats 1.4.2 math Yaron Koren
BibTeX format bibtex Produces a link to a file for downloading data in BibTeX format. Semantic Result Formats 1.4.3 export Steren Giannini
Frank Dengler
Calendar format calendar Displays time-associated pages on a calendar Semantic Result Formats 1.4.0 time Yaron Koren
Eventline format timeline Displays query results in interactive eventlines Semantic Result Formats 1.4.0 time Markus Krötzsch
Jeroen De Dauw
Exhibit format exhibit Displays query results in interactive charts, tables and maps Semantic Result Formats 1.4.0 misc Fabian Howahl
Gallery format gallery displays query results as dynamic galleries with output which is the same as when using MediaWiki's built-in gallery tag. Semantic Result Formats 1.5.0 misc Rowan Rodrik van der Molen
Jeroen De Dauw
MWJames
Google Maps format googlemaps Displays queried geographical data onto an Google Maps map Semantic Maps 0.1 geo Jeroen De Dauw
Google pie format googlepie Produces a pie chart using the Google Charts API Semantic Result Formats 1.4.0 charts Denny Vrandecic
Google bar format googlebar Produces a bar chart using the Google Charts API Semantic Result Formats 1.4.0 charts Denny Vrandecic
Hash format hash Comma-separated list, with additional outputs shown in parentheses and extra formatting options Semantic Result Formats 1.6.1 misc Daniel Werner
KML format kml Export of geographical data in KML format Semantic Maps 1.0 geo
export
Jeroen De Dauw
Map format map Displays queried geographical data onto an interactive map Semantic Maps 0.1 geo Jeroen De Dauw
Max format max Displays the maximum of all queried numerical data Semantic Result Formats 1.4.2 math Yaron Koren
Median format median Displays the median of all queried numerical data Semantic Result Formats 1.6.0 math Jeroen De Dauw
Min format min Displays the minimum of all queried numerical data Semantic Result Formats 1.4.2 math Yaron Koren
Oltree format oltree Displays query results as a tree (nested HTML ordered lists) Semantic Result Formats 1.7.1 misc F.trott
OpenLayers format openlayers Displays queried geographical data onto an OpenLayers map Semantic Maps 0.1 geo Jeroen De Dauw
Outline format outline Lists pages in a hierarchical outline, based on property values Semantic Result Formats 1.4.3 misc Yaron Koren
Product format product Displays the product of all queried numerical data Semantic Result Formats 1.6.0 math Jeroen De Dauw
Slideshow format slideshow Displays query results as a slideshow Semantic Result Formats 1.8 alpha misc F.trott
Sum format sum Displays the sum of all queried numerical data Semantic Result Formats 1.4.2 math Nathan Yergler
Ploticus format ploticus Creates various plots and charts Semantic Result Formats 1.4.2 charts Joel Natividad
Tagcloud format tagcloud Displays queried data in a tagcloud Semantic Result Formats 1.5.3 misc Jeroen De Dauw
Timeline format timeline Displays query results in interactive timelines Semantic Result Formats 1.4.0 time Markus Krötzsch
Jeroen De Dauw
Tree format tree Displays query results as a tree (nested HTML bulleted lists) Semantic Result Formats 1.7.1 misc F.trott
Yahoo! Maps format yahoomaps Displays queried geographical data onto an Yahoo! Maps map Semantic Maps 0.1 geo Jeroen De Dauw
ICalendar format icalendar Exports data in iCalendar format. Semantic Result Formats 1.4.2 export Markus Krötzsch
Denny Vrandecic
Jeroen De Dauw
Jqplotbar format jqplotbar Produces a bar chart using the jqPlot Javascript library Semantic Result Formats 1.5.1 charts Sanyam Goyal
Yaron Koren
Jqplotpie format jqplotpie Produces a pie chart using the jqPlot Javascript library Semantic Result Formats 1.5.1 charts Sanyam Goyal
Yaron Koren
MWJames
VCard format vcard Exports data in vCard format. Semantic Result Formats 1.4.2 export Markus Krötzsch
Denny Vrandecic
Frank Dengler



Эта страница относится ко всем версиям SMW, начиная с версии 1.6.0 вплоть до самой последней версии.
      Другие языки : deenfrzh-hans

Help:Result formats ru 1.6.0


Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox