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

Want to see the triple with S,P,O #65

Closed
kaka7537 opened this issue Apr 12, 2016 · 7 comments
Closed

Want to see the triple with S,P,O #65

kaka7537 opened this issue Apr 12, 2016 · 7 comments

Comments

@kaka7537
Copy link

error case
In this screenshot, I can see some properties that occur errors. but I'd like to see the triple with S, P, O format that occur errors. For example,
S1 http://dbpedia.org/ontology/influencedBy O1
S2 http://dbpedia.org/ontology/influencedBy O2
S3 http://dbpedia.org/ontology/influencedBy O3
S4 http://dbpedia.org/ontology/influencedBy O4
It will show us 4 triples because 'http://dbpedia.org/ontology/influencedBy' property occurs 4 errors in this screenshot.
I tried to fix some code after clone this code on my local machine, but it is too big to fix.. I have no idea where to fix.. Would you give me some advice?
Thank you

@jimkont
Copy link
Member

jimkont commented Apr 13, 2016

Hi, RDFUnit can return results in different formats, see here for examples.
by default the results are stored in the folder ./data/results in html, you can request other (multiple) formats with -o ttl,html,...

Does this cover your question?

@jimkont
Copy link
Member

jimkont commented Apr 13, 2016

in your case, if you want the whole triple you should use -r extended but note that this is not possible in all cases e.g. when something is missing.

@kaka7537
Copy link
Author

Thank you for replying!
I added '-r extended' command. So I typed 'bin/rdfunit -d <MY_TTL_FILE> -r extended'. and the result is the picture below.
As you can see, it didn't show S, P, O.
2

@jimkont
Copy link
Member

jimkont commented Apr 13, 2016

if you look at my first comment: #65 (comment) you can get the results in different formats

by default the results are stored in the folder ./data/results in html, you can request other (multiple) formats with -o ttl,html,...

@kaka7537
Copy link
Author

'-o ttl' command show me the triple with S,P,O format. but this isn't what I expected to see.
I want to see the exact triples in my TTL file that occur errors.
for example, if 'http://dbpedia.org/ontology/country' property occurs 1 error, the machine extract that triple in my TTL file. like, http://ko.dbpedia.org/resource/테네시_주 http://dbpedia.org/ontology/country http://ko.dbpedia.org/resource/미국 .

@jimkont
Copy link
Member

jimkont commented Apr 13, 2016

Does this solve your problem? You cannot always know all s|p|o, sometimes you know only s and other only s|p

e.g. for minCount 1 for ex:prop constraints violations you can only tell s|p not 'o'

@jimkont
Copy link
Member

jimkont commented Jun 8, 2016

feel free to re-open if that solution does not cover your issue

@jimkont jimkont closed this as completed Jun 8, 2016
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

2 participants