Terms and Definitions in Neo4j/Neosemantics

37 views
Skip to first unread message

Jeroen Steen

unread,
Jan 14, 2022, 2:25:58 PM1/14/22
to Getty Vocabularies as Linked Open Data
I imported the AAT explicit .nt files into Neo4j with Neosemantics, and I'm trying to find mainly Dutch artforms that can have one or multiple definitions.

For instance the term eludorisch schilderen. I can find it with the cypher query:

MATCH (n:skosxl__Label) WHERE n.ns0__term = "eludorisch schilderen" RETURN n

And the corresponding definition with:

MATCH (n:ns0__ScopeNote) WHERE(n.ns1__identifier="101111") RETURN n

But the term and the scopenote should be linked, but I don't see the relations that connects them with eachother.
I'm aware of the property and value: uri = 'http://vocab.getty.edu/language/nl'

Vladimir Alexiev

unread,
Jul 27, 2022, 4:04:13 AM7/27/22
to Getty Vocabularies as Linked Open Data
Hi Jeroen!
  1. You don't need SKOSXL to search by label. The same string is available as skos:prefLabel
  2. Perhaps you need full-text search for labels? See these 4 sections: http://vocab.getty.edu/doc/queries/#Full_Text_Search_Query
  3. The label and scopeNote are related through the concept (you don't need to extract its id). See http://vocab.getty.edu/doc/#Semantic_Overview. Eg you can find the scope notes in EN and NL with this SPARQL:
select * {
  ?x skos:inScheme aat: ; skos:prefLabel "eludorisch schilderen"@nl;
     skos:scopeNote [dct:language gvp_lang:en; rdf:value ?note_en];
     skos:scopeNote [dct:language gvp_lang:nl; rdf:value ?note_nl]
}


I don't know enough Cypher to help you with your query. But why not use SPARQL?

Reply all
Reply to author
Forward
0 new messages