Talk:RDF:Interfaces: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 9: Line 9:


PW The Help system uses synthesised Resource names (based on user input) to perform searches and index operations. The global creation of those resources could be avoided by an existance check. i.e RDF.hasResource(NC:index + "#" + userTerm) instead of RDF.GetResource and DS.HasAssertion. If there is no resource there is no point looking in the datastore for the definition.
PW The Help system uses synthesised Resource names (based on user input) to perform searches and index operations. The global creation of those resources could be avoided by an existance check. i.e RDF.hasResource(NC:index + "#" + userTerm) instead of RDF.GetResource and DS.HasAssertion. If there is no resource there is no point looking in the datastore for the definition.
Joe Foo on the web loads another RDF/XML datasource that uses that resource and breaks your search? Nice.
Sounds like a bug in your scheme, of some sort.
*5. Is there any way to implement a case insensitive version of getSources?
*5. Is there any way to implement a case insensitive version of getSources?
Yes, by hand.
Yes, by hand.


PW No there isn't. If I have a user entered string, matching it against a case variant of that string will take 2**N HasAssertion operations where N is the length of the string.
PW No there isn't. If I have a user entered string, matching it against a case variant of that string will take 2**N HasAssertion operations where N is the length of the string.
How does adding an API reduce numerical complexity? Stop requesting miracles that are not going to be used anywhere. Or that are merely bugs elsewhere.
If this is still about search, you do case-conversion and dummy word removal before searching, not afterwards.
*6. Are rdf:type and xml:lang handled correctly, at all?
*6. Are rdf:type and xml:lang handled correctly, at all?
Not yet, but at least for rdf:type, there is a bug on file. I know about xml:lang.
Not yet, but at least for rdf:type, there is a bug on file. I know about xml:lang.
Confirmed users, Bureaucrats and Sysops emeriti
2,976

edits