Simple Question (Direct)
Simple Question
Q3229507
P119
Q43229
USER
Where was Lenore Ulric buried ?
(Q3229507,P119,c(Q43229))
action filter_type
action find
entity Q3229507
relation P119
type Q43229
['Q3229507', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { resource:Q3229507 property:P119 ?b . ?b rdf:type ontology:Q43229 }
Lenore Ulric
action filter_type
action find
entity Lenore Ulric
relation place of burial
type organization
['Lenore Ulric', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { resource:Lenore_Ulric property:place_of_burial ?b . ?b rdf:type ontology:organization }
[]
organization
Q1771319
SYSTEM
Ferncliff Cemetery
Q1771319
(Q3229507,P119,c(Q43229))
action filter_type
action find
entity Q3229507
relation P119
type Q43229
Lenore Ulric was buried at [ANSWER]
['Q3229507', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { resource:Q3229507 property:P119 ?b . ?b rdf:type ontology:Q43229 }
Ferncliff Cemetery
Lenore Ulric was buried at Ferncliff Cemetery
Ferncliff Cemetery
action filter_type
action find
entity Lenore Ulric
relation place of burial
type organization
['Lenore Ulric', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { resource:Lenore_Ulric property:place_of_burial ?b . ?b rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3229507
P26
Q502895
USER
Which person is the life partner of that one ?
(c(Q502895),P26,Q1771319)
action filter_type
action find
entity Q3229507
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1771319']
SELECT DISTINCT ?y WHERE { resource:Q3229507 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Lenore Ulric
action filter_type
action find
entity Lenore Ulric
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ferncliff Cemetery']
SELECT DISTINCT ?y WHERE { resource:Lenore_Ulric property:spouse ?y . ?y rdf:type ontology:common_name }
[]
common name
Q1592946
SYSTEM
Sidney Blackmer
Q1592946
(c(Q502895),P26,Q1771319)
action filter_type
action find
entity Q3229507
relation P26
type Q502895
[ANSWER] is the life partner of that one
[{'concept': 'Q502895'}, 'P26', 'Q1771319']
SELECT DISTINCT ?y WHERE { resource:Q3229507 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Sidney Blackmer
Sidney Blackmer is the life partner of that one
Sidney Blackmer
action filter_type
action find
entity Lenore Ulric
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ferncliff Cemetery']
SELECT DISTINCT ?y WHERE { resource:Lenore_Ulric property:spouse ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1592946
P106
Q12737077
USER
What are the job of that person ?
(Q1592946,P106,c(Q12737077))
action filter_type
action find
entity Q1592946
relation P106
type Q12737077
['Q1592946', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q1592946 property:P106 ?s }
Sidney Blackmer
action filter_type
action find
entity Sidney Blackmer
relation occupation
type occupation
['Sidney Blackmer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Sidney_Blackmer property:occupation ?s }
[]
occupation
Q33999 Q2259451
SYSTEM
actor, stage actor
Q33999 Q2259451
(Q1592946,P106,c(Q12737077))
action filter_type
action find
entity Q1592946
relation P106
type Q12737077
The job of that person are [ANSWERS]
['Q1592946', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q1592946 property:P106 ?s }
actor stage actor
The job of that person are actor and stage actor
actor stage actor
action filter_type
action find
entity Sidney Blackmer
relation occupation
type occupation
['Sidney Blackmer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Sidney_Blackmer property:occupation ?s }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q33999 Q2259451
P425
Q1914636
USER
Which activities have those ones as the associated field of occupation ?
(Q33999,P425,c(Q1914636)) (Q2259451,P425,c(Q1914636))
action filter_type
action find
entity prev_answer
relation P425
type Q1914636
['Q33999', 'P425', {'concept': 'Q1914636'}] ['Q2259451', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1914636 . ?e property:P425 ?s . VALUES ( ?e ) { ( resource:Q33999 ) ( resource:Q2259451 ) } }
actor stage actor
action filter_type
action find
entity prev_answer
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}] ['stage actor', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:activity . ?e property:field_of_this_occupation ?s . VALUES ( ?e ) { ( resource:actor ) ( resource:stage_actor ) } }
[]
activity
Q222749 Q184485
SYSTEM
acting, performing arts
Q222749 Q184485
(Q33999,P425,c(Q1914636)) (Q2259451,P425,c(Q1914636))
action filter_type
action find
entity prev_answer
relation P425
type Q1914636
And [ANSWERS] have those ones as the associated field of occupation
['Q33999', 'P425', {'concept': 'Q1914636'}] ['Q2259451', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1914636 . ?e property:P425 ?s . VALUES ( ?e ) { ( resource:Q33999 ) ( resource:Q2259451 ) } }
acting performing arts
And acting and performing arts have those ones as the associated field of occupation
acting performing arts
action filter_type
action find
entity prev_answer
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}] ['stage actor', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:activity . ?e property:field_of_this_occupation ?s . VALUES ( ?e ) { ( resource:actor ) ( resource:stage_actor ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q222749 Q184485
P425
Q12737077
USER
Which occupations do those activities belong to ?
(c(Q12737077),P425,Q222749) (c(Q12737077),P425,Q184485)
action filter_type
action find_reverse
entity prev_answer
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q222749'] [{'concept': 'Q12737077'}, 'P425', 'Q184485']
SELECT DISTINCT ?l WHERE { ?l property:P425 ?s . VALUES ( ?s ) { ( resource:Q222749 ) ( resource:Q184485 ) } . ?l rdf:type ontology:Q12737077 }
acting performing arts
action filter_type
action find_reverse
entity prev_answer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'acting'] [{'concept': 'occupation'}, 'field of this occupation', 'performing arts']
SELECT DISTINCT ?l WHERE { ?l property:field_of_this_occupation ?s . VALUES ( ?s ) { ( resource:acting ) ( resource:performing_arts ) } . ?l rdf:type ontology:occupation }
[]
occupation
Q16010345 Q33999 Q948329
SYSTEM
performer, actor, character actor
Q33999 Q948329 Q16010345 Q1759246 Q2259451
(c(Q12737077),P425,Q222749) (c(Q12737077),P425,Q184485)
action filter_type
action find_reverse
entity prev_answer
relation P425
type Q12737077
Those activities belong to [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q222749'] [{'concept': 'Q12737077'}, 'P425', 'Q184485']
SELECT DISTINCT ?l WHERE { ?l property:P425 ?s . VALUES ( ?s ) { ( resource:Q222749 ) ( resource:Q184485 ) } . ?l rdf:type ontology:Q12737077 }
actor character actor performer theatrical producer stage actor
Those activities belong to performer, actor and character actor
performer actor character actor
action filter_type
action find_reverse
entity prev_answer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'acting'] [{'concept': 'occupation'}, 'field of this occupation', 'performing arts']
SELECT DISTINCT ?l WHERE { ?l property:field_of_this_occupation ?s . VALUES ( ?s ) { ( resource:acting ) ( resource:performing_arts ) } . ?l rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q33999
P123
Q166142
USER
Which application produced that occupation ?
(c(Q166142),P123,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q33999']
SELECT DISTINCT ?m WHERE { ?m property:P123 resource:Q33999 . ?m rdf:type ontology:Q166142 }
actor
action filter_type
action find_reverse
entity actor
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'actor']
SELECT DISTINCT ?m WHERE { ?m property:publisher resource:actor . ?m rdf:type ontology:application }
[]
application
Clarification for simple ques.
Q948329
SYSTEM
Did you mean character actor ?
Q16010345 Q33999 Q948329
(c(Q166142),P123,Q16010345) (c(Q166142),P123,Q33999) (c(Q166142),P123,Q948329)
[ANSWER]
[{'concept': 'Q166142'}, 'P123', 'Q16010345'] [{'concept': 'Q166142'}, 'P123', 'Q33999'] [{'concept': 'Q166142'}, 'P123', 'Q948329']
SELECT DISTINCT ?m WHERE { ?m property:P123 resource:Q33999 . ?m rdf:type ontology:Q166142 }
performer actor character actor
Did you mean character actor ?
character actor
[{'concept': 'application'}, 'publisher', 'performer'] [{'concept': 'application'}, 'publisher', 'actor'] [{'concept': 'application'}, 'publisher', 'character actor']
SELECT DISTINCT ?m WHERE { ?m property:publisher resource:actor . ?m rdf:type ontology:application }
[]
Simple Question (Coreferenced)
USER
No, I meant actor. Could you tell me the answer for that?
(c(Q166142),P123,Q33999)
Q33999
[{'concept': 'Q166142'}, 'P123', 'Q33999']
[{'concept': 'application'}, 'publisher', 'actor']
[]
Q5242936
SYSTEM
Day of Love
Q5242936
(c(Q166142),P123,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P123
type Q166142
[ANSWER] produced that occupation
[{'concept': 'Q166142'}, 'P123', 'Q33999']
SELECT DISTINCT ?m WHERE { ?m property:P123 resource:Q33999 . ?m rdf:type ontology:Q166142 }
Day of Love
Day of Love produced that occupation
Day of Love
action filter_type
action find_reverse
entity actor
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'actor']
SELECT DISTINCT ?m WHERE { ?m property:publisher resource:actor . ?m rdf:type ontology:application }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q384426
P1445
Q166142 Q386724
USER
Which works are recounted in lesser number of applications than Pirates of the Caribbean ?
(c(Q386724),P1445,c(Q166142))
action less
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q384426
relation P1445
type Q166142
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?q ) WHERE { ?n property:P1445 ?z . ?n rdf:type ontology:Q386724 . ?z rdf:type ontology:Q166142 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p rdf:type ontology:Q166142 . resource:Q384426 property:P1445 ?p } } . FILTER ( ?q < ?w ) }
Pirates of the Caribbean
action less
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity Pirates of the Caribbean
relation fictional universe described in
type application
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?q ) WHERE { ?n property:fictional_universe_described_in ?z . ?n rdf:type ontology:work . ?z rdf:type ontology:application } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p rdf:type ontology:application . resource:Pirates_of_the_Caribbean property:fictional_universe_described_in ?p } } . FILTER ( ?q < ?w ) }
[]
application work
Q15731902 Q11927 Q3177580
SYSTEM
Aladdin media franchise, Stargate, The Walking Dead
Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q166142))
action less
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q384426
relation P1445
type Q166142
[ANSWERS] are recounted in lesser number of applications than Pirates of the Caribbean
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?q ) WHERE { ?n property:P1445 ?z . ?n rdf:type ontology:Q386724 . ?z rdf:type ontology:Q166142 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p rdf:type ontology:Q166142 . resource:Q384426 property:P1445 ?p } } . FILTER ( ?q < ?w ) }
Aladdin media franchise Stargate The Walking Dead
Aladdin media franchise, Stargate and The Walking Dead are recounted in lesser number of applications than Pirates of the Caribbean
Aladdin media franchise Stargate The Walking Dead
action less
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity Pirates of the Caribbean
relation fictional universe described in
type application
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?q ) WHERE { ?n property:fictional_universe_described_in ?z . ?n rdf:type ontology:work . ?z rdf:type ontology:application } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p rdf:type ontology:application . resource:Pirates_of_the_Caribbean property:fictional_universe_described_in ?p } } . FILTER ( ?q < ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1203222
P1445
Q166142 Q386724
USER
And how about Shrek?
(c(Q386724),P1445,c(Q166142))
action less
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q1203222
relation P1445
type Q166142
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?a ) WHERE { ?d property:P1445 ?g . ?d rdf:type ontology:Q386724 . ?g rdf:type ontology:Q166142 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Q1203222 property:P1445 ?x . ?x rdf:type ontology:Q166142 } } . FILTER ( ?a < ?n ) }
Shrek
action less
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity Shrek
relation fictional universe described in
type application
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?a ) WHERE { ?d property:fictional_universe_described_in ?g . ?d rdf:type ontology:work . ?g rdf:type ontology:application } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Shrek property:fictional_universe_described_in ?x . ?x rdf:type ontology:application } } . FILTER ( ?a < ?n ) }
[]
application work
Q384426 Q15731902 Q11927
SYSTEM
Pirates of the Caribbean, Aladdin media franchise, Stargate
Q15731902 Q11927 Q3177580 Q384426
(c(Q386724),P1445,c(Q166142))
action less
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q1203222
relation P1445
type Q166142
[ANSWERS]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?a ) WHERE { ?d property:P1445 ?g . ?d rdf:type ontology:Q386724 . ?g rdf:type ontology:Q166142 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Q1203222 property:P1445 ?x . ?x rdf:type ontology:Q166142 } } . FILTER ( ?a < ?n ) }
Aladdin media franchise Stargate The Walking Dead Pirates of the Caribbean
Pirates of the Caribbean Aladdin media franchise Stargate
action less
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity Shrek
relation fictional universe described in
type application
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?a ) WHERE { ?d property:fictional_universe_described_in ?g . ?d rdf:type ontology:work . ?g rdf:type ontology:application } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Shrek property:fictional_universe_described_in ?x . ?x rdf:type ontology:application } } . FILTER ( ?a < ?n ) }
[]