Simple Question (Direct)
Simple Question
Q506211
P135
Q2198855
USER
Which cultural movement was Wacław Zawadowski linked with ?
(Q506211,P135,c(Q2198855))
action filter_type
action find
entity Q506211
relation P135
type Q2198855
['Q506211', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2198855 . resource:Q506211 property:P135 ?y }
Wacław Zawadowski
action filter_type
action find
entity Wacław Zawadowski
relation movement
type cultural movement
['Wacław Zawadowski', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:cultural_movement . resource:Wacław_Zawadowski property:movement ?y }
[]
cultural movement
Q166713
SYSTEM
Post-Impressionism
Q166713
(Q506211,P135,c(Q2198855))
action filter_type
action find
entity Q506211
relation P135
type Q2198855
Wacław Zawadowski was linked to [ANSWER]
['Q506211', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2198855 . resource:Q506211 property:P135 ?y }
Post-Impressionism
Wacław Zawadowski was linked to Post-Impressionism
Post-Impressionism
action filter_type
action find
entity Wacław Zawadowski
relation movement
type cultural movement
['Wacław Zawadowski', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:cultural_movement . resource:Wacław_Zawadowski property:movement ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q506211
P136
Q1792379
USER
What can be considered as category for that person ?
(Q166713,P136,c(Q1792379))
action filter_type
action find
entity Q506211
relation P136
type Q1792379
['Q166713', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1792379 . resource:Q506211 property:P136 ?f }
Wacław Zawadowski
action filter_type
action find
entity Wacław Zawadowski
relation genre
type art genre
['Post-Impressionism', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:art_genre . resource:Wacław_Zawadowski property:genre ?f }
[]
art genre
Q191163
SYSTEM
landscape art
Q191163
(Q166713,P136,c(Q1792379))
action filter_type
action find
entity Q506211
relation P136
type Q1792379
The [ANSWER] can be considered as category for that person
['Q166713', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1792379 . resource:Q506211 property:P136 ?f }
landscape art
The landscape art can be considered as category for that person
landscape art
action filter_type
action find
entity Wacław Zawadowski
relation genre
type art genre
['Post-Impressionism', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:art_genre . resource:Wacław_Zawadowski property:genre ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q506211
P20
Q20667921
USER
Where did the expiration of that person occur ?
(Q191163,P20,c(Q20667921))
action filter_type
action find
entity Q506211
relation P20
type Q20667921
['Q191163', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q506211 property:P20 ?x . ?x rdf:type ontology:Q20667921 }
Wacław Zawadowski
action filter_type
action find
entity Wacław Zawadowski
relation place of death
type type of french administrative division
['landscape art', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Wacław_Zawadowski property:place_of_death ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q47465
SYSTEM
Aix-en-Provence
Q47465
(Q191163,P20,c(Q20667921))
action filter_type
action find
entity Q506211
relation P20
type Q20667921
The expiration of that person occurred in [ANSWER]
['Q191163', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q506211 property:P20 ?x . ?x rdf:type ontology:Q20667921 }
Aix-en-Provence
The expiration of that person occurred in Aix-en-Provence
Aix-en-Provence
action filter_type
action find
entity Wacław Zawadowski
relation place of death
type type of french administrative division
['landscape art', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Wacław_Zawadowski property:place_of_death ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q506211
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q47465,P27,c(Q15617994))
action filter_type
action find
entity Q506211
relation P27
type Q15617994
['Q47465', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q506211 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Wacław Zawadowski
action filter_type
action find
entity Wacław Zawadowski
relation country of citizenship
type designation for an administrative territorial entity
['Aix-en-Provence', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Wacław_Zawadowski property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q47465,P27,c(Q15617994))
action filter_type
action find
entity Q506211
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q47465', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q506211 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Poland
The Poland is that person an inhabitant of
Poland
action filter_type
action find
entity Wacław Zawadowski
relation country of citizenship
type designation for an administrative territorial entity
['Aix-en-Provence', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Wacław_Zawadowski property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q36 Q579328
P530
Q1048835
USER
Does Bashtankiv hold diplomatic relationship with that administrative territory ?
(Q36,P530,Q579328)
action is_in
entity Q579328
action find
entity Q36
relation P530
['Q36', 'P530', 'Q579328']
ASK WHERE { resource:Q36 property:P530 resource:Q579328 }
Poland Bashtankiv
action is_in
entity Bashtankiv
action find
entity Poland
relation diplomatic relation
['Poland', 'diplomatic relation', 'Bashtankiv']
ASK WHERE { resource:Poland property:diplomatic_relation resource:Bashtankiv }
[]
political territorial entity
SYSTEM
NO
(Q36,P530,Q579328)
action is_in
entity Q579328
action find
entity Q36
relation P530
[ANSWER]
['Q36', 'P530', 'Q579328']
ASK WHERE { resource:Q36 property:P530 resource:Q579328 }
No
action is_in
entity Bashtankiv
action find
entity Poland
relation diplomatic relation
['Poland', 'diplomatic relation', 'Bashtankiv']
ASK WHERE { resource:Poland property:diplomatic_relation resource:Bashtankiv }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with atleast 71 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 71
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?o ) WHERE { ?d property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?o >= 71 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 71
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?o ) WHERE { ?d property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?o >= 71 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 71
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?o ) WHERE { ?d property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?o >= 71 ) }
Italy Georgia
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 71
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?o ) WHERE { ?d property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?o >= 71 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7636977 Q36
P530 P17
Q1048835
USER
Which political territories have diplomatic relationships with Poland or are Sumas Lake located in ?
OR((Q36,P530,c(Q1048835)), (Q7636977,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q36
relation P530
action find
entity Q7636977
relation P17
type Q1048835
{'OR': [['Q36', 'P530', {'concept': 'Q1048835'}], ['Q7636977', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q36 property:P530 ?r } UNION { resource:Q7636977 property:P17 ?r } } . ?r rdf:type ontology:Q1048835 }
Sumas Lake Poland
action filter_type
action union
action find
entity Poland
relation diplomatic relation
action find
entity Sumas Lake
relation country
type political territorial entity
{'OR': [['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Sumas Lake', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Poland property:diplomatic_relation ?r } UNION { resource:Sumas_Lake property:country ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q16 Q183
SYSTEM
Australia, Canada, Germany
Q408 Q16 Q183
OR((Q36,P530,c(Q1048835)), (Q7636977,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q36
relation P530
action find
entity Q7636977
relation P17
type Q1048835
[ANSWERS] have diplomatic relationships with Poland or are Sumas Lake located in
{'OR': [['Q36', 'P530', {'concept': 'Q1048835'}], ['Q7636977', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q36 property:P530 ?r } UNION { resource:Q7636977 property:P17 ?r } } . ?r rdf:type ontology:Q1048835 }
Australia Canada Germany
Australia, Canada and Germany have diplomatic relationships with Poland or are Sumas Lake located in
Australia Canada Germany
action filter_type
action union
action find
entity Poland
relation diplomatic relation
action find
entity Sumas Lake
relation country
type political territorial entity
{'OR': [['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Sumas Lake', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Poland property:diplomatic_relation ?r } UNION { resource:Sumas_Lake property:country ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q1267889 Q20667921
USER
How many french administrative divisions are situated close to atleast 1 bodies of water and waterways ?
(c(Q20667921),P206,c(Q15324)|c(Q1267889))
action count
action atleast
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { FILTER ( ?u >= 1 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?e WHERE { { ?e property:P206 ?t . ?t rdf:type ontology:Q15324 . ?e rdf:type ontology:Q20667921 } UNION { ?e property:P206 ?t . ?e rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q1267889 } } GROUP BY ?e } }
action count
action atleast
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { FILTER ( ?u >= 1 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?e WHERE { { ?e property:located_next_to_body_of_water ?t . ?t rdf:type ontology:body_of_water . ?e rdf:type ontology:type_of_french_administrative_division } UNION { ?e property:located_next_to_body_of_water ?t . ?e rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:waterway } } GROUP BY ?e } }
[]
body of water waterway type of french administrative division
SYSTEM
21
Q224023 Q665411 Q842027 Q877744 Q71356 Q160199 Q380224 Q683550 Q453263 Q1066836 Q391365 Q769160 Q1031980 Q513962 Q382048 Q323399 Q70491 Q231180 Q191765 Q1164176 Q20892
(c(Q20667921),P206,c(Q15324)|c(Q1267889))
action count
action atleast
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[ANSWER]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { FILTER ( ?u >= 1 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?e WHERE { { ?e property:P206 ?t . ?t rdf:type ontology:Q15324 . ?e rdf:type ontology:Q20667921 } UNION { ?e property:P206 ?t . ?e rdf:type ontology:Q20667921 . ?t rdf:type ontology:Q1267889 } } GROUP BY ?e } }
Penvénan Leffrinckoucke Rogliano Le Portel Île-aux-Moines Cherbourg-Octeville Marck Urville-Nacqueville Pleumeur-Bodou Grand-Fort-Philippe Bray-Dunes Grande-Synthe Escalles Oye-Plage Tardinghen Gravelines Larmor-Baden Zuydcoote Anglet Saint-Léonard Le Mont-Saint-Michel
21
action count
action atleast
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { FILTER ( ?u >= 1 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?e WHERE { { ?e property:located_next_to_body_of_water ?t . ?t rdf:type ontology:body_of_water . ?e rdf:type ontology:type_of_french_administrative_division } UNION { ?e property:located_next_to_body_of_water ?t . ?e rdf:type ontology:type_of_french_administrative_division . ?t rdf:type ontology:waterway } } GROUP BY ?e } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36
P47
Q1048835 Q15617994
USER
How many political territories and administrative territories have an adjacent border with Poland ?
(c(Q1048835),P47,Q36) (c(Q15617994),P47,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q36
relation P47
type Q15617994
[{'concept': 'Q1048835'}, 'P47', 'Q36'] [{'concept': 'Q15617994'}, 'P47', 'Q36']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r property:P47 resource:Q36 . ?r rdf:type ontology:Q1048835 } UNION { ?r rdf:type ontology:Q15617994 . ?r property:P47 resource:Q36 } }
Poland
action count
action union
action filter_type
action find_reverse
entity Poland
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Poland
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Poland'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Poland']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r property:shares_border_with resource:Poland . ?r rdf:type ontology:political_territorial_entity } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:shares_border_with resource:Poland } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
1 political territories and 8 administrative territories
Q212 Q213 Q211 Q159 Q214 Q218 Q183 Q37 Q184
(c(Q1048835),P47,Q36) (c(Q15617994),P47,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q36
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q36'] [{'concept': 'Q15617994'}, 'P47', 'Q36']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r property:P47 resource:Q36 . ?r rdf:type ontology:Q1048835 } UNION { ?r rdf:type ontology:Q15617994 . ?r property:P47 resource:Q36 } }
Ukraine Czech Republic Latvia Russia Slovakia Romania Germany Lithuania Belarus
1 political territories and 8 administrative territories
action count
action union
action filter_type
action find_reverse
entity Poland
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Poland
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Poland'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Poland']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r property:shares_border_with resource:Poland . ?r rdf:type ontology:political_territorial_entity } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:shares_border_with resource:Poland } }
[]