Simple Question (Direct)
Simple Question
Q4769219
P27
Q15617994
USER
Which administrative territory is the native country of Annie Abrahams ?
(Q4769219,P27,c(Q15617994))
action filter_type
action find
entity Q4769219
relation P27
type Q15617994
['Q4769219', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q4769219 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Annie Abrahams
action filter_type
action find
entity Annie Abrahams
relation country of citizenship
type designation for an administrative territorial entity
['Annie Abrahams', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Annie_Abrahams property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q4769219,P27,c(Q15617994))
action filter_type
action find
entity Q4769219
relation P27
type Q15617994
[ANSWER] is the native country of Annie Abrahams
['Q4769219', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q4769219 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Kingdom of the Netherlands is the native country of Annie Abrahams
Kingdom of the Netherlands
action filter_type
action find
entity Annie Abrahams
relation country of citizenship
type designation for an administrative territorial entity
['Annie Abrahams', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Annie_Abrahams property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4769219
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q29999,P106,c(Q12737077))
action filter_type
action find
entity Q4769219
relation P106
type Q12737077
['Q29999', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q4769219 property:P106 ?e }
Annie Abrahams
action filter_type
action find
entity Annie Abrahams
relation occupation
type occupation
['Kingdom of the Netherlands', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Annie_Abrahams property:occupation ?e }
[]
occupation
Q1028181 Q22343478 Q18216771
SYSTEM
painter, collagist, video artist
Q22343478 Q18216771 Q22343406 Q1028181 Q18074503 Q10774753
(Q29999,P106,c(Q12737077))
action filter_type
action find
entity Q4769219
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q29999', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q4769219 property:P106 ?e }
collagist video artist media artist painter installation artist performance artist
The professions of that person are painter, collagist and video artist
painter collagist video artist
action filter_type
action find
entity Annie Abrahams
relation occupation
type occupation
['Kingdom of the Netherlands', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Annie_Abrahams property:occupation ?e }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P425
Q2695280
USER
How many technicss are associated with the field of occupation that occupation ?
(Q22343478,P425,c(Q2695280))
['Q22343478', 'P425', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q22343478 property:P425 ?z . ?z rdf:type ontology:Q2695280 }
['collagist', 'field of this occupation', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:collagist property:field_of_this_occupation ?z . ?z rdf:type ontology:technics }
[]
technics
Quantitative|Count|Single entity type|Clarification
Q1028181
SYSTEM
Did you mean painter ?
(Q1028181,P425,c(Q2695280)) (Q22343478,P425,c(Q2695280)) (Q18216771,P425,c(Q2695280))
[ANSWER]
['Q1028181', 'P425', {'concept': 'Q2695280'}] ['Q22343478', 'P425', {'concept': 'Q2695280'}] ['Q18216771', 'P425', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q22343478 property:P425 ?z . ?z rdf:type ontology:Q2695280 }
Did you mean painter ?
painter
['painter', 'field of this occupation', {'concept': 'technics'}] ['collagist', 'field of this occupation', {'concept': 'technics'}] ['video artist', 'field of this occupation', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:collagist property:field_of_this_occupation ?z . ?z rdf:type ontology:technics }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant collagist. Could you tell me the answer for that?
(Q22343478,P425,c(Q2695280))
Q22343478
['Q22343478', 'P425', {'concept': 'Q2695280'}]
['collagist', 'field of this occupation', {'concept': 'technics'}]
[]
SYSTEM
1
Q170593
(Q22343478,P425,c(Q2695280))
[ANSWER]
['Q22343478', 'P425', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q22343478 property:P425 ?z . ?z rdf:type ontology:Q2695280 }
collage
1
['collagist', 'field of this occupation', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:collagist property:field_of_this_occupation ?z . ?z rdf:type ontology:technics }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18216771
P425
Q1914636
USER
Which activity has video artist as the associated field of occupation ?
(Q18216771,P425,c(Q1914636))
action filter_type
action find
entity Q18216771
relation P425
type Q1914636
['Q18216771', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1914636 . resource:Q18216771 property:P425 ?b }
video artist
action filter_type
action find
entity video artist
relation field of this occupation
type activity
['video artist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:activity . resource:video_artist property:field_of_this_occupation ?b }
[]
activity
Q682010
SYSTEM
video art
Q682010
(Q18216771,P425,c(Q1914636))
action filter_type
action find
entity Q18216771
relation P425
type Q1914636
The [ANSWER] has [ANSWER]ist as the associated field of occupation
['Q18216771', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1914636 . resource:Q18216771 property:P425 ?b }
video art
The video art has video artist as the associated field of occupation
video art
action filter_type
action find
entity video artist
relation field of this occupation
type activity
['video artist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:activity . resource:video_artist property:field_of_this_occupation ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q17638008 Q1792379
USER
How many occupations are expressed in approximately 1 game equipment or art genres ?
(c(Q17638008)|c(Q1792379),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 1
[[{'concept': 'Q17638008'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?l ) { ( ontology:Q17638008 ) ( ontology:Q1792379 ) } . ?r rdf:type ?l } GROUP BY ?f } . FILTER ( ?e = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 1
[[{'concept': 'game equipment'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?l ) { ( ontology:game_equipment ) ( ontology:art_genre ) } . ?r rdf:type ?l } GROUP BY ?f } . FILTER ( ?e = 1 ) }
[]
occupation game equipment art genre
SYSTEM
3
Q2079936 Q4991371 Q2730732
(c(Q17638008)|c(Q1792379),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 1
[ANSWER]
[[{'concept': 'Q17638008'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?l ) { ( ontology:Q17638008 ) ( ontology:Q1792379 ) } . ?r rdf:type ?l } GROUP BY ?f } . FILTER ( ?e = 1 ) }
king of marksmen soldier equestrian
3
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 1
[[{'concept': 'game equipment'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?l ) { ( ontology:game_equipment ) ( ontology:art_genre ) } . ?r rdf:type ?l } GROUP BY ?f } . FILTER ( ?e = 1 ) }
[]