Simple Question (Direct)
Simple Question
Q11826335
P106
Q12737077
USER
Which occupations have Drahomíra Šustrová as his/her 's career ?
(Q11826335,P106,c(Q12737077))
action filter_type
action find
entity Q11826335
relation P106
type Q12737077
['Q11826335', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q11826335 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Drahomíra Šustrová
action filter_type
action find
entity Drahomíra Šustrová
relation occupation
type occupation
['Drahomíra Šustrová', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Drahomíra_Šustrová property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q3455803 Q1231865 Q36180
SYSTEM
director, educationist, writer
Q3455803 Q1231865 Q36180
(Q11826335,P106,c(Q12737077))
action filter_type
action find
entity Q11826335
relation P106
type Q12737077
[ANSWERS] have Drahomíra Šustrová as his/her 's career
['Q11826335', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q11826335 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
director educationist writer
Director, educationist and writer have Drahomíra Šustrová as his/her 's career
director educationist writer
action filter_type
action find
entity Drahomíra Šustrová
relation occupation
type occupation
['Drahomíra Šustrová', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Drahomíra_Šustrová property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3455803
P361
Q28640
USER
What is a component of that occupation ?
(c(Q28640),P361,Q3455803)
action filter_type
action find_reverse
entity Q3455803
relation P361
type Q28640
[{'concept': 'Q28640'}, 'P361', 'Q3455803']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q3455803 . ?n rdf:type ontology:Q28640 }
director
action filter_type
action find_reverse
entity director
relation part of
type profession
[{'concept': 'profession'}, 'part of', 'director']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:director . ?n rdf:type ontology:profession }
[]
profession
Clarification for simple ques.
Q1231865
SYSTEM
Did you mean educationist ?
Q3455803 Q1231865 Q36180
(c(Q28640),P361,Q3455803) (c(Q28640),P361,Q1231865) (c(Q28640),P361,Q36180)
[ANSWER]
[{'concept': 'Q28640'}, 'P361', 'Q3455803'] [{'concept': 'Q28640'}, 'P361', 'Q1231865'] [{'concept': 'Q28640'}, 'P361', 'Q36180']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q3455803 . ?n rdf:type ontology:Q28640 }
director educationist writer
Did you mean educationist ?
educationist
[{'concept': 'profession'}, 'part of', 'director'] [{'concept': 'profession'}, 'part of', 'educationist'] [{'concept': 'profession'}, 'part of', 'writer']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:director . ?n rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
USER
No, I meant director. Could you tell me the answer for that?
(c(Q28640),P361,Q3455803)
Q3455803
[{'concept': 'Q28640'}, 'P361', 'Q3455803']
[{'concept': 'profession'}, 'part of', 'director']
[]
Q7247822
SYSTEM
unit production manager
Q7247822
(c(Q28640),P361,Q3455803)
action filter_type
action find_reverse
entity Q3455803
relation P361
type Q28640
A component of that occupation is a [ANSWER]
[{'concept': 'Q28640'}, 'P361', 'Q3455803']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q3455803 . ?n rdf:type ontology:Q28640 }
unit production manager
A component of that occupation is a unit production manager
unit production manager
action filter_type
action find_reverse
entity director
relation part of
type profession
[{'concept': 'profession'}, 'part of', 'director']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:director . ?n rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11826335
P21
Q290
USER
Which sex does Drahomíra Šustrová possess ?
(Q11826335,P21,c(Q290))
action filter_type
action find
entity Q11826335
relation P21
type Q290
['Q11826335', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q11826335 property:P21 ?s }
Drahomíra Šustrová
action filter_type
action find
entity Drahomíra Šustrová
relation gender
type sex
['Drahomíra Šustrová', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Drahomíra_Šustrová property:gender ?s }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q11826335,P21,c(Q290))
action filter_type
action find
entity Q11826335
relation P21
type Q290
Drahomíra Šustrová possesses the [ANSWER]
['Q11826335', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q11826335 property:P21 ?s }
female
Drahomíra Šustrová possesses the female
female
action filter_type
action find
entity Drahomíra Šustrová
relation gender
type sex
['Drahomíra Šustrová', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Drahomíra_Šustrová property:gender ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q1269299 Q28640
USER
How many business organizations serve as a subsidiary of exactly 1 profession ?
(c(Q28640),P355,c(Q1269299))
action count
action equal
action find_reverse_tuple_counts
relation P355
type Q1269299
type Q28640
value 1
[{'concept': 'Q28640'}, 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?l ) WHERE { ?y rdf:type ontology:Q1269299 . ?w rdf:type ontology:Q28640 . ?w property:P355 ?y } GROUP BY ?y } }
action count
action equal
action find_reverse_tuple_counts
relation subsidiary
type type of business entity
type profession
value 1
[{'concept': 'profession'}, 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?l ) WHERE { ?y rdf:type ontology:type_of_business_entity . ?w rdf:type ontology:profession . ?w property:subsidiary ?y } GROUP BY ?y } }
[]
type of business entity profession
SYSTEM
2
Q20112954 Q20045200
(c(Q28640),P355,c(Q1269299))
action count
action equal
action find_reverse_tuple_counts
relation P355
type Q1269299
type Q28640
value 1
[ANSWER]
[{'concept': 'Q28640'}, 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?l ) WHERE { ?y rdf:type ontology:Q1269299 . ?w rdf:type ontology:Q28640 . ?w property:P355 ?y } GROUP BY ?y } }
Sega Games SEGA Interactive
2
action count
action equal
action find_reverse_tuple_counts
relation subsidiary
type type of business entity
type profession
value 1
[{'concept': 'profession'}, 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?l ) WHERE { ?y rdf:type ontology:type_of_business_entity . ?w rdf:type ontology:profession . ?w property:subsidiary ?y } GROUP BY ?y } }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q14467526
Q1914636
USER
And what about linguist?
(Q14467526,P425,c(Q1914636))
action count
action filter_type
action find
entity Q14467526
relation P425
type Q1914636
['Q14467526', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q14467526 property:P425 ?v . ?v rdf:type ontology:Q1914636 }
linguist
action count
action filter_type
action find
entity linguist
relation field of this occupation
type activity
['linguist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:linguist property:field_of_this_occupation ?v . ?v rdf:type ontology:activity }
[]
activity
SYSTEM
1
(Q14467526,P425,c(Q1914636))
action count
action filter_type
action find
entity Q14467526
relation P425
type Q1914636
[ANSWER]
['Q14467526', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q14467526 property:P425 ?v . ?v rdf:type ontology:Q1914636 }
1
action count
action filter_type
action find
entity linguist
relation field of this occupation
type activity
['linguist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:linguist property:field_of_this_occupation ?v . ?v rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11826335
P19
Q515
USER
Which city is the birthplace of Drahomíra Šustrová ?
(Q11826335,P19,c(Q515))
action filter_type
action find
entity Q11826335
relation P19
type Q515
['Q11826335', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q11826335 property:P19 ?i . ?i rdf:type ontology:Q515 }
Drahomíra Šustrová
action filter_type
action find
entity Drahomíra Šustrová
relation place of birth
type city
['Drahomíra Šustrová', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Drahomíra_Šustrová property:place_of_birth ?i . ?i rdf:type ontology:city }
[]
city
Q14960
SYSTEM
Brno
Q14960
(Q11826335,P19,c(Q515))
action filter_type
action find
entity Q11826335
relation P19
type Q515
[ANSWER] is the birthplace of Drahomíra Šustrová
['Q11826335', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q11826335 property:P19 ?i . ?i rdf:type ontology:Q515 }
Brno
Brno is the birthplace of Drahomíra Šustrová
Brno
action filter_type
action find
entity Drahomíra Šustrová
relation place of birth
type city
['Drahomíra Šustrová', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Drahomíra_Šustrová property:place_of_birth ?i . ?i rdf:type ontology:city }
[]