Questions tagged [object-property]

75 questions
0
votes
1 answer

Find the Usage of Certain Object Property in Ontology Using OWLAPI

I'm using pizza ontology, and there is this object property called hasCountryOfOrigin. This object property doesn't have specific domain and range, probably because the domain can be pizza or pizzaTopping. For other object properties, for example…
peculiar
  • 151
  • 1
  • 5
0
votes
1 answer

How to make property of property in Protégé?

I have a following problem to model in OWL using Protégé: Multiple Songs could be performed in different Performances. Each Song could be arranged by different Arranger in different Performance. I already know how to relate a Song to a Performance…
Saiful
  • 423
  • 5
  • 9
0
votes
0 answers

Kivy widget to show updated values of an ObjectProperty's attributes

So I'm trying to make my widgets update whenever the attributes of player change. player is a Player object. The (much) shortened version is below: class Stats(Object): def __init__(self, health, max_health): self.health=health …
Alouette
  • 1
  • 1
0
votes
0 answers

Symmetric Object Properties of Individuals in Protege

I have a small ontology with some individuals (like: Door1, Door2, Window1, Window2 etc.) belonging to the same class (Objects). I also have an ObjectProperty:hasLink which is symmetric. Its domain is Thing and range is Objects class. Let's say I…
Aidos
  • 729
  • 7
  • 20
0
votes
0 answers

java.lang.ClassNotFoundException [JavaFx - ObjectProperty]

I set a WebService on tomcat on aws Server. The code throws an exception: 23-Jan-2015 08:44:07.941 SEVERE [http-nio-8080-exec-4] null.null javafx/beans/property/ObjectProperty java.lang.NoClassDefFoundError: javafx/beans/property/ObjectProperty …
Arie
  • 179
  • 2
  • 16
0
votes
1 answer

How do I properly bind a .Text property to the Overridden .asString() method of a SimpleObjectProperty?

I'm creating a simple control to browse for and sample Audio files. I want to use an ObjectProperty so that I can bind some properties of the button responsible for playing the…
Will
  • 3,413
  • 7
  • 50
  • 107
0
votes
0 answers

Create object property with two optional conditions

What do I want? I want to create an object property what capitalizes every word in a string, optional replaces underscores with spaces and/or lowercase the string first. I want to set the options by two parameters: First parameter true? Then…
0
votes
1 answer

Manipulate owl file using Protege-OWL API.(delete classes,delete properties)

I need to manipulate owl file using the Protege-Owl API. You know, creating classes and properties isn't too difficult.But I don't know how to delete a class or property.If we treat the owl file as a graph, deleting an class means deleting an node…
ysfseu
  • 666
  • 1
  • 10
  • 20
0
votes
1 answer

php foreach iteration over object property array not incrementing the value

Please help! I have been staring at this for too long. I have a property of an object that is an array of objects. I want to pass in an object to a method of the parent object and search through that array property for a match, and if one is found…
eightArmCode
  • 175
  • 1
  • 4
  • 15
0
votes
2 answers

How to add object property with Jena? Special format

Hello I am trying to add an object property between this two individuals. I also have the object property in the code and the individuals are in the ontology. In only need to connect them using a property. The individuals look like this in the code,…
user2973502
  • 29
  • 1
  • 4
0
votes
1 answer

Initializing ObjectProperty>?

I have a property which wraps an ObservableList. But I cannot figure out how to initialize it. Currently I am doing it like this ObjectProperty> property = new ChoiceBox().itemsProperty(); which is obviously totally bad…
thatsIch
  • 828
  • 11
  • 23
0
votes
0 answers

PHP Testing an object property

I need to test an object property for equivalence to a string. I'm using the php imap functions to cycle through the 10 most recent emails in a gmail account, I want to filter them so I'm only dealing with email from twitter. This for loop is the…
schnimmy
  • 43
  • 3
  • 9
-1
votes
2 answers

Eliminating Multiple If Statements For Pulling A Specific Object Property

Model: public class ServiceHours { public int Id { get; set; } ... public TimeSpan? Monday { get; set; } public TimeSpan? Tuesday { get; set; } public TimeSpan? Wednesday { get; set; } public TimeSpan? Thursday { get; set; } …
Dan Walsh
  • 127
  • 2
  • 12
-1
votes
1 answer

OBJECTPROPERTY DOES NOT EXIST

I have a database called test containing a table called Categories. I want to find the primary key column name in this table. I wrote this SQL query: Select COLUMN_NAME From INFORMATION_SCHEMA.KEY_COLUMN_USAGE Where…
user3409814
  • 245
  • 1
  • 4
  • 12
-2
votes
1 answer

Can't compile the code with getting the value from JsonObject

I use Volley library to make API request to Google Places. The response is an object like this: { "html_attributions": [], "results": [ { "address": "Wood Quay, Dublin, Ireland", "name": "Christ Church…
1 2 3 4
5