Hi Hady,

I wish you and all the good people of Egypt all the best. Must be
tough times right now.


On 10 July 2013 15:14, Hady elsahar <[email protected]> wrote:
>
> Another Question :
>
> for a property Flag in wikidata , it seems that
> http://www.wikidata.org/wiki/Property:P163
> is the URI for it

I think the Linked Data URI is

http://www.wikidata.org/entity/P163

(It seems a bit strange that Wikidata properties are also using the
"/entity/" namespace, but I guess it doesn't really matter. Entities
and properties are still distinguished by the "Q" and "P" prefixes.)

>
>
> are we going to use the full uri in the mappings or should we add a short cut 
> to the namespace ? like WikiDataProp: or something

I think we should add a shortcut "wikidata" for
"http://www.wikidata.org/entity/";. We currently keep all these
prefixes in this class:

https://github.com/dbpedia/extraction-framework/blob/dump/core/src/main/scala/org/dbpedia/extraction/ontology/RdfNamespace.scala

I just added this line (on the dump branch, because the server uses
that branch):

val WIKIDATA = ns("wikidata", "http://www.wikidata.org/entity/";, false)

The last parameter has to be false. Otherwise, these properties would
be ignored.

(It would be nice if we could define all these namespaces on the
mappings wiki, but I guess that's too much work and not important.)


For an example what equivalent properties will look like, go to

http://mappings.dbpedia.org/index.php/OntologyProperty:Author

The wikitext contained

| owl:equivalentProperty = schema:author

I just added a Wikidata property:

| owl:equivalentProperty = schema:author, wikidata:P50

In the HTML rendering, it just looks like this:

| owl:equivalentProperty | schema:author, wikidata:P50 |

It would be nice if the HTML rendering displayed links to Wikidata,
not just strings like "wikidata:P50". You could implement this by
adding a template LinkProperty that works similar to
http://mappings.dbpedia.org/index.php/Template:LinkClass . Oh, the
beauty of MediaWiki template code. ;-)

I already deployed these changes on the mapping server

http://mappings.dbpedia.org/server/ontology/dbpedia.owl now contains this line:

<owl:equivalentProperty rdf:resource="http://www.wikidata.org/entity/P50"/>

Regards,
JC

