Skip to content

Commit 8762662

Browse files
author
Daniel
committed
update classes
1 parent 44a250a commit 8762662

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

GetInstances/src/GetInstances.java

+9-4
Original file line numberDiff line numberDiff line change
@@ -588,17 +588,20 @@ private static HashSet<String> getYagoClasses() {
588588
HashSet<String> classNameArray = new HashSet<String>();
589589
classNameArray.addAll(Arrays.asList(
590590
//PERSON
591-
/* "yagoLegalActor",
591+
"yagoLegalActor",
592592
"wordnet_causal_agent_100007347",
593593
"wordnet_person_100007846",
594594
"wordnet_politician_110450303",
595595
"wordnet_politician_110451263",
596596
"wordnet_athlete_109820263",
597-
"wordnet_actor_109767197",*/
598-
"wordnet_actor_109765278"/*,
597+
"wordnet_actor_109767197",
598+
"wordnet_actor_109765278",
599599
//ORGANIZATION
600600
"wordnet_government_108050678",
601601
"wordnet_stock_company_108383310",
602+
"wordnet_company_108058098",
603+
"wordnet_business_108061042",
604+
"wordnet_enterprise_108056231",
602605
"wordnet_party_108256968",
603606
//PLACE
604607
"wordnet_location_100027167",
@@ -619,6 +622,8 @@ private static HashSet<String> getYagoClasses() {
619622
"wordnet_event_100029378",
620623
"wordnet_war_101236296",
621624
"wordnet_social_event_107288639",
625+
"wordnet_conflict_100958896",
626+
"wordnet_tournament_107464725",
622627
//TRANSPORT
623628
"wordnet_vehicle_104524313",
624629
"wordnet_conveyance_103100490",
@@ -629,7 +634,7 @@ private static HashSet<String> getYagoClasses() {
629634
"wordnet_chemical_element_114622893",
630635
"wordnet_substance_100019613",
631636
"wordnet_celestial_body_109239740",
632-
"wordnet_planet_109394007"*/
637+
"wordnet_planet_109394007"
633638
));
634639
return classNameArray;
635640
}

QuerySPARQL/src/QueryObject.java

+5
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,9 @@ private String[] getYAGOclasses() {
692692
"wordnet_government_108050678",
693693
"wordnet_stock_company_108383310",
694694
"wordnet_party_108256968",
695+
"wordnet_company_108058098",
696+
"wordnet_business_108061042",
697+
"wordnet_enterprise_108056231",
695698
//PLACE
696699
"wordnet_location_100027167",
697700
//"wordnet_region_108630985",
@@ -724,6 +727,8 @@ private String[] getYAGOclasses() {
724727
"wordnet_event_100029378",
725728
"wordnet_war_101236296",
726729
"wordnet_social_event_107288639",
730+
"wordnet_conflict_100958896",
731+
"wordnet_tournament_107464725",
727732
//TRANSPORT
728733
"wordnet_vehicle_104524313",
729734
"wordnet_conveyance_103100490",

0 commit comments

Comments
 (0)