Simple Question (Direct)
Simple Question
Q554091
P25
Q502895
USER
Which female person has a child named Brody Jenner ?
(Q554091,P25,c(Q502895))
action filter_type
action find
entity Q554091
relation P25
type Q502895
['Q554091', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q554091 property:P25 ?r . ?r rdf:type ontology:Q502895 }
Brody Jenner
action filter_type
action find
entity Brody Jenner
relation mother
type common name
['Brody Jenner', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Brody_Jenner property:mother ?r . ?r rdf:type ontology:common_name }
[]
common name
Q780846
SYSTEM
Linda Thompson
Q780846
(Q554091,P25,c(Q502895))
action filter_type
action find
entity Q554091
relation P25
type Q502895
And [ANSWER] has a child named Brody Jenner
['Q554091', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q554091 property:P25 ?r . ?r rdf:type ontology:Q502895 }
Linda Thompson
And Linda Thompson has a child named Brody Jenner
Linda Thompson
action filter_type
action find
entity Brody Jenner
relation mother
type common name
['Brody Jenner', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Brody_Jenner property:mother ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q554091
P1038
Q502895
USER
Who is a relative of Brody Jenner ?
(c(Q502895),P1038,Q554091)
action filter_type
action find_reverse
entity Q554091
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q554091']
SELECT DISTINCT ?s WHERE { ?s property:P1038 resource:Q554091 . ?s rdf:type ontology:Q502895 }
Brody Jenner
action filter_type
action find_reverse
entity Brody Jenner
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Brody Jenner']
SELECT DISTINCT ?s WHERE { ?s property:relative resource:Brody_Jenner . ?s rdf:type ontology:common_name }
[]
common name
Q186304
SYSTEM
Kim Kardashian
Q186304
(c(Q502895),P1038,Q554091)
action filter_type
action find_reverse
entity Q554091
relation P1038
type Q502895
A relative of Brody Jenner is actress [ANSWER]
[{'concept': 'Q502895'}, 'P1038', 'Q554091']
SELECT DISTINCT ?s WHERE { ?s property:P1038 resource:Q554091 . ?s rdf:type ontology:Q502895 }
Kim Kardashian
A relative of Brody Jenner is actress Kim Kardashian
Kim Kardashian
action filter_type
action find_reverse
entity Brody Jenner
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Brody Jenner']
SELECT DISTINCT ?s WHERE { ?s property:relative resource:Brody_Jenner . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q186304
P40
Q502895
USER
Who have that one as an offspring ?
(c(Q502895),P40,Q186304)
action filter_type
action find_reverse
entity Q186304
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q186304']
SELECT DISTINCT ?j WHERE { ?j property:P40 resource:Q186304 . ?j rdf:type ontology:Q502895 }
Kim Kardashian
action filter_type
action find_reverse
entity Kim Kardashian
relation child
type common name
[{'concept': 'common name'}, 'child', 'Kim Kardashian']
SELECT DISTINCT ?j WHERE { ?j property:child resource:Kim_Kardashian . ?j rdf:type ontology:common_name }
[]
common name
Q1138235 Q1816737
SYSTEM
Kris Jenner, Robert Kardashian
Q1138235 Q1816737
(c(Q502895),P40,Q186304)
action filter_type
action find_reverse
entity Q186304
relation P40
type Q502895
[ANSWERS] have that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q186304']
SELECT DISTINCT ?j WHERE { ?j property:P40 resource:Q186304 . ?j rdf:type ontology:Q502895 }
Kris Jenner Robert Kardashian
Kris Jenner and Robert Kardashian have that one as an offspring
Kris Jenner Robert Kardashian
action filter_type
action find_reverse
entity Kim Kardashian
relation child
type common name
[{'concept': 'common name'}, 'child', 'Kim Kardashian']
SELECT DISTINCT ?j WHERE { ?j property:child resource:Kim_Kardashian . ?j rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1816737
P26
Q502895
USER
Which person is married to that one ?
(Q1816737,P26,c(Q502895))
action filter_type
action find
entity Q1816737
relation P26
type Q502895
['Q1816737', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1816737 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Robert Kardashian
action filter_type
action find
entity Robert Kardashian
relation spouse
type common name
['Robert Kardashian', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Robert_Kardashian property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1816737
SYSTEM
Did you mean Robert Kardashian ?
Q1138235 Q1816737
(Q1138235,P26,c(Q502895)) (Q1816737,P26,c(Q502895))
[ANSWER]
['Q1138235', 'P26', {'concept': 'Q502895'}] ['Q1816737', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1816737 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Kris Jenner Robert Kardashian
Did you mean Robert Kardashian ?
Robert Kardashian
['Kris Jenner', 'spouse', {'concept': 'common name'}] ['Robert Kardashian', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Robert_Kardashian property:spouse ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1816737,P26,c(Q502895))
['Q1816737', 'P26', {'concept': 'Q502895'}]
['Robert Kardashian', 'spouse', {'concept': 'common name'}]
[]
Q1138235
SYSTEM
Kris Jenner
Q1138235
(Q1816737,P26,c(Q502895))
action filter_type
action find
entity Q1816737
relation P26
type Q502895
[ANSWER] is married to that one
['Q1816737', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1816737 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Kris Jenner
Kris Jenner is married to that one
Kris Jenner
action filter_type
action find
entity Robert Kardashian
relation spouse
type common name
['Robert Kardashian', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Robert_Kardashian property:spouse ?p . ?p rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1138235 Q1770624
P40
Q502895
USER
Is Kylie Jenner a child of that one ?
(Q1138235,P40,Q1770624)
action is_in
entity Q1770624
action find
entity Q1138235
relation P40
['Q1138235', 'P40', 'Q1770624']
ASK WHERE { resource:Q1138235 property:P40 resource:Q1770624 }
Kris Jenner Kylie Jenner
action is_in
entity Kylie Jenner
action find
entity Kris Jenner
relation child
['Kris Jenner', 'child', 'Kylie Jenner']
ASK WHERE { resource:Kris_Jenner property:child resource:Kylie_Jenner }
[]
common name
SYSTEM
YES
(Q1138235,P40,Q1770624)
action is_in
entity Q1770624
action find
entity Q1138235
relation P40
[ANSWER]
['Q1138235', 'P40', 'Q1770624']
ASK WHERE { resource:Q1138235 property:P40 resource:Q1770624 }
Yes
action is_in
entity Kylie Jenner
action find
entity Kris Jenner
relation child
['Kris Jenner', 'child', 'Kylie Jenner']
ASK WHERE { resource:Kris_Jenner property:child resource:Kylie_Jenner }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q490054
P1303
Q34379 Q502895
USER
How many musical instruments do more number of people know to play than Ondioline ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q490054
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q490054 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?u > ?s ) }
Ondioline
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Ondioline
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Ondioline property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?u > ?s ) }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q490054
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Q490054 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?u > ?s ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Ondioline
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { resource:Ondioline property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?u > ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q182718
P1303
Q34379 Q502895
USER
And how about Nyckelharpa?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q182718
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?g ) WHERE { ?s rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 . ?s property:P1303 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Q182718 property:P1303 ?x . ?x rdf:type ontology:Q34379 } } . FILTER ( ?g > ?h ) }
Nyckelharpa
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Nyckelharpa
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?g ) WHERE { ?s rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument . ?s property:instrument ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Nyckelharpa property:instrument ?x . ?x rdf:type ontology:musical_instrument } } . FILTER ( ?g > ?h ) }
[]
musical instrument common name
SYSTEM
22
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q626035 Q742180 Q1444 Q220971 Q128309 Q726306 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q182718
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?g ) WHERE { ?s rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 . ?s property:P1303 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Q182718 property:P1303 ?x . ?x rdf:type ontology:Q34379 } } . FILTER ( ?g > ?h ) }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla glockenspiel viola d'amore organ marimba drum kit erhu electronic keyboard drum
22
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Nyckelharpa
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?g ) WHERE { ?s rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument . ?s property:instrument ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Nyckelharpa property:instrument ?x . ?x rdf:type ontology:musical_instrument } } . FILTER ( ?g > ?h ) }
[]