Simple Question (Direct)
Simple Question
Q2134079
P106
Q12737077
USER
What are the job of Raymond Burke ?
(Q2134079,P106,c(Q12737077))
action filter_type
action find
entity Q2134079
relation P106
type Q12737077
['Q2134079', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q2134079 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Raymond Burke
action filter_type
action find
entity Raymond Burke
relation occupation
type occupation
['Raymond Burke', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Raymond_Burke property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q15981151 Q12800682
SYSTEM
jazz musician, saxophonist
Q15981151 Q12800682
(Q2134079,P106,c(Q12737077))
action filter_type
action find
entity Q2134079
relation P106
type Q12737077
The job of Raymond Burke are a [ANSWERS]
['Q2134079', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q2134079 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
jazz musician saxophonist
The job of Raymond Burke are a jazz musician and saxophonist
jazz musician saxophonist
action filter_type
action find
entity Raymond Burke
relation occupation
type occupation
['Raymond Burke', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Raymond_Burke property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2134079
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Raymond Burke ?
(Q2134079,P27,c(Q15617994))
action filter_type
action find
entity Q2134079
relation P27
type Q15617994
['Q2134079', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q2134079 property:P27 ?m }
Raymond Burke
action filter_type
action find
entity Raymond Burke
relation country of citizenship
type designation for an administrative territorial entity
['Raymond Burke', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Raymond_Burke property:country_of_citizenship ?m }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2134079,P27,c(Q15617994))
action filter_type
action find
entity Q2134079
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of Raymond Burke
['Q2134079', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q2134079 property:P27 ?m }
United States of America
The United States of America is the country of citizenship of Raymond Burke
United States of America
action filter_type
action find
entity Raymond Burke
relation country of citizenship
type designation for an administrative territorial entity
['Raymond Burke', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Raymond_Burke property:country_of_citizenship ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16438886
Q15617994
USER
And what about Jean Bech?
(Q16438886,P27,c(Q15617994))
action filter_type
action find
entity Q16438886
relation P27
type Q15617994
['Q16438886', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q16438886 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Jean Bech
action filter_type
action find
entity Jean Bech
relation country of citizenship
type designation for an administrative territorial entity
['Jean Bech', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Jean_Bech property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q32
SYSTEM
Luxembourg
Q32
(Q16438886,P27,c(Q15617994))
action filter_type
action find
entity Q16438886
relation P27
type Q15617994
[ANSWER]
['Q16438886', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q16438886 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Luxembourg
Luxembourg
action filter_type
action find
entity Jean Bech
relation country of citizenship
type designation for an administrative territorial entity
['Jean Bech', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Jean_Bech property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q18783400 Q1792379
USER
Which occupations are expressed in exactly 1 genres of sculpture or art genres ?
(c(Q18783400)|c(Q1792379),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 1
[[{'concept': 'Q18783400'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?o ) WHERE { VALUES ( ?h ) { ( ontology:Q18783400 ) ( ontology:Q1792379 ) } . ?v rdf:type ?h } GROUP BY ?u } . FILTER ( ?o = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 1
[[{'concept': 'genre of sculpture'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?o ) WHERE { VALUES ( ?h ) { ( ontology:genre_of_sculpture ) ( ontology:art_genre ) } . ?v rdf:type ?h } GROUP BY ?u } . FILTER ( ?o = 1 ) }
[]
occupation genre of sculpture art genre
Q131512 Q2079936 Q2730732
SYSTEM
farmer, king of marksmen, equestrian
Q131512 Q2079936 Q2730732
(c(Q18783400)|c(Q1792379),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 1
[ANSWERS] are expressed in exactly 1 genres of sculpture or art genres
[[{'concept': 'Q18783400'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?o ) WHERE { VALUES ( ?h ) { ( ontology:Q18783400 ) ( ontology:Q1792379 ) } . ?v rdf:type ?h } GROUP BY ?u } . FILTER ( ?o = 1 ) }
farmer king of marksmen equestrian
Farmer, king of marksmen and equestrian are expressed in exactly 1 genres of sculpture or art genres
farmer king of marksmen equestrian
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 1
[[{'concept': 'genre of sculpture'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?o ) WHERE { VALUES ( ?h ) { ( ontology:genre_of_sculpture ) ( ontology:art_genre ) } . ?v rdf:type ?h } GROUP BY ?u } . FILTER ( ?o = 1 ) }
[]