Sparql data stored by database-ms has subject, predicate and object as URL's ( Edit: Issue Description Updated)
- Dominant language
- Java
- Stars
- 2
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Are there any extractors which index labels against URL's in the sparql db from the current code? I have tried open IE MS and it returns URL's for all the three fields of triples. I am not sure about other extractors.
We had a discussion with Ricardo about this and he mentioned that Auto Index will index URL vs Label and not URL vs URL.
Some sample FOX answers (shared by Ricardo):
Query : Barack Obama is born in Hawaii
[FOX_output_for__Barack_Obama_is_born_in_Hawaii__.txt](https://github.com/dice-group/sask/files/2144504/FOX_output_for__Barack_Obama_is_born_in_Hawaii__.txt)
Currently, the extractors store
```
foxr:1530176121568 a oa:Annotation , rdf:Statement , foxo:Relation ;
rdf:object dbr:Hawaii ;
rdf:predicate foxo:stanford_livein ;
rdf:subject dbr:Barack_Obama ;
```
but should **also** create this:
`dbr:Barack_Obama rdfs:label "Barack Obama" .`
Finally, Label vs URL has to be indexed in Auto Index and not URL vs URL.
Any suggestions on how to proceed further?
[Additional Information] : The following Query must work against database-ms's sparql db
"SELECT DISTINCT ?key1 ?key2 WHERE{ \n \
?key1 a owl:Thing . ?key1 rdfs:label ?key2 .}". If yes, then isEntityCustomized and EntitySelectQuery can be omitted from the parameters passed and just end point URL would suffice.
**[EDIT 05.07.2018]** : Current Query which works with Auto Index and is passed by database-ms to AutoIndex.
SELECT DISTINCT ?key1 ?key2
WHERE{
?key1 rdfs:label ?key2 .
}
Current Tested Extractor : FOX.
**EXPECTED Query to be passed to Auto Index:**
"SELECT DISTINCT ?key1 ?key2 WHERE{ \n
?key1 a owl:Thing . ?key1 rdfs:label ?key2 .}".
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.