Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 23 04:11
    garyphilip opened #332
  • Aug 23 20:26
    Rayckey closed #331
  • Aug 23 20:26
    Rayckey commented #331
  • Aug 23 17:14
    rspeer commented #331
  • Aug 23 14:35
    masterparser commented #331
  • Aug 21 08:44
    KaiPoChang commented #331
  • Aug 21 04:17
    Rayckey opened #331
  • Aug 21 00:16
    Rayckey commented #306
  • Jul 18 23:27
    mjgiancola edited #330
  • Jul 18 23:27
    mjgiancola opened #330
  • Jun 04 16:45
    rspeer commented #327
  • Jun 03 14:32
    rspeer commented #327
  • Jun 03 12:03
    tae898 commented #317
  • Jun 03 02:44
    ghamzak commented #327
  • Jun 03 00:22
    basels commented #317
  • Jun 03 00:15
    basels commented #323
  • Jun 02 13:28
    Lejla1979 commented #327
  • May 30 15:09
    TaichiY496 commented #306
  • May 30 08:40
    shivamag125 opened #327
  • May 28 08:46
    way151 commented #316
Zhanwen Chen
@zhanwenchen
Hey guys. The web app is throwing 500s now: https://conceptnet.io/c/en/chair
Zhanwen Chen
@zhanwenchen
Btw, I managed to build and deploy successfully on my end. If anyone needs help just ping me
5 replies
gautamsingh24
@gautamsingh24:matrix.org
[m]
I'm using this API to build the MCQ. As per my requirement I created the URL as "http://api.conceptnet.io/query?node=/c/en/%s/n&rel=/r/PartOf&start=/c/en/%s&limit=5" but it's throwing 500 error. Can anyone confirm is it working on your system or not? because Just want to confirm is this URL is correct or not.
1 reply
youmna
@Youmna-Salah
Hallo!
The app is down for sometime, any news about when it will be up and working again?
Zhanwen Chen
@zhanwenchen
Alternatively, there's a CSV for all the pre-built edges (assertions): https://github.com/commonsense/conceptnet5/wiki/Downloads. It's only 475MB
Zhanwen Chen
@zhanwenchen
Btw the CSV is tab separated without header. It's huge so I suggest using pandas like df = pd.read_csv(csv_fname, delimiter='\t', header=None)
Holly
@Hollie7
Hello! I meet the same problem that the server is down. Could anyone please be so kind to tell what's going on & will the server be repaired in a few days? Because I am conducting an experiment for my school work and really hope to take ConceptNet as an important comparison benchmark. Thanks a lot!
Motoki Yatsu
@m-yatsu
Is public Web API under maintenance? I can see a concept through Web browsers, but JSON-LD API is not working.
It always turns 500 status code.
Motoki Yatsu
@m-yatsu
It's nice to see you back!
farrokhsiar
@farrokhsiar
I am new to using conceptnet. Is there predefined embedding that covers all the ConceptNet entries? I tried Numberbatch, but it seems it does not cover all the entries.
Taewoon Kim
@tae898

Hello people!
Since the conceptnet server is often down, I made a simple docker installation setup that you can run locally.

Check out the repo: https://github.com/tae898/conceptnet5
Check out the video tutorial: https://youtu.be/UAM1XwbpOZI

Feel free to ask me questions.

Amirouche Amazigh BOUBEKKI
@amirouche

Hello people!
Since the conceptnet server is often down, I made a simple docker installation setup that you can run locally.

Check out the repo: https://github.com/tae898/conceptnet5
Check out the video tutorial: https://youtu.be/UAM1XwbpOZI

Feel free to ask me questions.

Thanks!

