Simple Question (Direct)
Simple Question
Q4669151
P21
Q290
USER
Which sex does Abraham Robinson McIlvaine belong to ?
(Q4669151,P21,c(Q290))
action filter_type
action find
entity Q4669151
relation P21
type Q290
['Q4669151', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q4669151 property:P21 ?x . ?x rdf:type ontology:Q290 }
Abraham Robinson McIlvaine
action filter_type
action find
entity Abraham Robinson McIlvaine
relation gender
type sex
['Abraham Robinson McIlvaine', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Abraham_Robinson_McIlvaine property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4669151,P21,c(Q290))
action filter_type
action find
entity Q4669151
relation P21
type Q290
Abraham Robinson McIlvaine belongs to [ANSWER]
['Q4669151', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q4669151 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
Abraham Robinson McIlvaine belongs to male
male
action filter_type
action find
entity Abraham Robinson McIlvaine
relation gender
type sex
['Abraham Robinson McIlvaine', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Abraham_Robinson_McIlvaine property:gender ?x . ?x rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q11980833
P21
Q502895
USER
Is Kjell Christian Hamar a that sex ?
(Q11980833,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q11980833
relation P21
['Q11980833', 'P21', 'Q6581097']
ASK WHERE { resource:Q11980833 property:P21 resource:Q6581097 }
male Kjell Christian Hamar
action is_in
entity male
action find
entity Kjell Christian Hamar
relation gender
['Kjell Christian Hamar', 'gender', 'male']
ASK WHERE { resource:Kjell_Christian_Hamar property:gender resource:male }
[]
common name
SYSTEM
YES
(Q11980833,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q11980833
relation P21
[ANSWER]
['Q11980833', 'P21', 'Q6581097']
ASK WHERE { resource:Q11980833 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Kjell Christian Hamar
relation gender
['Kjell Christian Hamar', 'gender', 'male']
ASK WHERE { resource:Kjell_Christian_Hamar property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4669151
P937
Q852446
USER
Which US administrative territory is the work location of Abraham Robinson McIlvaine ?
(Q4669151,P937,c(Q852446))
action filter_type
action find
entity Q4669151
relation P937
type Q852446
['Q4669151', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?w WHERE { resource:Q4669151 property:P937 ?w . ?w rdf:type ontology:Q852446 }
Abraham Robinson McIlvaine
action filter_type
action find
entity Abraham Robinson McIlvaine
relation work location
type administrative territorial entity of the United States
['Abraham Robinson McIlvaine', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?w WHERE { resource:Abraham_Robinson_McIlvaine property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q25280
SYSTEM
Harrisburg
Q25280
(Q4669151,P937,c(Q852446))
action filter_type
action find
entity Q4669151
relation P937
type Q852446
[ANSWER] is the work location of Abraham Robinson McIlvaine
['Q4669151', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?w WHERE { resource:Q4669151 property:P937 ?w . ?w rdf:type ontology:Q852446 }
Harrisburg
Harrisburg is the work location of Abraham Robinson McIlvaine
Harrisburg
action filter_type
action find
entity Abraham Robinson McIlvaine
relation work location
type administrative territorial entity of the United States
['Abraham Robinson McIlvaine', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?w WHERE { resource:Abraham_Robinson_McIlvaine property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17318890
Q852446
USER
And how about Don Saltsman?
(Q17318890,P937,c(Q852446))
action filter_type
action find
entity Q17318890
relation P937
type Q852446
['Q17318890', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q852446 . resource:Q17318890 property:P937 ?u }
Don Saltsman
action filter_type
action find
entity Don Saltsman
relation work location
type administrative territorial entity of the United States
['Don Saltsman', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Don_Saltsman property:work_location ?u }
[]
administrative territorial entity of the United States
Q28515
SYSTEM
Springfield
Q28515
(Q17318890,P937,c(Q852446))
action filter_type
action find
entity Q17318890
relation P937
type Q852446
[ANSWER]
['Q17318890', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q852446 . resource:Q17318890 property:P937 ?u }
Springfield
Springfield
action filter_type
action find
entity Don Saltsman
relation work location
type administrative territorial entity of the United States
['Don Saltsman', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Don_Saltsman property:work_location ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q28515 Q7145799
P937
Q502895
USER
Does Patricia R. Bellock work at that US administrative territory ?
(Q7145799,P937,Q28515)
action is_in
entity Q28515
action find
entity Q7145799
relation P937
['Q7145799', 'P937', 'Q28515']
ASK WHERE { resource:Q7145799 property:P937 resource:Q28515 }
Springfield Patricia R. Bellock
action is_in
entity Springfield
action find
entity Patricia R. Bellock
relation work location
['Patricia R. Bellock', 'work location', 'Springfield']
ASK WHERE { resource:Patricia_R._Bellock property:work_location resource:Springfield }
[]
common name
SYSTEM
YES
(Q7145799,P937,Q28515)
action is_in
entity Q28515
action find
entity Q7145799
relation P937
[ANSWER]
['Q7145799', 'P937', 'Q28515']
ASK WHERE { resource:Q7145799 property:P937 resource:Q28515 }
Yes
action is_in
entity Springfield
action find
entity Patricia R. Bellock
relation work location
['Patricia R. Bellock', 'work location', 'Springfield']
ASK WHERE { resource:Patricia_R._Bellock property:work_location resource:Springfield }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q38555
P840
Q852446 Q166142 Q15416
USER
How many US administrative territories are lesser number of applications or television programs set in than Santa Fe ?
(c(Q166142)|c(Q15416),P840,c(Q852446))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q38555
relation P840
type Q166142
type Q15416
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:P840 ?f . ?f rdf:type ontology:Q852446 . ?h rdf:type ontology:Q15416 } UNION { ?h property:P840 ?f . ?f rdf:type ontology:Q852446 . ?h rdf:type ontology:Q166142 } } GROUP BY ?f } . FILTER ( ?k < ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:P840 resource:Q38555 . { { ?a rdf:type ontology:Q166142 } UNION { ?a rdf:type ontology:Q15416 } } } } }
Santa Fe
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action count
action filter_multi_types
action find_reverse
entity Santa Fe
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:narrative_location ?f . ?f rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?h rdf:type ontology:television_program } UNION { ?h property:narrative_location ?f . ?f rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?h rdf:type ontology:application } } GROUP BY ?f } . FILTER ( ?k < ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:narrative_location resource:Santa_Fe . { { ?a rdf:type ontology:application } UNION { ?a rdf:type ontology:television_program } } } } }
[]
administrative territorial entity of the United States application television program
SYSTEM
11
Q1397 Q43421 Q7886863 Q5000330 Q3474463 Q1204 Q759 Q14710458 Q4705487 Q1212 Q16551
(c(Q166142)|c(Q15416),P840,c(Q852446))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q38555
relation P840
type Q166142
type Q15416
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:P840 ?f . ?f rdf:type ontology:Q852446 . ?h rdf:type ontology:Q15416 } UNION { ?h property:P840 ?f . ?f rdf:type ontology:Q852446 . ?h rdf:type ontology:Q166142 } } GROUP BY ?f } . FILTER ( ?k < ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:P840 resource:Q38555 . { { ?a rdf:type ontology:Q166142 } UNION { ?a rdf:type ontology:Q15416 } } } } }
Ohio Richmond Unionville Burr Oak, Iowa South Troy Illinois New Hampshire Esperanza Aladdin, Wyoming Montana Vermont
11
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action count
action filter_multi_types
action find_reverse
entity Santa Fe
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?k ) WHERE { { ?h property:narrative_location ?f . ?f rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?h rdf:type ontology:television_program } UNION { ?h property:narrative_location ?f . ?f rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?h rdf:type ontology:application } } GROUP BY ?f } . FILTER ( ?k < ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:narrative_location resource:Santa_Fe . { { ?a rdf:type ontology:application } UNION { ?a rdf:type ontology:television_program } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1415
P840
Q852446 Q166142 Q15416
USER
And how about Indiana?
(c(Q166142)|c(Q15416),P840,c(Q852446))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1415
relation P840
type Q166142
type Q15416
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { { ?b rdf:type ontology:Q166142 } UNION { ?b rdf:type ontology:Q15416 } } . ?b property:P840 resource:Q1415 } } . FILTER ( ?i < ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?u WHERE { { ?k property:P840 ?u . ?u rdf:type ontology:Q852446 . ?k rdf:type ontology:Q166142 } UNION { ?k property:P840 ?u . ?u rdf:type ontology:Q852446 . ?k rdf:type ontology:Q15416 } } GROUP BY ?u } }
Indiana
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action count
action filter_multi_types
action find_reverse
entity Indiana
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { { ?b rdf:type ontology:application } UNION { ?b rdf:type ontology:television_program } } . ?b property:narrative_location resource:Indiana } } . FILTER ( ?i < ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?u WHERE { { ?k property:narrative_location ?u . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?k rdf:type ontology:application } UNION { ?k property:narrative_location ?u . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?k rdf:type ontology:television_program } } GROUP BY ?u } }
[]
administrative territorial entity of the United States application television program
SYSTEM
11
Q1397 Q43421 Q7886863 Q5000330 Q3474463 Q1204 Q759 Q14710458 Q4705487 Q1212 Q16551
(c(Q166142)|c(Q15416),P840,c(Q852446))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1415
relation P840
type Q166142
type Q15416
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { { ?b rdf:type ontology:Q166142 } UNION { ?b rdf:type ontology:Q15416 } } . ?b property:P840 resource:Q1415 } } . FILTER ( ?i < ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?u WHERE { { ?k property:P840 ?u . ?u rdf:type ontology:Q852446 . ?k rdf:type ontology:Q166142 } UNION { ?k property:P840 ?u . ?u rdf:type ontology:Q852446 . ?k rdf:type ontology:Q15416 } } GROUP BY ?u } }
Ohio Richmond Unionville Burr Oak, Iowa South Troy Illinois New Hampshire Esperanza Aladdin, Wyoming Montana Vermont
11
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action count
action filter_multi_types
action find_reverse
entity Indiana
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { { ?b rdf:type ontology:application } UNION { ?b rdf:type ontology:television_program } } . ?b property:narrative_location resource:Indiana } } . FILTER ( ?i < ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?u WHERE { { ?k property:narrative_location ?u . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?k rdf:type ontology:application } UNION { ?k property:narrative_location ?u . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?k rdf:type ontology:television_program } } GROUP BY ?u } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6217661 Q4669151
P27
Q15617994
USER
Which administrative territories are the native countriesof Abraham Robinson McIlvaine and John A. Ferraro ?
AND((Q4669151,P27,c(Q15617994)), (Q6217661,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4669151
relation P27
action find
entity Q6217661
relation P27
type Q15617994
{'AND': [['Q4669151', 'P27', {'concept': 'Q15617994'}], ['Q6217661', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { resource:Q6217661 property:P27 ?h . resource:Q4669151 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
John A. Ferraro Abraham Robinson McIlvaine
action filter_type
action intersection
action find
entity Abraham Robinson McIlvaine
relation country of citizenship
action find
entity John A. Ferraro
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Abraham Robinson McIlvaine', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['John A. Ferraro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { resource:John_A._Ferraro property:country_of_citizenship ?h . resource:Abraham_Robinson_McIlvaine property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q4669151,P27,c(Q15617994)), (Q6217661,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4669151
relation P27
action find
entity Q6217661
relation P27
type Q15617994
The [ANSWER] is the native countriesof Abraham Robinson McIlvaine and John A. Ferraro
{'AND': [['Q4669151', 'P27', {'concept': 'Q15617994'}], ['Q6217661', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { resource:Q6217661 property:P27 ?h . resource:Q4669151 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native countriesof Abraham Robinson McIlvaine and John A. Ferraro
United States of America
action filter_type
action intersection
action find
entity Abraham Robinson McIlvaine
relation country of citizenship
action find
entity John A. Ferraro
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Abraham Robinson McIlvaine', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['John A. Ferraro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { resource:John_A._Ferraro property:country_of_citizenship ?h . resource:Abraham_Robinson_McIlvaine property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q11613 Q3121307
P6
Q502895
USER
Does United States of America have a government lead by Harry S. Truman and Gustave Ravier ?
(Q30,P6,Q11613) (Q30,P6,Q3121307)
action is_in
entity Q30
action intersection
action find_reverse
entity Q11613
relation P6
action find_reverse
entity Q3121307
relation P6
['Q30', 'P6', 'Q11613'] ['Q30', 'P6', 'Q3121307']
ASK WHERE { resource:Q30 property:P6 resource:Q11613 . resource:Q30 property:P6 resource:Q3121307 }
United States of America Harry S. Truman Gustave Ravier
action is_in
entity United States of America
action intersection
action find_reverse
entity Harry S. Truman
relation head of government
action find_reverse
entity Gustave Ravier
relation head of government
['United States of America', 'head of government', 'Harry S. Truman'] ['United States of America', 'head of government', 'Gustave Ravier']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Harry_S._Truman . resource:United_States_of_America property:head_of_government resource:Gustave_Ravier }
[]
common name
SYSTEM
YES and NO respectively
(Q30,P6,Q11613) (Q30,P6,Q3121307)
action is_in
entity Q30
action intersection
action find_reverse
entity Q11613
relation P6
action find_reverse
entity Q3121307
relation P6
[ANSWER]
['Q30', 'P6', 'Q11613'] ['Q30', 'P6', 'Q3121307']
ASK WHERE { resource:Q30 property:P6 resource:Q11613 . resource:Q30 property:P6 resource:Q3121307 }
YES and NO respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Harry S. Truman
relation head of government
action find_reverse
entity Gustave Ravier
relation head of government
['United States of America', 'head of government', 'Harry S. Truman'] ['United States of America', 'head of government', 'Gustave Ravier']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Harry_S._Truman . resource:United_States_of_America property:head_of_government resource:Gustave_Ravier }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P272
Q838948
USER
Which work of art had that administrative territory as the production house ?
action filter_type
action find_reverse
entity Q30
relation P272
type Q838948
SELECT DISTINCT ?g WHERE { ?g property:P272 resource:Q30 . ?g rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation production company
type work of art
SELECT DISTINCT ?g WHERE { ?g property:production_company resource:United_States_of_America . ?g rdf:type ontology:work_of_art }
[]
work of art
Q1424889
SYSTEM
Crustacés et Coquillages
Q1424889
action filter_type
action find_reverse
entity Q30
relation P272
type Q838948
[ANSWER] had that administrative territory as the production house
SELECT DISTINCT ?g WHERE { ?g property:P272 resource:Q30 . ?g rdf:type ontology:Q838948 }
Crustacés et Coquillages
Crustacés et Coquillages had that administrative territory as the production house
Crustacés et Coquillages
action filter_type
action find_reverse
entity United States of America
relation production company
type work of art
SELECT DISTINCT ?g WHERE { ?g property:production_company resource:United_States_of_America . ?g rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q157443 Q30
P136 P272
Q838948
USER
Which works of art were released from the production company named United States of America and have comedy film as genre ?
AND((c(Q838948),P272,Q30), (c(Q838948),P136,Q157443))
action filter_type
action intersection
action find_reverse
entity Q30
relation P272
action find_reverse
entity Q157443
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P272', 'Q30'], [{'concept': 'Q838948'}, 'P136', 'Q157443']]}
SELECT DISTINCT ?d WHERE { ?d property:P136 resource:Q157443 . ?d property:P272 resource:Q30 . ?d rdf:type ontology:Q838948 }
comedy film United States of America
action filter_type
action intersection
action find_reverse
entity United States of America
relation production company
action find_reverse
entity comedy film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'production company', 'United States of America'], [{'concept': 'work of art'}, 'genre', 'comedy film']]}
SELECT DISTINCT ?d WHERE { ?d property:genre resource:comedy_film . ?d property:production_company resource:United_States_of_America . ?d rdf:type ontology:work_of_art }
[]
work of art
Q1424889
SYSTEM
Crustacés et Coquillages
Q1424889
AND((c(Q838948),P272,Q30), (c(Q838948),P136,Q157443))
action filter_type
action intersection
action find_reverse
entity Q30
relation P272
action find_reverse
entity Q157443
relation P136
type Q838948
[ANSWER] was released from the production company named United States of America and have comedy film as genre
{'AND': [[{'concept': 'Q838948'}, 'P272', 'Q30'], [{'concept': 'Q838948'}, 'P136', 'Q157443']]}
SELECT DISTINCT ?d WHERE { ?d property:P136 resource:Q157443 . ?d property:P272 resource:Q30 . ?d rdf:type ontology:Q838948 }
Crustacés et Coquillages
Crustacés et Coquillages was released from the production company named United States of America and have comedy film as genre
Crustacés et Coquillages
action filter_type
action intersection
action find_reverse
entity United States of America
relation production company
action find_reverse
entity comedy film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'production company', 'United States of America'], [{'concept': 'work of art'}, 'genre', 'comedy film']]}
SELECT DISTINCT ?d WHERE { ?d property:genre resource:comedy_film . ?d property:production_company resource:United_States_of_America . ?d rdf:type ontology:work_of_art }
[]