Simple Question (Direct)
Simple Question
Q3212334
P127
Q15617994
USER
Who owns La Rivière ?
(Q3212334,P127,c(Q15617994))
action filter_type
action find
entity Q3212334
relation P127
type Q15617994
['Q3212334', 'P127', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3212334 property:P127 ?j . ?j rdf:type ontology:Q15617994 }
La Rivière
action filter_type
action find
entity La Rivière
relation owned by
type designation for an administrative territorial entity
['La Rivière', 'owned by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:La_Rivière property:owned_by ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3212334,P127,c(Q15617994))
action filter_type
action find
entity Q3212334
relation P127
type Q15617994
[ANSWER] owns La Rivière
['Q3212334', 'P127', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3212334 property:P127 ?j . ?j rdf:type ontology:Q15617994 }
France
France owns La Rivière
France
action filter_type
action find
entity La Rivière
relation owned by
type designation for an administrative territorial entity
['La Rivière', 'owned by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:La_Rivière property:owned_by ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3212334
P608
Q1656682
USER
Where was that work of art exhibited ?
(Q142,P608,c(Q1656682))
action filter_type
action find
entity Q3212334
relation P608
type Q1656682
['Q142', 'P608', {'concept': 'Q1656682'}]
SELECT DISTINCT ?s WHERE { resource:Q3212334 property:P608 ?s . ?s rdf:type ontology:Q1656682 }
La Rivière
action filter_type
action find
entity La Rivière
relation exhibition history
type event
['France', 'exhibition history', {'concept': 'event'}]
SELECT DISTINCT ?s WHERE { resource:La_Rivière property:exhibition_history ?s . ?s rdf:type ontology:event }
[]
event
Q739989
SYSTEM
Salon d'Automne
Q739989
(Q142,P608,c(Q1656682))
action filter_type
action find
entity Q3212334
relation P608
type Q1656682
That work of art was exhibited at [ANSWER]
['Q142', 'P608', {'concept': 'Q1656682'}]
SELECT DISTINCT ?s WHERE { resource:Q3212334 property:P608 ?s . ?s rdf:type ontology:Q1656682 }
Salon d'Automne
That work of art was exhibited at Salon d'Automne
Salon d'Automne
action filter_type
action find
entity La Rivière
relation exhibition history
type event
['France', 'exhibition history', {'concept': 'event'}]
SELECT DISTINCT ?s WHERE { resource:La_Rivière property:exhibition_history ?s . ?s rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3212334
P136
Q1792379
USER
What can be considered as category for La Rivière ?
(Q3212334,P136,c(Q1792379))
action filter_type
action find
entity Q3212334
relation P136
type Q1792379
['Q3212334', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?n WHERE { resource:Q3212334 property:P136 ?n . ?n rdf:type ontology:Q1792379 }
La Rivière
action filter_type
action find
entity La Rivière
relation genre
type art genre
['La Rivière', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?n WHERE { resource:La_Rivière property:genre ?n . ?n rdf:type ontology:art_genre }
[]
art genre
Q179700
SYSTEM
statue
Q179700
(Q3212334,P136,c(Q1792379))
action filter_type
action find
entity Q3212334
relation P136
type Q1792379
[ANSWER] can be considered as category for La Rivière
['Q3212334', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?n WHERE { resource:Q3212334 property:P136 ?n . ?n rdf:type ontology:Q1792379 }
statue
Statue can be considered as category for La Rivière
statue
action filter_type
action find
entity La Rivière
relation genre
type art genre
['La Rivière', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?n WHERE { resource:La_Rivière property:genre ?n . ?n rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q179700
P361
Q838948
USER
What is a component of that art genre ?
(c(Q838948),P361,Q179700)
action filter_type
action find_reverse
entity Q179700
relation P361
type Q838948
[{'concept': 'Q838948'}, 'P361', 'Q179700']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q179700 . ?b rdf:type ontology:Q838948 }
statue
action filter_type
action find_reverse
entity statue
relation part of
type work of art
[{'concept': 'work of art'}, 'part of', 'statue']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:statue . ?b rdf:type ontology:work_of_art }
[]
work of art
Q476532
SYSTEM
Blond Kouros's Head of the Acropolis
Q476532
(c(Q838948),P361,Q179700)
action filter_type
action find_reverse
entity Q179700
relation P361
type Q838948
A component of that art genre is [ANSWER]
[{'concept': 'Q838948'}, 'P361', 'Q179700']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q179700 . ?b rdf:type ontology:Q838948 }
Blond Kouros's Head of the Acropolis
A component of that art genre is Blond Kouros's Head of the Acropolis
Blond Kouros's Head of the Acropolis
action filter_type
action find_reverse
entity statue
relation part of
type work of art
[{'concept': 'work of art'}, 'part of', 'statue']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:statue . ?b rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q476532
P195
Q2668072
USER
Which collection includes that work of art in it ?
(Q476532,P195,c(Q2668072))
action filter_type
action find
entity Q476532
relation P195
type Q2668072
['Q476532', 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?k WHERE { resource:Q476532 property:P195 ?k . ?k rdf:type ontology:Q2668072 }
Blond Kouros's Head of the Acropolis
action filter_type
action find
entity Blond Kouros's Head of the Acropolis
relation collection
type collection
["Blond Kouros's Head of the Acropolis", 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?k WHERE { resource:Blond_Kouros's_Head_of_the_Acropolis property:collection ?k . ?k rdf:type ontology:collection }
[]
collection
Q421084
SYSTEM
Acropolis Museum
Q421084
(Q476532,P195,c(Q2668072))
action filter_type
action find
entity Q476532
relation P195
type Q2668072
[ANSWER] includes that work of art in it
['Q476532', 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?k WHERE { resource:Q476532 property:P195 ?k . ?k rdf:type ontology:Q2668072 }
Acropolis Museum
Acropolis Museum includes that work of art in it
Acropolis Museum
action filter_type
action find
entity Blond Kouros's Head of the Acropolis
relation collection
type collection
["Blond Kouros's Head of the Acropolis", 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?k WHERE { resource:Blond_Kouros's_Head_of_the_Acropolis property:collection ?k . ?k rdf:type ontology:collection }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20355153
Q2668072
USER
And what about Anna, Duchess of Brunswick and Lüneburg, born Duchess of Mecklenburg?
(Q20355153,P195,c(Q2668072))
action filter_type
action find
entity Q20355153
relation P195
type Q2668072
['Q20355153', 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2668072 . resource:Q20355153 property:P195 ?m }
Anna, Duchess of Brunswick and Lüneburg, born Duchess of Mecklenburg
action filter_type
action find
entity Anna, Duchess of Brunswick and Lüneburg, born Duchess of Mecklenburg
relation collection
type collection
['Anna, Duchess of Brunswick and Lüneburg, born Duchess of Mecklenburg', 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:collection . resource:Anna,_Duchess_of_Brunswick_and_Lüneburg,_born_Duchess_of_Mecklenburg property:collection ?m }
[]
collection
Q671384
SYSTEM
Statens Museum for Kunst
Q671384
(Q20355153,P195,c(Q2668072))
action filter_type
action find
entity Q20355153
relation P195
type Q2668072
[ANSWER]
['Q20355153', 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2668072 . resource:Q20355153 property:P195 ?m }
Statens Museum for Kunst
Statens Museum for Kunst
action filter_type
action find
entity Anna, Duchess of Brunswick and Lüneburg, born Duchess of Mecklenburg
relation collection
type collection
['Anna, Duchess of Brunswick and Lüneburg, born Duchess of Mecklenburg', 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:collection . resource:Anna,_Duchess_of_Brunswick_and_Lüneburg,_born_Duchess_of_Mecklenburg property:collection ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q671384 Q22075451
P195
Q838948
USER
Is Mermaid present in that collection ?
(Q22075451,P195,Q671384)
action is_in
entity Q671384
action find
entity Q22075451
relation P195
['Q22075451', 'P195', 'Q671384']
ASK WHERE { resource:Q22075451 property:P195 resource:Q671384 }
Statens Museum for Kunst Mermaid
action is_in
entity Statens Museum for Kunst
action find
entity Mermaid
relation collection
['Mermaid', 'collection', 'Statens Museum for Kunst']
ASK WHERE { resource:Mermaid property:collection resource:Statens_Museum_for_Kunst }
[]
work of art
SYSTEM
YES
(Q22075451,P195,Q671384)
action is_in
entity Q671384
action find
entity Q22075451
relation P195
[ANSWER]
['Q22075451', 'P195', 'Q671384']
ASK WHERE { resource:Q22075451 property:P195 resource:Q671384 }
Yes
action is_in
entity Statens Museum for Kunst
action find
entity Mermaid
relation collection
['Mermaid', 'collection', 'Statens Museum for Kunst']
ASK WHERE { resource:Mermaid property:collection resource:Statens_Museum_for_Kunst }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q16571590
P793
Q1656682 Q502895 Q44539
USER
Which events are less number of people or temples associated with than reopening ?
(c(Q502895)|c(Q44539),P793,c(Q1656682))
action less
action union
action find_reverse_tuple_counts
relation P793
type Q1656682
type Q502895
action find_reverse_tuple_counts
relation P793
type Q1656682
type Q44539
action count
action filter_multi_types
action find_reverse
entity Q16571590
relation P793
type Q502895
type Q44539
[[{'concept': 'Q502895'}, {'concept': 'Q44539'}], 'P793', {'concept': 'Q1656682'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?a ) WHERE { { ?b rdf:type ontology:Q1656682 . ?z rdf:type ontology:Q502895 . ?z property:P793 ?b } UNION { ?z property:P793 ?b . ?b rdf:type ontology:Q1656682 . ?z rdf:type ontology:Q44539 } } GROUP BY ?b } . FILTER ( ?a < ?n ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:Q44539 ) ( ontology:Q502895 ) } } . ?w property:P793 resource:Q16571590 } } }
reopening
action less
action union
action find_reverse_tuple_counts
relation significant event
type event
type common name
action find_reverse_tuple_counts
relation significant event
type event
type temple
action count
action filter_multi_types
action find_reverse
entity reopening
relation significant event
type common name
type temple
[[{'concept': 'common name'}, {'concept': 'temple'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?a ) WHERE { { ?b rdf:type ontology:event . ?z rdf:type ontology:common_name . ?z property:significant_event ?b } UNION { ?z property:significant_event ?b . ?b rdf:type ontology:event . ?z rdf:type ontology:temple } } GROUP BY ?b } . FILTER ( ?a < ?n ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:temple ) ( ontology:common_name ) } } . ?w property:significant_event resource:reopening } } }
[]
event common name temple
Q6928111 Q288514 Q40231
SYSTEM
SpaceX CRS-8, fair, election
Q288514 Q1417098 Q40231 Q2789106 Q45382 Q12561 Q1905393 Q6928111
(c(Q502895)|c(Q44539),P793,c(Q1656682))
action less
action union
action find_reverse_tuple_counts
relation P793
type Q1656682
type Q502895
action find_reverse_tuple_counts
relation P793
type Q1656682
type Q44539
action count
action filter_multi_types
action find_reverse
entity Q16571590
relation P793
type Q502895
type Q44539
Associated with the [ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q44539'}], 'P793', {'concept': 'Q1656682'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?a ) WHERE { { ?b rdf:type ontology:Q1656682 . ?z rdf:type ontology:Q502895 . ?z property:P793 ?b } UNION { ?z property:P793 ?b . ?b rdf:type ontology:Q1656682 . ?z rdf:type ontology:Q44539 } } GROUP BY ?b } . FILTER ( ?a < ?n ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:Q44539 ) ( ontology:Q502895 ) } } . ?w property:P793 resource:Q16571590 } } }
fair inauguration election home improvement coup d'état World Congress of Esperanto inauguration SpaceX CRS-8
Associated with the SpaceX CRS-8, fair and election
SpaceX CRS-8 fair election
action less
action union
action find_reverse_tuple_counts
relation significant event
type event
type common name
action find_reverse_tuple_counts
relation significant event
type event
type temple
action count
action filter_multi_types
action find_reverse
entity reopening
relation significant event
type common name
type temple
[[{'concept': 'common name'}, {'concept': 'temple'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?a ) WHERE { { ?b rdf:type ontology:event . ?z rdf:type ontology:common_name . ?z property:significant_event ?b } UNION { ?z property:significant_event ?b . ?b rdf:type ontology:event . ?z rdf:type ontology:temple } } GROUP BY ?b } . FILTER ( ?a < ?n ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:temple ) ( ontology:common_name ) } } . ?w property:significant_event resource:reopening } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P805
Q1914636 Q1656682
USER
Which activities have atmost 1 event as a subject ?
(c(Q1656682),P805,c(Q1914636))
action atmost
action find_reverse_tuple_counts
relation P805
type Q1914636
type Q1656682
value 1
[{'concept': 'Q1656682'}, 'P805', {'concept': 'Q1914636'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?y <= 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:P805 ?f . ?f rdf:type ontology:Q1914636 . ?k rdf:type ontology:Q1656682 } GROUP BY ?f } }
action atmost
action find_reverse_tuple_counts
relation subject of
type activity
type event
value 1
[{'concept': 'event'}, 'subject of', {'concept': 'activity'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?y <= 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:subject_of ?f . ?f rdf:type ontology:activity . ?k rdf:type ontology:event } GROUP BY ?f } }
[]
activity event
Q306096 Q1069 Q7141
SYSTEM
Dismantling production, geology, cell biology
Q1069 Q638 Q306096 Q7141
(c(Q1656682),P805,c(Q1914636))
action atmost
action find_reverse_tuple_counts
relation P805
type Q1914636
type Q1656682
value 1
[ANSWERS] have atmost 1 event as a subject
[{'concept': 'Q1656682'}, 'P805', {'concept': 'Q1914636'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?y <= 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:P805 ?f . ?f rdf:type ontology:Q1914636 . ?k rdf:type ontology:Q1656682 } GROUP BY ?f } }
geology music Dismantling production cell biology
Dismantling production, geology and cell biology have atmost 1 event as a subject
Dismantling production geology cell biology
action atmost
action find_reverse_tuple_counts
relation subject of
type activity
type event
value 1
[{'concept': 'event'}, 'subject of', {'concept': 'activity'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?y <= 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:subject_of ?f . ?f rdf:type ontology:activity . ?k rdf:type ontology:event } GROUP BY ?f } }
[]