From: Dimitris K. <kon...@in...> - 2014-03-10 11:02:34
|
This depends on the way Wikipedia structures information so different cases might require different approaches. In English Wikipedia for example they don't use this type of templates at all and List extraction is not possible Best, Dimitris On Mon, Mar 10, 2014 at 12:29 PM, Kuys, Gerard <ger...@or...>wrote: > Hi Dimitris, > > Yes, of course, this is true with regard to the lists we currently are > using. But if I were looking not at a list of monuments but at a list of, > for instance, cooking pots, how could I make sure that the template that is > appropriate for cooking pots would be applied? > > Regards, > > Gerard > ------------------------------ > *Van:* Dimitris Kontokostas [kon...@in...] > *Verzonden:* maandag 10 maart 2014 11:25 > *Aan:* Kuys, Gerard > *CC:* Roland Cornelissen; dbp...@li... > *Onderwerp:* Re: [Dbpedia-dutch] Lists > > This is exactly what will happen once the page is assigned the dbo:List > type, > everything other template will generate a new URI and become a dbo:listOf > the main URI. > > > On Mon, Mar 10, 2014 at 12:19 PM, Kuys, Gerard <ger...@or...>wrote: > >> Hi, >> >> I agree, that a list should be typed to a List. However, there is a >> mapping mechanism that should grant that every Item in the List should be >> transformed into a resource of the proper type. So, for instance, there is >> the template 'Tabelrij rijksmonument' which makes sure that a query like: >> >> PREFIX dbpedia-owl: <http://dbpedia.org/ontology/> >> PREFIX foaf: <http://xmlns.com/foaf/0.1/> >> >> SELECT DISTINCT (str(?monNr) AS ?Nr) >> (str(?mon) AS ?Rijksmonument) >> (str(?adr) AS ?naam) >> (str(?jaar) AS ?bouwjaar) >> WHERE >> >> { >> ?lijst dbpedia-owl:wikiPageID 1666607 . # Om niet in de knoei te >> komen met de haakjes van 'Nijmegen_(plaats)' >> ?lijstMonument dbpedia-owl:listItemOf ?lijst . >> OPTIONAL { ?lijstMonument foaf:name ?mon } >> OPTIONAL { ?lijstMonument dbpedia-owl:address ?adr } >> OPTIONAL { ?lijstMonument dbpedia-owl:yearOfConstruction ?jaar } >> OPTIONAL { ?lijstMonument dbpedia-owl:codeNationalMonument ?monNr } >> >> } >> >> will return a set of ArchitecturalStructures (which is the classification >> that will fit all list items). Now, the problem for me, is to attach the >> right template to the right list. How can I make sure, that the 'Lijst van >> rijksmonumenten op begraafplaats Soestbergen' will return a set of >> GraveMonuments or at the very least a set of ArchitecturalStructures? >> >> Regards, >> >> Gerard >> >> >> ________________________________________ >> Van: Roland Cornelissen [met...@gm...] >> Verzonden: maandag 10 maart 2014 9:40 >> Aan: dbp...@li... >> Onderwerp: [Dbpedia-dutch] Lists >> >> Hi, >> >> I noticed errors in extracted lists from Wikipedia; >> >> First of all: when a list from Wikipedia is extracted to DBpedia it gets >> rdf:type dbpedia-owl:Place (etc.). See for example [1]. This is not the >> right type, it is a list and not a place, therefore I think the rdf:type >> of an extracted list should be dbpedia-owl:List [2]. >> >> Second one: Values contained in the list should be extracted as separate >> resources where each resource contains it's own properties (which is 1 >> row in the list or table). >> To have all values in rows directly attributed to the list makes no >> sense which is the case now... >> >> Third (which is a more generic problem) : the latitude and longitude >> values that are extracted should be geo:lat and geo:long (xsd:float), >> now those are just numbers and don't contain decimal degrees following >> wgs84. I have seen this in other places too. We need to fix the >> coordinates imho. >> >> Thanks, >> Roland >> >> [1] http://nl.dbpedia.org/page/Lijst_van_onroerend_erfgoed_in_Riemst >> [2] http://dbpedia.org/ontology/List >> [3] www.w3.org/2003/01/geo/wgs84_pos >> >> >> ------------------------------------------------------------------------------ >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/13534_NeoTech >> _______________________________________________ >> Dbpedia-dutch mailing list >> Dbp...@li... >> https://lists.sourceforge.net/lists/listinfo/dbpedia-dutch >> >> Disclaimer >> Dit bericht met eventuele bijlagen is vertrouwelijk en uitsluitend >> bestemd voor de geadresseerde. Indien u niet de bedoelde ontvanger bent, >> wordt u verzocht de afzender te waarschuwen en dit bericht met eventuele >> bijlagen direct te verwijderen en/of te vernietigen. Het is niet toegestaan >> dit bericht en eventuele bijlagen te vermenigvuldigen, door te sturen, >> openbaar te maken, op te slaan of op andere wijze te gebruiken. Ordina N.V. >> en/of haar groepsmaatschappijen accepteren geen verantwoordelijkheid of >> aansprakelijkheid voor schade die voortvloeit uit de inhoud en/of de >> verzending van dit bericht. >> >> This e-mail and any attachments are confidential and are solely intended >> for the addressee. If you are not the intended recipient, please notify the >> sender and delete and/or destroy this message and any attachments >> immediately. It is prohibited to copy, to distribute, to disclose or to use >> this e-mail and any attachments in any other way. Ordina N.V. and/or its >> group companies do not accept any responsibility nor liability for any >> damage resulting from the content of and/or the transmission of this >> message. >> >> >> ------------------------------------------------------------------------------ >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/13534_NeoTech >> _______________________________________________ >> Dbpedia-dutch mailing list >> Dbp...@li... >> https://lists.sourceforge.net/lists/listinfo/dbpedia-dutch >> >> > > > -- > Dimitris Kontokostas > Department of Computer Science, University of Leipzig > Research Group: http://aksw.org > Homepage:http://aksw.org/DimitrisKontokostas > > Disclaimer > Dit bericht met eventuele bijlagen is vertrouwelijk en uitsluitend bestemd > voor de geadresseerde. Indien u niet de bedoelde ontvanger bent, wordt u > verzocht de afzender te waarschuwen en dit bericht met eventuele bijlagen > direct te verwijderen en/of te vernietigen. Het is niet toegestaan dit > bericht en eventuele bijlagen te vermenigvuldigen, door te sturen, openbaar > te maken, op te slaan of op andere wijze te gebruiken. Ordina N.V. en/of > haar groepsmaatschappijen accepteren geen verantwoordelijkheid of > aansprakelijkheid voor schade die voortvloeit uit de inhoud en/of de > verzending van dit bericht. > > This e-mail and any attachments are confidential and are solely intended > for the addressee. If you are not the intended recipient, please notify the > sender and delete and/or destroy this message and any attachments > immediately. It is prohibited to copy, to distribute, to disclose or to use > this e-mail and any attachments in any other way. Ordina N.V. and/or its > group companies do not accept any responsibility nor liability for any > damage resulting from the content of and/or the transmission of this > message. > -- Dimitris Kontokostas Department of Computer Science, University of Leipzig Research Group: http://aksw.org Homepage:http://aksw.org/DimitrisKontokostas |