Questions tagged [semantic-mediawiki]

Semantic MediaWiki (SMW) is a free, open-source extension to MediaWiki – the wiki software that powers Wikipedia – that lets developer store and query data within the wiki's pages

Semantic MediaWiki (SMW) is a family of free, open-source extension to MediaWiki – the wiki software that powers Wikipedia – that lets you store and query data within the wiki's pages.

Semantic MediaWiki is also a full-fledged framework, in conjunction with many spinoff extensions, that can turn a wiki into a powerful and flexible “collaborative database”. All data created within SMW can easily be published via the Semantic Web, allowing other systems to use this data seamlessly.

Public sandbox: http://sandbox.semantic-mediawiki.org


Related tags :

165 questions
0
votes
1 answer

How to query and display a common section of text across a category?

We have SMW installed for our internal wiki at work. There is a category called "X" which has "A", "B" and "C" pages with a section in each of those pages called "Contact". Question: How do I write a query that displays this contact section from…
Sindhu S
  • 942
  • 1
  • 10
  • 23
0
votes
0 answers

Semantic Media Wiki: Displaying a SVG element of a HTML page

I have a HTML page that displays a SVG element (a Business process diagram) using some javascript libraries. A String variable, say 'str' needs to be given to html function. After reading this, I plan to use widgets. So far I understand that I need…
Varda
  • 69
  • 4
  • 13
0
votes
1 answer

uploadable Namespace handling

The following links and text snippets describe and reference the "uploadable" parameter for field in SMW Forms (hope this is the right issue tracker for this) Specifies that a link should be placed next to this field, that opens a popup window to…
Wolfgang Fahl
  • 15,016
  • 11
  • 93
  • 186
0
votes
2 answers

What is the pratical difference between Categories and Properties in SMW

What implications would there be between these two structures? Name = PROPERTY in the sub-CATEGORY of Woman in the CATEGORY of People and Name = sub-PROPERTY of the PROPERTY of Woman in the CATEGORY of People I am particularly interested in how…
EnglishAdam
  • 1,380
  • 1
  • 19
  • 42
0
votes
0 answers

Reuse Semantic MediaWiki's Ask DB queries for my own data processing

I have some MediaWiki article that will look like: ===Section=== Text Here, some lists, and some other text ===Section2=== {{#ask Query for a Table}} ===Section3=== {{#ask Query for a JQPlot}} I would like to get the page data, on a per section…
Rijvi Rajib
  • 1,080
  • 2
  • 11
  • 27
0
votes
1 answer

MediaWiki Special:MyPage/common.js not working

MediaWiki Version and LocalSettings.php MediaWiki 1.22.4 $wgAllowUserJs = true; $wgUseSiteJs = true; Browser Version FireFox 28.0 JavaScript Code $ gvim common.js function myFunction() { alert("Hello World!"); } var onClickAttribute =…
0
votes
1 answer

Semantic Media Wiki (SMW) - Is it possible to nest property / value definitions?

I'm using Semantic Media Wiki in conjunction with the Lingo Extension and the Semantic Glossary Extension to build a glossary. Often definitions of a term include links to other terms. For example: Computer - A calculating machine which uses a -CPU-…
0
votes
1 answer

use ask as a parameter in semantic media wiki

How can I pass an ask as a parameter of a query? For example: myvar={#ask: [[Category:City]][[London]] |?population |?currency |} Then use the data again in a custom function: {#ask: [[England]] |?population |?currency |capital=myvar |} If I try…
M4rk
  • 2,172
  • 5
  • 36
  • 70
0
votes
1 answer

mediawiki how to query for pages using a certain template?

I have pages which use this template:shape {{shape|Shape name=ACTOR ROLE|Diagram type=ATD|Version=3.5|Shape=File:ACTOR ROLE V3.5.svg}} i want to use something that choses pages with that template and select the ones in which the [[Diagram…
buga
  • 49
  • 2
  • 8
0
votes
1 answer

Semantic Mediawiki: Defining derived properties through queries

(I'm kind of new to the whole Semantic Mediawiki thing and have been scouring the web for some leads on this small project I'm doing. ) How do I go about defining properties that are derived from other properties in a Semantic Mediawiki. Assuming I…
Jon Gan
  • 867
  • 1
  • 11
  • 22
0
votes
1 answer

Semantic Mediawiki not tracking redirects

I have a few pages that I recently renamed (and updated all of the redirects), and ever since that time none of their redirects have been appearing in {{#ask}} queries based on their pagenames. For example, I have a page that I renamed from…
-1
votes
1 answer

Filling media wiki parser function input with Semantic forms

I have a parser function for integrating with Jira. So when I provide {{#jira : JIRA-223}} the parser functions would fetch the Type and Status of the issue corresponding to the jira issue id ( in eg : JIRA-223 ) and displays in the page. I wanted…
arunvg
  • 1,209
  • 1
  • 20
  • 31
-1
votes
1 answer

Subquery with title in Semantic MediaWiki

I have 2 template: - Relations - name1 - name2 and - People - mainlabel ( the name of the guy as title of my page ) - age - etc.. Ok, now I would find every people friend of "MrX", and retrieve his personal information (…
M4rk
  • 2,172
  • 5
  • 36
  • 70
-2
votes
1 answer

Modelling ternary relations in a semantic wiki

Standard example to model a binary relation is "Dad likes Mom". In a Wiki I would have two pages for Mom and Dad and a (directed) property "likes". I need to model "ternary relations". For example: Peter goes to New York using a bus. John goes to…
Bastl
  • 2,926
  • 5
  • 27
  • 48
-2
votes
1 answer

How do I force MediaWiki to evaluate a function with high priority?

I have a persistent issue with a default tag in a "show on select" form.
{{#show: MyPage | ?MyAttribute}} {|class="formtable" ! A: | {{{field|input type = text|default= {{#show SomePage | ?SomeAttribute}} }}} |- ! B: |…
user1258361
  • 1,133
  • 2
  • 16
  • 25
1 2 3
10
11