@tae898 by the way, I do not have the commit bit so I can not accept your pull-request.
Taewoon Kim
@tae898
@amirouche welcome! alright then is there someone else who can take care of the PRs?
Amirouche Amazigh BOUBEKKI
@amirouche
apparantly they are offline.
J Boyan
@jboyan
I'm curious why some common proper nouns like 'bezos' are missing from the word vector embeddings and conceptnet altogether? I thought dbpedia was an input source. https://conceptnet.io/c/en/bezos
Rohit.K
@RhtK07
Hi ! I want to enrich the audioset ontology with the help of conceptnet? Can anybody help me/guide me how can i do that?
And if i can, what all tools that are available that will be useful for me!
Thankyou in advance
Yonatan Bitton
@yonatanbitton
Hello
Do someone know how can I calculate relatedness fast?
For example:
https://api.conceptnet.io/relatedness?node1=/c/en/cinderella&node2=/c/en/ariel/n/wp/disney_character
I currently use the python API:
conceptnet_api = f'{conceptlite_lite_api_url}/relatedness?node1={node1}&node2={node2}'
req = requests.get(conceptnet_api).json()
Amirouche Amazigh BOUBEKKI
@amirouche
@rspeer is conceptnet maintenance still on your agenda given you changed job ?
Ilia Sucholutsky
@ilia10000
Hi!
What's the proper strategy for combining multiple word vectors? For example, if I want to compare how similar two sets of words are, what's the right way to use CNNB to do this?
ROAM447
@ROAM447
Hi all! I'm new to conceptnet, and i was trying to find different types of filters to use for the api. I specifically need synonyms and a more difficult to explain one. On the normal website if you type for instance, hello, then it will give you a list of what hello is a type of- e.g. greeting, airline, greeting that people sometimes use - Is there a filter for this?
Ifty Mohammad Rezwan
@imr165_twitter
Very newbie question here. I am working in collecting edge word of labels in conceptnet.
Ignore my previous message please
Very newbie question here. I am working in collecting edge word of labels in conceptnet.
Ifty Mohammad Rezwan
@imr165_twitter
Very newbie question here. I am working in collecting edge word of labels in conceptnet
As I was saying while querying, I manage to get the edges for single words in the api like for example when I query "albatross" like this "https://api.conceptnet.io/c/en/albatross" I get a good result with all the edges. But when I query "black footed albatross" like "https://api.conceptnet.io/c/en/black%20footed%20albatross" or "https://api.conceptnet.io/c/en/black_footed_albatross". I get the result that it is not a node in conceptnet. But what's funny is when I query "black footed albatross" on concepnet.io as "https://conceptnet.io/c/en/black_footed_albatross", I get synonym edges. There's english synonyms present too. So, I wondering If I was something here? Is the api limited in it's support for conceptnet or Am I missing something here. Thank You.
Ifty Mohammad Rezwan
@imr165_twitter
I apologize it seems to be working now
AlexMikhalev
@AlexMikhalev
Hello all, conceptnet5 deployment scripts rely on docker-compose files but there are no docker-compose.yml in the current repository https://github.com/commonsense/conceptnet5/blob/master/scripts/conceptnet.service, how has anyone managed to re-deploy conceptnet on their own servers?
26 replies
pyrator
@pyrator
Hi getting 500 error at the moment with https://api.conceptnet.io/c/en/example
{
"@context": [
"http://api.conceptnet.io/ld/conceptnet5.7/context.ld.json"
],
"error": {
"details": "Internal server error",
"status": 500
},
"version": "5.8.1"
}
4 replies
unxusr
@unxusr
same here @pyrator
L4RVIS
@L4RVIS

hi, so I have this:

object = loadJSON('https://api.conceptnet.io/related/c/en/hotel?limit=10&filter=/c/en');

now how do I get the different objects within this json file? like the third id wich is ski-lodge?

Alex Loftus
@loftusa
Hi all!
I'm super new to conceptnet. I'm trying to find an easy way to get some measure of semantic similarity between two words (e.g., it'd be 1 if the two words are the same, close to 1 if the two words are synonyms, and close to 0 if the two words were completely unrelated). Is there an easy way to do this?
Amirouche Amazigh BOUBEKKI
@amirouche
hello
I started thread at https://github.com/commonsense/conceptnet5/discussions/329 about me self-hosting a backward but scalable REST API
Alex Loftus
@loftusa

There is some trouble when trying to pull relatedness from the server. In Python code:

uri = f"http://api.conceptnet.io/relatedness?node1=/c/en/{node1}&node2=/c/en/{node2}"
r = requests.get(uri)
json = r.json()
relatedness = json["value"]

For some values of [node1, node2], a JSONDecodeError: Expecting value: line 1 column 1 (char 0) is thrown.

However, when I try the same code on the same nodes repeatedly, it'll start working after a few server pings. Meaning there's something wrong with the server.

Mustafa Ali-Saba
@mustafaalisaba
Hi there
Mustafa Ali-Saba
@mustafaalisaba
I am starting with ConceptNet5 by following the tutorial on github (https://github.com/commonsense/conceptnet5/wiki/API). I am understanding the communication through the API and the JSON-LD structure. My question is: are there any tutorials to experiment with conceptnet5, like a practical textbook or something?
Maksim
@MakC-Ukr
Hi, is there any specific way I can only get Antonyms from an API call ?
For e..g for this API call : "https://api.conceptnet.io/c/en/like?format=json" there are more than 1000 results, so checking for those is a waste of resources
Mustafa Ali-Saba
@mustafaalisaba
Hi @MakC-Ukr , maybe this may help you. https://github.com/commonsense/conceptnet5/wiki/URI-hierarchy
Vyacheslav Kim (Kane)
@kanekv
Is there any way to filter out results by language? E.g. I want to get only english synonyms
Vyacheslav Kim (Kane)
@kanekv
Also I don't understand how this would be possible:
{
  "@id": "/relatedness?node1=/c/en/cat&node2=/c/en/pet",
  "value": 0.583,
  "version": "5.8.1"
}
{
  "@id": "/relatedness?node1=/c/en/cat&node2=/c/en/humane_society",
  "value": 0.901,
  "version": "5.8.1"
}
2 replies
Alex Loftus
@loftusa

Hi all, I'm trying to get a better sense for what relatedness actually means (e.g., "/relatedness?node1=/c/en/cat&node2=/c/en/pet" returns a value of 0.583, but I'm not sure where that value comes from).

Is there a paper I can read somewhere that gives a clear definition?

4 replies
Mustafa Ali-Saba
@mustafaalisaba
@loftusa maybe on the paper "ConceptNet 5.5: An Open Multilingual Graph of General Knowledge" there is a section of evaluation of word relatedness
Mustafa Ali-Saba
@mustafaalisaba
it is recommended to install conceptnet locally?