Simple Question (Direct)
Simple Question
Q2715632
P611
Q1530022
USER
What religion is Peter González affiliated to ?
(Q2715632,P611,c(Q1530022))
action filter_type
action find
entity Q2715632
relation P611
type Q1530022
['Q2715632', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?g WHERE { resource:Q2715632 property:P611 ?g . ?g rdf:type ontology:Q1530022 }
Peter González
action filter_type
action find
entity Peter González
relation religious order
type religious organization
['Peter González', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?g WHERE { resource:Peter_González property:religious_order ?g . ?g rdf:type ontology:religious_organization }
[]
religious organization
Q131479
SYSTEM
Dominican Order
Q131479
(Q2715632,P611,c(Q1530022))
action filter_type
action find
entity Q2715632
relation P611
type Q1530022
Peter González is affiliated with [ANSWER]
['Q2715632', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?g WHERE { resource:Q2715632 property:P611 ?g . ?g rdf:type ontology:Q1530022 }
Dominican Order
Peter González is affiliated with Dominican Order
Dominican Order
action filter_type
action find
entity Peter González
relation religious order
type religious organization
['Peter González', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?g WHERE { resource:Peter_González property:religious_order ?g . ?g rdf:type ontology:religious_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q131479
P138
Q12280
USER
Which bridge has that religious organization as its toponym ?
(c(Q12280),P138,Q131479)
action filter_type
action find_reverse
entity Q131479
relation P138
type Q12280
[{'concept': 'Q12280'}, 'P138', 'Q131479']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12280 . ?n property:P138 resource:Q131479 }
Dominican Order
action filter_type
action find_reverse
entity Dominican Order
relation named after
type bridge
[{'concept': 'bridge'}, 'named after', 'Dominican Order']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:bridge . ?n property:named_after resource:Dominican_Order }
[]
bridge
Q880843
SYSTEM
Blackfriars Bridge
Q880843
(c(Q12280),P138,Q131479)
action filter_type
action find_reverse
entity Q131479
relation P138
type Q12280
[ANSWER] has that religious organization as its toponym
[{'concept': 'Q12280'}, 'P138', 'Q131479']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12280 . ?n property:P138 resource:Q131479 }
Blackfriars Bridge
Blackfriars Bridge has that religious organization as its toponym
Blackfriars Bridge
action filter_type
action find_reverse
entity Dominican Order
relation named after
type bridge
[{'concept': 'bridge'}, 'named after', 'Dominican Order']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:bridge . ?n property:named_after resource:Dominican_Order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131479
P180
Q3305213
USER
Which painting expresses Dominican Order ?
(c(Q3305213),P180,Q131479)
action filter_type
action find_reverse
entity Q131479
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q131479']
SELECT DISTINCT ?y WHERE { ?y property:P180 resource:Q131479 . ?y rdf:type ontology:Q3305213 }
Dominican Order
action filter_type
action find_reverse
entity Dominican Order
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Dominican Order']
SELECT DISTINCT ?y WHERE { ?y property:depicts resource:Dominican_Order . ?y rdf:type ontology:painting }
[]
painting
Q1215717
SYSTEM
Coronation of the Virgin
Q1215717
(c(Q3305213),P180,Q131479)
action filter_type
action find_reverse
entity Q131479
relation P180
type Q3305213
[ANSWER] expresses Dominican Order
[{'concept': 'Q3305213'}, 'P180', 'Q131479']
SELECT DISTINCT ?y WHERE { ?y property:P180 resource:Q131479 . ?y rdf:type ontology:Q3305213 }
Coronation of the Virgin
Coronation of the Virgin expresses Dominican Order
Coronation of the Virgin
action filter_type
action find_reverse
entity Dominican Order
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Dominican Order']
SELECT DISTINCT ?y WHERE { ?y property:depicts resource:Dominican_Order . ?y rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1215717
P195
Q2668072
USER
Where is that painting safeguarded in ?
(Q1215717,P195,c(Q2668072))
action filter_type
action find
entity Q1215717
relation P195
type Q2668072
['Q1215717', 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?y WHERE { resource:Q1215717 property:P195 ?y . ?y rdf:type ontology:Q2668072 }
Coronation of the Virgin
action filter_type
action find
entity Coronation of the Virgin
relation collection
type collection
['Coronation of the Virgin', 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?y WHERE { resource:Coronation_of_the_Virgin property:collection ?y . ?y rdf:type ontology:collection }
[]
collection
Q3044768
SYSTEM
Department of Paintings of the Louvre
Q3044768
(Q1215717,P195,c(Q2668072))
action filter_type
action find
entity Q1215717
relation P195
type Q2668072
That painting is safeguarded in the [ANSWER]
['Q1215717', 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?y WHERE { resource:Q1215717 property:P195 ?y . ?y rdf:type ontology:Q2668072 }
Department of Paintings of the Louvre
That painting is safeguarded in the Department of Paintings of the Louvre
Department of Paintings of the Louvre
action filter_type
action find
entity Coronation of the Virgin
relation collection
type collection
['Coronation of the Virgin', 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?y WHERE { resource:Coronation_of_the_Virgin property:collection ?y . ?y rdf:type ontology:collection }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3044768
P466
Q1299240
USER
Which interior spaces are occupied by that collection ?
(c(Q1299240),P466,Q3044768)
action filter_type
action find_reverse
entity Q3044768
relation P466
type Q1299240
[{'concept': 'Q1299240'}, 'P466', 'Q3044768']
SELECT DISTINCT ?a WHERE { ?a property:P466 resource:Q3044768 . ?a rdf:type ontology:Q1299240 }
Department of Paintings of the Louvre
action filter_type
action find_reverse
entity Department of Paintings of the Louvre
relation occupant
type interior space
[{'concept': 'interior space'}, 'occupant', 'Department of Paintings of the Louvre']
SELECT DISTINCT ?a WHERE { ?a property:occupant resource:Department_of_Paintings_of_the_Louvre . ?a rdf:type ontology:interior_space }
[]
interior space
Q3945716 Q14619170 Q18572792
SYSTEM
Salon Carré, Italian paintings, room 14, Italian paintings, room 18
Q19061116 Q27021117 Q19061113 Q19018803 Q19019185 Q19019188 Q19061110 Q19018242 Q18638607 Q15868111 Q19057193 Q19317971 Q19060651 Q18928979 Q19008229 Q19019191 Q19060868 Q19005079 Q15118611 Q19060452 Q18572800 Q18572802 Q19009583 Q19060857 Q19018195 Q19018194 Q19018197 Q18925308 Q18925305 Q19015236 Q18572465 Q19015102 Q18932943 Q19015587 Q19019128 Q19009660 Q19019123 Q19060449 Q27500526 Q19057258 Q19060845 Q27097128 Q19017134 Q19119678 Q19019131 Q19019132 Q18638520 Q19019137 Q27557300 Q19276619 Q19018238 Q18946386 Q19018237 Q19018981 Q19018627 Q19018626 Q19018624 Q18572487 Q19009168 Q19018629 Q19060836 Q19018628 Q19018820 Q3945716 Q19060540 Q19018630 Q19018631 Q19018632 Q19018633 Q19018635 Q19018198 Q19007950 Q19009712 Q19009866 Q14619170 Q19018241 Q19018240 Q19018243 Q19060821 Q19018245 Q19018244 Q19019098 Q18572799 Q19060650 Q19019154 Q19060654 Q18572793 Q18572792 Q18572794 Q18572797 Q18572796 Q18925297 Q19009840 Q18925303 Q19019168 Q19009544 Q27089222 Q19019164 Q18572789 Q19009621 Q19009782 Q19018805 Q19018804 Q18572786 Q19018802 Q19018801 Q19018800 Q18925300 Q19014983 Q17373679 Q19009737 Q19018714 Q19018713 Q19015015 Q19060646 Q19008489 Q19015157 Q19018817 Q19018818 Q19018819 Q19009153 Q19060648
(c(Q1299240),P466,Q3044768)
action filter_type
action find_reverse
entity Q3044768
relation P466
type Q1299240
[ANSWERS]
[{'concept': 'Q1299240'}, 'P466', 'Q3044768']
SELECT DISTINCT ?a WHERE { ?a property:P466 resource:Q3044768 . ?a rdf:type ontology:Q1299240 }
French paintings, room 18 French paintings, room 25 French paintings, room 17 Northern Schools paintings, room 33 French paintings, room 38 French paintings, room 77 French paintings, room 16 Northern Schools paintings, room 15 French paintings, room 66 Italian paintings, room 17 French paintings, room 3 French paintings, room 35 French paintings, room 59 French paintings, room 43 French paintings, room 50 French paintings, room 37 French paintings, room 41 French paintings, room 52 Northern Schools paintings, room 6 French paintings, room 68 Italian paintings, room 24 Italian paintings, room 25 French paintings, room 73 French paintings, room 42 Northern Schools paintings, room 4 Northern Schools paintings, room 3 Northern Schools paintings, room 7 Spanish paintings, room 30 Spanish paintings, room 29 French paintings, room 69 Italian paintings, room 1 French paintings, room 70 French paintings, room 53 French paintings, room 49 French paintings, room 64 French paintings, room 11 French paintings, room 1 French paintings, room 67 French paintings, room 27 French paintings, room 13 French paintings, room 44 French paintings, room 32 Northern Schools paintings, room 14 French paintings, room 4 French paintings, room 63 French paintings, room 39 paintings, room C French paintings, room 10 French paintings, room 31 Italian paintings, room 10 Northern Schools paintings, room 11 English paintings, room 32 Northern Schools paintings, room 10 French paintings, room 60 Northern Schools paintings, room 22 Northern Schools paintings, room 21 Northern Schools paintings, room 20 Italian paintings, room 2 paintings, room B Northern Schools paintings, room 24 French paintings, room 45 Northern Schools paintings, room 23 Northern Schools paintings, room 39 Salon Carré French paintings, room 65 Northern Schools paintings, room 25 Northern Schools paintings, room 26 Northern Schools paintings, room 27 Northern Schools paintings, room 28 Northern Schools paintings, room 29 Northern Schools paintings, room 9 French paintings, room 40 Northern Schools paintings, room 8 French paintings, room 48 Italian paintings, room 14 Northern Schools paintings, room 13 Northern Schools paintings, room 12 Northern Schools paintings, room 17 French paintings, room 47 Northern Schools paintings, room 19 Northern Schools paintings, room 18 French paintings, room 14 Italian paintings, room 23 French paintings, room 58 French paintings, room 62 French paintings, room 55 Italian paintings, room 19 Italian paintings, room 18 Italian paintings, room 20 Italian paintings, room 22 Italian paintings, room 21 Spanish paintings, room 26 Northern Schools paintings, room 5 Spanish paintings, room 28 French paintings, room 61 French paintings, room 15 French paintings, room 33 French paintings, room 36 Italian paintings, room 9 French paintings, room 46 French paintings, room 19 Northern Schools paintings, room 35 Northern Schools paintings, room 34 Italian paintings, room 4 Northern Schools paintings, room 32 Northern Schools paintings, room 31 Northern Schools paintings, room 30 Spanish paintings, room 27 French paintings, room 72 French paintings, room 6 Northern Schools paintings, room 16 Northern Europe paintings, room B Northern Europe paintings, room A French paintings, room 9 French paintings, room 56 French paintings, room 54 French paintings, room 71 Northern Schools paintings, room 36 Northern Schools paintings, room 37 Northern Schools paintings, room 38 French paintings, room 24 French paintings, room 57
Salon Carré, Italian paintings, room 14 and Italian paintings, room 18 are occupied by that collection
Salon Carré Italian paintings, room 14 Italian paintings, room 18
action filter_type
action find_reverse
entity Department of Paintings of the Louvre
relation occupant
type interior space
[{'concept': 'interior space'}, 'occupant', 'Department of Paintings of the Louvre']
SELECT DISTINCT ?a WHERE { ?a property:occupant resource:Department_of_Paintings_of_the_Louvre . ?a rdf:type ontology:interior_space }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3945716
P47
Q464980
USER
Which exhibition shares border with Salon Carré ?
(c(Q464980),P47,Q3945716)
action filter_type
action find
entity Q3945716
relation P47
type Q464980
[{'concept': 'Q464980'}, 'P47', 'Q3945716']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q464980 . resource:Q3945716 property:P47 ?r }
Salon Carré
action filter_type
action find
entity Salon Carré
relation shares border with
type exhibition
[{'concept': 'exhibition'}, 'shares border with', 'Salon Carré']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:exhibition . resource:Salon_Carré property:shares_border_with ?r }
[]
exhibition
Q12269950
SYSTEM
Italian paintings, room 5
Q12269950
(c(Q464980),P47,Q3945716)
action filter_type
action find
entity Q3945716
relation P47
type Q464980
[ANSWER] shares border with Salon Carré
[{'concept': 'Q464980'}, 'P47', 'Q3945716']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q464980 . resource:Q3945716 property:P47 ?r }
Italian paintings, room 5
Italian paintings, room 5 shares border with Salon Carré
Italian paintings, room 5
action filter_type
action find
entity Salon Carré
relation shares border with
type exhibition
[{'concept': 'exhibition'}, 'shares border with', 'Salon Carré']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:exhibition . resource:Salon_Carré property:shares_border_with ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3945716
P366
Q1190554
USER
Which event represents the main use of that interior space ?
(Q12269950,P366,c(Q1190554))
action filter_type
action find
entity Q3945716
relation P366
type Q1190554
['Q12269950', 'P366', {'concept': 'Q1190554'}]
SELECT DISTINCT ?p WHERE { resource:Q3945716 property:P366 ?p . ?p rdf:type ontology:Q1190554 }
Salon Carré
action filter_type
action find
entity Salon Carré
relation use
type event
['Italian paintings, room 5', 'use', {'concept': 'event'}]
SELECT DISTINCT ?p WHERE { resource:Salon_Carré property:use ?p . ?p rdf:type ontology:event }
[]
event
Q464980
SYSTEM
exhibition
Q464980
(Q12269950,P366,c(Q1190554))
action filter_type
action find
entity Q3945716
relation P366
type Q1190554
[ANSWER] represents the main use of that interior space
['Q12269950', 'P366', {'concept': 'Q1190554'}]
SELECT DISTINCT ?p WHERE { resource:Q3945716 property:P366 ?p . ?p rdf:type ontology:Q1190554 }
exhibition
Exhibition represents the main use of that interior space
exhibition
action filter_type
action find
entity Salon Carré
relation use
type event
['Italian paintings, room 5', 'use', {'concept': 'event'}]
SELECT DISTINCT ?p WHERE { resource:Salon_Carré property:use ?p . ?p rdf:type ontology:event }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12659385 Q3945716
P17
Q15617994
USER
Which administrative territories are Salon Carré or Kalveliai present in ?
OR((Q3945716,P17,c(Q15617994)), (Q12659385,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3945716
relation P17
action find
entity Q12659385
relation P17
type Q15617994
{'OR': [['Q3945716', 'P17', {'concept': 'Q15617994'}], ['Q12659385', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q3945716 property:P17 ?h } UNION { resource:Q12659385 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Kalveliai Salon Carré
action filter_type
action union
action find
entity Salon Carré
relation country
action find
entity Kalveliai
relation country
type designation for an administrative territorial entity
{'OR': [['Salon Carré', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Kalveliai', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Salon_Carré property:country ?h } UNION { resource:Kalveliai property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q37
SYSTEM
France, Lithuania
Q142 Q37
OR((Q3945716,P17,c(Q15617994)), (Q12659385,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3945716
relation P17
action find
entity Q12659385
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q3945716', 'P17', {'concept': 'Q15617994'}], ['Q12659385', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q3945716 property:P17 ?h } UNION { resource:Q12659385 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
France Lithuania
Which administrative territories are Salon Carré or Kalveliai present in
France Lithuania
action filter_type
action union
action find
entity Salon Carré
relation country
action find
entity Kalveliai
relation country
type designation for an administrative territorial entity
{'OR': [['Salon Carré', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Kalveliai', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Salon_Carré property:country ?h } UNION { resource:Kalveliai property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q1048835 Q7275
USER
How many political territories or states share the border with that administrative territory ?
(Q142,P47,c(Q1048835)) (Q142,P47,c(Q7275)) (Q142,P47,c(Q1048835)) (Q142,P47,c(Q7275)) (Q37,P47,c(Q1048835)) (Q37,P47,c(Q7275))
['Q142', 'P47', {'concept': 'Q1048835'}] ['Q142', 'P47', {'concept': 'Q7275'}] ['Q142', 'P47', {'concept': 'Q1048835'}] ['Q142', 'P47', {'concept': 'Q7275'}] ['Q37', 'P47', {'concept': 'Q1048835'}] ['Q37', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q16275867 property:P47 ?z } UNION { resource:Q16275867 property:P47 ?y } UNION { resource:Q16275867 property:P47 ?z } UNION { resource:Q16275867 property:P47 ?y } UNION { resource:Q6648231 property:P47 ?z } UNION { resource:Q6648231 property:P47 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q7275 }
['France', 'shares border with', {'concept': 'political territorial entity'}] ['France', 'shares border with', {'concept': 'state'}] ['France', 'shares border with', {'concept': 'political territorial entity'}] ['France', 'shares border with', {'concept': 'state'}] ['Lithuania', 'shares border with', {'concept': 'political territorial entity'}] ['Lithuania', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:France property:shares_border_with ?z } UNION { resource:France property:shares_border_with ?y } UNION { resource:France property:shares_border_with ?z } UNION { resource:France property:shares_border_with ?y } UNION { resource:Lithuania property:shares_border_with ?z } UNION { resource:Lithuania property:shares_border_with ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:state }
[]
political territorial entity state
Quantitative|Count|Mult. entity type|Clarification
Q142
SYSTEM
Did you mean France ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q16275867 property:P47 ?z } UNION { resource:Q16275867 property:P47 ?y } UNION { resource:Q16275867 property:P47 ?z } UNION { resource:Q16275867 property:P47 ?y } UNION { resource:Q6648231 property:P47 ?z } UNION { resource:Q6648231 property:P47 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q7275 }
Did you mean France ?
France
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:France property:shares_border_with ?z } UNION { resource:France property:shares_border_with ?y } UNION { resource:France property:shares_border_with ?z } UNION { resource:France property:shares_border_with ?y } UNION { resource:Lithuania property:shares_border_with ?z } UNION { resource:Lithuania property:shares_border_with ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q142,P47,c(Q1048835)) (Q142,P47,c(Q7275)) (Q142,P47,c(Q1048835)) (Q142,P47,c(Q7275)) (Q37,P47,c(Q1048835)) (Q37,P47,c(Q7275))
['Q142', 'P47', {'concept': 'Q1048835'}] ['Q142', 'P47', {'concept': 'Q7275'}] ['Q142', 'P47', {'concept': 'Q1048835'}] ['Q142', 'P47', {'concept': 'Q7275'}] ['Q37', 'P47', {'concept': 'Q1048835'}] ['Q37', 'P47', {'concept': 'Q7275'}]
['France', 'shares border with', {'concept': 'political territorial entity'}] ['France', 'shares border with', {'concept': 'state'}] ['France', 'shares border with', {'concept': 'political territorial entity'}] ['France', 'shares border with', {'concept': 'state'}] ['Lithuania', 'shares border with', {'concept': 'political territorial entity'}] ['Lithuania', 'shares border with', {'concept': 'state'}]
[]
SYSTEM
6
Q13116 Q26273 Q3456417 Q25227 Q183 Q153943
(Q142,P47,c(Q1048835)) (Q142,P47,c(Q7275)) (Q142,P47,c(Q1048835)) (Q142,P47,c(Q7275)) (Q37,P47,c(Q1048835)) (Q37,P47,c(Q7275))
[ANSWER]
['Q142', 'P47', {'concept': 'Q1048835'}] ['Q142', 'P47', {'concept': 'Q7275'}] ['Q142', 'P47', {'concept': 'Q1048835'}] ['Q142', 'P47', {'concept': 'Q7275'}] ['Q37', 'P47', {'concept': 'Q1048835'}] ['Q37', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q16275867 property:P47 ?z } UNION { resource:Q16275867 property:P47 ?y } UNION { resource:Q16275867 property:P47 ?z } UNION { resource:Q16275867 property:P47 ?y } UNION { resource:Q6648231 property:P47 ?z } UNION { resource:Q6648231 property:P47 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q7275 }
Benelux Sint Maarten Republic of Saint-Malo Netherlands Antilles Germany Kingdom of Westphalia
6
['France', 'shares border with', {'concept': 'political territorial entity'}] ['France', 'shares border with', {'concept': 'state'}] ['France', 'shares border with', {'concept': 'political territorial entity'}] ['France', 'shares border with', {'concept': 'state'}] ['Lithuania', 'shares border with', {'concept': 'political territorial entity'}] ['Lithuania', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:France property:shares_border_with ?z } UNION { resource:France property:shares_border_with ?y } UNION { resource:France property:shares_border_with ?z } UNION { resource:France property:shares_border_with ?y } UNION { resource:Lithuania property:shares_border_with ?z } UNION { resource:Lithuania property:shares_border_with ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with around 116 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 116
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?z ) WHERE { ?p property:P530 ?j . ?p rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?z = 116 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 116
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?z ) WHERE { ?p property:diplomatic_relation ?j . ?p rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?z = 116 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 116
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?z ) WHERE { ?p property:P530 ?j . ?p rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?z = 116 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 116
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?z ) WHERE { ?p property:diplomatic_relation ?j . ?p rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?z = 116 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with atleast 7 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 7
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?j ) WHERE { ?z property:P530 ?e . ?z rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?j >= 7 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 7
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?j ) WHERE { ?z property:diplomatic_relation ?e . ?z rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?j >= 7 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 7
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?j ) WHERE { ?z property:P530 ?e . ?z rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?j >= 7 ) }
Germany Australia Canada
3
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 7
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?j ) WHERE { ?z property:diplomatic_relation ?e . ?z rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?j >= 7 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P186
Q8063 Q5447188 Q12280
USER
Which bridges are built using atleast 1 rocks and solutions ?
(c(Q12280),P186,c(Q8063)|c(Q5447188))
action atleast
action union
action find_tuple_counts
relation P186
type Q12280
type Q8063
action find_tuple_counts
relation P186
type Q12280
type Q5447188
value 1
[{'concept': 'Q12280'}, 'P186', [{'concept': 'Q8063'}, {'concept': 'Q5447188'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?d WHERE { ?r rdf:type ?h . VALUES ( ?h ) { ( ontology:Q8063 ) ( ontology:Q5447188 ) } } GROUP BY ?d } . FILTER ( ?w >= 1 ) }
action atleast
action union
action find_tuple_counts
relation material used
type bridge
type rock
action find_tuple_counts
relation material used
type bridge
type solution
value 1
[{'concept': 'bridge'}, 'material used', [{'concept': 'rock'}, {'concept': 'solution'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?d WHERE { ?r rdf:type ?h . VALUES ( ?h ) { ( ontology:rock ) ( ontology:solution ) } } GROUP BY ?d } . FILTER ( ?w >= 1 ) }
[]
rock solution bridge
Q22913591 Q22833405 Q158822
SYSTEM
Friargate Bridge, Nene Viaduct, Pontcysyllte Aqueduct
Q10699801 Q22833405 Q7507627 Q16900373 Q4966420 Q371906 Q10570722 Q158822 Q83125 Q113645 Q456960 Q6744389 Q7916304 Q4966445 Q1261411 Q19874283 Q99200 Q18048386 Q1568911 Q22913591 Q6030013 Q2002163 Q1232277
(c(Q12280),P186,c(Q8063)|c(Q5447188))
action atleast
action union
action find_tuple_counts
relation P186
type Q12280
type Q8063
action find_tuple_counts
relation P186
type Q12280
type Q5447188
value 1
Bridge [ANSWERS] are built using atleast 1 rocks and solutions
[{'concept': 'Q12280'}, 'P186', [{'concept': 'Q8063'}, {'concept': 'Q5447188'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?d WHERE { ?r rdf:type ?h . VALUES ( ?h ) { ( ontology:Q8063 ) ( ontology:Q5447188 ) } } GROUP BY ?d } . FILTER ( ?w >= 1 ) }
Tomtebodabron Nene Viaduct Sicklauddsbron Capon Lake Whipple Truss Bridge Bridge of Don Kew Bridge Lundabron Pontcysyllte Aqueduct Tower Bridge Landwasser Viaduct Westminster Bridge Malmskillnadsbron Vasabron Bridge of Regeringsgatan Ravenna Bridge Holliday Street Aqueduct The Iron Bridge pont des Arts Norrbro Friargate Bridge Infinity Bridge BP Pedestrian Bridge Djurgårdsbron
Bridge Friargate Bridge, Nene Viaduct and Pontcysyllte Aqueduct are built using atleast 1 rocks and solutions
Friargate Bridge Nene Viaduct Pontcysyllte Aqueduct
action atleast
action union
action find_tuple_counts
relation material used
type bridge
type rock
action find_tuple_counts
relation material used
type bridge
type solution
value 1
[{'concept': 'bridge'}, 'material used', [{'concept': 'rock'}, {'concept': 'solution'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?d WHERE { ?r rdf:type ?h . VALUES ( ?h ) { ( ontology:rock ) ( ontology:solution ) } } GROUP BY ?d } . FILTER ( ?w >= 1 ) }
[]