Re: [SMW-devel] "one-to-many" validation
Hi Yaron, Have you looked into my patch about validation. Could you please update status? On Wed, Nov 30, 2011 at 12:35 AM, Yaron Koren wrote: > Hi Vladimir, > > Sorry about the delay - we've had the Thanksgiving break here, which has > restricted my internet time significantly. This patch sounds very > interesting, and I plan to look at it at some point soon, unless someone > else does first. > > -Yaron > > On Tue, Nov 29, 2011 at 12:26 PM, Vladimir Kostyukov < > vladimir.kostu...@gmail.com> wrote: > >> Hi All! I've resent my mail about validation patch, because I haven't >> got any feedback. >> >> I've just successfully implemented correct validation feature in >> Semantic Forms (see attached). >> >> Actually, when I've started use SMW I was surprised that it is not >> support any validation mechanism (I mean one-to-many case). >> >> Now, we can use "existing values only" property for "text with >> autocomplete input" and with "combobox" elements. But I've changed >> behavior of validation mechanism. Now incorrect fields are not >> clearing when user input incorrect data. It is checking on submitting >> phase. >> >> Also my patch fixed bug with fields which edited last. For instance: >> we can enable "existing values only" for combobox in current >> implementation and it will not work for fields, in which we enter >> incorrect data and than click submit (without changing focus) (see >> "change" event of jQuery). >> >> In current patch version there is not special message for "non >> existing value". I am using "blank field" message. >> >> I use my patch in our corporate project and it works fine. What do >> think about it? >> >> -- >> Thanks, >> Vladimir Kostyukov >> >> >> -- >> All the data continuously generated in your IT infrastructure >> contains a definitive record of customers, application performance, >> security threats, fraudulent activity, and more. Splunk takes this >> data and makes sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-novd2d >> ___ >> Semediawiki-devel mailing list >> Semediawiki-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel >> >> > > > -- > WikiWorks · MediaWiki Consulting · http://wikiworks.com > -- Thanks, Vladimir Kostyukov -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Semantic Result Formats 1.7 beta 1
Hey all, I am proud to announce the first beta release of Semantic Result Formats 1.7. This beta release is meant to give you a chance to test 1.7 and try out the new features. You should not run it on production wikis. I'd like to thank all the people that contributed to this release, especially James Hong Kong and DaSch for contributing completely new formats :) == What's new == New formats in this version are: * valuerank (written by DaSch) * D3Line, D3Bar and D3Treemap (written by James Hong Kong) (requires MW 1.17 or later) Other new features: * Added value distribution support to jqplotpie and jqplotbar. * Added warning message to jqplotpie and jqplotbar shown when there are no results instead of a non-working chart. * Added min parameter to jqplotbar to set the minimun value for the Y-axis. * Added pointlabel parameter to jqplotbar and chartlegend, legendlocation, datalabels and datalabeltype parameters to jqplotpie based on a patches by James Hong Kong. == Compatibility changes == * Compatibility with SMW 1.7 and later. * Dropped support for MediaWiki 1.15.x and SMW < 1.7. == Download == You can get this beta release from * Google Code: https://semantic-result-formats.googlecode.com/files/SemanticResultFormats1.7beta1.zip * SVN: http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SemanticResultFormats/REL_1_7beta1/ == Installation / Upgrading == You can install or upgrade as usual by just replacing the old files with the new. == Testing and reporting issues == If you find any issues with this beta release, please report them on bugzilla ( https://bugzilla.wikimedia.org/ ) under extensions/SemanticResultFormats, or here on the list (bugzilla is preferred), so they can be addressed before the actual release. -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] SMW and Virtuoso configuration ?
Hi Markus, Thanks. I updated the configuration and now I have some results, although I was quite sure i tried this settings before. Next step is to find out what happen if i have 2 SMW's on Virtuoso. With 4Store i use 2 instances and it works fine. Giovanni PS. working conf SMW 1.17 beta and virtuoso-opensource-6.1 $smwgDefaultStore = 'SMWSparqlStore'; $smwgSparqlDatabase = 'SMWSparqlDatabase'; // for 4Store $smwgSparqlQueryEndpoint = 'http://localhost:8890/sparql/'; $smwgSparqlUpdateEndpoint = 'http://localhost:8890/update/'; $smwgSparqlDataEndpoint = ''; // can be empty .. [SPARQL] ;ExternalQuerySource= 1 ;ExternalXsltSource = 1 ;DefaultGraph = http://localhost:8890/DAV ResultSetMaxRows = 1 MaxQueryCostEstimationTime = 400; in seconds MaxQueryExecutionTime = 60; in seconds DefaultQuery = select distinct ?Concept where {[] a ?Concept} DeferInferenceRulesInit= 0; controls inference rules loading .. On 2011-12-06 17:58, Markus Krötzsch wrote: > Dear Giovanni, > > we are still trying to figure out why Virtuoso does not work with SMW > in various cases. It cannot be a difficult problem but some support on > the user side for testing would help to speed up diagnosis. > > As a first measure, I suggest you turn off $smwgSparqlDataEndpoint; > i.e., you leave the setting empty. This will use SPARQL update instead > of the SPARQL-over-HTTP protocol for writing. Maybe it works, maybe it > creates more helpful errors. Last time we tried, Virtuoso had trouble > with the SPARQL syntax for named graphs in Updates. If it still fails > to work, we could try and use the non-standard SPARUL-style syntax > with Virtuoso. > > Markus > > > On 06/12/11 14:35, solab wrote: >> Hi all, >> >> It was my intention to see how SMW perform on the 4store and on the >> Virtuoso rdf store. >> >> Runing 4store was simple but i have some difficulties with virtuoso. >> >> I run the SMW_refreshData.php, after virtuoso configuration, but no >> errors are visible and no data from the inline queries. >> >> Does somebody have a idea what i have to check or what could be wrong ? >> >> Thanks >> Giovanni >> >> PS my conf >> >> ==sparql Local settings == >> $smwgDefaultStore = 'SMWSparqlStore'; >> $smwgSparqlDatabase = 'SMWSparqlDatabase'; >> $smwgSparqlQueryEndpoint = 'http://localhost:8890/sparql'; >> $smwgSparqlUpdateEndpoint = 'http://localhost:8890/update'; >> $smwgSparqlDataEndpoint = 'http://localhost:8890/dataspace'; // can >> be empty >> >> >> ==sparql part my viruoso.ini== >> >> [SPARQL] >> ExternalQuerySource = 1 >> ExternalXsltSource = 1 >> DefaultGraph= http://localhost:8890/dataspace >> ImmutableGraphs = http://localhost:8890/dataspace >> ResultSetMaxRows = 1 >> MaxQueryCostEstimationTime = 400; in seconds >> MaxQueryExecutionTime = 60 ; in seconds >> DefaultQuery = select distinct ?Concept where {[] a >> ?Concept} >> DeferInferenceRulesInit= 0 ; controls inference rules loading >> >> >> -- >> >> >> Cloud Services Checklist: Pricing and Packaging Optimization >> This white paper is intended to serve as a reference, checklist and >> point of >> discussion for anyone considering optimizing the pricing and >> packaging model >> of a cloud services business. Read Now! >> http://www.accelacomm.com/jaw/sfnl/114/51491232/ >> ___ >> Semediawiki-devel mailing list >> Semediawiki-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel >> > -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] SMW and Virtuoso configuration ?
Dear Giovanni, we are still trying to figure out why Virtuoso does not work with SMW in various cases. It cannot be a difficult problem but some support on the user side for testing would help to speed up diagnosis. As a first measure, I suggest you turn off $smwgSparqlDataEndpoint; i.e., you leave the setting empty. This will use SPARQL update instead of the SPARQL-over-HTTP protocol for writing. Maybe it works, maybe it creates more helpful errors. Last time we tried, Virtuoso had trouble with the SPARQL syntax for named graphs in Updates. If it still fails to work, we could try and use the non-standard SPARUL-style syntax with Virtuoso. Markus On 06/12/11 14:35, solab wrote: > Hi all, > > It was my intention to see how SMW perform on the 4store and on the > Virtuoso rdf store. > > Runing 4store was simple but i have some difficulties with virtuoso. > > I run the SMW_refreshData.php, after virtuoso configuration, but no > errors are visible and no data from the inline queries. > > Does somebody have a idea what i have to check or what could be wrong ? > > Thanks > Giovanni > > PS my conf > > ==sparql Local settings == > $smwgDefaultStore = 'SMWSparqlStore'; > $smwgSparqlDatabase = 'SMWSparqlDatabase'; > $smwgSparqlQueryEndpoint = 'http://localhost:8890/sparql'; > $smwgSparqlUpdateEndpoint = 'http://localhost:8890/update'; > $smwgSparqlDataEndpoint = 'http://localhost:8890/dataspace'; // can be empty > > > ==sparql part my viruoso.ini== > > [SPARQL] > ExternalQuerySource = 1 > ExternalXsltSource = 1 > DefaultGraph= http://localhost:8890/dataspace > ImmutableGraphs = http://localhost:8890/dataspace > ResultSetMaxRows = 1 > MaxQueryCostEstimationTime = 400; in seconds > MaxQueryExecutionTime = 60 ; in seconds > DefaultQuery = select distinct ?Concept where {[] a ?Concept} > DeferInferenceRulesInit= 0 ; controls inference rules loading > > > -- > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point of > discussion for anyone considering optimizing the pricing and packaging model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > ___ > Semediawiki-devel mailing list > Semediawiki-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel > -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] SMW and Virtuoso configuration ?
Hi all, It was my intention to see how SMW perform on the 4store and on the Virtuoso rdf store. Runing 4store was simple but i have some difficulties with virtuoso. I run the SMW_refreshData.php, after virtuoso configuration, but no errors are visible and no data from the inline queries. Does somebody have a idea what i have to check or what could be wrong ? Thanks Giovanni PS my conf ==sparql Local settings == $smwgDefaultStore = 'SMWSparqlStore'; $smwgSparqlDatabase = 'SMWSparqlDatabase'; $smwgSparqlQueryEndpoint = 'http://localhost:8890/sparql'; $smwgSparqlUpdateEndpoint = 'http://localhost:8890/update'; $smwgSparqlDataEndpoint = 'http://localhost:8890/dataspace'; // can be empty ==sparql part my viruoso.ini== [SPARQL] ExternalQuerySource = 1 ExternalXsltSource = 1 DefaultGraph= http://localhost:8890/dataspace ImmutableGraphs = http://localhost:8890/dataspace ResultSetMaxRows = 1 MaxQueryCostEstimationTime = 400; in seconds MaxQueryExecutionTime = 60 ; in seconds DefaultQuery = select distinct ?Concept where {[] a ?Concept} DeferInferenceRulesInit= 0 ; controls inference rules loading -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel