Simple Question (Direct)
Simple Question
Q2824842
P19
Q56061
USER
Which administrative territory is the place of birth of Adolphe Jaime ?
(Q2824842,P19,c(Q56061))
action filter_type
action find
entity Q2824842
relation P19
type Q56061
['Q2824842', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q2824842 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Adolphe Jaime
action filter_type
action find
entity Adolphe Jaime
relation place of birth
type administrative territorial entity
['Adolphe Jaime', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Adolphe_Jaime property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q2824842,P19,c(Q56061))
action filter_type
action find
entity Q2824842
relation P19
type Q56061
[ANSWER] is the place of birth of Adolphe Jaime
['Q2824842', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q2824842 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Paris
Paris is the place of birth of Adolphe Jaime
Paris
action filter_type
action find
entity Adolphe Jaime
relation place of birth
type administrative territorial entity
['Adolphe Jaime', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Adolphe_Jaime property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P1376
Q15617994
USER
What have that administrative territory as their capital ?
(Q90,P1376,c(Q15617994))
action filter_type
action find
entity Q90
relation P1376
type Q15617994
['Q90', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q90 property:P1376 ?i . ?i rdf:type ontology:Q15617994 }
Paris
action filter_type
action find
entity Paris
relation capital of
type designation for an administrative territorial entity
['Paris', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Paris property:capital_of ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q1142326
SYSTEM
France, Seine
Q142 Q1142326
(Q90,P1376,c(Q15617994))
action filter_type
action find
entity Q90
relation P1376
type Q15617994
[ANSWERS] have that administrative territory as their capital
['Q90', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q90 property:P1376 ?i . ?i rdf:type ontology:Q15617994 }
France Seine
France and Seine have that administrative territory as their capital
France Seine
action filter_type
action find
entity Paris
relation capital of
type designation for an administrative territorial entity
['Paris', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Paris property:capital_of ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P127
Q3305213
USER
Which paintings belongs to Paris ?
(c(Q3305213),P127,Q90)
action filter_type
action find_reverse
entity Q90
relation P127
type Q3305213
[{'concept': 'Q3305213'}, 'P127', 'Q90']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q3305213 . ?e property:P127 resource:Q90 }
Paris
action filter_type
action find_reverse
entity Paris
relation owned by
type painting
[{'concept': 'painting'}, 'owned by', 'Paris']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:painting . ?e property:owned_by resource:Paris }
[]
painting
Q3837491 Q326503
SYSTEM
Jacob Wrestling with the Angel, The Sleepers
Q3837491 Q326503
(c(Q3305213),P127,Q90)
action filter_type
action find_reverse
entity Q90
relation P127
type Q3305213
Jacob wrestling with the Angel and The Sleepers belong to Paris
[{'concept': 'Q3305213'}, 'P127', 'Q90']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q3305213 . ?e property:P127 resource:Q90 }
Jacob Wrestling with the Angel The Sleepers
Jacob wrestling with the Angel and The Sleepers belong to Paris
Jacob Wrestling with the Angel The Sleepers
action filter_type
action find_reverse
entity Paris
relation owned by
type painting
[{'concept': 'painting'}, 'owned by', 'Paris']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:painting . ?e property:owned_by resource:Paris }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3837491 Q326503
P186
Q214609
USER
Which materials are used to make Jacob Wrestling with the Angel and The Sleepers ?
(Q3837491,P186,c(Q214609)) (Q326503,P186,c(Q214609))
action union
action filter_type
action find
entity Q3837491
relation P186
type Q214609
action filter_type
action find
entity Q326503
relation P186
type Q214609
['Q3837491', 'P186', {'concept': 'Q214609'}] ['Q326503', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?h WHERE { { resource:Q3837491 property:P186 ?h . ?h rdf:type ontology:Q214609 } UNION { resource:Q326503 property:P186 ?h . ?h rdf:type ontology:Q214609 } }
Jacob Wrestling with the Angel The Sleepers
action union
action filter_type
action find
entity Jacob Wrestling with the Angel
relation material used
type material
action filter_type
action find
entity The Sleepers
relation material used
type material
['Jacob Wrestling with the Angel', 'material used', {'concept': 'material'}] ['The Sleepers', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?h WHERE { { resource:Jacob_Wrestling_with_the_Angel property:material_used ?h . ?h rdf:type ontology:material } UNION { resource:The_Sleepers property:material_used ?h . ?h rdf:type ontology:material } }
[]
material
Q296955 Q274988 Q296955
SYSTEM
oil paint for 1st, 3rd, plaster for 2nd
Q296955 Q274988 Q296955 Q4259259
(Q3837491,P186,c(Q214609)) (Q326503,P186,c(Q214609))
action union
action filter_type
action find
entity Q3837491
relation P186
type Q214609
action filter_type
action find
entity Q326503
relation P186
type Q214609
[ANSWERS]
['Q3837491', 'P186', {'concept': 'Q214609'}] ['Q326503', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?h WHERE { { resource:Q3837491 property:P186 ?h . ?h rdf:type ontology:Q214609 } UNION { resource:Q326503 property:P186 ?h . ?h rdf:type ontology:Q214609 } }
oil paint plaster oil paint canvas
Oil paint, plaster and oil paint are used to make Jacob Wrestling with the Angel and The Sleepers
oil paint plaster oil paint
action union
action filter_type
action find
entity Jacob Wrestling with the Angel
relation material used
type material
action filter_type
action find
entity The Sleepers
relation material used
type material
['Jacob Wrestling with the Angel', 'material used', {'concept': 'material'}] ['The Sleepers', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?h WHERE { { resource:Jacob_Wrestling_with_the_Angel property:material_used ?h . ?h rdf:type ontology:material } UNION { resource:The_Sleepers property:material_used ?h . ?h rdf:type ontology:material } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q296955
P101
Q502895
USER
Who works in the domain of that material ?
(c(Q502895),P101,Q296955)
action filter_type
action find_reverse
entity Q296955
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q296955']
SELECT DISTINCT ?h WHERE { ?h property:P101 resource:Q296955 . ?h rdf:type ontology:Q502895 }
oil paint
action filter_type
action find_reverse
entity oil paint
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'oil paint']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work resource:oil_paint . ?h rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q274988
SYSTEM
Did you mean plaster ?
Q296955 Q274988 Q296955
(c(Q502895),P101,Q296955) (c(Q502895),P101,Q274988) (c(Q502895),P101,Q296955)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q296955'] [{'concept': 'Q502895'}, 'P101', 'Q274988'] [{'concept': 'Q502895'}, 'P101', 'Q296955']
SELECT DISTINCT ?h WHERE { ?h property:P101 resource:Q296955 . ?h rdf:type ontology:Q502895 }
oil paint plaster oil paint
Did you mean plaster ?
plaster
[{'concept': 'common name'}, 'field of work', 'oil paint'] [{'concept': 'common name'}, 'field of work', 'plaster'] [{'concept': 'common name'}, 'field of work', 'oil paint']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work resource:oil_paint . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant oil paint. Could you tell me the answer for that?
(c(Q502895),P101,Q296955)
Q296955
[{'concept': 'Q502895'}, 'P101', 'Q296955']
[{'concept': 'common name'}, 'field of work', 'oil paint']
[]
Q264559
SYSTEM
Ariana Richards
Q264559
(c(Q502895),P101,Q296955)
action filter_type
action find_reverse
entity Q296955
relation P101
type Q502895
[ANSWER] works in the domain of that material
[{'concept': 'Q502895'}, 'P101', 'Q296955']
SELECT DISTINCT ?h WHERE { ?h property:P101 resource:Q296955 . ?h rdf:type ontology:Q502895 }
Ariana Richards
Ariana Richards works in the domain of that material
Ariana Richards
action filter_type
action find_reverse
entity oil paint
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'oil paint']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work resource:oil_paint . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q264559
P161
Q838948
USER
Which works of art have that person as actor ?
(c(Q838948),P161,Q264559)
action filter_type
action find_reverse
entity Q264559
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q264559']
SELECT DISTINCT ?n WHERE { ?n property:P161 resource:Q264559 . ?n rdf:type ontology:Q838948 }
Ariana Richards
action filter_type
action find_reverse
entity Ariana Richards
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Ariana Richards']
SELECT DISTINCT ?n WHERE { ?n property:cast_member resource:Ariana_Richards . ?n rdf:type ontology:work_of_art }
[]
work of art
Q200873 Q167726 Q835650
SYSTEM
The Lost World: Jurassic Park, Jurassic Park, Tremors
Q1961727 Q167726 Q200873 Q1688276 Q329145 Q835650 Q1507513 Q1320234
(c(Q838948),P161,Q264559)
action filter_type
action find_reverse
entity Q264559
relation P161
type Q838948
[ANSWERS] have that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q264559']
SELECT DISTINCT ?n WHERE { ?n property:P161 resource:Q264559 . ?n rdf:type ontology:Q838948 }
Timescape Jurassic Park The Lost World: Jurassic Park Prancer Angus Tremors Tremors 3: Back to Perfection Spaced Invaders
The Lost World: Jurassic Park, Jurassic Park and Tremors have that person as actor
The Lost World: Jurassic Park Jurassic Park Tremors
action filter_type
action find_reverse
entity Ariana Richards
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Ariana Richards']
SELECT DISTINCT ?n WHERE { ?n property:cast_member resource:Ariana_Richards . ?n rdf:type ontology:work_of_art }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P144
Q838948 Q5398426
USER
How many works of art are lesser number of television series a fork of than that work of art ?
(c(Q5398426),P144,c(Q838948))
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q838948 }
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_series . ?y rdf:type ontology:work_of_art }
[]
work of art television series
Comparative|Count over More/Less|Single entity type|Clarification
Q167726
SYSTEM
Did you mean Jurassic Park ?
(c(Q5398426),P144,c(Q838948))
[ANSWER]
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q838948 }
Did you mean Jurassic Park ?
Jurassic Park
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_series . ?y rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q5398426),P144,c(Q838948))
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
[]
SYSTEM
0
(c(Q5398426),P144,c(Q838948))
[ANSWER]
[{'concept': 'Q5398426'}, 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q5398426 . ?y rdf:type ontology:Q838948 }
0
[{'concept': 'television series'}, 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_series . ?y rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1445
Q838948 Q386724
USER
How many works are recounted in atleast 5 works of art ?
(c(Q386724),P1445,c(Q838948))
action count
action atleast
action find_tuple_counts
relation P1445
type Q386724
type Q838948
value 5
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?o ) WHERE { ?w property:P1445 ?u . ?w rdf:type ontology:Q386724 . ?u rdf:type ontology:Q838948 } GROUP BY ?w } . FILTER ( ?o >= 5 ) }
action count
action atleast
action find_tuple_counts
relation fictional universe described in
type work
type work of art
value 5
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?o ) WHERE { ?w property:fictional_universe_described_in ?u . ?w rdf:type ontology:work . ?u rdf:type ontology:work_of_art } GROUP BY ?w } . FILTER ( ?o >= 5 ) }
[]
work of art work
SYSTEM
1
Q384426
(c(Q386724),P1445,c(Q838948))
action count
action atleast
action find_tuple_counts
relation P1445
type Q386724
type Q838948
value 5
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?o ) WHERE { ?w property:P1445 ?u . ?w rdf:type ontology:Q386724 . ?u rdf:type ontology:Q838948 } GROUP BY ?w } . FILTER ( ?o >= 5 ) }
Pirates of the Caribbean
1
action count
action atleast
action find_tuple_counts
relation fictional universe described in
type work
type work of art
value 5
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?o ) WHERE { ?w property:fictional_universe_described_in ?u . ?w rdf:type ontology:work . ?u rdf:type ontology:work_of_art } GROUP BY ?w } . FILTER ( ?o >= 5 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q167726
P915
Q852446
USER
Which city was Jurassic Park filmed on ?
(Q167726,P915,c(Q852446))
action filter_type
action find
entity Q167726
relation P915
type Q852446
['Q167726', 'P915', {'concept': 'Q852446'}]
SELECT DISTINCT ?u WHERE { resource:Q167726 property:P915 ?u . ?u rdf:type ontology:Q852446 }
Jurassic Park
action filter_type
action find
entity Jurassic Park
relation filming location
type administrative territorial entity of the United States
['Jurassic Park', 'filming location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?u WHERE { resource:Jurassic_Park property:filming_location ?u . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q782
SYSTEM
Hawaii
Q782
(Q167726,P915,c(Q852446))
action filter_type
action find
entity Q167726
relation P915
type Q852446
Jurassic Park was filmed in [ANSWER]
['Q167726', 'P915', {'concept': 'Q852446'}]
SELECT DISTINCT ?u WHERE { resource:Q167726 property:P915 ?u . ?u rdf:type ontology:Q852446 }
Hawaii
Jurassic Park was filmed in Hawaii
Hawaii
action filter_type
action find
entity Jurassic Park
relation filming location
type administrative territorial entity of the United States
['Jurassic Park', 'filming location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?u WHERE { resource:Jurassic_Park property:filming_location ?u . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q167726
P1040
Q502895
USER
Which person is the editor of that work of art ?
(Q782,P1040,c(Q502895))
action filter_type
action find
entity Q167726
relation P1040
type Q502895
['Q782', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q167726 property:P1040 ?y . ?y rdf:type ontology:Q502895 }
Jurassic Park
action filter_type
action find
entity Jurassic Park
relation film editor
type common name
['Hawaii', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Jurassic_Park property:film_editor ?y . ?y rdf:type ontology:common_name }
[]
common name
Q692550
SYSTEM
Michael Kahn
Q692550
(Q782,P1040,c(Q502895))
action filter_type
action find
entity Q167726
relation P1040
type Q502895
[ANSWER] is the editor of that work of art
['Q782', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q167726 property:P1040 ?y . ?y rdf:type ontology:Q502895 }
Michael Kahn
Michael Kahn is the editor of that work of art
Michael Kahn
action filter_type
action find
entity Jurassic Park
relation film editor
type common name
['Hawaii', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Jurassic_Park property:film_editor ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q692550
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q692550,P27,c(Q15617994))
action filter_type
action find
entity Q692550
relation P27
type Q15617994
['Q692550', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q692550 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Michael Kahn
action filter_type
action find
entity Michael Kahn
relation country of citizenship
type designation for an administrative territorial entity
['Michael Kahn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Michael_Kahn 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
(Q692550,P27,c(Q15617994))
action filter_type
action find
entity Q692550
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q692550', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q692550 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of that person
United States of America
action filter_type
action find
entity Michael Kahn
relation country of citizenship
type designation for an administrative territorial entity
['Michael Kahn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Michael_Kahn property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]