Simple Question (Direct)
Simple Question
Q20829750
P106
Q12737077
USER
What do Werner A. Müller do for a living ?
(Q20829750,P106,c(Q12737077))
action filter_type
action find
entity Q20829750
relation P106
type Q12737077
['Q20829750', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q20829750 property:P106 ?j }
Werner A. Müller
action filter_type
action find
entity Werner A. Müller
relation occupation
type occupation
['Werner A. Müller', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Werner_A._Müller property:occupation ?j }
[]
occupation
Q1622272 Q864503 Q15980158
SYSTEM
university teacher, biologist, non-fiction writer
Q864503 Q15980158 Q36180 Q1622272
(Q20829750,P106,c(Q12737077))
action filter_type
action find
entity Q20829750
relation P106
type Q12737077
Werner A . Müller do for a living as [ANSWERS]
['Q20829750', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q20829750 property:P106 ?j }
biologist non-fiction writer writer university teacher
Werner A . Müller do for a living as university teacher, biologist and non-fiction writer
university teacher biologist non-fiction writer
action filter_type
action find
entity Werner A. Müller
relation occupation
type occupation
['Werner A. Müller', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Werner_A._Müller property:occupation ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20829750
P27
Q1048835
USER
Which political territory is the native country of Werner A. Müller ?
(Q20829750,P27,c(Q1048835))
action filter_type
action find
entity Q20829750
relation P27
type Q1048835
['Q20829750', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q20829750 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Werner A. Müller
action filter_type
action find
entity Werner A. Müller
relation country of citizenship
type political territorial entity
['Werner A. Müller', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Werner_A._Müller property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q20829750,P27,c(Q1048835))
action filter_type
action find
entity Q20829750
relation P27
type Q1048835
The [ANSWER] is the native country of Werner A. Müller
['Q20829750', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q20829750 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Germany
The Germany is the native country of Werner A. Müller
Germany
action filter_type
action find
entity Werner A. Müller
relation country of citizenship
type political territorial entity
['Werner A. Müller', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Werner_A._Müller property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20829750
P21
Q290
USER
Which sex does that person belong to ?
(Q183,P21,c(Q290))
action filter_type
action find
entity Q20829750
relation P21
type Q290
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q20829750 property:P21 ?y }
Werner A. Müller
action filter_type
action find
entity Werner A. Müller
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Werner_A._Müller property:gender ?y }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q183,P21,c(Q290))
action filter_type
action find
entity Q20829750
relation P21
type Q290
That person belongs to [ANSWER]
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q20829750 property:P21 ?y }
male
That person belongs to male
male
action filter_type
action find
entity Werner A. Müller
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Werner_A._Müller property:gender ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q386724 Q838948
USER
How many occupations were the main subjects in the work atleast 24 works and works of art ?
(c(Q386724)|c(Q838948),P921,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 24
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?w ) WHERE { VALUES ( ?h ) { ( ontology:Q386724 ) ( ontology:Q838948 ) } . ?s rdf:type ?h } GROUP BY ?b } . FILTER ( ?w >= 24 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 24
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?w ) WHERE { VALUES ( ?h ) { ( ontology:work ) ( ontology:work_of_art ) } . ?s rdf:type ?h } GROUP BY ?b } . FILTER ( ?w >= 24 ) }
[]
occupation work work of art
SYSTEM
3
Q33999 Q9402 Q33231
(c(Q386724)|c(Q838948),P921,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 24
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?w ) WHERE { VALUES ( ?h ) { ( ontology:Q386724 ) ( ontology:Q838948 ) } . ?s rdf:type ?h } GROUP BY ?b } . FILTER ( ?w >= 24 ) }
actor ninja photographer
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 24
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?w ) WHERE { VALUES ( ?h ) { ( ontology:work ) ( ontology:work_of_art ) } . ?s rdf:type ?h } GROUP BY ?b } . FILTER ( ?w >= 24 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15980158
P101
Q502895
USER
Which person works in the domain of non-fiction writer ?
(c(Q502895),P101,Q15980158)
action filter_type
action find_reverse
entity Q15980158
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q15980158']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P101 resource:Q15980158 }
non-fiction writer
action filter_type
action find_reverse
entity non-fiction writer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'non-fiction writer']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:field_of_work resource:non-fiction_writer }
[]
common name
Q21030230
SYSTEM
Eliška Klimková-Deutschová
Q21030230
(c(Q502895),P101,Q15980158)
action filter_type
action find_reverse
entity Q15980158
relation P101
type Q502895
[ANSWER] works in the domain of non-fiction writer
[{'concept': 'Q502895'}, 'P101', 'Q15980158']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P101 resource:Q15980158 }
Eliška Klimková-Deutschová
Eliška Klimková-Deutschová works in the domain of non-fiction writer
Eliška Klimková-Deutschová
action filter_type
action find_reverse
entity non-fiction writer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'non-fiction writer']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:field_of_work resource:non-fiction_writer }
[]