Simple Question (Direct)
Simple Question
Q9375125
P106
Q12737077
USER
What is the profession of Wincenty Wierzejewski ?
(Q9375125,P106,c(Q12737077))
action filter_type
action find
entity Q9375125
relation P106
type Q12737077
['Q9375125', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q9375125 property:P106 ?s }
Wincenty Wierzejewski
action filter_type
action find
entity Wincenty Wierzejewski
relation occupation
type occupation
['Wincenty Wierzejewski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Wincenty_Wierzejewski property:occupation ?s }
[]
occupation
Q189290
SYSTEM
officer
Q189290
(Q9375125,P106,c(Q12737077))
action filter_type
action find
entity Q9375125
relation P106
type Q12737077
The profession of Wincenty Wierzejewski is an [ANSWER]
['Q9375125', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q9375125 property:P106 ?s }
officer
The profession of Wincenty Wierzejewski is an officer
officer
action filter_type
action find
entity Wincenty Wierzejewski
relation occupation
type occupation
['Wincenty Wierzejewski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Wincenty_Wierzejewski property:occupation ?s }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18718827 Q9375125
P27
Q15617994
USER
Which administrative territories are the native countriesof Wincenty Wierzejewski or Aureliano Argento ?
OR((Q9375125,P27,c(Q15617994)), (Q18718827,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q9375125
relation P27
action find
entity Q18718827
relation P27
type Q15617994
{'OR': [['Q9375125', 'P27', {'concept': 'Q15617994'}], ['Q18718827', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q9375125 property:P27 ?p } UNION { resource:Q18718827 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Aureliano Argento Wincenty Wierzejewski
action filter_type
action union
action find
entity Wincenty Wierzejewski
relation country of citizenship
action find
entity Aureliano Argento
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Wincenty Wierzejewski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aureliano Argento', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Wincenty_Wierzejewski property:country_of_citizenship ?p } UNION { resource:Aureliano_Argento property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414 Q36
SYSTEM
Argentina, Poland
Q414 Q36
OR((Q9375125,P27,c(Q15617994)), (Q18718827,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q9375125
relation P27
action find
entity Q18718827
relation P27
type Q15617994
[ANSWERS] are the native countriesof Wincenty Wierzejewski or Aureliano Argento
{'OR': [['Q9375125', 'P27', {'concept': 'Q15617994'}], ['Q18718827', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q9375125 property:P27 ?p } UNION { resource:Q18718827 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Argentina Poland
Argentina and Poland are the native countriesof Wincenty Wierzejewski or Aureliano Argento
Argentina Poland
action filter_type
action union
action find
entity Wincenty Wierzejewski
relation country of citizenship
action find
entity Aureliano Argento
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Wincenty Wierzejewski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aureliano Argento', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Wincenty_Wierzejewski property:country_of_citizenship ?p } UNION { resource:Aureliano_Argento property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4992201
P27
Q502895
USER
Are Mike Seeger a native of those administrative territories ?
(Q4992201,P27,Q414) (Q4992201,P27,Q36)
action is_in
entity prev_answer
action find
entity Q4992201
relation P27
['Q4992201', 'P27', 'Q414'] ['Q4992201', 'P27', 'Q36']
ASK WHERE { resource:Q4992201 property:P27 ?y . VALUES ( ?y ) { ( resource:Q414 ) ( resource:Q36 ) } }
Mike Seeger
action is_in
entity prev_answer
action find
entity Mike Seeger
relation country of citizenship
['Mike Seeger', 'country of citizenship', 'Argentina'] ['Mike Seeger', 'country of citizenship', 'Poland']
ASK WHERE { resource:Mike_Seeger property:country_of_citizenship ?y . VALUES ( ?y ) { ( resource:Argentina ) ( resource:Poland ) } }
[]
common name
SYSTEM
NO
(Q4992201,P27,Q414) (Q4992201,P27,Q36)
action is_in
entity prev_answer
action find
entity Q4992201
relation P27
[ANSWER]
['Q4992201', 'P27', 'Q414'] ['Q4992201', 'P27', 'Q36']
ASK WHERE { resource:Q4992201 property:P27 ?y . VALUES ( ?y ) { ( resource:Q414 ) ( resource:Q36 ) } }
No
action is_in
entity prev_answer
action find
entity Mike Seeger
relation country of citizenship
['Mike Seeger', 'country of citizenship', 'Argentina'] ['Mike Seeger', 'country of citizenship', 'Poland']
ASK WHERE { resource:Mike_Seeger property:country_of_citizenship ?y . VALUES ( ?y ) { ( resource:Argentina ) ( resource:Poland ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q414 Q7543669
P47
Q15617994
USER
Does Smallford share the border with Argentina ?
(Q414,P47,Q7543669)
action is_in
entity Q7543669
action find
entity Q414
relation P47
['Q414', 'P47', 'Q7543669']
ASK WHERE { resource:Q414 property:P47 resource:Q7543669 }
Argentina Smallford
action is_in
entity Smallford
action find
entity Argentina
relation shares border with
['Argentina', 'shares border with', 'Smallford']
ASK WHERE { resource:Argentina property:shares_border_with resource:Smallford }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q414,P47,Q7543669)
action is_in
entity Q7543669
action find
entity Q414
relation P47
[ANSWER]
['Q414', 'P47', 'Q7543669']
ASK WHERE { resource:Q414 property:P47 resource:Q7543669 }
No
action is_in
entity Smallford
action find
entity Argentina
relation shares border with
['Argentina', 'shares border with', 'Smallford']
ASK WHERE { resource:Argentina property:shares_border_with resource:Smallford }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q36 Q4078070
P47
Q1048835
USER
Is Barvinivka adjacent to Poland ?
(Q36,P47,Q4078070)
action is_in
entity Q4078070
action find
entity Q36
relation P47
['Q36', 'P47', 'Q4078070']
ASK WHERE { resource:Q36 property:P47 resource:Q4078070 }
Poland Barvinivka
action is_in
entity Barvinivka
action find
entity Poland
relation shares border with
['Poland', 'shares border with', 'Barvinivka']
ASK WHERE { resource:Poland property:shares_border_with resource:Barvinivka }
[]
political territorial entity
SYSTEM
NO
(Q36,P47,Q4078070)
action is_in
entity Q4078070
action find
entity Q36
relation P47
[ANSWER]
['Q36', 'P47', 'Q4078070']
ASK WHERE { resource:Q36 property:P47 resource:Q4078070 }
No
action is_in
entity Barvinivka
action find
entity Poland
relation shares border with
['Poland', 'shares border with', 'Barvinivka']
ASK WHERE { resource:Poland property:shares_border_with resource:Barvinivka }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36
P137
Q43229 Q811979
USER
How many organizations and architectural structures can be described as service operator of Poland ?
(c(Q43229),P137,Q36) (c(Q811979),P137,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P137
type Q43229
action filter_type
action find_reverse
entity Q36
relation P137
type Q811979
[{'concept': 'Q43229'}, 'P137', 'Q36'] [{'concept': 'Q811979'}, 'P137', 'Q36']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { ?j rdf:type ontology:Q811979 . ?j property:P137 resource:Q36 } UNION { ?j property:P137 resource:Q36 . ?j rdf:type ontology:Q43229 } }
Poland
action count
action union
action filter_type
action find_reverse
entity Poland
relation operator
type organization
action filter_type
action find_reverse
entity Poland
relation operator
type architectural structure
[{'concept': 'organization'}, 'operator', 'Poland'] [{'concept': 'architectural structure'}, 'operator', 'Poland']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { ?j rdf:type ontology:architectural_structure . ?j property:operator resource:Poland } UNION { ?j property:operator resource:Poland . ?j rdf:type ontology:organization } }
[]
organization architectural structure
SYSTEM
1 organizations and 1 architectural structures
Q5369828 Q129110
(c(Q43229),P137,Q36) (c(Q811979),P137,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P137
type Q43229
action filter_type
action find_reverse
entity Q36
relation P137
type Q811979
[ANSWER]
[{'concept': 'Q43229'}, 'P137', 'Q36'] [{'concept': 'Q811979'}, 'P137', 'Q36']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { ?j rdf:type ontology:Q811979 . ?j property:P137 resource:Q36 } UNION { ?j property:P137 resource:Q36 . ?j rdf:type ontology:Q43229 } }
Embassy of Poland, Stockholm Telewizja Polska
1 organizations and 1 architectural structures
action count
action union
action filter_type
action find_reverse
entity Poland
relation operator
type organization
action filter_type
action find_reverse
entity Poland
relation operator
type architectural structure
[{'concept': 'organization'}, 'operator', 'Poland'] [{'concept': 'architectural structure'}, 'operator', 'Poland']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { ?j rdf:type ontology:architectural_structure . ?j property:operator resource:Poland } UNION { ?j property:operator resource:Poland . ?j rdf:type ontology:organization } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16326190 Q414
P19 P36
Q515
USER
Which cities are the capitals of Argentina and were Siulnas born ?
AND((Q414,P36,c(Q515)), (Q16326190,P19,c(Q515)))
action filter_type
action intersection
action find
entity Q414
relation P36
action find
entity Q16326190
relation P19
type Q515
{'AND': [['Q414', 'P36', {'concept': 'Q515'}], ['Q16326190', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . resource:Q414 property:P36 ?w . resource:Q16326190 property:P19 ?w }
Siulnas Argentina
action filter_type
action intersection
action find
entity Argentina
relation capital
action find
entity Siulnas
relation place of birth
type city
{'AND': [['Argentina', 'capital', {'concept': 'city'}], ['Siulnas', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . resource:Argentina property:capital ?w . resource:Siulnas property:place_of_birth ?w }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
AND((Q414,P36,c(Q515)), (Q16326190,P19,c(Q515)))
action filter_type
action intersection
action find
entity Q414
relation P36
action find
entity Q16326190
relation P19
type Q515
[ANSWER] is the capitals of Argentina and were Siulnas born
{'AND': [['Q414', 'P36', {'concept': 'Q515'}], ['Q16326190', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . resource:Q414 property:P36 ?w . resource:Q16326190 property:P19 ?w }
Buenos Aires
Buenos Aires is the capitals of Argentina and were Siulnas born
Buenos Aires
action filter_type
action intersection
action find
entity Argentina
relation capital
action find
entity Siulnas
relation place of birth
type city
{'AND': [['Argentina', 'capital', {'concept': 'city'}], ['Siulnas', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . resource:Argentina property:capital ?w . resource:Siulnas property:place_of_birth ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1486
P291
Q2342494
USER
Which collectable has that city as its publication place ?
(c(Q2342494),P291,Q1486)
action filter_type
action find_reverse
entity Q1486
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q1486']
SELECT DISTINCT ?i WHERE { ?i property:P291 resource:Q1486 . ?i rdf:type ontology:Q2342494 }
Buenos Aires
action filter_type
action find_reverse
entity Buenos Aires
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Buenos Aires']
SELECT DISTINCT ?i WHERE { ?i property:place_of_publication resource:Buenos_Aires . ?i rdf:type ontology:collectable }
[]
collectable
Q5957079
SYSTEM
Juvenilia
Q5957079
(c(Q2342494),P291,Q1486)
action filter_type
action find_reverse
entity Q1486
relation P291
type Q2342494
[ANSWER] has that city as its publication place
[{'concept': 'Q2342494'}, 'P291', 'Q1486']
SELECT DISTINCT ?i WHERE { ?i property:P291 resource:Q1486 . ?i rdf:type ontology:Q2342494 }
Juvenilia
Juvenilia has that city as its publication place
Juvenilia
action filter_type
action find_reverse
entity Buenos Aires
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Buenos Aires']
SELECT DISTINCT ?i WHERE { ?i property:place_of_publication resource:Buenos_Aires . ?i rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5957079
P407
Q34770
USER
Which language is that collectable in ?
(Q5957079,P407,c(Q34770))
action filter_type
action find
entity Q5957079
relation P407
type Q34770
['Q5957079', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q34770 . resource:Q5957079 property:P407 ?x }
Juvenilia
action filter_type
action find
entity Juvenilia
relation language of work or name
type language
['Juvenilia', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:language . resource:Juvenilia property:language_of_work_or_name ?x }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5957079,P407,c(Q34770))
action filter_type
action find
entity Q5957079
relation P407
type Q34770
Which language is that collectable in
['Q5957079', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q34770 . resource:Q5957079 property:P407 ?x }
Spanish
Which language is that collectable in
Spanish
action filter_type
action find
entity Juvenilia
relation language of work or name
type language
['Juvenilia', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:language . resource:Juvenilia property:language_of_work_or_name ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5957079
P495
Q15617994
USER
What is the origin of Juvenilia ?
(Q5957079,P495,c(Q15617994))
action filter_type
action find
entity Q5957079
relation P495
type Q15617994
['Q5957079', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q5957079 property:P495 ?n . ?n rdf:type ontology:Q15617994 }
Juvenilia
action filter_type
action find
entity Juvenilia
relation country of origin
type designation for an administrative territorial entity
['Juvenilia', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Juvenilia property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q5957079,P495,c(Q15617994))
action filter_type
action find
entity Q5957079
relation P495
type Q15617994
The origin of Juvenilia is in [ANSWER]
['Q5957079', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q5957079 property:P495 ?n . ?n rdf:type ontology:Q15617994 }
Argentina
The origin of Juvenilia is in Argentina
Argentina
action filter_type
action find
entity Juvenilia
relation country of origin
type designation for an administrative territorial entity
['Juvenilia', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Juvenilia property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5957079
P136
Q1792379
USER
What can be considered as category for that collectable ?
(Q414,P136,c(Q1792379))
action filter_type
action find
entity Q5957079
relation P136
type Q1792379
['Q414', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?h WHERE { resource:Q5957079 property:P136 ?h . ?h rdf:type ontology:Q1792379 }
Juvenilia
action filter_type
action find
entity Juvenilia
relation genre
type art genre
['Argentina', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?h WHERE { resource:Juvenilia property:genre ?h . ?h rdf:type ontology:art_genre }
[]
art genre
Q8261
SYSTEM
novel
Q8261
(Q414,P136,c(Q1792379))
action filter_type
action find
entity Q5957079
relation P136
type Q1792379
A [ANSWER] can be considered as category for that collectable
['Q414', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?h WHERE { resource:Q5957079 property:P136 ?h . ?h rdf:type ontology:Q1792379 }
novel
A novel can be considered as category for that collectable
novel
action filter_type
action find
entity Juvenilia
relation genre
type art genre
['Argentina', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?h WHERE { resource:Juvenilia property:genre ?h . ?h rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q11060274 Q838948
USER
How many administrative territories are depicted in approximately 1 prints and works of art ?
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
value 1
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) ?l WHERE { ?p rdf:type ?h . VALUES ( ?h ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } } GROUP BY ?l } }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
value 1
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) ?l WHERE { ?p rdf:type ?h . VALUES ( ?h ) { ( ontology:print ) ( ontology:work_of_art ) } } GROUP BY ?l } }
[]
designation for an administrative territorial entity print work of art
SYSTEM
6
Q47505 Q131596 Q17 Q13320 Q376896 Q34876
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
value 1
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) ?l WHERE { ?p rdf:type ?h . VALUES ( ?h ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } } GROUP BY ?l } }
Dolo farm Japan Savona Grenelle province
6
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
value 1
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) ?l WHERE { ?p rdf:type ?h . VALUES ( ?h ) { ( ontology:print ) ( ontology:work_of_art ) } } GROUP BY ?l } }
[]