fadmaa / grefine-rdf-extension

An extension to Google Refine that enables graphical mapping of Google Refine project data to an RDF skeleton and then exporting it in RDF format
http://refine.deri.ie
Other
94 stars 55 forks source link

Custom objectProperty Assertions rdf #93

Open ajith-k-dharwar-db opened 10 years ago

ajith-k-dharwar-db commented 10 years ago
<NamedIndividual rdf:about="http://mydb.com/Mydb-CP-001-001">
    <rdf:type rdf:resource="http://mydb.com/Products"/>
    <ace_lexicon:PN_sg>Mydb-CP-001-001</ace_lexicon:PN_sg>
    <rdf:about>Maintenance</rdf:about>
    <rdf:comment>Maintenance</rdf:comment>
   <mydb:Creates rdf:resource="&mydb;Account"/>
</NamedIndividual>

I am having trouble creating custom objectProperty Assertions as this requires actual objectproperty name (see line 6) in the tag (based on reverse engineering from Protege). How I can I create the assertions in rdf Skeleton?

Thanks AJ

fadmaa commented 10 years ago

I am not sure I got your question. Can you provide a sample row of your data? Creating a custom "fixed" property should be straightforward (notice that "Add it" or shift +enter option in the autocomplete popup). By "Fixed" property I mean its value is known at the design time and does not come from the data itself i.e. currently you cannot use GREL and the values in the cells for the property URI. Does that help?

ajith-k-dharwar-db commented 10 years ago

Thanks for the clarification. property URIs is exactly what I am looking for do you have any recommendations and workarounds to import CSV data as RDF with custom objectProperty Assertions. In other words I am trying to relate and owl:namedIndividuals in a class with other namedIndividuals in different classes.

fadmaa commented 10 years ago

If the data is already in CSV, then create a project in Refine with the CSV data then export the data in RDF by designing the schema first as in this tutorial: http://refine.deri.ie/rdfExport

see also http://refine.deri.ie/extResources for further tutorials.

If the source data is not in CSV, then Refine can also import XML. I didn't try that much though