Simple Question (Direct)
Simple Question
Q19959531
P21
Q290
USER
Which sex does Ivan Gantschev belong to ?
(Q19959531,P21,c(Q290))
action filter_type
action find
entity Q19959531
relation P21
type Q290
['Q19959531', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q19959531 property:P21 ?a . ?a rdf:type ontology:Q290 }
Ivan Gantschev
action filter_type
action find
entity Ivan Gantschev
relation gender
type sex
['Ivan Gantschev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Ivan_Gantschev property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19959531,P21,c(Q290))
action filter_type
action find
entity Q19959531
relation P21
type Q290
Ivan Gantschev belongs to [ANSWER]
['Q19959531', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q19959531 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Ivan Gantschev belongs to male
male
action filter_type
action find
entity Ivan Gantschev
relation gender
type sex
['Ivan Gantschev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Ivan_Gantschev property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19959531
P106
Q12737077
USER
What are the professions of Ivan Gantschev ?
(Q19959531,P106,c(Q12737077))
action filter_type
action find
entity Q19959531
relation P106
type Q12737077
['Q19959531', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q19959531 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Ivan Gantschev
action filter_type
action find
entity Ivan Gantschev
relation occupation
type occupation
['Ivan Gantschev', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Ivan_Gantschev property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q644687 Q627325 Q483501
SYSTEM
illustrator, graphic designer, artist
Q644687 Q627325 Q483501
(Q19959531,P106,c(Q12737077))
action filter_type
action find
entity Q19959531
relation P106
type Q12737077
The professions of Ivan Gantschev are the [ANSWERS]
['Q19959531', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q19959531 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
illustrator graphic designer artist
The professions of Ivan Gantschev are the illustrator, graphic designer and artist
illustrator graphic designer artist
action filter_type
action find
entity Ivan Gantschev
relation occupation
type occupation
['Ivan Gantschev', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Ivan_Gantschev property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7655300
Q12737077
USER
And what about Sweet Emma Barrett?
(Q7655300,P106,c(Q12737077))
action filter_type
action find
entity Q7655300
relation P106
type Q12737077
['Q7655300', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q7655300 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Sweet Emma Barrett
action filter_type
action find
entity Sweet Emma Barrett
relation occupation
type occupation
['Sweet Emma Barrett', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Sweet_Emma_Barrett property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q15981151 Q486748 Q177220
SYSTEM
jazz musician, pianist, singer
Q15981151 Q486748 Q177220
(Q7655300,P106,c(Q12737077))
action filter_type
action find
entity Q7655300
relation P106
type Q12737077
[ANSWERS]
['Q7655300', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q7655300 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
jazz musician pianist singer
jazz musician pianist singer
action filter_type
action find
entity Sweet Emma Barrett
relation occupation
type occupation
['Sweet Emma Barrett', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Sweet_Emma_Barrett property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1555472
P106
Q502895
USER
Do Gustav-Adolf Stange have the profession as those occupations ?
(Q1555472,P106,Q15981151) (Q1555472,P106,Q486748) (Q1555472,P106,Q177220)
action is_in
entity prev_answer
action find
entity Q1555472
relation P106
['Q1555472', 'P106', 'Q15981151'] ['Q1555472', 'P106', 'Q486748'] ['Q1555472', 'P106', 'Q177220']
ASK WHERE { VALUES ( ?q ) { ( resource:Q15981151 ) ( resource:Q486748 ) ( resource:Q177220 ) } . resource:Q1555472 property:P106 ?q }
Gustav-Adolf Stange
action is_in
entity prev_answer
action find
entity Gustav-Adolf Stange
relation occupation
['Gustav-Adolf Stange', 'occupation', 'jazz musician'] ['Gustav-Adolf Stange', 'occupation', 'pianist'] ['Gustav-Adolf Stange', 'occupation', 'singer']
ASK WHERE { VALUES ( ?q ) { ( resource:jazz_musician ) ( resource:pianist ) ( resource:singer ) } . resource:Gustav-Adolf_Stange property:occupation ?q }
[]
common name
SYSTEM
NO
(Q1555472,P106,Q15981151) (Q1555472,P106,Q486748) (Q1555472,P106,Q177220)
action is_in
entity prev_answer
action find
entity Q1555472
relation P106
[ANSWER]
['Q1555472', 'P106', 'Q15981151'] ['Q1555472', 'P106', 'Q486748'] ['Q1555472', 'P106', 'Q177220']
ASK WHERE { VALUES ( ?q ) { ( resource:Q15981151 ) ( resource:Q486748 ) ( resource:Q177220 ) } . resource:Q1555472 property:P106 ?q }
No
action is_in
entity prev_answer
action find
entity Gustav-Adolf Stange
relation occupation
['Gustav-Adolf Stange', 'occupation', 'jazz musician'] ['Gustav-Adolf Stange', 'occupation', 'pianist'] ['Gustav-Adolf Stange', 'occupation', 'singer']
ASK WHERE { VALUES ( ?q ) { ( resource:jazz_musician ) ( resource:pianist ) ( resource:singer ) } . resource:Gustav-Adolf_Stange property:occupation ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q644687
P136
Q502895
USER
Which people have illustrator as their category ?
(c(Q502895),P136,Q644687)
action filter_type
action find_reverse
entity Q644687
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q644687']
SELECT DISTINCT ?s WHERE { ?s property:P136 resource:Q644687 . ?s rdf:type ontology:Q502895 }
illustrator
action filter_type
action find_reverse
entity illustrator
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'illustrator']
SELECT DISTINCT ?s WHERE { ?s property:genre resource:illustrator . ?s rdf:type ontology:common_name }
[]
common name
Q1738984 Q11681457
SYSTEM
Simon Kozhin, Emma Ríos
Q1738984 Q11681457
(c(Q502895),P136,Q644687)
action filter_type
action find_reverse
entity Q644687
relation P136
type Q502895
[ANSWERS] have illustrator as their category
[{'concept': 'Q502895'}, 'P136', 'Q644687']
SELECT DISTINCT ?s WHERE { ?s property:P136 resource:Q644687 . ?s rdf:type ontology:Q502895 }
Simon Kozhin Emma Ríos
Simon Kozhin and Emma Ríos have illustrator as their category
Simon Kozhin Emma Ríos
action filter_type
action find_reverse
entity illustrator
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'illustrator']
SELECT DISTINCT ?s WHERE { ?s property:genre resource:illustrator . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1738984 Q11681457
P21
Q290
USER
Which sexes do those people have ?
(Q1738984,P21,c(Q290)) (Q11681457,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q1738984', 'P21', {'concept': 'Q290'}] ['Q11681457', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?d property:P21 ?t . VALUES ( ?d ) { ( resource:Q1738984 ) ( resource:Q11681457 ) } . ?t rdf:type ontology:Q290 }
Simon Kozhin Emma Ríos
action filter_type
action find
entity prev_answer
relation gender
type sex
['Simon Kozhin', 'gender', {'concept': 'sex'}] ['Emma Ríos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?d property:gender ?t . VALUES ( ?d ) { ( resource:Simon_Kozhin ) ( resource:Emma_Ríos ) } . ?t rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
(Q1738984,P21,c(Q290)) (Q11681457,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people have a [ANSWERS]
['Q1738984', 'P21', {'concept': 'Q290'}] ['Q11681457', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?d property:P21 ?t . VALUES ( ?d ) { ( resource:Q1738984 ) ( resource:Q11681457 ) } . ?t rdf:type ontology:Q290 }
male female
Those people have a male and female
male female
action filter_type
action find
entity prev_answer
relation gender
type sex
['Simon Kozhin', 'gender', {'concept': 'sex'}] ['Emma Ríos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?d property:gender ?t . VALUES ( ?d ) { ( resource:Simon_Kozhin ) ( resource:Emma_Ríos ) } . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1738984
P101
Q1792379
USER
Which discipline does Simon Kozhin belong to ?
(Q1738984,P101,c(Q1792379))
action filter_type
action find
entity Q1738984
relation P101
type Q1792379
['Q1738984', 'P101', {'concept': 'Q1792379'}]
SELECT DISTINCT ?n WHERE { resource:Q1738984 property:P101 ?n . ?n rdf:type ontology:Q1792379 }
Simon Kozhin
action filter_type
action find
entity Simon Kozhin
relation field of work
type art genre
['Simon Kozhin', 'field of work', {'concept': 'art genre'}]
SELECT DISTINCT ?n WHERE { resource:Simon_Kozhin property:field_of_work ?n . ?n rdf:type ontology:art_genre }
[]
art genre
Q191163
SYSTEM
landscape art
Q191163
(Q1738984,P101,c(Q1792379))
action filter_type
action find
entity Q1738984
relation P101
type Q1792379
Simon Kozhin belongs to [ANSWER]
['Q1738984', 'P101', {'concept': 'Q1792379'}]
SELECT DISTINCT ?n WHERE { resource:Q1738984 property:P101 ?n . ?n rdf:type ontology:Q1792379 }
landscape art
Simon Kozhin belongs to landscape art
landscape art
action filter_type
action find
entity Simon Kozhin
relation field of work
type art genre
['Simon Kozhin', 'field of work', {'concept': 'art genre'}]
SELECT DISTINCT ?n WHERE { resource:Simon_Kozhin property:field_of_work ?n . ?n rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1738984
Q483394
USER
And which genre?
(Q1738984,P101,c(Q483394))
action filter_type
action find
entity Q1738984
relation P101
type Q483394
['Q1738984', 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ?t WHERE { resource:Q1738984 property:P101 ?t . ?t rdf:type ontology:Q483394 }
Simon Kozhin
action filter_type
action find
entity Simon Kozhin
relation field of work
type genre
['Simon Kozhin', 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ?t WHERE { resource:Simon_Kozhin property:field_of_work ?t . ?t rdf:type ontology:genre }
[]
genre
Q134307
SYSTEM
portrait
Q134307
(Q1738984,P101,c(Q483394))
action filter_type
action find
entity Q1738984
relation P101
type Q483394
[ANSWER]
['Q1738984', 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ?t WHERE { resource:Q1738984 property:P101 ?t . ?t rdf:type ontology:Q483394 }
portrait
portrait
action filter_type
action find
entity Simon Kozhin
relation field of work
type genre
['Simon Kozhin', 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ?t WHERE { resource:Simon_Kozhin property:field_of_work ?t . ?t rdf:type ontology:genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q386724 Q732577
USER
How many occupations were the main subjects of around 1 works and publications 's work ?
(c(Q386724)|c(Q732577),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
value 1
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?i WHERE { VALUES ( ?z ) { ( ontology:Q386724 ) ( ontology:Q732577 ) } . ?u rdf:type ?z } GROUP BY ?i } . FILTER ( ?e = 1 ) }
action count
action approx
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 publication
value 1
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?i WHERE { VALUES ( ?z ) { ( ontology:work ) ( ontology:publication ) } . ?u rdf:type ?z } GROUP BY ?i } . FILTER ( ?e = 1 ) }
[]
occupation work publication
SYSTEM
5
Q3809586 Q2094335 Q9402 Q15320003 Q16003532
(c(Q386724)|c(Q732577),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
value 1
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?i WHERE { VALUES ( ?z ) { ( ontology:Q386724 ) ( ontology:Q732577 ) } . ?u rdf:type ?z } GROUP BY ?i } . FILTER ( ?e = 1 ) }
Wikipedian in Residence United States Attorney ninja migrant worker middle school student
5
action count
action approx
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 publication
value 1
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?i WHERE { VALUES ( ?z ) { ( ontology:work ) ( ontology:publication ) } . ?u rdf:type ?z } GROUP BY ?i } . FILTER ( ?e = 1 ) }
[]