Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add schema:place #17

Open
fils opened this issue Oct 28, 2022 · 1 comment
Open

Add schema:place #17

fils opened this issue Oct 28, 2022 · 1 comment

Comments

@fils
Copy link
Collaborator

fils commented Oct 28, 2022

Need to add schema:place to the property paths indexed in the GraphDB Lucene connector

@fils
Copy link
Collaborator Author

fils commented Nov 16, 2022

This has been done in the connector combined_two.

SPARQL for this follows but I also need to get the JSON version of this for the records at the repo:

PREFIX :<http://www.ontotext.com/connectors/lucene#>
PREFIX inst:<http://www.ontotext.com/connectors/lucene/instance#>
INSERT DATA {
	inst:combined_two :createConnector '''
{
  "fields": [
    {
      "fieldName": "description",
      "propertyChain": [
        "https://schema.org/description"
      ],
      "indexed": true,
      "stored": true,
      "analyzed": true,
      "multivalued": true,
      "ignoreInvalidValues": false,
      "facet": true
    },
    {
      "fieldName": "name",
      "propertyChain": [
        "https://schema.org/name"
      ],
      "indexed": true,
      "stored": true,
      "analyzed": true,
      "multivalued": true,
      "ignoreInvalidValues": false,
      "facet": true
    }
  ],
  "languages": [],
  "types": [
    "https://www.opengis.net/def/schema/hy_features/hyf/HY_HydroLocation",
    "https://www.opengis.net/def/schema/hy_features/hyf/HY_HydrometricFeature",
    "https://schema.org/Place"
  ],
  "readonly": false,
  "detectFields": false,
  "importGraph": false,
  "skipInitialIndexing": false,
  "boostProperties": [],
  "stripMarkup": false
}
''' .
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant