own-pt / delphin-rdf

RDF specifications for DELPH-IN semantic representations and a Pydelphin plugin for RDF generation.
MIT License
2 stars 3 forks source link

terminology declarations in the DMRS RDF output? #35

Open arademaker opened 2 years ago

arademaker commented 2 years ago
dmrs:h  rdf:type  dmrs:ScopalRelation .
dmrs:neq  rdf:type  dmrs:ScopalRelation .
dmrs:arg1  rdf:type  dmrs:Role .
dmrs:rstr  rdf:type  dmrs:Role .

Those triples should be in the vocabularies, right? Why we are producing them in the graph of the DMRS?

yfaria commented 2 years ago

Yes, they should and, in fact, they are (see https://github.com/own-pt/delphin-rdf/blob/master/vocabularies/dmrs.ttl#L77 for example of the arg1). The code generates them because I wasn't able to find a list of possible roles and scopal relations in DMRS when the code was written. The roles are simpler because those come from MRS roles, so I knew the possibilities.

arademaker commented 2 years ago

Not sure if I understood, but what action we can take? Do you still really need to generate these triples? We do have arguments for generating those triples in the DMRS generation of a given semantic representation?