Simple Question (Direct)
Simple Question
Q677196
P136
Q1792379
USER
What can be considered as category for Josef Winkler ?
(Q677196,P136,c(Q1792379))
action filter_type
action find
entity Q677196
relation P136
type Q1792379
['Q677196', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?v WHERE { resource:Q677196 property:P136 ?v . ?v rdf:type ontology:Q1792379 }
Josef Winkler
action filter_type
action find
entity Josef Winkler
relation genre
type art genre
['Josef Winkler', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?v WHERE { resource:Josef_Winkler property:genre ?v . ?v rdf:type ontology:art_genre }
[]
art genre
Q8261
SYSTEM
novel
Q8261
(Q677196,P136,c(Q1792379))
action filter_type
action find
entity Q677196
relation P136
type Q1792379
The [ANSWER] can be considered as category for Josef Winkler
['Q677196', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?v WHERE { resource:Q677196 property:P136 ?v . ?v rdf:type ontology:Q1792379 }
novel
The novel can be considered as category for Josef Winkler
novel
action filter_type
action find
entity Josef Winkler
relation genre
type art genre
['Josef Winkler', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?v WHERE { resource:Josef_Winkler property:genre ?v . ?v rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q677196
P19
Q15617994
USER
Where was Josef Winkler born ?
(Q677196,P19,c(Q15617994))
action filter_type
action find
entity Q677196
relation P19
type Q15617994
['Q677196', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q677196 property:P19 ?q . ?q rdf:type ontology:Q15617994 }
Josef Winkler
action filter_type
action find
entity Josef Winkler
relation place of birth
type designation for an administrative territorial entity
['Josef Winkler', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Josef_Winkler property:place_of_birth ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q660468
SYSTEM
Paternion
Q660468
(Q677196,P19,c(Q15617994))
action filter_type
action find
entity Q677196
relation P19
type Q15617994
Josef Winkler was born in [ANSWER]
['Q677196', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q677196 property:P19 ?q . ?q rdf:type ontology:Q15617994 }
Paternion
Josef Winkler was born in Paternion
Paternion
action filter_type
action find
entity Josef Winkler
relation place of birth
type designation for an administrative territorial entity
['Josef Winkler', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Josef_Winkler property:place_of_birth ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q677196
P106
Q12737077
USER
What is the profession of Josef Winkler ?
(Q677196,P106,c(Q12737077))
action filter_type
action find
entity Q677196
relation P106
type Q12737077
['Q677196', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q677196 property:P106 ?f }
Josef Winkler
action filter_type
action find
entity Josef Winkler
relation occupation
type occupation
['Josef Winkler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Josef_Winkler property:occupation ?f }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q677196,P106,c(Q12737077))
action filter_type
action find
entity Q677196
relation P106
type Q12737077
The profession of Josef Winkler is a [ANSWER]
['Q677196', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q677196 property:P106 ?f }
writer
The profession of Josef Winkler is a writer
writer
action filter_type
action find
entity Josef Winkler
relation occupation
type occupation
['Josef Winkler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Josef_Winkler property:occupation ?f }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
Which occupations are the fields of work of more number of collectables than that occupation ?
(c(Q2342494),P101,c(Q12737077))
action greater
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q36180
relation P101
type Q12737077
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:P101 ?p . ?p rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q2342494 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Q36180 property:P101 ?q . ?q rdf:type ontology:Q12737077 } } . FILTER ( ?e > ?h ) }
action greater
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity writer
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:field_of_work ?p . ?p rdf:type ontology:occupation . ?a rdf:type ontology:collectable } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:writer property:field_of_work ?q . ?q rdf:type ontology:occupation } } . FILTER ( ?e > ?h ) }
[]
occupation collectable
Q15954519
SYSTEM
alchemist
Q15954519
(c(Q2342494),P101,c(Q12737077))
action greater
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_type
action find
entity Q36180
relation P101
type Q12737077
[ANSWER] is the fields of work of more number of collectables than that occupation
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:P101 ?p . ?p rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q2342494 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Q36180 property:P101 ?q . ?q rdf:type ontology:Q12737077 } } . FILTER ( ?e > ?h ) }
alchemist
Alchemist is the fields of work of more number of collectables than that occupation
alchemist
action greater
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_type
action find
entity writer
relation field of work
type occupation
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:field_of_work ?p . ?p rdf:type ontology:occupation . ?a rdf:type ontology:collectable } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:writer property:field_of_work ?q . ?q rdf:type ontology:occupation } } . FILTER ( ?e > ?h ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1592171 Q677196
P27 P17
Q1048835
USER
Which political territories are the native countriesof Josef Winkler or do Weerbach belong to ?
OR((Q677196,P27,c(Q1048835)), (Q1592171,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q677196
relation P27
action find
entity Q1592171
relation P17
type Q1048835
{'OR': [['Q677196', 'P27', {'concept': 'Q1048835'}], ['Q1592171', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . { { resource:Q677196 property:P27 ?w } UNION { resource:Q1592171 property:P17 ?w } } }
Weerbach Josef Winkler
action filter_type
action union
action find
entity Josef Winkler
relation country of citizenship
action find
entity Weerbach
relation country
type political territorial entity
{'OR': [['Josef Winkler', 'country of citizenship', {'concept': 'political territorial entity'}], ['Weerbach', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . { { resource:Josef_Winkler property:country_of_citizenship ?w } UNION { resource:Weerbach property:country ?w } } }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
OR((Q677196,P27,c(Q1048835)), (Q1592171,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q677196
relation P27
action find
entity Q1592171
relation P17
type Q1048835
[ANSWER] is the native countriesof Josef Winkler or do Weerbach belong to
{'OR': [['Q677196', 'P27', {'concept': 'Q1048835'}], ['Q1592171', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . { { resource:Q677196 property:P27 ?w } UNION { resource:Q1592171 property:P17 ?w } } }
Austria
Austria is the native countriesof Josef Winkler or do Weerbach belong to
Austria
action filter_type
action union
action find
entity Josef Winkler
relation country of citizenship
action find
entity Weerbach
relation country
type political territorial entity
{'OR': [['Josef Winkler', 'country of citizenship', {'concept': 'political territorial entity'}], ['Weerbach', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . { { resource:Josef_Winkler property:country_of_citizenship ?w } UNION { resource:Weerbach property:country ?w } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q193307
P127
Q1048835 Q811979 Q2235308
USER
How many political territories are the owners of greater number of architectural structures and ship types than Olomouc Region ?
(c(Q811979)|c(Q2235308),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q193307
relation P127
type Q811979
type Q2235308
[[{'concept': 'Q811979'}, {'concept': 'Q2235308'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { FILTER ( ?f > ?j ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:P127 resource:Q193307 . { { ?e rdf:type ontology:Q2235308 } UNION { ?e rdf:type ontology:Q811979 } } } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?m WHERE { { ?u property:P127 ?m . ?m rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q811979 } UNION { ?m rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q2235308 . ?u property:P127 ?m } } GROUP BY ?m } }
Olomouc Region
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type ship type
action count
action filter_multi_types
action find_reverse
entity Olomouc Region
relation owned by
type architectural structure
type ship type
[[{'concept': 'architectural structure'}, {'concept': 'ship type'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { FILTER ( ?f > ?j ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:owned_by resource:Olomouc_Region . { { ?e rdf:type ontology:ship_type } UNION { ?e rdf:type ontology:architectural_structure } } } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?m WHERE { { ?u property:owned_by ?m . ?m rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:architectural_structure } UNION { ?m rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:ship_type . ?u property:owned_by ?m } } GROUP BY ?m } }
[]
political territorial entity architectural structure ship type
SYSTEM
5
Q183 Q13862 Q202174 Q54902 Q849584
(c(Q811979)|c(Q2235308),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q193307
relation P127
type Q811979
type Q2235308
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q2235308'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { FILTER ( ?f > ?j ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:P127 resource:Q193307 . { { ?e rdf:type ontology:Q2235308 } UNION { ?e rdf:type ontology:Q811979 } } } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?m WHERE { { ?u property:P127 ?m . ?m rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q811979 } UNION { ?m rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q2235308 . ?u property:P127 ?m } } GROUP BY ?m } }
Germany Negros Occidental Argyll and Bute Fuenlabrada Jaraguá do Sul
5
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type ship type
action count
action filter_multi_types
action find_reverse
entity Olomouc Region
relation owned by
type architectural structure
type ship type
[[{'concept': 'architectural structure'}, {'concept': 'ship type'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { FILTER ( ?f > ?j ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:owned_by resource:Olomouc_Region . { { ?e rdf:type ontology:ship_type } UNION { ?e rdf:type ontology:architectural_structure } } } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?m WHERE { { ?u property:owned_by ?m . ?m rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:architectural_structure } UNION { ?m rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:ship_type . ?u property:owned_by ?m } } GROUP BY ?m } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q211091
P127
Q1048835 Q811979 Q2235308
USER
And how about Renfrewshire?
(c(Q811979)|c(Q2235308),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q211091
relation P127
type Q811979
type Q2235308
[[{'concept': 'Q811979'}, {'concept': 'Q2235308'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?r ) WHERE { ?m rdf:type ?t . VALUES ( ?t ) { ( ontology:Q811979 ) ( ontology:Q2235308 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { { ?h rdf:type ontology:Q811979 } UNION { ?h rdf:type ontology:Q2235308 } } . ?h property:P127 resource:Q211091 } } . FILTER ( ?r > ?q ) }
Renfrewshire
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type ship type
action count
action filter_multi_types
action find_reverse
entity Renfrewshire
relation owned by
type architectural structure
type ship type
[[{'concept': 'architectural structure'}, {'concept': 'ship type'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?r ) WHERE { ?m rdf:type ?t . VALUES ( ?t ) { ( ontology:architectural_structure ) ( ontology:ship_type ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { { ?h rdf:type ontology:architectural_structure } UNION { ?h rdf:type ontology:ship_type } } . ?h property:owned_by resource:Renfrewshire } } . FILTER ( ?r > ?q ) }
[]
political territorial entity architectural structure ship type
SYSTEM
5
Q183 Q13862 Q202174 Q54902 Q849584
(c(Q811979)|c(Q2235308),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q211091
relation P127
type Q811979
type Q2235308
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q2235308'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?r ) WHERE { ?m rdf:type ?t . VALUES ( ?t ) { ( ontology:Q811979 ) ( ontology:Q2235308 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { { ?h rdf:type ontology:Q811979 } UNION { ?h rdf:type ontology:Q2235308 } } . ?h property:P127 resource:Q211091 } } . FILTER ( ?r > ?q ) }
Germany Negros Occidental Argyll and Bute Fuenlabrada Jaraguá do Sul
5
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type ship type
action count
action filter_multi_types
action find_reverse
entity Renfrewshire
relation owned by
type architectural structure
type ship type
[[{'concept': 'architectural structure'}, {'concept': 'ship type'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?r ) WHERE { ?m rdf:type ?t . VALUES ( ?t ) { ( ontology:architectural_structure ) ( ontology:ship_type ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { { ?h rdf:type ontology:architectural_structure } UNION { ?h rdf:type ontology:ship_type } } . ?h property:owned_by resource:Renfrewshire } } . FILTER ( ?r > ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40
P463
Q874405
USER
What were Austria a member of ?
(Q40,P463,c(Q874405))
action filter_type
action find
entity Q40
relation P463
type Q874405
['Q40', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q40 property:P463 ?k . ?k rdf:type ontology:Q874405 }
Austria
action filter_type
action find
entity Austria
relation member of
type social group
['Austria', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:Austria property:member_of ?k . ?k rdf:type ontology:social_group }
[]
social group
Q782942 Q8908
SYSTEM
Australia Group, Council of Europe
Q782942 Q8908
(Q40,P463,c(Q874405))
action filter_type
action find
entity Q40
relation P463
type Q874405
Austria were a member of [ANSWERS]
['Q40', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q40 property:P463 ?k . ?k rdf:type ontology:Q874405 }
Australia Group Council of Europe
Austria were a member of Australia Group and Council of Europe
Australia Group Council of Europe
action filter_type
action find
entity Austria
relation member of
type social group
['Austria', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:Austria property:member_of ?k . ?k rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8908
P108
Q502895
USER
Which person has Council of Europe as its employer ?
(c(Q502895),P108,Q8908)
action filter_type
action find_reverse
entity Q8908
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q8908']
SELECT DISTINCT ?z WHERE { ?z property:P108 resource:Q8908 . ?z rdf:type ontology:Q502895 }
Council of Europe
action filter_type
action find_reverse
entity Council of Europe
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Council of Europe']
SELECT DISTINCT ?z WHERE { ?z property:employer resource:Council_of_Europe . ?z rdf:type ontology:common_name }
[]
common name
Q6452296
SYSTEM
Kypros Chrysostomides
Q6452296
(c(Q502895),P108,Q8908)
action filter_type
action find_reverse
entity Q8908
relation P108
type Q502895
[ANSWER] has Council of Europe as its employer
[{'concept': 'Q502895'}, 'P108', 'Q8908']
SELECT DISTINCT ?z WHERE { ?z property:P108 resource:Q8908 . ?z rdf:type ontology:Q502895 }
Kypros Chrysostomides
Kypros Chrysostomides has Council of Europe as its employer
Kypros Chrysostomides
action filter_type
action find_reverse
entity Council of Europe
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Council of Europe']
SELECT DISTINCT ?z WHERE { ?z property:employer resource:Council_of_Europe . ?z rdf:type ontology:common_name }
[]