Hello Jeff; This is actually a pretty hard issue to reproduce. It seems that a query was created with bad SPIN syntax. Normally the Composer editor will catch these before the file/dataset can be saved. The best advice I have to offer is to find where the SPIN properties are defined and inspect the queries. Composer will give an indicator of which query is bad, and you can use 'Execute as a SPARQL Query' to place the query in the SPARQL view for debugging.
To view where the rules are defined, open (double-click so it appears in the middle form view) one of the sub-properties of spin:command, such as spin:constraint. Then use 'Resource > Find references' to get a list of rules for that property in the References view (will appear in middle-bottom). Double-click on object to view the rule. The .owl extension can be used, but we have chosen to use .rdf to signal that the format is RDF/XML, as opposed to OWL/XML. The usual caveat here, which is that the complexity and problems with RDF/XML is perhaps the most significant impediment for the adoption of semantic technologies. The industry is rapidly moving towards using Turtle as the de facto standard text serialization for RDF, and RDF 1.1 will make this official. -- Scott On May 8, 9:15 am, "Schmitz, Jeffrey A" <[email protected]> wrote: > Hello All, > I'm trying to run constraint checks on a model by refreshing the Problems > view, but when I do, I get the below error and I'm unsure how to find which > of my constraint checks may be causing this as there is no context shown in > the error message. Any idea how I might narrow this down and find which of > my constraints it's choking on? > > One other quick question I had is a co-worker downloaded the latest maestro > addition, and when he tries to create a new RDF/OWL File, there is no option > to create a file with a .owl extension. Is the .owl extension being > deprecated? > > Error when refreshing Problems view... > > Operation failed. > > On: May 8, 2012 9:09:48 AM > > Reason: > com.hp.hpl.jena.query.QueryParseException: Encountered " "}" "} "" at line 7, > column 5. > Was expecting one of: > <IRIref> ... > <PNAME_NS> ... > <PNAME_LN> ... > <VAR1> ... > <VAR2> ... > "exists" ... > <NOTEXISTS> ... > "bound" ... > "coalesce" ... > "if" ... > "bnode" ... > "iri" ... > "uri" ... > "call" ... > "str" ... > "strlang" ... > "strdt" ... > "datatype" ... > "lang" ... > "langmatches" ... > "isURI" ... > "isIRI" ... > "isBlank" ... > "isLiteral" ... > "isNumeric" ... > "regex" ... > "sameTerm" ... > "RAND" ... > "ABS" ... > "CEIL" ... > "FLOOR" ... > "ROUND" ... > "CONCAT" ... > "SUBSTR" ... > "STRLEN" ... > "UCASE" ... > "LCASE" ... > "ENCODE_FOR_URI" ... > "CONTAINS" ... > "STARTS" ... > "ENDS" ... > "YEAR" ... > "MONTH" ... > "DAY" ... > "HOURS" ... > "MINUTES" ... > "SECONDS" ... > "TIMEZONE" ... > "NOW" ... > "MD5" ... > "SHA1" ... > "SHA224" ... > "SHA256" ... > "SHA384" ... > "SHA512" ... > "(" ... > > at > com.hp.hpl.jena.sparql.lang.ParserARQ.perform(ParserARQ.java:86) > at > com.hp.hpl.jena.sparql.lang.ParserARQ.parse(ParserARQ.java:39) > at > com.hp.hpl.jena.query.QueryFactory.parse(QueryFactory.java:132) > at > com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:69) > at > com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:40) > at com.hp.hpl.jena.query.Query.cloneQuery(Query.java:698) > at > com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:97) > at > org.topbraid.spin.constraints.SPINConstraints.convertAskToConstruct(SPINConstraints.java:322) > at > org.topbraid.spin.constraints.SPINConstraints.run(SPINConstraints.java:456) > at > org.topbraid.spin.constraints.SPINConstraints.check(SPINConstraints.java:313) > at > org.topbraid.spintb.checkers.ConstraintResourceChecker.run(ConstraintResourceChecker.java:71) > at > org.topbraidcomposer.markers.problems.Problems.run(Problems.java:73) > at > org.topbraidcomposer.markers.problems.Problems.access$0(Problems.java:52) > at > org.topbraidcomposer.markers.problems.Problems$1.run(Problems.java:42) > at > org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en
