Changes

MyWikiBiz, Author Your Legacy — Tuesday May 07, 2024
Jump to navigationJump to search
Line 5: Line 5:  
</blockquote>
 
</blockquote>
   −
[http://meta.wikimedia.org/wiki/Semantic_MediaWiki Semantic MediaWiki] includes an easy-to-use '''query language''' which enables users to access the wiki's knowledge. The syntax of this query language is very similar to the syntax of [[Help:annotation|annotations]] in Semantic MediaWiki. This query language can be used on the special page [[Special:Ask]] or in [[Help:inline queries|inline queries]].
+
[http://meta.wikimedia.org/wiki/Semantic_MediaWiki Semantic MediaWiki] includes an easy-to-use '''query language''' which enables users to access the wiki's knowledge. The syntax of this query language is very similar to the syntax of [[Help:annotation|annotations]] in Semantic MediaWiki. This query language can be used on [http://ontoworld.org/wiki/Special:Ask special page] (v0.6) or in [[Help:inline queries|inline queries]].
    
Naturally, answering queries requires additional resources, and the administrators of some sites can decide to switch off or restrict most of the features given below in order to ensure that even high-traffic sites can handle the additional load.  
 
Naturally, answering queries requires additional resources, and the administrators of some sites can decide to switch off or restrict most of the features given below in order to ensure that even high-traffic sites can handle the additional load.  
Line 32: Line 32:  
The following queries show what this means:
 
The following queries show what this means:
 
#<nowiki>[[Category:Actor]]</nowiki> gives all pages directly or indirectly (through a sub-, subsub-, etc. category) in the category.
 
#<nowiki>[[Category:Actor]]</nowiki> gives all pages directly or indirectly (through a sub-, subsub-, etc. category) in the category.
#<nowiki>[[born in::Boston]]</nowiki> gives all pages  annotated as being about someone born in [[Boston]].
+
#<nowiki>[[born in::Boston]]</nowiki> gives all pages  annotated as being about someone born in [[Directory:Boston|Boston]].
 
#<nowiki>[[height:=180cm]]</nowiki>  gives all pages  annotated as being about someone having a height of 180cm.
 
#<nowiki>[[height:=180cm]]</nowiki>  gives all pages  annotated as being about someone having a height of 180cm.
   Line 39: Line 39:  
  <nowiki><ask>[[Category:Actor]] [[born in::Boston]] [[height:=180cm]]</ask></nowiki>  
 
  <nowiki><ask>[[Category:Actor]] [[born in::Boston]] [[height:=180cm]]</ask></nowiki>  
   −
asks for everybody who is an actor ''and'' was born in Boston ''and'' is 180cm tall. In other words: when many conditions are written into one query, the result is narrowed down to those pages that meet all the requirements. Thus we have a [[wikipedia:Logical conjunction|logical AND]]. By the way: queries can also include line-breaks in order to make them more readable. So we could as well write:
+
asks for everybody who is an actor ''and'' was born in Boston ''and'' is 180cm tall. In other words: when many conditions are written into one query, the result is narrowed down to those pages that meet all the requirements. Thus we have a [[Centiare:Logical conjunction|logical AND]]. By the way: queries can also include line-breaks in order to make them more readable. So we could as well write:
    
<pre>
 
<pre>
3,699

edits

Navigation menu