The Artima Developer Community
Sponsored Link

Java Buzz Forum
Jena SimpleSelector: hmm, oops, ah, ugh

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Bill de hÓra

Posts: 1137
Nickname: dehora
Registered: May, 2003

Bill de hÓra is a technical architect with Propylon
Jena SimpleSelector: hmm, oops, ah, ugh Posted: Aug 26, 2004 7:21 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Bill de hÓra.
Original Post: Jena SimpleSelector: hmm, oops, ah, ugh
Feed Title: Bill de hÓra
Feed URL: http://www.dehora.net/journal/atom.xml
Feed Description: FD85 1117 1888 1681 7689 B5DF E696 885C 20D8 21F8
Latest Java Buzz Posts
Latest Java Buzz Posts by Bill de hÓra
Latest Posts From Bill de hÓra

Advertisement
From the Jena Tutorial on sourceforge: This selector will select all statements with a subject that matches subject, a predicate that matches predicate and an object that matches object. If a nullis supplied in any of the positions, it matches anything; otherwise they match corresponding equal resources or literals. (Two resources are equal if they have equal URIs or are the same blank node; two literals are the same if all their components are equal.) Thus: Selector selector = new SimpleSelector(null, null, null); will select all the statements in a Model. Hmm. JenaReaderTest.java:124: reference to SimpleSelector is ambiguous, both method SimpleSelector(com.hp.hpl.jena.rdf.model.Resource,com.hp.hpl.jena.rdf.model.Property, com.hp.hpl.jena.rdf.model.RDFNode) in com.hp.hpl.jena.rdf.model.SimpleSelector and method SimpleSelector(com.hp.hpl.jena.rdf.model.Resource,com.hp.hpl.jena.rdf.model.Property, java.lang.String) in com.hp.hpl.jena.rdf.model.SimpleSelector match Selector selector = new SimpleSelector(null, null, null); ^ 1 error BUILD FAILED E:\home\propylon\200.200.200.11\svn\iams\trunk\events\build.xml:114: Compile failed; see the compiler error output for details. Oops. Ah. Selector selector = new SimpleSelector(null, null, (RDFNode)null); Ugh. Javaspaces, bitte......

Read: Jena SimpleSelector: hmm, oops, ah, ugh

Topic: Be a language designer... Previous Topic   Next Topic Topic: Assholes and Morons

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use