Re: [SMW-devel] Pretty URIs

2013-10-15 Thread Benedikt Kämpgen
Hello,

Is our help page on Pretty URIs [1] outdated?

I am trying on a Semantic MediaWiki (Version 1.8) (53ef894), but neither 
can I retrieve the RDF via curl (e.g., as possible here [2]) nor are the 
pretty URIs used in the RDF.

Any hints are appreciated.

Best,

Benedikt

[1] http://semantic-mediawiki.org/wiki/Help:Pretty_URIs
[2] curl -LH Accept: application/RDF+xml 
http://semanticweb.org/id/ISWC2013-2BASWC2013


On 03/06/2011 06:30 PM, Markus Krötzsch wrote:
 On 05/03/2011 16:12, Benedikt Kaempgen wrote:
 Done, see http://www.semantic-mediawiki.org/wiki/Help:Pretty_URIs

 Can be improved, but probably sufficient for a start.

 Thanks!

 Markus


 --
 Karlsruhe Institute of Technology (KIT)
 Institute of Applied Informatics and Formal Description Methods (AIFB)

 Benedikt Kämpgen
 Research Associate

 Kaiserstraße 12
 Building 11.40
 76131 Karlsruhe, Germany

 Phone: +49 721 608-47946 (!new since 1 January 2011!)
 Fax: +49 721 608-46580 (!new since 1 January 2011!)
 Email: benedikt.kaemp...@kit.edu
 Web: http://www.kit.edu/

 KIT – University of the State of Baden-Wuerttemberg and
 National Research Center of the Helmholtz Association


 -Original Message-
 From: Markus Krötzsch [mailto:mar...@semantic-mediawiki.org]
 Sent: Friday, March 04, 2011 6:16 PM
 To: Benedikt Kaempgen
 Cc: SMW developer list
 Subject: Re: [SMW-devel] Pretty URIs

 On 02/03/2011 14:42, Benedikt Kaempgen wrote:
 Hi,

 I think it would be interesting for some to have some description in the
 manual of how to have pretty URLs in SMW:

 That seems very useful, yes. Logically, this would be part of the
 administrator's manual, and could be linked from the relevant options
 documented on Help:Configuration.

 - Markus


 -
 ==Pretty URIs with SMW==
 For each page in the wiki one wants to have properly defined identifiers:

 * Resource ID with content negotiation:
 http://semanticweb.org/id/Karlsruhe
 * HTML Version: http://semanticweb.org/wiki/Karlsruhe
 * RDF Version: http://semanticweb.org/wiki/Special:ExportRDF/Karlsruhe

 For that, one needs to do:

 * Tell LocalSettings.php:

 // Pretty URIs
 $wgScriptPath = /; # Path to the actual files.
 $wgArticlePath = /wiki/$1;  # Virtual path. This directory MUST be
 different from the one used in $wgScriptPath
 $wgUsePathInfo = true;# Enable use of pretty URLs
 $smwgNamespace = http://semanticweb.org/id/';

 * Define alias and rewrite rules in webserver:

 For instance, Apache:

 # Define Alias
 Alias /web C:/webserver/htdocs/LinkedDataSMW/index.php

 # Rewrite to URIResolver of SMW
 RewriteRule ^/id/(.*) /web/Special:URIResolver/$1 [L,P]

 * For MW specific information and alternatives, see
 [http://www.mediawiki.org/wiki/Manual:Short_URL]
 ---

 Can anyone tell me where we could put and link to such a description?

 Best,

 Benedikt


 --
 Karlsruher Institut für Technologie (KIT)
 Institut für Angewandte Informatik und Formale Beschreibungsverfahren
 (AIFB)

 Benedikt Kämpgen
 Wissenschaftlicher Mitarbeiter

 Kaiserstraße 12
 Gebäude 11.40
 76131 Karlsruhe

 Telefon: +49 721 608-47946 (!neu seit 1.1.2011!)
 Fax: +49 721 608-46580 (!neu seit 1.1.2011!)
 E-Mail: benedikt.kaemp...@kit.edu
 Web: http://www.kit.edu/

 KIT – Universität des Landes Baden-Württemberg und
 nationales Forschungszentrum in der Helmholtz-Gemeinschaft






 
 --
 Free Software Download: Index, Search   Analyze Logs and other IT data in
 Real-Time with Splunk. Collect, index and harness all the fast moving IT
 data
 generated by your applications, servers and devices whether physical,
 virtual
 or in the cloud. Deliver compliance at lower cost and gain new business
 insights. http://p.sf.net/sfu/splunk-dev2dev



 ___
 Semediawiki-devel mailing list
 Semediawiki-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/semediawiki-devel



-- 
AIFB, Karlsruhe Institute of Technology (KIT)
Phone: +49 (721) 608 48941
Email: benedikt.kaemp...@kit.edu
Web: http://www.aifb.kit.edu/web/Hauptseite/en



--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk
___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


[SMW-devel] The future of the SMW query stores

2013-10-15 Thread Jeroen De Dauw
Hey,

The last release introduced SQLStore3, a partial rewrite of SQLStore2,
improving on the performance of its predecessor. That is not the end of the
story for the SMW query stores though.

This email was prompted by work MWJames is doing in supporting MongoDB \o/
https://gerrit.wikimedia.org/r/#/c/88534/

For a while now, there have been two items on our Roadmap about utilizing
new libraries I created for the Wikidata project, that are both based on,
and usable by, SMW components.

* https://semantic-mediawiki.org/wiki/Roadmap#Make_use_of_DataValues_library
* https://semantic-mediawiki.org/wiki/Roadmap#Make_use_of_Ask_library

There now is a third such component, which might enable us to get a nice
improvement to our SQLStore without all to much effort. I described this
here:

https://semantic-mediawiki.org/wiki/Wikibase_QueryEngine

This is still quite far off, assuming no one else jumps on it, given that
it requires the earlier two items to be finished first. Feedback on the
idea is however welcome. And awareness of these preliminary plans, or
rather possibilities (I'm not committed to doing this at this point), is
good for those doing or planning to do something related to the SMW storage
infrastructure.

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] The future of the SMW query stores

2013-10-15 Thread david mason
May I suggest that ElasticSearch is considered instead of MongoDB.

ElasticSearch is the index engine of the new MediaWiki Search, so end users
won't need to set up and support multiple data stores. Like MongoDB it is a
document store that natively uses JSON, and is really easy to set up and
run (a .deb is available). It's super easy to work with and since it's
based on Lucene incredibly powerful for many operations. I've used both
Mongo and ES and definitely prefer the latter.

They each have their strengths, MongoDB is more of a key value store, ES is
more of a search server (though I'd assert it could do the KV stuff adding
very useful search operations and no additional infrastructure if using MW
search), in either case this seems like it would be a big win in terms of
better structured, more accessible data!

David


On 15 October 2013 20:08, Jeroen De Dauw jeroended...@gmail.com wrote:

 Hey,

 The last release introduced SQLStore3, a partial rewrite of SQLStore2,
 improving on the performance of its predecessor. That is not the end of the
 story for the SMW query stores though.

 This email was prompted by work MWJames is doing in supporting MongoDB \o/
 https://gerrit.wikimedia.org/r/#/c/88534/

 For a while now, there have been two items on our Roadmap about utilizing
 new libraries I created for the Wikidata project, that are both based on,
 and usable by, SMW components.

 *
 https://semantic-mediawiki.org/wiki/Roadmap#Make_use_of_DataValues_library
 * https://semantic-mediawiki.org/wiki/Roadmap#Make_use_of_Ask_library

 There now is a third such component, which might enable us to get a nice
 improvement to our SQLStore without all to much effort. I described this
 here:

 https://semantic-mediawiki.org/wiki/Wikibase_QueryEngine

 This is still quite far off, assuming no one else jumps on it, given that
 it requires the earlier two items to be finished first. Feedback on the
 idea is however welcome. And awareness of these preliminary plans, or
 rather possibilities (I'm not committed to doing this at this point), is
 good for those doing or planning to do something related to the SMW storage
 infrastructure.

 Cheers

 --
 Jeroen De Dauw
 http://www.bn2vs.com
 Don't panic. Don't be evil. ~=[,,_,,]:3
 --


 --
 October Webinars: Code for Performance
 Free Intel webinars can help you accelerate application performance.
 Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
 from
 the latest Intel processors and coprocessors. See abstracts and register 
 http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk
 ___
 Semediawiki-devel mailing list
 Semediawiki-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel