Simple Question (Direct)
Simple Question
Q3428862
P119
Q44539
USER
Which temple is the place of burial of Reyer van Blommendael ?
(Q3428862,P119,c(Q44539))
action filter_type
action find
entity Q3428862
relation P119
type Q44539
['Q3428862', 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ?v WHERE { resource:Q3428862 property:P119 ?v . ?v rdf:type ontology:Q44539 }
Reyer van Blommendael
action filter_type
action find
entity Reyer van Blommendael
relation place of burial
type temple
['Reyer van Blommendael', 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ?v WHERE { resource:Reyer_van_Blommendael property:place_of_burial ?v . ?v rdf:type ontology:temple }
[]
temple
Q1545193
SYSTEM
Grote Kerk
Q1545193
(Q3428862,P119,c(Q44539))
action filter_type
action find
entity Q3428862
relation P119
type Q44539
[ANSWER] is the place of burial of Reyer van Blommendael
['Q3428862', 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ?v WHERE { resource:Q3428862 property:P119 ?v . ?v rdf:type ontology:Q44539 }
Grote Kerk
Grote Kerk is the place of burial of Reyer van Blommendael
Grote Kerk
action filter_type
action find
entity Reyer van Blommendael
relation place of burial
type temple
['Reyer van Blommendael', 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ?v WHERE { resource:Reyer_van_Blommendael property:place_of_burial ?v . ?v rdf:type ontology:temple }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1545193
P180
Q11060274
USER
Which print demonstrates that temple ?
(c(Q11060274),P180,Q1545193)
action filter_type
action find_reverse
entity Q1545193
relation P180
type Q11060274
[{'concept': 'Q11060274'}, 'P180', 'Q1545193']
SELECT DISTINCT ?p WHERE { ?p property:P180 resource:Q1545193 . ?p rdf:type ontology:Q11060274 }
Grote Kerk
action filter_type
action find_reverse
entity Grote Kerk
relation depicts
type print
[{'concept': 'print'}, 'depicts', 'Grote Kerk']
SELECT DISTINCT ?p WHERE { ?p property:depicts resource:Grote_Kerk . ?p rdf:type ontology:print }
[]
print
Q21200482
SYSTEM
Goldweigher's Field
Q21200482
(c(Q11060274),P180,Q1545193)
action filter_type
action find_reverse
entity Q1545193
relation P180
type Q11060274
[ANSWER] demonstrates that temple
[{'concept': 'Q11060274'}, 'P180', 'Q1545193']
SELECT DISTINCT ?p WHERE { ?p property:P180 resource:Q1545193 . ?p rdf:type ontology:Q11060274 }
Goldweigher's Field
Goldweigher's Field demonstrates that temple
Goldweigher's Field
action filter_type
action find_reverse
entity Grote Kerk
relation depicts
type print
[{'concept': 'print'}, 'depicts', 'Grote Kerk']
SELECT DISTINCT ?p WHERE { ?p property:depicts resource:Grote_Kerk . ?p rdf:type ontology:print }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21200482
P136
Q1792379
USER
What can be considered as category for that print ?
(Q21200482,P136,c(Q1792379))
action filter_type
action find
entity Q21200482
relation P136
type Q1792379
['Q21200482', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1792379 . resource:Q21200482 property:P136 ?k }
Goldweigher's Field
action filter_type
action find
entity Goldweigher's Field
relation genre
type art genre
["Goldweigher's Field", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:art_genre . resource:Goldweigher's_Field property:genre ?k }
[]
art genre
Q21088117
SYSTEM
Haerlempjes
Q21088117
(Q21200482,P136,c(Q1792379))
action filter_type
action find
entity Q21200482
relation P136
type Q1792379
[ANSWER] can be considered as category for that print
['Q21200482', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1792379 . resource:Q21200482 property:P136 ?k }
Haerlempjes
Haerlempjes can be considered as category for that print
Haerlempjes
action filter_type
action find
entity Goldweigher's Field
relation genre
type art genre
["Goldweigher's Field", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:art_genre . resource:Goldweigher's_Field property:genre ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7536893 Q21200482
P136
Q1792379
USER
Or Skulduggery Pleasant: The Faceless Ones?
OR((Q21200482,P136,c(Q1792379)), (Q7536893,P136,c(Q1792379)))
action filter_type
action union
action find
entity Q21200482
relation P136
action find
entity Q7536893
relation P136
type Q1792379
{'OR': [['Q21200482', 'P136', {'concept': 'Q1792379'}], ['Q7536893', 'P136', {'concept': 'Q1792379'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1792379 . { { resource:Q7536893 property:P136 ?l } UNION { resource:Q21200482 property:P136 ?l } } }
Skulduggery Pleasant: The Faceless Ones Goldweigher's Field
action filter_type
action union
action find
entity Goldweigher's Field
relation genre
action find
entity Skulduggery Pleasant: The Faceless Ones
relation genre
type art genre
{'OR': [["Goldweigher's Field", 'genre', {'concept': 'art genre'}], ['Skulduggery Pleasant: The Faceless Ones', 'genre', {'concept': 'art genre'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:art_genre . { { resource:Skulduggery_Pleasant:_The_Faceless_Ones property:genre ?l } UNION { resource:Goldweigher's_Field property:genre ?l } } }
[]
art genre
Q1057172 Q131539 Q21088117 Q8261
SYSTEM
fantasy literature, children's literature, Haerlempjes, novel
Q1057172 Q131539 Q21088117 Q8261
OR((Q21200482,P136,c(Q1792379)), (Q7536893,P136,c(Q1792379)))
action filter_type
action union
action find
entity Q21200482
relation P136
action find
entity Q7536893
relation P136
type Q1792379
[ANSWERS]
{'OR': [['Q21200482', 'P136', {'concept': 'Q1792379'}], ['Q7536893', 'P136', {'concept': 'Q1792379'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1792379 . { { resource:Q7536893 property:P136 ?l } UNION { resource:Q21200482 property:P136 ?l } } }
fantasy literature children's literature Haerlempjes novel
fantasy literature children's literature Haerlempjes novel
action filter_type
action union
action find
entity Goldweigher's Field
relation genre
action find
entity Skulduggery Pleasant: The Faceless Ones
relation genre
type art genre
{'OR': [["Goldweigher's Field", 'genre', {'concept': 'art genre'}], ['Skulduggery Pleasant: The Faceless Ones', 'genre', {'concept': 'art genre'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:art_genre . { { resource:Skulduggery_Pleasant:_The_Faceless_Ones property:genre ?l } UNION { resource:Goldweigher's_Field property:genre ?l } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q7592791
P180
Q44539 Q3305213 Q340169
USER
Which temples are expressed in more number of paintings and medias than St Chad's Church, Shrewsbury ?
(c(Q3305213)|c(Q340169),P180,c(Q44539))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q44539
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q44539
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q7592791
relation P180
type Q3305213
type Q340169
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q44539'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?p WHERE { { ?m rdf:type ontology:Q3305213 . ?p rdf:type ontology:Q44539 . ?m property:P180 ?p } UNION { ?p rdf:type ontology:Q44539 . ?m rdf:type ontology:Q340169 . ?m property:P180 ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { VALUES ( ?n ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } . ?s rdf:type ?n } . ?s property:P180 resource:Q7592791 } } . FILTER ( ?a > ?l ) }
St Chad's Church, Shrewsbury
action greater
action union
action find_reverse_tuple_counts
relation depicts
type temple
type painting
action find_reverse_tuple_counts
relation depicts
type temple
type media
action count
action filter_multi_types
action find_reverse
entity St Chad's Church, Shrewsbury
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'temple'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?p WHERE { { ?m rdf:type ontology:painting . ?p rdf:type ontology:temple . ?m property:depicts ?p } UNION { ?p rdf:type ontology:temple . ?m rdf:type ontology:media . ?m property:depicts ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { VALUES ( ?n ) { ( ontology:media ) ( ontology:painting ) } . ?s rdf:type ?n } . ?s property:depicts resource:St_Chad's_Church,_Shrewsbury } } . FILTER ( ?a > ?l ) }
[]
temple painting media
Q427340 Q10288 Q242741
SYSTEM
St-Gervais-et-St-Protais, Parthenon, Erechtheion
Q752555 Q19963710 Q99309 Q21658890 Q453634 Q10288 Q242741 Q3983228 Q427340
(c(Q3305213)|c(Q340169),P180,c(Q44539))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q44539
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q44539
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q7592791
relation P180
type Q3305213
type Q340169
[ANSWERS] are expressed in more number of paintings and medias than St Chad's Church, Shrewsbury
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q44539'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?p WHERE { { ?m rdf:type ontology:Q3305213 . ?p rdf:type ontology:Q44539 . ?m property:P180 ?p } UNION { ?p rdf:type ontology:Q44539 . ?m rdf:type ontology:Q340169 . ?m property:P180 ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { VALUES ( ?n ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } . ?s rdf:type ?n } . ?s property:P180 resource:Q7592791 } } . FILTER ( ?a > ?l ) }
Temple of Antoninus and Faustina Temple of Hera Pantheon St Nicholas, Le Pouliguen Second Temple of Hera Parthenon Erechtheion Temple of Athena St-Gervais-et-St-Protais
St-Gervais-et-St-Protais, Parthenon and Erechtheion are expressed in more number of paintings and medias than St Chad's Church, Shrewsbury
St-Gervais-et-St-Protais Parthenon Erechtheion
action greater
action union
action find_reverse_tuple_counts
relation depicts
type temple
type painting
action find_reverse_tuple_counts
relation depicts
type temple
type media
action count
action filter_multi_types
action find_reverse
entity St Chad's Church, Shrewsbury
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'temple'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?p WHERE { { ?m rdf:type ontology:painting . ?p rdf:type ontology:temple . ?m property:depicts ?p } UNION { ?p rdf:type ontology:temple . ?m rdf:type ontology:media . ?m property:depicts ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { VALUES ( ?n ) { ( ontology:media ) ( ontology:painting ) } . ?s rdf:type ?n } . ?s property:depicts resource:St_Chad's_Church,_Shrewsbury } } . FILTER ( ?a > ?l ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q427340 Q10288 Q242741
P17
Q15617994
USER
Which administrative territories are St-Gervais-et-St-Protais, Parthenon and Erechtheion situated in ?
(Q427340,P17,c(Q15617994)) (Q10288,P17,c(Q15617994)) (Q242741,P17,c(Q15617994))
action union
action filter_type
action find
entity Q427340
relation P17
type Q15617994
action filter_type
action find
entity Q10288
relation P17
type Q15617994
action filter_type
action find
entity Q242741
relation P17
type Q15617994
['Q427340', 'P17', {'concept': 'Q15617994'}] ['Q10288', 'P17', {'concept': 'Q15617994'}] ['Q242741', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { resource:Q427340 property:P17 ?v . ?v rdf:type ontology:Q15617994 } UNION { resource:Q10288 property:P17 ?v . ?v rdf:type ontology:Q15617994 } }
St-Gervais-et-St-Protais Parthenon Erechtheion
action union
action filter_type
action find
entity St-Gervais-et-St-Protais
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Parthenon
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Erechtheion
relation country
type designation for an administrative territorial entity
['St-Gervais-et-St-Protais', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Parthenon', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Erechtheion', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:St-Gervais-et-St-Protais property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Parthenon property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q142 Q41 Q41
SYSTEM
France for 1st, Greece for 2nd, 3rd
Q142 Q41 Q41
(Q427340,P17,c(Q15617994)) (Q10288,P17,c(Q15617994)) (Q242741,P17,c(Q15617994))
action union
action filter_type
action find
entity Q427340
relation P17
type Q15617994
action filter_type
action find
entity Q10288
relation P17
type Q15617994
action filter_type
action find
entity Q242741
relation P17
type Q15617994
[ANSWERS]
['Q427340', 'P17', {'concept': 'Q15617994'}] ['Q10288', 'P17', {'concept': 'Q15617994'}] ['Q242741', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { resource:Q427340 property:P17 ?v . ?v rdf:type ontology:Q15617994 } UNION { resource:Q10288 property:P17 ?v . ?v rdf:type ontology:Q15617994 } }
France Greece Greece
France, Greece and Greece are St-Gervais-et-St-Protais, Parthenon and Erechtheion situated in
France Greece Greece
action union
action filter_type
action find
entity St-Gervais-et-St-Protais
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Parthenon
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Erechtheion
relation country
type designation for an administrative territorial entity
['St-Gervais-et-St-Protais', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Parthenon', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Erechtheion', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:St-Gervais-et-St-Protais property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Parthenon property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q427340
P276
Q838948
USER
What is located at that temple ?
(c(Q838948),P276,Q427340)
action filter_type
action find_reverse
entity Q427340
relation P276
type Q838948
[{'concept': 'Q838948'}, 'P276', 'Q427340']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q427340 . ?v rdf:type ontology:Q838948 }
St-Gervais-et-St-Protais
action filter_type
action find_reverse
entity St-Gervais-et-St-Protais
relation location
type work of art
[{'concept': 'work of art'}, 'location', 'St-Gervais-et-St-Protais']
SELECT DISTINCT ?v WHERE { ?v property:location resource:St-Gervais-et-St-Protais . ?v rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q427340
SYSTEM
Did you mean St-Gervais-et-St-Protais ?
Q142 Q41 Q41
(c(Q838948),P276,Q142) (c(Q838948),P276,Q41) (c(Q838948),P276,Q41)
[ANSWER]
[{'concept': 'Q838948'}, 'P276', 'Q142'] [{'concept': 'Q838948'}, 'P276', 'Q41'] [{'concept': 'Q838948'}, 'P276', 'Q41']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q427340 . ?v rdf:type ontology:Q838948 }
France Greece Greece
Did you mean St-Gervais-et-St-Protais ?
St-Gervais-et-St-Protais
[{'concept': 'work of art'}, 'location', 'France'] [{'concept': 'work of art'}, 'location', 'Greece'] [{'concept': 'work of art'}, 'location', 'Greece']
SELECT DISTINCT ?v WHERE { ?v property:location resource:St-Gervais-et-St-Protais . ?v rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P276,Q427340)
[{'concept': 'Q838948'}, 'P276', 'Q427340']
[{'concept': 'work of art'}, 'location', 'St-Gervais-et-St-Protais']
[]
Q18761490
SYSTEM
La Mort Saint-Innocent
Q18761490
(c(Q838948),P276,Q427340)
action filter_type
action find_reverse
entity Q427340
relation P276
type Q838948
[ANSWER] is located at that temple
[{'concept': 'Q838948'}, 'P276', 'Q427340']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q427340 . ?v rdf:type ontology:Q838948 }
La Mort Saint-Innocent
La Mort Saint-Innocent is located at that temple
La Mort Saint-Innocent
action filter_type
action find_reverse
entity St-Gervais-et-St-Protais
relation location
type work of art
[{'concept': 'work of art'}, 'location', 'St-Gervais-et-St-Protais']
SELECT DISTINCT ?v WHERE { ?v property:location resource:St-Gervais-et-St-Protais . ?v rdf:type ontology:work_of_art }
[]