Simple Question (Direct)
Simple Question
Q4579448
P106
Q12737077
USER
Which occupation is the profession of Ragnhild Myklebust ?
(Q4579448,P106,c(Q12737077))
action filter_type
action find
entity Q4579448
relation P106
type Q12737077
['Q4579448', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4579448 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Ragnhild Myklebust
action filter_type
action find
entity Ragnhild Myklebust
relation occupation
type occupation
['Ragnhild Myklebust', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Ragnhild_Myklebust property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q16029547
SYSTEM
biathlete
Q16029547
(Q4579448,P106,c(Q12737077))
action filter_type
action find
entity Q4579448
relation P106
type Q12737077
[ANSWER] is the profession of Ragnhild Myklebust
['Q4579448', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4579448 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
biathlete
Biathlete is the profession of Ragnhild Myklebust
biathlete
action filter_type
action find
entity Ragnhild Myklebust
relation occupation
type occupation
['Ragnhild Myklebust', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Ragnhild_Myklebust property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4579448
P21
Q290
USER
Which sex does that person possess ?
(Q16029547,P21,c(Q290))
action filter_type
action find
entity Q4579448
relation P21
type Q290
['Q16029547', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q4579448 property:P21 ?d . ?d rdf:type ontology:Q290 }
Ragnhild Myklebust
action filter_type
action find
entity Ragnhild Myklebust
relation gender
type sex
['biathlete', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Ragnhild_Myklebust property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q16029547,P21,c(Q290))
action filter_type
action find
entity Q4579448
relation P21
type Q290
That person possesses the [ANSWER]
['Q16029547', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q4579448 property:P21 ?d . ?d rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Ragnhild Myklebust
relation gender
type sex
['biathlete', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Ragnhild_Myklebust property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4579448
P641
Q31629
USER
What did that person participate in ?
(Q6581072,P641,c(Q31629))
action filter_type
action find
entity Q4579448
relation P641
type Q31629
['Q6581072', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?r WHERE { resource:Q4579448 property:P641 ?r . ?r rdf:type ontology:Q31629 }
Ragnhild Myklebust
action filter_type
action find
entity Ragnhild Myklebust
relation sport
type type of sport
['female', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?r WHERE { resource:Ragnhild_Myklebust property:sport ?r . ?r rdf:type ontology:type_of_sport }
[]
type of sport
Q166788
SYSTEM
biathlon
Q166788
(Q6581072,P641,c(Q31629))
action filter_type
action find
entity Q4579448
relation P641
type Q31629
That person participated in [ANSWER]
['Q6581072', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?r WHERE { resource:Q4579448 property:P641 ?r . ?r rdf:type ontology:Q31629 }
biathlon
That person participated in biathlon
biathlon
action filter_type
action find
entity Ragnhild Myklebust
relation sport
type type of sport
['female', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?r WHERE { resource:Ragnhild_Myklebust property:sport ?r . ?r rdf:type ontology:type_of_sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q178706 Q11204 Q12737077
USER
How many occupations are appointed by exactly 1 institutions or legislatures ?
(c(Q12737077),P748,c(Q178706)|c(Q11204))
action count
action equal
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q11204
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?i WHERE { VALUES ( ?f ) { ( ontology:Q178706 ) ( ontology:Q11204 ) } . ?m rdf:type ?f } GROUP BY ?i } . FILTER ( ?d = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type legislature
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?i WHERE { VALUES ( ?f ) { ( ontology:institution ) ( ontology:legislature ) } . ?m rdf:type ?f } GROUP BY ?i } . FILTER ( ?d = 1 ) }
[]
institution legislature occupation
SYSTEM
13
Q11793630 Q740126 Q655407 Q1161813 Q596123 Q1043568 Q8882 Q866680 Q26000995 Q4122271 Q634291 Q735587 Q81066
(c(Q12737077),P748,c(Q178706)|c(Q11204))
action count
action equal
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q11204
value 1
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?i WHERE { VALUES ( ?f ) { ( ontology:Q178706 ) ( ontology:Q11204 ) } . ?m rdf:type ?f } GROUP BY ?i } . FILTER ( ?d = 1 ) }
governor of national banks of Serbia and Yugoslavia President of the European Parliament President of the People's Republic of China President of the United Nations General Assembly president of Bangladesh Prime Minister of Vietnam President of the European Commission President of Vietnam President of the Parliament of Catalonia Premier of the People's Republic of China High Representative of the Union for Foreign Affairs and Security Policy President of the European Council United Nations Secretary-General
13
action count
action equal
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type legislature
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?i WHERE { VALUES ( ?f ) { ( ontology:institution ) ( ontology:legislature ) } . ?m rdf:type ?f } GROUP BY ?i } . FILTER ( ?d = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4579448
P27
Q15617994
USER
Which administrative territory is the native country of Ragnhild Myklebust ?
(Q4579448,P27,c(Q15617994))
action filter_type
action find
entity Q4579448
relation P27
type Q15617994
['Q4579448', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4579448 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Ragnhild Myklebust
action filter_type
action find
entity Ragnhild Myklebust
relation country of citizenship
type designation for an administrative territorial entity
['Ragnhild Myklebust', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ragnhild_Myklebust property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q4579448,P27,c(Q15617994))
action filter_type
action find
entity Q4579448
relation P27
type Q15617994
In [ANSWER] is the native country of Ragnhild Myklebust
['Q4579448', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4579448 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Norway
In Norway is the native country of Ragnhild Myklebust
Norway
action filter_type
action find
entity Ragnhild Myklebust
relation country of citizenship
type designation for an administrative territorial entity
['Ragnhild Myklebust', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ragnhild_Myklebust property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4579448
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q20,P19,c(Q56061))
action filter_type
action find
entity Q4579448
relation P19
type Q56061
['Q20', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q4579448 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Ragnhild Myklebust
action filter_type
action find
entity Ragnhild Myklebust
relation place of birth
type administrative territorial entity
['Norway', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Ragnhild_Myklebust property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q585
SYSTEM
Oslo
Q585
(Q20,P19,c(Q56061))
action filter_type
action find
entity Q4579448
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q20', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q4579448 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Oslo
Oslo is the birthplace of that person
Oslo
action filter_type
action find
entity Ragnhild Myklebust
relation place of birth
type administrative territorial entity
['Norway', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Ragnhild_Myklebust property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q585
P915
Q15416
USER
Which television program was filmed in the location that administrative territory ?
(c(Q15416),P915,Q585)
action filter_type
action find_reverse
entity Q585
relation P915
type Q15416
[{'concept': 'Q15416'}, 'P915', 'Q585']
SELECT DISTINCT ?f WHERE { ?f property:P915 resource:Q585 . ?f rdf:type ontology:Q15416 }
Oslo
action filter_type
action find_reverse
entity Oslo
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Oslo']
SELECT DISTINCT ?f WHERE { ?f property:filming_location resource:Oslo . ?f rdf:type ontology:television_program }
[]
television program
Q547102
SYSTEM
Edvard Munch
Q547102
(c(Q15416),P915,Q585)
action filter_type
action find_reverse
entity Q585
relation P915
type Q15416
[ANSWER] was filmed in the location that administrative territory
[{'concept': 'Q15416'}, 'P915', 'Q585']
SELECT DISTINCT ?f WHERE { ?f property:P915 resource:Q585 . ?f rdf:type ontology:Q15416 }
Edvard Munch
Edvard Munch was filmed in the location that administrative territory
Edvard Munch
action filter_type
action find_reverse
entity Oslo
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Oslo']
SELECT DISTINCT ?f WHERE { ?f property:filming_location resource:Oslo . ?f rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q547102
P57
Q502895
USER
Who directed that television program ?
(Q547102,P57,c(Q502895))
action filter_type
action find
entity Q547102
relation P57
type Q502895
['Q547102', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q547102 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Edvard Munch
action filter_type
action find
entity Edvard Munch
relation director
type common name
['Edvard Munch', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Edvard_Munch property:director ?r . ?r rdf:type ontology:common_name }
[]
common name
Q1339491
SYSTEM
Peter Watkins
Q1339491
(Q547102,P57,c(Q502895))
action filter_type
action find
entity Q547102
relation P57
type Q502895
The [ANSWER] directed that television program
['Q547102', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q547102 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Peter Watkins
The Peter Watkins directed that television program
Peter Watkins
action filter_type
action find
entity Edvard Munch
relation director
type common name
['Edvard Munch', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Edvard_Munch property:director ?r . ?r rdf:type ontology:common_name }
[]