>
>
>
> On Wed, Jul 10, 2013 at 3:02 PM, Hady elsahar <[email protected]> wrote:
>>
>> should i be granted access or something in the mapping portal in order to 
>> start making mappings ?
>>
>>
>>
>> On Tue, Jul 9, 2013 at 5:51 PM, Dimitris Kontokostas 
>> <[email protected]> wrote:
>>>
>>> Hi Hady,
>>>
>>> Hope everything is fine there too
>>>
>>> You can use something like this for now
>>> curl http://mappings.dbpedia.org/server/ontology/dbpedia.owl | rapper -I - 
>>> - file -o ntriples | grep equivalentProperty
>>>
>>> http://mappings.dbpedia.org/server/ontology/dbpedia.owl is generated on the 
>>> fly so it is always up-to-date
>>>
>>> Cheers,
>>> Dimitris
>>>
>>>
>>> On Tue, Jul 9, 2013 at 6:06 PM, Hady elsahar <[email protected]> wrote:
>>>>
>>>> Hello All ,
>>>>
>>>> sorry for the inactivity last week , some major things happened in my 
>>>> hometown here , hopefully everything should go fine by now.
>>>>
>>>> i'm reading how to edit the properties , i'll edit some and get back
>>>>
>>>> i didn't get exactly how to parse them from the Owl file ? should i 
>>>> implement a parser for that ?
>>>> and if i added some edits to the Ontology , from where could i extract a 
>>>> new Owl file ?
>>>>
>>>>
>>>> thanks
>>>> Regards
>>>>
>>>>
>>>>
>>>> On Mon, Jul 1, 2013 at 9:35 PM, Dimitris Kontokostas 
>>>> <[email protected]> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Jul 1, 2013 at 5:46 PM, Hady elsahar <[email protected]> 
>>>>> wrote:
>>>>>>
>>>>>> Questions ;) :
>>>>>>
>>>>>> i always push to my forked repo  of the extraction framework , is that 
>>>>>> fine ? or should i send pull requests or something to the main repo ?
>>>>>
>>>>> Keep them in you repo for now, you can make a pull request once you have 
>>>>> a full feature implemented
>>>>>>
>>>>>> nothing was updated yet considering the Properties in the RDF API ? what 
>>>>>> shall be done as a next step
>>>>>> considering adding some mapping properties Wikidata to DBpedia , this is 
>>>>>> not dependable on the RDF API , how can we start doing this ?
>>>>>
>>>>> I suggest you make a few property mappings as owl:equivalentProperties 
>>>>> (e.g. [1]) and then try to parse them from the owl file [2].
>>>>> This is a step you will implement anyway later so you might as well do it 
>>>>> from now.
>>>>>
>>>>> Unless of course you can make any contributions to WikiData RDF Export. 
>>>>> Anja could give you hints for that.
>>>>>
>>>>> Cheers,
>>>>> Dimitris
>>>>>
>>>>> [1] http://mappings.dbpedia.org/index.php/OntologyProperty:Isbn
>>>>> [2] http://mappings.dbpedia.org/server/ontology/dbpedia.owl
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, Jun 30, 2013 at 6:59 AM, Hady elsahar <[email protected]> 
>>>>>> wrote:
>>>>>>>
>>>>>>> Hello All ,
>>>>>>>
>>>>>>> Specific language links Files are generated
>>>>>>>
>>>>>>> here's the script :
>>>>>>> https://github.com/hadyelsahar/extraction-framework/commit/004e56ba0ce5fd652efa5cb32bd249356105dfe3
>>>>>>>
>>>>>>> the language links file names are in the form of :
>>>>>>>
>>>>>>> interlanguage_links_same_as_an.ttl
>>>>>>> interlanguage_links_same_as_eo.ttl
>>>>>>> interlanguage_links_same_as_es.ttl
>>>>>>> interlanguage_links_same_as_ff.ttl
>>>>>>> interlanguage_links_same_as_zh_classical.ttl       (languages like 
>>>>>>> as-zh-classical are converted into as_zh_classical in file names only )
>>>>>>>
>>>>>>> example file content for lanugage like [it] :
>>>>>>>
>>>>>>> <http://www.wikidata.org/entity/Q1000> 
>>>>>>> <http://www.w3.org/2002/07/owl#sameAs> 
>>>>>>> <http://it.dbpedia.org/resource/Gabon>
>>>>>>> <http://www.wikidata.org/entity/Q1001> 
>>>>>>> <http://www.w3.org/2002/07/owl#sameAs> 
>>>>>>> <http://it.dbpedia.org/resource/Mahatma_Gandhi>
>>>>>>> <http://www.wikidata.org/entity/Q1002> 
>>>>>>> <http://www.w3.org/2002/07/owl#sameAs> 
>>>>>>> <http://it.dbpedia.org/resource/Penisola_dei_Ciukci>
>>>>>>>
>>>>>>> check some other attached file examples
>>>>>>>
>>>>>>> also as JC adviced in the last i updated the used property from 
>>>>>>> schema:about to owl:sameas link
>>>>>>> https://github.com/hadyelsahar/extraction-framework/commit/d99689d1e10da65961733e0e2abe43db8e5951bd
>>>>>>>
>>>>>>>
>>>>>>> -------------------------------------------------
>>>>>>> Hady El-Sahar
>>>>>>> Research Assistant
>>>>>>> Center of Informatics Sciences | Nile University
>>>>>>>
>>>>>>> email : [email protected]
>>>>>>> Phone : +2-01220887311
>>>>>>> http://hadyelsahar.me/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> -------------------------------------------------
>>>>>> Hady El-Sahar
>>>>>> Research Assistant
>>>>>> Center of Informatics Sciences | Nile University
>>>>>>
>>>>>> email : [email protected]
>>>>>> Phone : +2-01220887311
>>>>>> http://hadyelsahar.me/
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> This SF.net email is sponsored by Windows:
>>>>>>
>>>>>> Build for Windows Store.
>>>>>>
>>>>>> http://p.sf.net/sfu/windows-dev2dev
>>>>>> _______________________________________________
>>>>>> Dbpedia-developers mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/dbpedia-developers
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Dimitris Kontokostas
>>>>> Department of Computer Science, University of Leipzig
>>>>> Research Group: http://aksw.org
>>>>> Homepage:http://aksw.org/DimitrisKontokostas
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> -------------------------------------------------
>>>> Hady El-Sahar
>>>> Research Assistant
>>>> Center of Informatics Sciences | Nile University
>>>>
>>>> email : [email protected]
>>>> Phone : +2-01220887311
>>>> http://hadyelsahar.me/
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> See everything from the browser to the database with AppDynamics
>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>> Start your free trial of AppDynamics Pro today!
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>
>>>> _______________________________________________
>>>> Dbpedia-developers mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/dbpedia-developers
>>>>
>>>
>>>
>>>
>>> --
>>> Dimitris Kontokostas
>>> Department of Computer Science, University of Leipzig
>>> Research Group: http://aksw.org
>>> Homepage:http://aksw.org/DimitrisKontokostas
>>
>>
>>
>>
>> --
>> -------------------------------------------------
>> Hady El-Sahar
>> Research Assistant
>> Center of Informatics Sciences | Nile University
>>
>> email : [email protected]
>> Phone : +2-01220887311
>> http://hadyelsahar.me/
>>
>>
>>
>
>
>
> --
> -------------------------------------------------
> Hady El-Sahar
> Research Assistant
> Center of Informatics Sciences | Nile University
>
> email : [email protected]
> Phone : +2-01220887311
> http://hadyelsahar.me/
>
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Dbpedia-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-developers
>

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Dbpedia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-developers

Reply via email to