Re: [SMW-devel] postgres Support

2009-01-11 Thread S Page
sheartening. You use ($wgDBtype == 'postgres') to check , http://www.mediawiki.org/wiki/$wgDBtype <http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_13_3/phase3/includes/db/DatabasePostgres.php> but there are some global variables and such set up elsewh

Re: [SMW-devel] How to get the raw page name from an inline query result

2008-12-09 Thread S Page
ueries#Standard_parameters_for_inline_queries> I added a suggestion to use |link=none| to the "Using templates for custom formatting" section of this page. Cheers, -- =S Page -- SF.Net email is Sponsored by

Re: [SMW-devel] Appearance of Query Result -- External Links with text label

2008-11-29 Thread S Page
matching the criteria. > Also, we would really like to display the > results of the parser extension ldapinfo > <http://www.sourcecodeonline.com/details/mediawiki_extension__ldap_info.html> > as a property….We are using Medi

Re: [SMW-devel] Inline Query Question

2008-11-01 Thread S Page
quot;New functions: Set and Declare" in September, you might be able to use these features to set your previousRaceNum but that doesn't seem like their intent. -- =S Page - This SF.Net email is sponsored by the Mob

Re: [SMW-devel] two small extensions

2008-09-22 Thread S Page
Andreas Wombacher wrote: > I made two small extensions: Well done! To tell the world, * Create a page for it in the Extension: namespace on www.mediawiki.org * Maybe add it to http://www.mediawiki.org/wiki/Extension_Matrix (that list may/may not be updated automatically) * If it requires SMW, ad

Re: [SMW-devel] Trouble with a simple query special page

