Simple Question (Direct)
Simple Question
Q7827463
P937
Q56061
USER
What is the location where Torvald Haavardstad worked ?
(Q7827463,P937,c(Q56061))
action filter_type
action find
entity Q7827463
relation P937
type Q56061
['Q7827463', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q7827463 property:P937 ?o }
Torvald Haavardstad
action filter_type
action find
entity Torvald Haavardstad
relation work location
type administrative territorial entity
['Torvald Haavardstad', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Torvald_Haavardstad property:work_location ?o }
[]
administrative territorial entity
Q585
SYSTEM
Oslo
Q585
(Q7827463,P937,c(Q56061))
action filter_type
action find
entity Q7827463
relation P937
type Q56061
The location Torvald Haavardstad worked is in [ANSWER]
['Q7827463', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q7827463 property:P937 ?o }
Oslo
The location Torvald Haavardstad worked is in Oslo
Oslo
action filter_type
action find
entity Torvald Haavardstad
relation work location
type administrative territorial entity
['Torvald Haavardstad', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Torvald_Haavardstad property:work_location ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7827463
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q585,P102,c(Q7210356))
action filter_type
action find
entity Q7827463
relation P102
type Q7210356
['Q585', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q7827463 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Torvald Haavardstad
action filter_type
action find
entity Torvald Haavardstad
relation member of political party
type political organization
['Oslo', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Torvald_Haavardstad property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q190219
SYSTEM
Norwegian Labour Party
Q190219
(Q585,P102,c(Q7210356))
action filter_type
action find
entity Q7827463
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q585', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q7827463 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Norwegian Labour Party
That person is affiliated with Norwegian Labour Party
Norwegian Labour Party
action filter_type
action find
entity Torvald Haavardstad
relation member of political party
type political organization
['Oslo', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Torvald_Haavardstad property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q585
P1376
Q1048835
USER
What has Oslo as its capital ?
(Q585,P1376,c(Q1048835))
action filter_type
action find
entity Q585
relation P1376
type Q1048835
['Q585', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . resource:Q585 property:P1376 ?y }
Oslo
action filter_type
action find
entity Oslo
relation capital of
type political territorial entity
['Oslo', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Oslo property:capital_of ?y }
[]
political territorial entity
Q50615
SYSTEM
Akershus
Q50615
(Q585,P1376,c(Q1048835))
action filter_type
action find
entity Q585
relation P1376
type Q1048835
Has [ANSWER] has Oslo as its capital
['Q585', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . resource:Q585 property:P1376 ?y }
Akershus
Has Akershus has Oslo as its capital
Akershus
action filter_type
action find
entity Oslo
relation capital of
type political territorial entity
['Oslo', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Oslo property:capital_of ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q50615 Q585
P36
Q56061
USER
Is Oslo known as the capital of that political territory ?
(Q50615,P36,Q585)
action is_in
entity Q585
action find
entity Q50615
relation P36
['Q50615', 'P36', 'Q585']
ASK WHERE { resource:Q50615 property:P36 resource:Q585 }
Akershus Oslo
action is_in
entity Oslo
action find
entity Akershus
relation capital
['Akershus', 'capital', 'Oslo']
ASK WHERE { resource:Akershus property:capital resource:Oslo }
[]
administrative territorial entity
SYSTEM
YES
(Q50615,P36,Q585)
action is_in
entity Q585
action find
entity Q50615
relation P36
[ANSWER]
['Q50615', 'P36', 'Q585']
ASK WHERE { resource:Q50615 property:P36 resource:Q585 }
Yes
action is_in
entity Oslo
action find
entity Akershus
relation capital
['Akershus', 'capital', 'Oslo']
ASK WHERE { resource:Akershus property:capital resource:Oslo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q585
P276
Q811979 Q476300
USER
How many architectural structures and competitions are situated at Oslo ?
(c(Q811979),P276,Q585) (c(Q476300),P276,Q585)
action count
action union
action filter_type
action find_reverse
entity Q585
relation P276
type Q811979
action filter_type
action find_reverse
entity Q585
relation P276
type Q476300
[{'concept': 'Q811979'}, 'P276', 'Q585'] [{'concept': 'Q476300'}, 'P276', 'Q585']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:Q811979 ) ( ontology:Q476300 ) } }
Oslo
action count
action union
action filter_type
action find_reverse
entity Oslo
relation location
type architectural structure
action filter_type
action find_reverse
entity Oslo
relation location
type competition
[{'concept': 'architectural structure'}, 'location', 'Oslo'] [{'concept': 'competition'}, 'location', 'Oslo']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:architectural_structure ) ( ontology:competition ) } }
[]
architectural structure competition
SYSTEM
1 architectural structures and 3 competitions
Q20970352 Q37113 Q17749034 Q20967848
(c(Q811979),P276,Q585) (c(Q476300),P276,Q585)
action count
action union
action filter_type
action find_reverse
entity Q585
relation P276
type Q811979
action filter_type
action find_reverse
entity Q585
relation P276
type Q476300
[ANSWER]
[{'concept': 'Q811979'}, 'P276', 'Q585'] [{'concept': 'Q476300'}, 'P276', 'Q585']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:Q811979 ) ( ontology:Q476300 ) } }
Arbeidermesterskapet i friidrett 1933 Paléet Arbeidermesterskapet i friidrett 1936 Arbeidermesterskapet i friidrett 1935
1 architectural structures and 3 competitions
action count
action union
action filter_type
action find_reverse
entity Oslo
relation location
type architectural structure
action filter_type
action find_reverse
entity Oslo
relation location
type competition
[{'concept': 'architectural structure'}, 'location', 'Oslo'] [{'concept': 'competition'}, 'location', 'Oslo']
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:architectural_structure ) ( ontology:competition ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q190219
P463
Q502895
USER
Which person has a membership of Norwegian Labour Party ?
(c(Q502895),P463,Q190219)
action filter_type
action find_reverse
entity Q190219
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q190219']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P463 resource:Q190219 }
Norwegian Labour Party
action filter_type
action find_reverse
entity Norwegian Labour Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Norwegian Labour Party']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:member_of resource:Norwegian_Labour_Party }
[]
common name
Q26237184
SYSTEM
Bengt Halvard Odden
Q26237184
(c(Q502895),P463,Q190219)
action filter_type
action find_reverse
entity Q190219
relation P463
type Q502895
[ANSWER] has a membership of Norwegian Labour Party
[{'concept': 'Q502895'}, 'P463', 'Q190219']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P463 resource:Q190219 }
Bengt Halvard Odden
Bengt Halvard Odden has a membership of Norwegian Labour Party
Bengt Halvard Odden
action filter_type
action find_reverse
entity Norwegian Labour Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Norwegian Labour Party']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:member_of resource:Norwegian_Labour_Party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q190219
P488
Q502895
USER
Who was the chair of that political organization ?
(Q26237184,P488,c(Q502895))
action filter_type
action find
entity Q190219
relation P488
type Q502895
['Q26237184', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q190219 property:P488 ?s }
Norwegian Labour Party
action filter_type
action find
entity Norwegian Labour Party
relation chairperson
type common name
['Bengt Halvard Odden', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Norwegian_Labour_Party property:chairperson ?s }
[]
common name
Q57665
SYSTEM
Jens Stoltenberg
Q57665
(Q26237184,P488,c(Q502895))
action filter_type
action find
entity Q190219
relation P488
type Q502895
The chair of that political organization was Minister [ANSWER]
['Q26237184', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q190219 property:P488 ?s }
Jens Stoltenberg
The chair of that political organization was Minister Jens Stoltenberg
Jens Stoltenberg
action filter_type
action find
entity Norwegian Labour Party
relation chairperson
type common name
['Bengt Halvard Odden', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Norwegian_Labour_Party property:chairperson ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q57665
P166
Q618779
USER
What was awarded to that person ?
(Q57665,P166,c(Q618779))
action filter_type
action find
entity Q57665
relation P166
type Q618779
['Q57665', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q57665 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Jens Stoltenberg
action filter_type
action find
entity Jens Stoltenberg
relation award received
type award
['Jens Stoltenberg', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Jens_Stoltenberg property:award_received ?z . ?z rdf:type ontology:award }
[]
award
Q1780561
SYSTEM
Peer Gynt Literary Award
Q1780561
(Q57665,P166,c(Q618779))
action filter_type
action find
entity Q57665
relation P166
type Q618779
[ANSWER] was awarded to that person
['Q57665', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q57665 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Peer Gynt Literary Award
Peer Gynt Literary Award was awarded to that person
Peer Gynt Literary Award
action filter_type
action find
entity Jens Stoltenberg
relation award received
type award
['Jens Stoltenberg', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Jens_Stoltenberg property:award_received ?z . ?z rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1780561 Q20
P17
Q15617994
USER
Is Peer Gynt Literary Award situated in Norway ?
(Q1780561,P17,Q20)
action is_in
entity Q20
action find
entity Q1780561
relation P17
['Q1780561', 'P17', 'Q20']
ASK WHERE { resource:Q1780561 property:P17 resource:Q20 }
Peer Gynt Literary Award Norway
action is_in
entity Norway
action find
entity Peer Gynt Literary Award
relation country
['Peer Gynt Literary Award', 'country', 'Norway']
ASK WHERE { resource:Peer_Gynt_Literary_Award property:country resource:Norway }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1780561,P17,Q20)
action is_in
entity Q20
action find
entity Q1780561
relation P17
[ANSWER]
['Q1780561', 'P17', 'Q20']
ASK WHERE { resource:Q1780561 property:P17 resource:Q20 }
Yes
action is_in
entity Norway
action find
entity Peer Gynt Literary Award
relation country
['Peer Gynt Literary Award', 'country', 'Norway']
ASK WHERE { resource:Peer_Gynt_Literary_Award property:country resource:Norway }
[]