Simple Question (Direct)
Simple Question
Q7493544
P734
Q82799
USER
Who is associated with Sheldon Richardson ?
(Q7493544,P734,c(Q82799))
action filter_type
action find
entity Q7493544
relation P734
type Q82799
['Q7493544', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q7493544 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Sheldon Richardson
action filter_type
action find
entity Sheldon Richardson
relation family name
type name
['Sheldon Richardson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Sheldon_Richardson property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q1479191
SYSTEM
Richardson
Q1479191
(Q7493544,P734,c(Q82799))
action filter_type
action find
entity Q7493544
relation P734
type Q82799
Had [ANSWER] is associated with Sheldon [ANSWER]
['Q7493544', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q7493544 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Richardson
Had Richardson is associated with Sheldon Richardson
Richardson
action filter_type
action find
entity Sheldon Richardson
relation family name
type name
['Sheldon Richardson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Sheldon_Richardson property:family_name ?p . ?p rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7493544
P19
Q56061
USER
Which administrative territory was Sheldon Richardson born at ?
(Q7493544,P19,c(Q56061))
action filter_type
action find
entity Q7493544
relation P19
type Q56061
['Q7493544', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q7493544 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Sheldon Richardson
action filter_type
action find
entity Sheldon Richardson
relation place of birth
type administrative territorial entity
['Sheldon Richardson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Sheldon_Richardson property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q38022
SYSTEM
St. Louis
Q38022
(Q7493544,P19,c(Q56061))
action filter_type
action find
entity Q7493544
relation P19
type Q56061
Sheldon Richardson was born in [ANSWER]
['Q7493544', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q7493544 property:P19 ?t . ?t rdf:type ontology:Q56061 }
St. Louis
Sheldon Richardson was born in St. Louis
St. Louis
action filter_type
action find
entity Sheldon Richardson
relation place of birth
type administrative territorial entity
['Sheldon Richardson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Sheldon_Richardson property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7493544
P21
Q290
USER
What is the sex of that person ?
(Q38022,P21,c(Q290))
action filter_type
action find
entity Q7493544
relation P21
type Q290
['Q38022', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q7493544 property:P21 ?o . ?o rdf:type ontology:Q290 }
Sheldon Richardson
action filter_type
action find
entity Sheldon Richardson
relation gender
type sex
['St. Louis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Sheldon_Richardson property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q38022,P21,c(Q290))
action filter_type
action find
entity Q7493544
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q38022', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q7493544 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Sheldon Richardson
relation gender
type sex
['St. Louis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Sheldon_Richardson property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q3305213
USER
Which painting expresses that sex ?
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?i WHERE { ?i property:P180 resource:Q6581097 . ?i rdf:type ontology:Q3305213 }
male
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?i WHERE { ?i property:depicts resource:male . ?i rdf:type ontology:painting }
[]
painting
Q18713957
SYSTEM
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Q18713957
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[ANSWER] expresses that sex
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?i WHERE { ?i property:P180 resource:Q6581097 . ?i rdf:type ontology:Q3305213 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Raja Surendra Vikram Shah at the age of 15 with his prime minister expresses that sex
Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?i WHERE { ?i property:depicts resource:male . ?i rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P69
Q502895
USER
Who is an alumni of that sex ?
(c(Q502895),P69,Q18713957)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q18713957']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P69 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Raja Surendra Vikram Shah at the age of 15 with his prime minister']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:educated_at resource:male }
[]
common name
Q4662307
SYSTEM
Aaron Parchem
Q4662307
(c(Q502895),P69,Q18713957)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
An alumni of that sex is named [ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q18713957']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P69 resource:Q6581097 }
Aaron Parchem
An alumni of that sex is named Aaron Parchem
Aaron Parchem
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Raja Surendra Vikram Shah at the age of 15 with his prime minister']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:educated_at resource:male }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P106
Q502895
USER
Which person has that sex as his/her means of employment ?
(c(Q502895),P106,Q4662307)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q4662307']
SELECT DISTINCT ?f WHERE { ?f property:P106 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Aaron Parchem']
SELECT DISTINCT ?f WHERE { ?f property:occupation resource:male . ?f rdf:type ontology:common_name }
[]
common name
Q24877298
SYSTEM
Antonín Straka
Q24877298
(c(Q502895),P106,Q4662307)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has that sex as his/her means of employment
[{'concept': 'Q502895'}, 'P106', 'Q4662307']
SELECT DISTINCT ?f WHERE { ?f property:P106 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
Antonín Straka
Antonín Straka has that sex as his/her means of employment
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Aaron Parchem']
SELECT DISTINCT ?f WHERE { ?f property:occupation resource:male . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q24877298 Q888865
P19
Q486972
USER
Was that person born in Bobrová ?
(Q24877298,P19,Q888865)
action is_in
entity Q888865
action find
entity Q24877298
relation P19
['Q24877298', 'P19', 'Q888865']
ASK WHERE { resource:Q24877298 property:P19 resource:Q888865 }
Antonín Straka Bobrová
action is_in
entity Bobrová
action find
entity Antonín Straka
relation place of birth
['Antonín Straka', 'place of birth', 'Bobrová']
ASK WHERE { resource:Antonín_Straka property:place_of_birth resource:Bobrová }
[]
human settlement
SYSTEM
YES
(Q24877298,P19,Q888865)
action is_in
entity Q888865
action find
entity Q24877298
relation P19
[ANSWER]
['Q24877298', 'P19', 'Q888865']
ASK WHERE { resource:Q24877298 property:P19 resource:Q888865 }
Yes
action is_in
entity Bobrová
action find
entity Antonín Straka
relation place of birth
['Antonín Straka', 'place of birth', 'Bobrová']
ASK WHERE { resource:Antonín_Straka property:place_of_birth resource:Bobrová }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4662307
P1344
Q15900616
USER
Which event sequence did Aaron Parchem take part in ?
(Q4662307,P1344,c(Q15900616))
action filter_type
action find
entity Q4662307
relation P1344
type Q15900616
['Q4662307', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?b WHERE { resource:Q4662307 property:P1344 ?b . ?b rdf:type ontology:Q15900616 }
Aaron Parchem
action filter_type
action find
entity Aaron Parchem
relation participant of
type event sequence
['Aaron Parchem', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?b WHERE { resource:Aaron_Parchem property:participant_of ?b . ?b rdf:type ontology:event_sequence }
[]
event sequence
Q9672
SYSTEM
2006 Winter Olympics
Q9672
(Q4662307,P1344,c(Q15900616))
action filter_type
action find
entity Q4662307
relation P1344
type Q15900616
Part the [ANSWER] Aaron Parchem took in
['Q4662307', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?b WHERE { resource:Q4662307 property:P1344 ?b . ?b rdf:type ontology:Q15900616 }
2006 Winter Olympics
Part the 2006 Winter Olympics Aaron Parchem took in
2006 Winter Olympics
action filter_type
action find
entity Aaron Parchem
relation participant of
type event sequence
['Aaron Parchem', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?b WHERE { resource:Aaron_Parchem property:participant_of ?b . ?b rdf:type ontology:event_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38022
P190
Q486972 Q56061
USER
How many human settlements or administrative territories are the sister cities of St. Louis ?
(Q38022,P190,c(Q486972)) (Q38022,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q38022
relation P190
type Q486972
action filter_type
action find
entity Q38022
relation P190
type Q56061
['Q38022', 'P190', {'concept': 'Q486972'}] ['Q38022', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { ?n rdf:type ontology:Q56061 . resource:Q38022 property:P190 ?n } UNION { resource:Q38022 property:P190 ?n . ?n rdf:type ontology:Q486972 } }
St. Louis
action count
action union
action filter_type
action find
entity St. Louis
relation sister city
type human settlement
action filter_type
action find
entity St. Louis
relation sister city
type administrative territorial entity
['St. Louis', 'sister city', {'concept': 'human settlement'}] ['St. Louis', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { ?n rdf:type ontology:administrative_territorial_entity . resource:St._Louis property:sister_city ?n } UNION { resource:St._Louis property:sister_city ?n . ?n rdf:type ontology:human_settlement } }
[]
human settlement administrative territorial entity
SYSTEM
11
Q28441 Q1022 Q204271 Q1891 Q322828 Q855330 Q894 Q129610 Q393 Q167582 Q273779
(Q38022,P190,c(Q486972)) (Q38022,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q38022
relation P190
type Q486972
action filter_type
action find
entity Q38022
relation P190
type Q56061
[ANSWER]
['Q38022', 'P190', {'concept': 'Q486972'}] ['Q38022', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { ?n rdf:type ontology:Q56061 . resource:Q38022 property:P190 ?n } UNION { resource:Q38022 property:P190 ?n . ?n rdf:type ontology:Q486972 } }
São Luís Stuttgart San Luis Potosí Bologna Brčko Donegal Samara Galway Szczecin Yokneam Saint-Louis
11
action count
action union
action filter_type
action find
entity St. Louis
relation sister city
type human settlement
action filter_type
action find
entity St. Louis
relation sister city
type administrative territorial entity
['St. Louis', 'sister city', {'concept': 'human settlement'}] ['St. Louis', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { ?n rdf:type ontology:administrative_territorial_entity . resource:St._Louis property:sister_city ?n } UNION { resource:St._Louis property:sister_city ?n . ?n rdf:type ontology:human_settlement } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q23692163
P144
Q49447 Q7725634 Q3305213
USER
How many paintings are derived from more number of world views and literary works than The Judgment of Paris ?
(c(Q3305213),P144,c(Q49447)|c(Q7725634))
action count
action greater
action union
action find_tuple_counts
relation P144
type Q3305213
type Q49447
action find_tuple_counts
relation P144
type Q3305213
type Q7725634
action count
action filter_multi_types
action find
entity Q23692163
relation P144
type Q49447
type Q7725634
[{'concept': 'Q3305213'}, 'P144', [{'concept': 'Q49447'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?k WHERE { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:Q49447 ) ( ontology:Q7725634 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { { ?i rdf:type ontology:Q49447 } UNION { ?i rdf:type ontology:Q7725634 } } . resource:Q23692163 property:P144 ?i } } . FILTER ( ?j > ?p ) }
The Judgment of Paris
action count
action greater
action union
action find_tuple_counts
relation based on
type painting
type world view
action find_tuple_counts
relation based on
type painting
type literary work
action count
action filter_multi_types
action find
entity The Judgment of Paris
relation based on
type world view
type literary work
[{'concept': 'painting'}, 'based on', [{'concept': 'world view'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?k WHERE { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:world_view ) ( ontology:literary_work ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { { ?i rdf:type ontology:world_view } UNION { ?i rdf:type ontology:literary_work } } . resource:The_Judgment_of_Paris property:based_on ?i } } . FILTER ( ?j > ?p ) }
[]
world view literary work painting
SYSTEM
11
Q20354623 Q23691685 Q2715152 Q1197593 Q3797739 Q3937289 Q3618200 Q3649318 Q23692174 Q2344368 Q23692473
(c(Q3305213),P144,c(Q49447)|c(Q7725634))
action count
action greater
action union
action find_tuple_counts
relation P144
type Q3305213
type Q49447
action find_tuple_counts
relation P144
type Q3305213
type Q7725634
action count
action filter_multi_types
action find
entity Q23692163
relation P144
type Q49447
type Q7725634
[ANSWER]
[{'concept': 'Q3305213'}, 'P144', [{'concept': 'Q49447'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?k WHERE { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:Q49447 ) ( ontology:Q7725634 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { { ?i rdf:type ontology:Q49447 } UNION { ?i rdf:type ontology:Q7725634 } } . resource:Q23692163 property:P144 ?i } } . FILTER ( ?j > ?p ) }
Manfred and the Alpine Witch The Night of Peace The Parnassus Joachim's Dream Meeting at the Golden Gate Joachim among the Shepherds Annunciation to Saint Anne Expulsion of Joachim from the Temple Mirth, from Milton's 'Allegro' Galatea The Baptism of Christ
11
action count
action greater
action union
action find_tuple_counts
relation based on
type painting
type world view
action find_tuple_counts
relation based on
type painting
type literary work
action count
action filter_multi_types
action find
entity The Judgment of Paris
relation based on
type world view
type literary work
[{'concept': 'painting'}, 'based on', [{'concept': 'world view'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?k WHERE { ?c rdf:type ?g . VALUES ( ?g ) { ( ontology:world_view ) ( ontology:literary_work ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { { ?i rdf:type ontology:world_view } UNION { ?i rdf:type ontology:literary_work } } . resource:The_Judgment_of_Paris property:based_on ?i } } . FILTER ( ?j > ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q16943372
P144
Q49447 Q7725634 Q3305213
USER
And how about The Abduction of Europa?
(c(Q3305213),P144,c(Q49447)|c(Q7725634))
action count
action greater
action union
action find_tuple_counts
relation P144
type Q3305213
type Q49447
action find_tuple_counts
relation P144
type Q3305213
type Q7725634
action count
action filter_multi_types
action find
entity Q16943372
relation P144
type Q49447
type Q7725634
[{'concept': 'Q3305213'}, 'P144', [{'concept': 'Q49447'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q16943372 property:P144 ?g . { { ?g rdf:type ontology:Q49447 } UNION { ?g rdf:type ontology:Q7725634 } } } } . FILTER ( ?a > ?t ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?a ) WHERE { { ?l property:P144 ?d . ?l rdf:type ontology:Q3305213 . ?d rdf:type ontology:Q49447 } UNION { ?l rdf:type ontology:Q3305213 . ?d rdf:type ontology:Q7725634 . ?l property:P144 ?d } } GROUP BY ?l } }
The Abduction of Europa
action count
action greater
action union
action find_tuple_counts
relation based on
type painting
type world view
action find_tuple_counts
relation based on
type painting
type literary work
action count
action filter_multi_types
action find
entity The Abduction of Europa
relation based on
type world view
type literary work
[{'concept': 'painting'}, 'based on', [{'concept': 'world view'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:The_Abduction_of_Europa property:based_on ?g . { { ?g rdf:type ontology:world_view } UNION { ?g rdf:type ontology:literary_work } } } } . FILTER ( ?a > ?t ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?a ) WHERE { { ?l property:based_on ?d . ?l rdf:type ontology:painting . ?d rdf:type ontology:world_view } UNION { ?l rdf:type ontology:painting . ?d rdf:type ontology:literary_work . ?l property:based_on ?d } } GROUP BY ?l } }
[]
world view literary work painting
SYSTEM
11
Q20354623 Q23691685 Q2715152 Q1197593 Q3797739 Q3937289 Q3618200 Q3649318 Q23692174 Q2344368 Q23692473
(c(Q3305213),P144,c(Q49447)|c(Q7725634))
action count
action greater
action union
action find_tuple_counts
relation P144
type Q3305213
type Q49447
action find_tuple_counts
relation P144
type Q3305213
type Q7725634
action count
action filter_multi_types
action find
entity Q16943372
relation P144
type Q49447
type Q7725634
[ANSWER]
[{'concept': 'Q3305213'}, 'P144', [{'concept': 'Q49447'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q16943372 property:P144 ?g . { { ?g rdf:type ontology:Q49447 } UNION { ?g rdf:type ontology:Q7725634 } } } } . FILTER ( ?a > ?t ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?a ) WHERE { { ?l property:P144 ?d . ?l rdf:type ontology:Q3305213 . ?d rdf:type ontology:Q49447 } UNION { ?l rdf:type ontology:Q3305213 . ?d rdf:type ontology:Q7725634 . ?l property:P144 ?d } } GROUP BY ?l } }
Manfred and the Alpine Witch The Night of Peace The Parnassus Joachim's Dream Meeting at the Golden Gate Joachim among the Shepherds Annunciation to Saint Anne Expulsion of Joachim from the Temple Mirth, from Milton's 'Allegro' Galatea The Baptism of Christ
11
action count
action greater
action union
action find_tuple_counts
relation based on
type painting
type world view
action find_tuple_counts
relation based on
type painting
type literary work
action count
action filter_multi_types
action find
entity The Abduction of Europa
relation based on
type world view
type literary work
[{'concept': 'painting'}, 'based on', [{'concept': 'world view'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:The_Abduction_of_Europa property:based_on ?g . { { ?g rdf:type ontology:world_view } UNION { ?g rdf:type ontology:literary_work } } } } . FILTER ( ?a > ?t ) . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?a ) WHERE { { ?l property:based_on ?d . ?l rdf:type ontology:painting . ?d rdf:type ontology:world_view } UNION { ?l rdf:type ontology:painting . ?d rdf:type ontology:literary_work . ?l property:based_on ?d } } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9672
P466
Q811979
USER
Which architectural structures were inhabited by 2006 Winter Olympics ?
(c(Q811979),P466,Q9672)
action filter_type
action find_reverse
entity Q9672
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q9672']
SELECT DISTINCT ?y WHERE { ?y property:P466 resource:Q9672 . ?y rdf:type ontology:Q811979 }
2006 Winter Olympics
action filter_type
action find_reverse
entity 2006 Winter Olympics
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', '2006 Winter Olympics']
SELECT DISTINCT ?y WHERE { ?y property:occupant resource:2006_Winter_Olympics . ?y rdf:type ontology:architectural_structure }
[]
architectural structure
Q1393382 Q978030
SYSTEM
Torino Palasport Olimpico, Oval Lingotto
Q1393382 Q978030
(c(Q811979),P466,Q9672)
action filter_type
action find_reverse
entity Q9672
relation P466
type Q811979
[ANSWERS] were inhabited by 2006 Winter Olympics
[{'concept': 'Q811979'}, 'P466', 'Q9672']
SELECT DISTINCT ?y WHERE { ?y property:P466 resource:Q9672 . ?y rdf:type ontology:Q811979 }
Torino Palasport Olimpico Oval Lingotto
Torino Palasport Olimpico and Oval Lingotto were inhabited by 2006 Winter Olympics
Torino Palasport Olimpico Oval Lingotto
action filter_type
action find_reverse
entity 2006 Winter Olympics
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', '2006 Winter Olympics']
SELECT DISTINCT ?y WHERE { ?y property:occupant resource:2006_Winter_Olympics . ?y rdf:type ontology:architectural_structure }
[]