2008-09-20 Thread S Page
Kai Hüner wrote: > I just want to create a special page that returns a CSV file: A list > of all instances of a category, some of their property values and some > static values. I assume you know you could just put something like: {{#ask: [[Category:Person]] |?Foaf:mbox |?Affiliation |fo

Re: [SMW-devel] unicode error

2008-09-18 Thread S Page
Robert Murphy wrote: > I discovered that since I'd updated a template concerned > solely with my Greek language pages, is generating an error on every update: > > 2008-09-18 12:16:05 494100 refreshLinks Greek:ΑΙΩΝ > PHP Warning: preg_split(): Compilation failed: nothing to repeat at > offset

[SMW-devel] I messed up SMW in Subversion with Rev. 40976

2008-09-18 Thread S Page
all. I'll switch my SVN access to anonymous read-only. Apologies. -- =S Page Here's the log copy -r37479 svn+ssh://[EMAIL PROTECTED]/svnroot/mediawiki/branches/REL1_2 svn+ssh://[EMAIL PROTECTED]/svnroot/mediawiki/trunk/extensions/SemanticMediaWiki Committed revision 40976. switch s

[SMW-devel] special [[Property:Has format]] (was Re: [News] Plans for SMW 1.4)

2008-09-09 Thread S Page
MediaWiki's easy ability to say [[the page|exactly what I want to display]] -- suddenly bug numbers appear with commas and without links, images appear with random sizes, etc. I explain how SMW is re-displaying the underlying data values, but to them it isn't "doing what I want&qu

Re: [SMW-devel] AnyDateTime library

2008-09-03 Thread S Page
t the edge of the range and then do some simple timestamp= ( + (12 * (MM + 31 * (DD + 24 * (HH + 60 * (MM + 60 * SS) to turn it into a large number. Again, only bother doing this for ISO8601 dates. Good luck y'all, and despis

[SMW-devel] sorting pages with multiple values for a property

2008-06-30 Thread S Page
r, so there's no "first" property value on a page. ==> Should http://semantic-mediawiki.org/wiki/Help:Semantic_search#Sorting_results just say "If pages have multiple values for the property, their sort order is undefined."

Re: [SMW-devel] SMW inverse properties

2008-06-08 Thread S Page
y:Subproperty_of> does now. I hope this simplistic overview helps. BIG DISCLAIMER: I haven't inspected the new features in SMW 1.2, nor have I used SMW with SMW_RAPStore (RDF API for PHP) instead of the default SMW_SQLStore. As ever, I'd love to hear of people's experiences u

Re: [SMW-devel] RDFa support for SMW

2008-06-06 Thread S Page
statements (with the "| " alternate text). I'm not arguing against it, just wondering. -- =S Page = = = = = = = early message = = = = = = = Subject: Re: [Semediawiki-user] Do (could) types show up in the HTML? Date: Sun, 26 Mar 2006 22:51:12 -0800 To: [EMAIL PROTECTED] Reference

Re: [SMW-devel] Cannot disable further results link

2008-06-06 Thread S Page
s a proper searchlabel > link. I couldn't reproduce that problem on SMW 1.2 pre-releases. I just get searchlabel once as the last row of the embedded list. -- =S Page - Check out the new SourceForge.net Marketplac

[SMW-devel] questions about Using templates, in inline queries help

2008-06-02 Thread S Page
the first column. Rather, I have to use |? to make the unnamed column (i.e. the page title) appear. -- =S Page - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Vis

Re: [SMW-devel] [PATCH] SMW rejects .info as email address

2008-04-30 Thread S Page
domains. You can get a bugzilla.wikimedia account to file your own bugs; you should still mention them on one of the semediawiki- mailing lists. -- =S Page - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference

Re: [SMW-devel] Creating a real Enumeration

2008-04-15 Thread S Page
manticweb.org/wiki/Test_allows_value_number#Test_pseudo-numbers> I described this a while back in the mailing list message "tip: flexibility with Allows_value in 1.0, replaces enumerations" and just added the idea to the doc in

Re: [SMW-devel] Special notation of numbers

2008-04-15 Thread S Page
sionValues() to parse this sprintf-like format. FWIW the GNU units program http://www.gnu.org/software/units/ , the most impressive conversion program I've found, doesn't attempt multiple units, nor does Java JSR-275 (units). Come

Re: [SMW-devel] Database Layout

2008-04-01 Thread S Page
are complicated! If you figure anything out yourself, please document it in http://ontoworld.org/wiki/Semantic_MediaWiki_database_tables or you can send it to me. Copy back all or part of the file from semantic-mediawik

[SMW-devel] service links: fix to make numbers useful, other questions

2008-03-25 Thread S Page
I wanted to link to a service that converts currencies. This avoids the confusion that arises representing currencies as a custom type and converting using [[corresponds to]], because currency rates fluctuate. Currently SMW_DV_Number.php doesn't pass the unit to service links, just the numeric

Re: [SMW-devel] Request for renaming "n-ary relations"

2008-03-22 Thread S Page
Markus Krötzsch wrote: > Re naming: we really used the term only as a technical reference during > development (at a time when SMW still had "relations"). ... > One could also call them "many-valued properties". Done.

Re: [SMW-devel] New: Announcing your wiki to the Semantic Web

2008-03-21 Thread S Page
In February Markus Krötzsch wrote: > P.S. You can find the results at > http://pingthesemanticweb.com/stats/namespaces.php That home page's "Recently updated RDF documents" doesn't work as I expect. It shows: 4 mins ago http://ontoworld.org/index.php?title=Special:ExportRDF/Ontoworld.org:Ge

Re: [SMW-devel] Extension ResultPrinter output escaping

2008-03-16 Thread S Page
r < and > ? Guessing away, -- =S Page - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___

Re: [SMW-devel] Language environment

2008-03-16 Thread S Page
rench or Hebrew. I don't think MediaWiki does that, maybe an extension adds it. > What is the scope of $wgLanguageCode? It's a wiki global, hence "wg". If you want to access a $wg value, just declare global $wgLang; a

Re: [SMW-devel] Use or lack thereof dublin core and revision history metadata

2008-03-13 Thread S Page
ion, see http://meta.wikimedia.org/wiki/RDF_metadata http://www.mediawiki.org/wiki/Extension:RDF However, this code seems disabled in most installations, e.g. http://ontoworld.org/wiki.phtml?title=Berlin&action=dublincore I'm

Re: [SMW-devel] Editing pages on semantic-mediawiki.org

2008-03-12 Thread S Page
ediaWiki moves user comments to Talk pages which are hard to monitor, especially when they're 95% disorganized historical comments. And I don't know how to allow anyone to edit the semantic-mediawiki.org Talk pages but continue to restrict the other namespaces. Hence if you want to comment i

Re: [SMW-devel] [Semediawiki-user] Multilingual SMW

2008-03-07 Thread S Page
The translation code is in SMW 1.0, but you have to enable it in SMW_Settings.php: set $smwgTranslate = true; Then, if you've set a different language in your user prefs or you tack on ?uselang=fr, Special:Browse does indeed translate what it can! You don't actually have to have multiple wi

Re: [SMW-devel] Virtual Instances

2008-03-03 Thread S Page
stop you trying ;-) > you might include > the text '[[Celestial class#Dysnomia::Moon]]', to semantically > indicate that Dysnomia is a moon. That's confusingly different from subject-predicate-object order of RDF triples, something like [[#Dysnomia::Celestial clas

Re: [SMW-devel] Classes vs. Categories

2008-03-03 Thread S Page
n the topic. (BTW I tried to rename ontoworld's singular category names, but its users have the notion "is_a City" and prefer singular category names.) There's a lot of ways to do it... Cheers, -- =S Page -

Re: [SMW-devel] Two questions/bugs/requests regarding #ask

2008-02-25 Thread S Page
work with what used to be called attributes. This and several other details of the various comparators are now at http://semantic-mediawiki.org/wiki/Help:Semantic_search#Comparators Thanks to Guy Heathcote and Markus for e-mailing explanations of {{#ask:}} that got me started. Folk

Re: [SMW-devel] Case insensitive property pages

2008-02-18 Thread S Page
Sergey Chernyshev wrote: > It looks like property pages are matching properties case insensitively. Yes, for properties of type:Page. Also a number of other features are case insensitive for property names of Type:Page. For example, a search by property, http://www.techpresentations.org/Special

[SMW-devel] SearchByProperty wildcard and substring features?

2008-02-02 Thread S Page
and there's no sub-string matching. I think those were in the obsolete SearchTriple page. So I took all that out. -- =S Page - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio

Re: [SMW-devel] Subcategories in ask results

2008-01-15 Thread S Page
Markus Nitsche wrote: > in Version 1.0 of SMW, ask query results for a certain category do not > only contain the articles of this category but also its subcategories. You're right. That seems new to me, I'll resurrect my 0.7 to see if it's a regression. This seems to contradict Markus Krötzs

[SMW-devel] orphaned Relation_talk pages?

2007-12-11 Thread S Page
In the upgrade from 0.7 to 1.0, Attribute pages become Property pages, and if you run SMW_unifyProperties.php it moves Relation pages to the Property namespace. However, I think Relation talk pages are left behind, e.g. http://ontoworld.org/wiki/Relation_talk:Is_a I didn't see any orphan Attribut

[SMW-devel] swedish collation error on semantic-mediawiki.org with category query and some pages

2007-12-08 Thread S Page
http://semantic-mediawiki.org/index.php/Help:Semantic_search and http://semantic-mediawiki.org/index.php/Help:Inline_queries both give error: Database error A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query

[SMW-devel] lots of invalid Relations in Special:Wantedpages, at least on ontoworld.org

2007-12-04 Thread S Page
meone]] that correctly links to Property:Author. The bogus link to the old page goes away if you edit the page (purge doesn't seem to be enough). Could someone run SMW_refreshData.php on ontoworld.org? Thanks,

[SMW-devel] SMW documentation (Re: ask query format=template)

2007-12-04 Thread S Page
edits for the more official documentation; but that someone won't be me until mid-December. Regards, -- =S Page - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. Fro

Re: [SMW-devel] {{#ask}}

2007-11-29 Thread S Page
Denny Vrandečić wrote: > Any idea how to add page and wiki-meta data to SMW? The problem is, by > simply adding further special properties (last modified date, creation > date, etc.) it seems to clutter the property namespace... Well, doing > the implementation is not trivial either, but heck :

Re: [SMW-devel] inline warnings are crawled by Google

2007-11-06 Thread S Page
http://googlewebmastercentral.blogspot.com/2007/09/improve-snippets-with-meta-description.html> suggests you can control the snippet using a tag, you might be able to change your skin to output something here. You can turn off the snippet altogether with , see <http://www.google.com/suppor

Re: [SMW-devel] restoring XML backup

2007-11-02 Thread S Page
uch of work... I would remove anything that has an query in it, and/or anything that has the mysterious extension or template that's generating the class="tbl stuff. I hope these guesses help. -- =S Page - This SF.n

Re: [SMW-devel] Bug in page-enumerations handling, plus fix

2007-10-30 Thread S Page
hoping I don't trash Subversion! Thanks, -- =S Page > Anyway, there's a bug in the handling of properties of type "Page" that > are enumerations - fields that have this property get a "not on the list > of possible values" error on the screen if they h

Re: [SMW-devel] Hiding some information

2007-10-25 Thread S Page
y speculating, hope this helps, -- =S Page - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Downl

Re: [SMW-devel] additional geographic coordinate input form

2007-10-16 Thread S Page
rence for degree (°) and some other entities and decimal references for minutes and seconds, which seems an accidental oversight. I came up with a patch to SMW_DV_GeoCoords.php for that. -- =S Page - This SF.net email is spo

Re: [SMW-devel] News on SMW 1.0

2007-10-14 Thread S Page
n currently. (The great news is most use of the attribute and relation namespaces is implied by := and ::, and those automatically refer to Property after upgrading.) -- =S Page - This SF.net email is sponsored by: Splunk Inc.

[SMW-devel] coding: TypeHandlers and OldDataValue

2007-10-03 Thread S Page
e ordering enhancement. -- =S Page - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt

[SMW-devel] SMW_unifyProperties.php and Re: [Semediawiki-user] A note on using SMW SVN

2007-10-01 Thread S Page
Markus Krötzsch wrote: > * (maintenance script) SMW_refreshData.php There's another maintenance script, SMW_unifyProperties.php. It move all pages in the Relation namespace to new pages in the Property namespace. (The Attribute namespace becomes the Property namespace in SMW 1.0, so attribu

Re: [SMW-devel] Semantic link for citations

2007-09-29 Thread S Page
e citations? I don't know. People on this mailing list have discussed the limitations of n-ary relations as a collection of types rather than nested properties. Hope this helps, -- =S Page - This SF.net email is spons

Re: [SMW-devel] Feature request

2007-09-16 Thread S Page
o the > main development thread. File an enhancement bug, supply code that addresses the bug, and maybe someone with SVN rights will pick it up and check it in. Even if not, you can keep a local copy with your changes and regularly update it to latest SVN

Re: [SMW-devel] dated integer type

2007-09-12 Thread S Page
Jeff Thompson wrote: > Are you saying development happens in German on some other list? No, I was just saying Markus and Denny and I think some other developers in Germany wrote all the new code since 0.7 (and I thanked them with part of the German national anthem). -- =S German women, German l

Re: [SMW-devel] dated integer type

2007-09-10 Thread S Page
Yaron Koren wrote: > Can you explain the reasoning that went into this [the composite type] > decision? Sorry, no. I'm more an early user of Semantic MediaWiki 1.0pre-alpha3 than a developer. I'm trying it out, filing bugs, and writing docs but AFAIK the development was Deutschland und AIFB

Re: [SMW-devel] dated integer type

2007-09-10 Thread S Page
hic_coordinate seems like a compound type, it still has to fit all its information into the generic smw_attributes database table -- new columns don't magically appear for two float values. [1] http://sourceforge.net/mailarchive/forum.php?thread_name=92475E44-19E0-4D07-A626-8C60A697216E%40rdfin

[SMW-devel] upgrading to SMW 1.0: docs, inline queries, overlapping names

2007-09-02 Thread S Page
Note well that even though SMW 1.0pre-alpha3 is running on ontoworld.org, SMW 1.0 is not released! I started http://ontoworld.org/wiki/Upgrading_from_SMW_0.7_to_SMW_1.0 , comments welcome. 1. I noticed several ontoworld.org pages have the caution triangle in place of queries. A lot of them we

Re: [SMW-devel] property :: and := ?

2007-08-27 Thread S Page
Eep² wrote: > Asking this again because I never got an answer before on the user list You probably got ignored because you're simultaneously dismissive and ignorant of what SMW tries to achieve. But hey, I'm just guessing. You seem to be using Semantic Forms which I understand builds on SMW to

Re: [SMW-devel] Issue with printTriples in pre-alpha 1.0 release

2007-08-26 Thread S Page
ng that unambiguously specify the type of this value." Surely that string should be _wpg, not__typ. Also getXSDValue() for e.g. a property of Type:Integer returns the localized string "Integer:", I'm not sure why it doesn't return "Page" instead of _wpg. B

Re: [SMW-devel] SMW feedback, futures (was Unify relations and attributes?)

2007-08-14 Thread S Page
dfs:subClass). For what it's worth, in SMW 0.7 you could have a template {{weather effect|rain}} that inserts [[effect::weather| ]] as well as [[weather effect::{{{1}}}]]. That would save typing, but would not organize the factbox the way you want. > See http://www.tnlc.com/wiki/ind

Re: [SMW-devel] SMW feedback, futures (was Unify relations and attributes?)

2007-08-13 Thread S Page
uot;prop" that would would make > it easier to use (and type)--"rel" and "att" could be > shortened forms of the current parameter names too. I find I'm often typing property names and :: and :=, but very rarely do I type "Relation" or "Attribute&q

Re: [SMW-devel] Postgresql Version and OWL?

2007-07-02 Thread S Page
nd you can "import a vocabulary", see http://ontoworld.org/wiki/Help:Import_vocabulary , so that when SMW properties are exported as RDF, they will use the external vocabulary. For example, http://ontoworld.org/wiki/Attribute:Name is exported in RDF as . > There are some > develop

Re: [SMW-devel] Translation of SMW to Spanish

2007-05-16 Thread S Page
Jesús Espino wrote: > Here you have translation file of SMW to Spanish. Ignore my earlier post, I'm insane. I checked in your improved file. ¡Muchas gracias! -- =S Page - This SF.net email is sponsored by DB2

Re: [SMW-devel] Ask parser function?

2007-05-16 Thread S Page
Jim Wilson wrote: > Is there an equivalent to but as a parser function? Akin to {{#ask}}? I don't think so. What do you want to achieve? Do you want to use the result of a query in a template? -- =S Page - Thi

Re: [SMW-devel] Translation of SMW to Spanish

2007-05-16 Thread S Page
iki/languages/SMW_LanguageEs.php -- =S Page - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://so

Re: [SMW-devel] "Enumeration" type not working

2007-04-30 Thread S Page
Yaron Koren wrote: > The nondeterministic order for the values might be an issue. I just confirmed in my local copy using MySQL that the [[allows value]] special properties aren't necessarily stored or retrieved in the same order as they appear on the page. > Though not a big one, I don't thin

Re: [SMW-devel] "Enumeration" type not working

2007-04-30 Thread S Page
is guaranteed to match the order they appear on the page. Now is as good a time as any to offer my apologies for not contributing to the 0.7 release. :-( I'm sorry and hope to do better. -- =S Page - This SF.net

Re: [SMW-devel] localized dates

2007-04-17 Thread S Page
nabled). Sorry to ramble... sorry I'm not more expert on MW internals... sorry I keep apologizing :-) -- =S Page - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2

Re: [SMW-devel] Image type class for SMW 0.6

2007-04-05 Thread S Page
perhaps you could make the XSD string the URL of the image and use the XSD type http://www.w3.org/2001/XMLSchema#anyURI Anyway, well done! -- =S Page - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge

Re: [SMW-devel] localized dates

2007-04-05 Thread S Page
language in My Preferences, I don't see localized SMW strings. To see them I set $wgLanguageCode in LocalSettings.php. Am I doing something wrong? Thanks for your insight on these issues, it should help get localization right. -- =S Page

Re: [SMW-devel] data types

2007-03-29 Thread S Page
ea > where to dig for a solution? What does Special:Types show? If you add an attribute using one of the built-in types does it work? -- =S Page - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net

Re: [SMW-devel] test suite for SMW

2007-03-19 Thread S Page
S Page wrote: > I mean to look at > http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/tests/ These use PHPunit, but it seems an old version, and they're for internal testing of particular classes, not testing pages with extensions. MediaWiki also has maintenance/parserTests.p

Re: [SMW-devel] Semi-automatic annotation of (a copy of) Wikipedia

2007-03-16 Thread S Page
Lukasz Bolikowski wrote: > I have just started my PhD research on synchronizing knowledge > between language versions of semantically-annotated Wikipedia > (suggesting updates and corrections in individual versions based > on the consensus knowledge). One of the problems is to obtain > (or create

Re: [SMW-devel] [swikig] Translation to Polish + feature requests

2007-03-15 Thread S Page
'')) 9 AND ((t0.page_namespace=0) OR (t0.page_namespace=6)) I think what happens is InlineQuery makes a second query of the smw_attributes table in lines 6-8 for the second constraint. If instead it applied both constraints at once in line 4: AND t1.attribute_title='Possible_

Re: [SMW-devel] Help:Category page returns as empty because of || (bug 9178)

2007-03-08 Thread S Page
Thanks for your reply. I tracked it down some more. As I updated the bug, I think this broke in revision 17529 when normalizeRedirects() switched from working on article names to working on Title objects. The function uses array_diff with an empty array, I think to remove duplicates, but this

Re: [SMW-devel] New team member

2007-03-06 Thread S Page
eview, like Mozilla, e.g.: https://bugzilla.mozilla.org/show_bug.cgi?id=369930#c12 Regards, -- =S Page - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the

[SMW-devel] test suite for SMW

2007-03-05 Thread S Page
#x27;wiki text2' 'should result in yyy' etc. There are existing test relations and test attributes in [[Category::Testpage]] we can use. http://en.wikipedia.org/wiki/Unit_testing ! http://en.wikipedia.org/wiki/List_of_unit_tes

[SMW-devel] Help:Category page returns as empty because of || (bug 9178)

2007-03-05 Thread S Page
s tonight (tomorrow in Germany). -- =S Page - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brie

[SMW-devel] units in PhpWiki (was Re: patch: mass type support)

2007-03-04 Thread S Page
eone has translated units.dat. Is there more information about PhpWiki and its take on a semantic Wiki? I installed PhpWiki from SourceForge, and got a few errors, so I'm not sure what results I should be seeing. (Errors below.) Good luck with your work! -- =S Page Appendix: my

[SMW-devel] performance check-in: avoid datavalue DB lookups (bug 8752), more to do

2007-02-12 Thread S Page
I changed SMW_DataValue.php to defer computing datavalue members desiredUnits, serviceLinks, and possibleValues until requested. Without this, I verified that a simple inline query like [[Climate:=+]] makes five GetSpecialPropertyValues database queries for the special properties HAS_TYPE, MAIN

Re: [SMW-devel] [Semediawiki-user] enum attribute type

2007-01-08 Thread S Page
$this->typeid; >} The user-defined typeid is not going to be one of the XML Schema Description datatypes. Check the RDF Export of a page, I think you should export the string appearance and identify it as a XMLSchema#string. Warmest regards, -- =S Page --

[SMW-devel] some commits to SVN

2006-12-05 Thread S Page
revision 18167: Fix for http://bugzilla.wikimedia.org/show_bug.cgi?id=7881 , use #anyURI as XSD Type for Type:URL revision 18168: Reuse "unit" in inline queries to allow specifying a format for date/time. revision 18173: Enhancement: implement a boolean attribute datatype. revision 18174: Per

[SMW-devel] supporting date formats in inline queries (with patch)

2006-11-28 Thread S Page
I noticed in http://ontoworld.org/wiki/Date-related_tables that user Patrick is trying to display parts of a date. For example, show Jul 6 as birthday of G.W. Bush whose date of birth is 1946-07-06. Inline queries allow passing a unit, e.g. [[mass:=*oz]] will show masses in ounces instead of

Re: [SMW-devel] SemanticWeb conference dates + deadlines als ical?

2006-11-26 Thread S Page
Joerg Diederich wrote: > I just started to play around with google calendar and I really think > it's useful. Now it would be great to have the usual conference dates > + deadlines in it, too. Some people already have public calendars of > events and deadline, but they are incomplete, badly mainta

Re: [SMW-devel] Boolean Attribute type

2006-10-13 Thread S Page
Markus Krötzsch wrote: > I still have to be convinced that we need a Boolean type. > SMWBooleanTypeHandler is only 60 lines of code. I don't yet feel strongly about adding it because I haven't seen Wikipedia pages with an obvious Boolean property in them. I'll make my patch available for Ma

Re: [SMW-devel] Idea: Export page properties like time of last edit as attributes

2006-10-08 Thread S Page
ion table. * Querying for "Has type", "Main display unit", "Imported from", etc. would query against the smw_specialprops table. * If the Wikidata project takes off, querying against other special properties would query the appropriate dedicated Wikidata table. Enhancin

Re: [SMW-devel] Boolean Attribute type

2006-09-28 Thread S Page
I implemented Type:Boolean, complete with garbled fr and de translations. It accepts true/false, 1/0, and language-specific strings. Attribute:HotOrNot [[has type::Type:Boolean]] User:Skierpage [[HotOrNot:=not]] I'd check it in, but the public key I sent Markus and Denny for skierpage