Hi, I'm looking at Graph streaming for the first time and it seems very interesting. I would like to represent links between pages of a Semantic Wiki. I think you can import a json file created with Semantic Mediawiki (I tried but I can't). Do you know the right way or any other way to do this?
THX, Daniele
P.S. I'm an information visuazation designer and i'm not very able in coding
[SOLVED] Import data from Semantic Mediawiki (Newbie)
-
- Gephi Community Manager
- Posts:964
- Joined:09 Dec 2009 14:41 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Import data from Semantic Mediawiki (Newbie)
Hi,
Could you detail the steps you do by "importing a json file" please?
Could you detail the steps you do by "importing a json file" please?
Re: Import data from Semantic Mediawiki (Newbie)
1. I'm using semantic mediawiki, and I export a JSON file through a query.
The json file looks someting like this:
2. I go to the streaming panel, I press the plus button and I add the following URL
http://localhost/mediawiki/index.php/jsonfile.json
(I have a localserver installed with wamp)
3 I start Master.
At the end, Master is green while client is red.
Client report says me no issue found and 0 processed events.
Thank you very much for your attention
DANIELE
The json file looks someting like this:
Code: Select all
{
"properties": {
"linkedto" : { "valueType": "text" }
},
"items": [
{
"label": "MediawikiPagename",
"linkedto": "another mediawiki pagename",
"uri" : "uri address",
"type" : "mediawiki category"
}
]
}
http://localhost/mediawiki/index.php/jsonfile.json
(I have a localserver installed with wamp)
3 I start Master.
At the end, Master is green while client is red.
Client report says me no issue found and 0 processed events.
Thank you very much for your attention
DANIELE
-
- Gephi Community Manager
- Posts:964
- Joined:09 Dec 2009 14:41 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Import data from Semantic Mediawiki (Newbie)
Hi,
JSON is only a container for the data, but the data itself has to be in a specific format.
As the graph streaming API is made for pushing data in real time, I don't think that it's what you should use. Instead I'm sorry but you need to transform your JSON file to a file that Gephi can import. You'll need the help of a developer.
JSON is only a container for the data, but the data itself has to be in a specific format.
As the graph streaming API is made for pushing data in real time, I don't think that it's what you should use. Instead I'm sorry but you need to transform your JSON file to a file that Gephi can import. You'll need the help of a developer.