This is great news Kunal, Congrats and public kudos to Tim Ermilov, Axel
Ngonga and Sandro Coelho for the mentoring!

@Everyone this is a project where we need the community feedback
Besides the enhancements & I18n improvements Kunal worked on, a major focus
of this project was the update of the API trying to match the Google
Knowledge Graph API [1] that can be returned with

accept: application/json+ld


from the for ß-testing server here
<http://titan.informatik.uni-leipzig.de:11001/api/search/KeywordSearch?QueryClass=person&QueryString=Berlin&Language=en>
.

We have two important question before we merge Kunal's code

1) See en example response at the end of the email and tell us how close to
the GKG return format/schema do you want us to go
 (a)  leave it as is (similar)
 (b)  one-to-one match with different terms
 (c)  match the terms but change the JSON-LD context
 (d)  match the exact schema?
(We also think that there is no API copyright issue here based on the
recent Google-Oracle dispute but other views are welcome)

2) should we enable the json-ld format by default?

[1] https://developers.google.com/knowledge-graph/

Example response:

{
  "@context": {
    "@description": "http://dbpedia.org/property/description";,
    "@refCount": "http://dbpedia.org/property/categories";,
    "@templates": "http://dbpedia.org/property/templates";,
    "@redirects": "http://dbpedia.org/ontology/wikiPageRedirects";
  },
  "results": [
    {
      "uri": "http://dbpedia.org/resource/Arthur_Space";,
      "label": "Arthur Space",
      "description": "Charles Arthur Space (October 12, 1908 – January 13,
1983) was an American film, television and stage actor. He was best known
as Doc Weaver, the veterinarian, in thirty-nine episodes of long-running
CBS television series, Lassie.",
      "refCount": 69,
      "classes": [
        {
          "uri": "http://dbpedia.org/ontology/Person";,
          "label": "person"
        }
      ],
      "categories": [
        {
          "uri": "
http://dbpedia.org/resource/Category:Cancer_deaths_in_California";,
          "label": "Cancer deaths in California"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:American_male_film_actors";,
          "label": "American male film actors"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:American_male_television_actors";,
          "label": "American male television actors"
        },
        {
          "uri": "http://dbpedia.org/resource/Category:1983_deaths";,
          "label": "1983 deaths"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:Male_actors_from_New_Jersey";,
          "label": "Male actors from New Jersey"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:American_male_stage_actors";,
          "label": "American male stage actors"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:People_from_New_Brunswick,_New_Jersey";,
          "label": "People from New Brunswick, New Jersey"
        },
        {
          "uri": "http://dbpedia.org/resource/Category:1908_births";,
          "label": "1908 births"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:20th-century_American_male_actors";,
          "label": "20th-century American male actors"
        }
      ],
      "templates": [],
      "redirects": []
    },
    {
      "uri": "http://dbpedia.org/resource/Invader_(artist)",
      "label": "Invader (artist)",
      "description": "Invader is the pseudonym of a well-known French urban
artist, born in 1969, whose work is modelled on the crude pixellation of
1970s-1980s 8-bit video games. He took his name from the 1978 arcade game
Space Invaders, and much of his work is composed of square ceramic tiles
inspired by video game characters. Although he prefers to remain incognito,
and guards his identity carefully, his distinctive creations can be seen in
many highly-visible locations in more than 60 cities in 30 countries.",
      "refCount": 3,
      "classes": [
        {
          "uri": "http://www.wikidata.org/entity/Q215627";,
          "label": "http://www.wikidata.org/entity/ q215627"
        },
        {
          "uri": "http://www.w3.org/2002/07/owl#Thing";,
          "label": "owl#Thing"
        },
        {
          "uri": "http://dbpedia.org/ontology/Person";,
          "label": "person"
        },
        {
          "uri": "
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#Agent";,
          "label": "http://www.ontologydesignpatterns.org/ont/dul/ d u
l.owl# agent"
        },
        {
          "uri": "
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#NaturalPerson";,
          "label": "http://www.ontologydesignpatterns.org/ont/dul/ d u
l.owl# natural person"
        },
        {
          "uri": "http://schema.org/Person";,
          "label": "person"
        },
        {
          "uri": "http://www.wikidata.org/entity/Q5";,
          "label": "http://www.wikidata.org/entity/ q5"
        },
        {
          "uri": "http://xmlns.com/foaf/0.1/Person";,
          "label": "http://xmlns.com/foaf/0.1/ person"
        },
        {
          "uri": "http://dbpedia.org/ontology/Agent";,
          "label": "agent"
        }
      ],
      "categories": [
        {
          "uri": "http://dbpedia.org/resource/Category:Living_people";,
          "label": "Living people"
        },
        {
          "uri": "http://dbpedia.org/resource/Category:1969_births";,
          "label": "1969 births"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:French_graffiti_artists";,
          "label": "French graffiti artists"
        }
      ],
      "templates": [],
      "redirects": []
    },
    {
      "uri": "http://dbpedia.org/resource/Zack_Space";,
      "label": "Zack Space",
      "description": "Zachary T. \"Zack\" Space (born January 27, 1961) is
an American politician and the former U.S. Representative for Ohio's 18th
congressional district, serving from 2007 until 2011. He is a member of the
Democratic Party.  He currently serves as a principal for Vorys Advisors
LLC a subsidiary of  the law firm Vorys, Sater, Seymour and Pease.",
      "refCount": 28,
      "classes": [
        {
          "uri": "http://www.wikidata.org/entity/Q215627";,
          "label": "http://www.wikidata.org/entity/ q215627"
        },
        {
          "uri": "http://www.w3.org/2002/07/owl#Thing";,
          "label": "owl#Thing"
        },
        {
          "uri": "http://dbpedia.org/ontology/Person";,
          "label": "person"
        },
        {
          "uri": "
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#Agent";,
          "label": "http://www.ontologydesignpatterns.org/ont/dul/ d u
l.owl# agent"
        },
        {
          "uri": "
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#NaturalPerson";,
          "label": "http://www.ontologydesignpatterns.org/ont/dul/ d u
l.owl# natural person"
        },
        {
          "uri": "http://schema.org/Person";,
          "label": "person"
        },
        {
          "uri": "http://www.wikidata.org/entity/Q5";,
          "label": "http://www.wikidata.org/entity/ q5"
        },
        {
          "uri": "http://xmlns.com/foaf/0.1/Person";,
          "label": "http://xmlns.com/foaf/0.1/ person"
        },
        {
          "uri": "http://dbpedia.org/ontology/Agent";,
          "label": "agent"
        }
      ],
      "categories": [
        {
          "uri": "http://dbpedia.org/resource/Category:1961_births";,
          "label": "1961 births"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:Members_of_the_United_States_House_of_Representatives_from_Ohio
",
          "label": "Members of the United States House of Representatives
from Ohio"
        },
        {
          "uri": "http://dbpedia.org/resource/Category:Ohio_Democrats";,
          "label": "Ohio Democrats"
        },
        {
          "uri": "http://dbpedia.org/resource/Category:Living_people";,
          "label": "Living people"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:People_from_Dover,_Ohio";,
          "label": "People from Dover, Ohio"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:Moritz_College_of_Law_alumni";,
          "label": "Moritz College of Law alumni"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:American_people_of_Greek_descent";,
          "label": "American people of Greek descent"
        },
        {
          "uri": "http://dbpedia.org/resource/Category:Kenyon_College_alumni
",
          "label": "Kenyon College alumni"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:Democratic_Party_members_of_the_United_States_House_of_Representatives
",
          "label": "Democratic Party members of the United States House of
Representatives"
        }
      ],
      "templates": [],
      "redirects": []
    },
    {
      "uri": "http://dbpedia.org/resource/Parker_Space";,
      "label": "Parker Space",
      "description": "Parker Space (born December 4, 1968) is an American
Republican Party politician, who has served in the New Jersey General
Assembly since 2013, where he represents the 24th Legislative District and
serves on the Assembly's Agriculture and Natural Resources and Labor
committees.Space is a farmer and restaurant owner who also owns Space Farms
Zoo and Museum in the Beemerville section of Wantage Township in Sussex
County, New Jersey.",
      "refCount": 9,
      "classes": [
        {
          "uri": "http://dbpedia.org/ontology/Person";,
          "label": "person"
        }
      ],
      "categories": [
        {
          "uri": "
http://dbpedia.org/resource/Category:Members_of_the_New_Jersey_General_Assembly
",
          "label": "Members of the New Jersey General Assembly"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:County_freeholders_in_New_Jersey";,
          "label": "County freeholders in New Jersey"
        },
        {
          "uri": "http://dbpedia.org/resource/Category:Living_people";,
          "label": "Living people"
        },
        {
          "uri": "http://dbpedia.org/resource/Category:1968_births";,
          "label": "1968 births"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:New_Jersey_Republicans";,
          "label": "New Jersey Republicans"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:Mayors_of_places_in_New_Jersey";,
          "label": "Mayors of places in New Jersey"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:People_from_Sussex_County,_New_Jersey";,
          "label": "People from Sussex County, New Jersey"
        }
      ],
      "templates": [],
      "redirects": []
    },
    {
      "uri": "http://dbpedia.org/resource/Olli_Wisdom";,
      "label": "Olli Wisdom",
      "description": "Olli Wisdom is a British musician, currently residing
in London.Wisdom is significant for his role as the singer in the
glam/gothic rock group Specimen, but since the 1990s he has recorded as a
psychedelic trance artist under the name Space Tribe.Prior to forming
Specimen and opening the Batcave nightclub, Wisdom was the frontman for the
punk band, The Unwanted. Their most popular song was a cover version of
Nancy Sinatra's \"These Boots Are Made For Walkin'\".",
      "refCount": 16,
      "classes": [
        {
          "uri": "http://www.wikidata.org/entity/Q215627";,
          "label": "http://www.wikidata.org/entity/ q215627"
        },
        {
          "uri": "http://www.w3.org/2002/07/owl#Thing";,
          "label": "owl#Thing"
        },
        {
          "uri": "http://dbpedia.org/ontology/Person";,
          "label": "person"
        },
        {
          "uri": "
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#Agent";,
          "label": "http://www.ontologydesignpatterns.org/ont/dul/ d u
l.owl# agent"
        },
        {
          "uri": "
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#NaturalPerson";,
          "label": "http://www.ontologydesignpatterns.org/ont/dul/ d u
l.owl# natural person"
        },
        {
          "uri": "http://schema.org/Person";,
          "label": "person"
        },
        {
          "uri": "http://www.wikidata.org/entity/Q5";,
          "label": "http://www.wikidata.org/entity/ q5"
        },
        {
          "uri": "http://xmlns.com/foaf/0.1/Person";,
          "label": "http://xmlns.com/foaf/0.1/ person"
        },
        {
          "uri": "http://dbpedia.org/ontology/Agent";,
          "label": "agent"
        }
      ],
      "categories": [
        {
          "uri": "
http://dbpedia.org/resource/Category:Psychedelic_trance_musicians";,
          "label": "Psychedelic trance musicians"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:English_punk_rock_singers";,
          "label": "English punk rock singers"
        },
        {
          "uri": "http://dbpedia.org/resource/Category:Living_people";,
          "label": "Living people"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:Year_of_birth_missing_(living_people)",
          "label": "Year of birth missing (living people)"
        },
        {
          "uri": "http://dbpedia.org/resource/Category:Singers_from_London";,
          "label": "Singers from London"
        },
        {
          "uri": "http://dbpedia.org/resource/Category:English_male_singers
",
          "label": "English male singers"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:Place_of_birth_missing_(living_people)
",
          "label": "Place of birth missing (living people)"
        },
        {
          "uri": "
http://dbpedia.org/resource/Category:English_trance_musicians";,
          "label": "English trance musicians"
        },
        {
          "uri": "http://dbpedia.org/resource/Category:Gothic_rock_musicians
",
          "label": "Gothic rock musicians"
        }
      ],
      "templates": [],
      "redirects": []
    }
  ]
}





