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

Environment: use also organisation for where #15

Open
bkrrrr opened this issue Feb 4, 2018 · 0 comments
Open

Environment: use also organisation for where #15

bkrrrr opened this issue Feb 4, 2018 · 0 comments

Comments

@bkrrrr
Copy link
Contributor

bkrrrr commented Feb 4, 2018

Well known organisation have a location, but its seldom mentioned because everybody knows it.

dId:e8f99dba78d92238a950e1546491354e98b58b369741d67e74f5cf00
about: Houston_Astros (US-Baseball-Team)

Example:
image

"where": {
      "extracted": [
        {
          "parts": [
            [
              {
                "nlpToken": {
                  "index": 29,
                  "word": "City",
                  "originalText": "City",
                  "lemma": "City",
                  "characterOffsetBegin": 388,
                  "characterOffsetEnd": 392,
                  "pos": "NNP",
                  "ner": "LOCATION",
                  "speaker": "PER0",
                  "before": " ",
                  "after": " "
                },
                "aida": [
                  {
                    "mention": {
                      "allEntities": [
                        {
                          "kbIdentifier": "YAGO:Newcastle_City_Hall",
                          "disambiguationScore": "0.12285"
                        }
                      ],
                      "offset": 388,
                      "name": "City Hall",
                      "length": 9,
                      "bestEntity": {
                        "kbIdentifier": "YAGO:Newcastle_City_Hall",
                        "disambiguationScore": "0.12285"
                      }
                    },
                    "bestEntityMetadata": {
                      "knowledgebase": "YAGO",
                      "depictionurl": "http://upload.wikimedia.org/wikipedia/commons/5/51/Newcastle_City_Hall.jpg",
                      "depictionthumbnailurl": "http://upload.wikimedia.org/wikipedia/commons/thumbNewcastle_City_Hall.jpg/200px-Newcastle_City_Hall.jpg",
                      "importance": 0.013199101842693224,
                      "entityId": "Newcastle_City_Hall",
                      "type": [
                        "YAGO_yagoGeoEntity",
                        "YAGO_yagoPermanentlyLocatedEntity",
                        "YAGO_wordnet_physical_entity_100001930",
                        "YAGO_yagoLegalActorGeo",
                        "YAGO_wordnet_entity_100001740",
                        "YAGO_wordnet_object_100002684",
                        "YAGO_wordnet_area_108497294",
                        "YAGO_wordnet_scene_108645963",
                        "YAGO_wikicategory_Music_venues_in_Tyne_and_Wear",
                        "YAGO_wordnet_location_100027167",
                        "YAGO_wordnet_region_108630985",
                        "YAGO_wordnet_venue_108677628"
                      ],
                      "readableRepr": "Newcastle City Hall",
                      "url": "http://en.wikipedia.org/wiki/Newcastle%20City%20Hall"
                    }
                  }
                ]
              },
              "NNP"
            ],
            [
              {
                "nlpToken": {
                  "index": 30,
                  "word": "Hall",
                  "originalText": "Hall",
                  "lemma": "Hall",
                  "characterOffsetBegin": 393,
                  "characterOffsetEnd": 397,
                  "pos": "NNP",
                  "ner": "LOCATION",
                  "speaker": "PER0",
                  "before": " ",
                  "after": ""
                },
                "aida": [
                  {
                    "mention": {
                      "allEntities": [
                        {
                          "kbIdentifier": "YAGO:Newcastle_City_Hall",
                          "disambiguationScore": "0.12285"
                        }
                      ],
                      "offset": 388,
                      "name": "City Hall",
                      "length": 9,
                      "bestEntity": {
                        "kbIdentifier": "YAGO:Newcastle_City_Hall",
                        "disambiguationScore": "0.12285"
                      }
                    },
                    "bestEntityMetadata": {
                      "knowledgebase": "YAGO",
                      "depictionurl": "http://upload.wikimedia.org/wikipedia/commons/5/51/Newcastle_City_Hall.jpg",
                      "depictionthumbnailurl": "http://upload.wikimedia.org/wikipedia/commons/thumbNewcastle_City_Hall.jpg/200px-Newcastle_City_Hall.jpg",
                      "importance": 0.013199101842693224,
                      "entityId": "Newcastle_City_Hall",
                      "type": [
                        "YAGO_yagoGeoEntity",
                        "YAGO_yagoPermanentlyLocatedEntity",
                        "YAGO_wordnet_physical_entity_100001930",
                        "YAGO_yagoLegalActorGeo",
                        "YAGO_wordnet_entity_100001740",
                        "YAGO_wordnet_object_100002684",
                        "YAGO_wordnet_area_108497294",
                        "YAGO_wordnet_scene_108645963",
                        "YAGO_wikicategory_Music_venues_in_Tyne_and_Wear",
                        "YAGO_wordnet_location_100027167",
                        "YAGO_wordnet_region_108630985",
                        "YAGO_wordnet_venue_108677628"
                      ],
                      "readableRepr": "Newcastle City Hall",
                      "url": "http://en.wikipedia.org/wiki/Newcastle%20City%20Hall"
                    }
                  }
                ]
              },
              "NNP"
            ]
          ],
          "score": 0.6972377801930305,
          "text": "City Hall",
          "enhancement": {
            "openstreetmap_nominatim": {
              "place_id": "141523934",
              "licence": "Data \u00a9 OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright",
              "osm_type": "way",
              "osm_id": "317293294",
              "boundingbox": [
                42.049309,
                42.0496815,
                13.0389901,
                13.0394836
              ],
              "lat": "42.0494534",
              "lon": "13.0392638330905",
              "display_name": "city hall, Via Tiburtina Valeria, Oricola, RM, LAZ, 67063, Italia",
              "class": "historic",
              "type": "castle",
              "importance": 0.32063094963,
              "icon": "https://nominatim.openstreetmap.org/images/mapicons/tourist_castle.p.20.png"
            }
          },
          "nlpIndexSentence": 4
        }
      ],
      "label": "where"
    },
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