[09:00:44] ooookay ... wtf ... how does a property "Phone number" become renamed to "Telephone number" during an upgrade ?! [10:44:50] New patchset: Nischayn22; "Added missing text area." [mediawiki/extensions/SemanticMaps] (nischayn) - https://gerrit.wikimedia.org/r/32882 [12:01:44] New patchset: Nischayn22; "Fix problems with saving properties, concepts, etc" [mediawiki/extensions/SemanticWatchlist] (master) - https://gerrit.wikimedia.org/r/33064 [15:13:05] New patchset: Markus Kroetzsch; "Fix sortkey retrieval in Store3 (Bug 42033, ...)" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/33081 [15:39:57] New review: Yaron Koren; "This looks great. I only have one comment: could you have the button always be "Save", instead of al..." [mediawiki/extensions/SemanticWatchlist] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/33064 [16:39:24] hi can somone help me with properties? [16:39:29] semantic's a dirty word over in the main channel [16:39:31] I need to do this for class and Im a noob [16:39:42] this is what I thought of : [16:39:42] Jessica Alba {{Actresses}} Pomona, [[Is state of::California]][[Has type: String]], U.S. [16:40:02] I created a mediawiki which will hold actresses [16:40:11] You'd want to make a page called Property:Is state of and define the type in there [16:40:17] do I first have to create a property page (and how?? [16:41:03] okay but how? [16:41:17] index.php/Property:Is state of ? [16:42:02] http://semantic-mediawiki.org/wiki/Help:Properties_and_types#Datatypes%20for%20properties [16:42:13] yes I read that [16:42:15] but i dont get it [16:43:22] Here's one of mine [16:43:22] http://www.wikidoc.org/index.php?title=Property:Prompt&action=edit [16:43:49] ah okay [16:43:54] and how do i create it? [16:43:57] http://localhost:4001/wiki/index.php/Property:Is state of? [16:44:26] Yup. [16:45:26] will this suffice? [16:45:27] This is a property of type [[Has type::String]]. [16:45:42] You tell me [16:47:08] mhh it wont work [16:47:16] it is still showing me the syntax [16:47:33] eventough ive created the property now [16:48:02] What makes you think it's not working [16:48:17] when I open my jessica alba wiki page it reads Jessica Alba ist eine Schauspielerin, geboren in Pomona, Is state of::California, U.S. [16:48:28] and it should just say California [16:48:47] do you have it in [[ ]]? [16:49:03] the code is Jessica Alba {{Actresses}} Pomona, [[Is state of::California]], U.S. [16:49:24] Okay, now edit and save the page without making changes. Semantic can be a bit slow on the uptake [16:49:58] yeah Ive tried that a couple of times already :/ [16:49:59] If that doesn't work check it on Special:Browse [16:50:32] http://localhost:4001/wiki/index.php/Spezial:Browse ? [16:50:53] if that's how special is spelled in german, sure [16:51:25] it changed it to that ^^ [16:51:40] it says page is nonexistent [16:52:08] which page [16:52:20] that special:browse [16:52:28] Is semantic mediawiki installed and enabled? [16:52:37] oh oh [16:52:40] verify on Special:Version [16:53:14] it says something bout the license [16:53:47] Do yourself and everyone else a favor. If you encounter a short error, copy paste it. If you encounter a large error, put it in a paste bin [16:53:57] sorry i will [16:54:02] paraphrasing CS errors is kinda like telling your mechanic your car is making a funny noise [16:54:11] http://pastebin.com/93VbxKFC [16:54:40] that makes sense ^^ [16:55:24] Yup. You don't have semantic installed [16:55:39] http://wikidoc.org/index.php/Special:Version [16:56:00] Semantic Mediawiki will be listed on that page when it's installed [16:56:18] great I will try to install :~ [16:58:51] I will be back later, thanks so far [17:20:50] Installing the semantics crashed my wiki :( [17:22:01] what happened there? http://pastebin.com/wzYGwLUE [17:27:39] there is no such folder as Validator [17:37:28] Domerich: you need to also install the Validator extension. [17:56:07] ah thanks [18:00:09] what does that mean ? Die Datenbank meldete den Fehler ?1146: Table 'my_wiki.smw_ids' doesn't exist (localhost)?. [18:03:54] Domerich: you need to go to Special:SMWAdmin, and press the top button. [18:12:01] New patchset: Nischayn22; "Fix problems with saving properties, concepts, etc" [mediawiki/extensions/SemanticWatchlist] (master) - https://gerrit.wikimedia.org/r/33064 [18:17:01] Kid's getting us to do his homework for him [18:25:59] Change merged: Yaron Koren; [mediawiki/extensions/SemanticWatchlist] (master) - https://gerrit.wikimedia.org/r/33064 [18:27:52] Ulfr: well, he's hardly the first. Although I forgot about the fact that this is all for a class assignment... [18:28:08] I'm quite curious about that. I didn't know there were any classes that required people to install SMW. [18:28:15] Yaron: I might've pulled the same stunt, but I'm getting paid [18:28:27] It's about finals time, he's probably scrapping something together for finals [18:28:56] How does you getting paid factor into it? I didn't understand that. [18:30:18] Cheating in class is wrong, cheating in the work world is how IT works [18:40:27] thanks yaron that worked [18:41:51] Domerich: cool. [18:41:59] Ulfr: oh, I get it, right. :) [18:42:14] * Ulfr breathes a sigh of relief [18:42:15] New patchset: Yaron Koren; "Various small fixes" [mediawiki/extensions/SemanticWatchlist] (master) - https://gerrit.wikimedia.org/r/33104 [18:42:32] I thought I looked like a giant ass there for about 10 minutes [18:42:49] Oh, sorry. [18:43:38] Yeah, I mean, maybe school teaches everyone the wrong lessons. [18:44:08] Change merged: Yaron Koren; [mediawiki/extensions/SemanticWatchlist] (master) - https://gerrit.wikimedia.org/r/33104 [18:44:12] I maintain that school taught me very little about being an IT guy and everything about being a person [18:44:28] then again I got a networking degree without having to configure a single router as classwork [18:45:51] The class part of school taught you about being a person? [18:45:53] now the semantics work too, thanks ulfr [18:46:24] No, that was all of the horrible mistakes I made while I was procrastinating [18:46:44] Domerich: Not a problem. The guys in here helped me turn a mediawiki into a giant relational database, might as well pass it on [18:47:01] :) [18:47:35] I have trouble grasping the idea of properties. is it only so search engines can make sense out of it? [18:48:29] Naw, it's so that you can query your wiki [18:48:39] Making it SEO friendly required about 10k lines of wiki parser code [18:48:56] Well, SEO friendly AND stupid proof. [18:49:08] okay so my example was Jessica Alba {{Actresses}} Pomona, [[Is state of::California]], U.S. [18:49:18] what queries would make sense? [18:49:39] will I see all actresses of california? I guess. what else? [18:50:00] nothing, you only have the one property [18:50:25] now if you wanted to know all the actresses from california that fall between 5'6 and 6'0 in height with blue eyes [18:50:30] Semantic's your jam [18:51:25] so how would I add the extra information? [18:51:31] MOAR PROPERTIES [18:52:09] like this? [[is hight of 5"::Jessica Alba]] ? [18:52:28] First one's free. You know everything you need to figure this out [18:52:45] okay I will read that article again [18:53:23] if you're already familiar with objected oriented programming try thinking of the articles you're marking up as objects, while properties are attributes [18:53:42] if you're not, LSD might be the quickest way to wrap your brain around this [18:53:57] LSD? lol [18:54:01] I'm kidding [18:54:10] I know a little java [18:54:18] and php [18:54:27] by little I mean little [18:54:45] probably isn't gonna be easy [18:55:24] This country has a population of [[Has population::1,234,567]]." I will try to apply this to her height [18:58:03] Does this make any sense? [18:58:06] Jessica Alba {{Actresses}} Pomona, [[Is state of::California]], U.S. Her height is [[Has height::1.70m]]. She was born in [Has age::1981]]. [18:59:27] Domerich: in my opinion, it's always better to store semantic properties via templates. [18:59:40] that's what the next task is [18:59:50] but I have no idea what templates do yet [19:00:45] Domerich: so SMW and template are part of your class assignment? [19:01:03] (templates) [19:01:45] for the first week we have to do "properties and types, templates and inline queries. [19:02:58] I will then have a semester's time to program a tool that will help annotating interview transskripts [19:03:19] Wow, interesting. [19:03:33] Is this for college or high school? [19:04:01] yeah except Im a total noob. I'm a post grad with little to no programming experience ^^ [19:04:14] Im doing this by choice so I could actually learn something [19:04:23] Im an industrial engineer [19:04:33] Oh - very interesting. [19:04:51] Well, it's useful knowledge, I think. [19:04:59] I guess. If I can pull it off [19:05:05] Here's an explanation of SMW and templates, by the way: ~/public_html/w/extensions/AdminLinks [19:05:08] Oops! [19:05:12] http://www.semantic-mediawiki.org/wiki/Help:Semantic_templates [19:05:47] thanks... is all this stuff only available in English by the way? [19:07:32] Some of it is available in other languages - you can look at the bottom of each page. [19:08:10] haha sorry! I am used to looking on the right only [19:08:19] much better now := [19:08:20] :) [19:08:26] *to the left I mean [19:09:55] Yeah, there's been quite a lot of translation done. [19:10:20] Change merged: Markus Kroetzsch; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/33081 [19:14:55] New patchset: Jeroen De Dauw; "Merge branch 'master' into 1.9.x" [mediawiki/extensions/SemanticMediaWiki] (1.9.x) - https://gerrit.wikimedia.org/r/33112 [19:15:08] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticMediaWiki] (1.9.x) - https://gerrit.wikimedia.org/r/33112 [19:35:53] New patchset: Yaron Koren; "Added handling for non-existent concept" [mediawiki/extensions/SemanticWatchlist] (master) - https://gerrit.wikimedia.org/r/33114 [19:37:30] Change merged: Yaron Koren; [mediawiki/extensions/SemanticWatchlist] (master) - https://gerrit.wikimedia.org/r/33114 [19:39:20] which function should I use to list all actresses stored in my wiki? [19:43:57] Domerich: Queries are covered in the documentation [19:44:22] I cant seem to find the right one [19:44:48] Domerich: depends on your information model [19:45:06] if every actress has her own page, it'll be some form of #ask [19:45:36] http://semantic-mediawiki.org/wiki/Help:Inline_queries [19:46:43] 'sup Saruman! [19:47:55] Word! [19:48:25] Saruman: That project you gave me some tips on worked out swimmingly after a few initial pitfalls [19:48:34] good! [19:48:44] always nice to be able to help out [19:52:35] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/32861 [20:00:39] thanks [20:03:48] New patchset: Jeroen De Dauw; "Fixed a bunch of issues with feed printer" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/33117 [21:15:04] How can I see all templates I created? [21:34:04] Domerich: /Special:Templates [21:39:30] thx [21:47:23] I cant seem to find my code error [21:47:43] I wanted to do a simple query and it works with some properties except with the one I want it to [21:50:25] so my query is this. {{#ask: [[Category:actress]] [21:50:25] }} [21:50:50] Is it forbidden to use "Category" as a Property? [21:54:47] Domerich: nope [21:54:56] but you'll get every page in that category [21:55:17] and you're not really using it "as a property" [21:55:25] you're using it as a selection criterium [21:56:01] so visit your Category:Actress page, and see if it contains the pages you want to find [21:56:29] also: remember MediaWiki's strange penchant for capitalized owrds [21:56:41] mebby you need {{#ask: [[Category:Actress]]}} [22:00:46] mhhhh let me check [22:02:28] when I open http://localhost:4001/wiki/index.php/Attribut:Category it shows me all my entries [22:08:35] oh okay :: is property, : is category [22:08:58] try http://localhost:4001/wiki/index.php/Categorie:Actress or whatever it is in your language [22:09:05] <- bedtime here [22:09:08] \o [22:09:49] now it works :) [22:25:06] awesome [22:25:22] I now know how to filter properties... but how can I quantify them? [22:26:26] I have an Has height property as an Integer [22:37:20] I got it [22:38:23] thanks for your help y'all [22:38:27] I call it a night [23:58:04] New patchset: Yaron Koren; "Support added for SMWSQLStore3" [mediawiki/extensions/SemanticDrilldown] (master) - https://gerrit.wikimedia.org/r/33152