On Fri, Jul 22, 2016 at 5:29 PM, Kunal Jha <kunal94...@gmail.com> wrote:

> Hello All,
> It is my pleasure to announce that me along with my mentors have
>  successfully completed all the basic tasks for the DBpedia lookup. As a
> result of this summer's Google Summer of Code improvements the following
> features have been added to the lookup.
> 1. The lookup can query in German, Spanish and English languages. More
> languages can be added by following the instructions.
> 2. The lookup can generate output similar to Google Knowledge Graph.
> 3. The lookup has a detailed description of each module helping developers
> to understand the code better and faster.
> 4. Wrapping the code in the Docker making it easier for non developers to
> use the service.
>
> The instructions to view the for the same can be found here
> <https://github.com/dbpedia/dbpedia-gsoc/wiki/Gsoc-2016:-DBpedia-Lookup-Improvement#dbpedia-lookup>
> .
>
> My wiki Page
> <https://github.com/dbpedia/dbpedia-gsoc/wiki/Gsoc-2016:-DBpedia-Lookup-Improvement>
>  gives
> in detail the approach and the weekly record of the goals achieved. The
> code <https://github.com/dbpedia/lookup/tree/V2_improvements> and the
> commits <https://github.com/dbpedia/lookup/commits/V2_improvements> will
> facilitate in understanding the workflow of the achievement of the goals.
>
> The new version of lookup is up and running for ß-testing here
> <http://titan.informatik.uni-leipzig.de:11001/api/search/KeywordSearch?QueryClass=person&QueryString=Berlin&Language=en>.
> One can also create a local mirror as well as add more languages by
> following the instructions
> <https://github.com/dbpedia/lookup/blob/V2_improvements/README.md>.
>
> I would be grateful if you could have a look at the service and give us
> your reviews/comments.
>
> Best Regards
> Kunal Jha
>



-- 
Kontokostas Dimitris
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
DBpedia-discussion mailing list
DBpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to