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
1
vote
1 answer

How to query a date with Semantic Mediawiki 1.9

I am using Semantic Mediawiki 1.9 and I have no idea why this query is not working: {{#ask: [[Category:Group]][[EndDate::>{{#time:d F Y }}]] |?HasResponsible=|link=none|mainlabel=-}} PS: when I replace {{CURRENTDAY}} {{CURRENTMONTHNAME}}…
Besma
  • 11
  • 2
1
vote
1 answer

MediaWiki : storing in external databases

I am finding out a way to store the data in external databases rather than the default mediawiki database. As far as reading part is concerned, I am using the ExternalData extension as follows. {{#get_db_data: db=journal-db |from=journals …
user3328377
  • 151
  • 1
  • 4
1
vote
2 answers

How to specify a list of values for an input field by a query?

I have defined a field {{{field|state|default=new|input type=radiobutton}}} pointing to the attribute state: Dies ist ein Attribut des Datentyps [[Datentyp::Text]]. Die möglichen Werte für dieses Attribut sind: * [[Erlaubt Wert::new]] * [[Erlaubt…
Wolfgang Fahl
  • 15,016
  • 11
  • 93
  • 186
1
vote
1 answer

Semantic Mediawiki forms

I am using Semantic Mediawiki Form. I want to change the URL and I'd like to structure the URL so that it contains some fields. E.g.: {country}/{state}/{city}. I want to add these three details to the URL. How do I add that?
1
vote
1 answer

Show Semantic MediaWiki error text instead of warning icon

Starting somewhere around Semantic MediaWiki version 1.0* certain errors stopped being reported as text, and were replaced with a yellow triangular warning icon () with the error text in a rollover tooltip. (Image from:…
meetar
  • 7,443
  • 8
  • 42
  • 73
0
votes
0 answers

How to constrain page properties to a specific category?

I used the pageforms extension to create a form, template, and properties. My question is how do a limit a "page" property (from the form perspective) to only allow pages from a specific category?
Beans
  • 329
  • 4
  • 16
0
votes
1 answer

Query for multible properties?

{{#ask: [[Category:City]] [[Germany::]] |format=list }} Puts out: Berlin How can I get the following to work so it outputs: Berlin, London? {{#ask: [[Category:City]] [[Germany::]] [[England::]] |format=list }}
0
votes
1 answer

Query for additional properties?

Normally you would query like this {{#ask: [[Category:City]] [[Located in::Germany]] |format=list }} How can you make the following work (as a List format)? {{#ask: [[Category:City]] [[Located in::Germany]] [[Located in::England]] …
0
votes
0 answers

Integrating Semantic Mediawiki with Wikibase

Installed Semantic mediawiki version 4.1.0 successfully in wikibase for the linking of wikibase data to semantic mediawiki, When i am trying to create any property inside wikibase then it is showing up with the error after adding semanting mediawiki…
0
votes
0 answers

Semantic Mediawiki: trying to query subobjects

I've page with a long list of subojects. The properties are correctly visibile. I've successfully queried that list from the same page and not I'm trying from another page: I've magaed to point to the page, to filter for the tag, but it doesn't work…
Revious
  • 7,816
  • 31
  • 98
  • 147
0
votes
1 answer

Semantic Mediawiki: Aggregation similar to GROUP BY, adding the Count

Little by little I am trying to learn Semantic Mediawiki almost like in a tutorial. I got so save info (including uri, titles and tags) for each element of a list using subobjects and then to get the list of the tag. This is the wiki page with the…
Revious
  • 7,816
  • 31
  • 98
  • 147
0
votes
1 answer

Semantic Mediawiki: aggregation similar to SQL GROUP BY like #ask query

I've implemented a page with a long list of subojects. Every object contains one article (title + url) and N tags. I'd like to group by tag and show the count of articles related to that tag. Something like: SELECT tag, count(distinct article)…
Revious
  • 7,816
  • 31
  • 98
  • 147
0
votes
0 answers

SMW Table, only show results with a set value

When i use a SMW table {{#ask: [[Category:XY]] |?Referenzwert |format=table |limit=1000 }} I only want to see the pages in the property "Referenzwert" that have the value 1. Is that possible or do i need to create various properties that use…
0
votes
2 answers

Is there a maintenance script that can change all links on pages after a changing the name of a namespace?

Currently, we have about 100 pages under a certain namespace, let's say 'Foo:'. Much more pages contain references to such pages, like so: [[Foo:Hello|Hello]]. If we change the namespace from 'Foo:' to 'Foo2:', all links like [[Foo:Hello|Hello]] are…
0
votes
1 answer

MediaWiki Semantic Template: Property "" (as page type) with input value contains invalid characters or is incomplete can cause unexpected results

Thanks to this answer I've created a template which mix a visual representation and populates a semantic one. I've used the template in a page but the last part doesn't work and returns the following message. Property "" (as page type) with input…
Revious
  • 7,816
  • 31
  • 98
  • 147