Simple Question (Direct)
Simple Question
Q380842
P1411
Q618779
USER
Which award does Joseph Bédier have ?
(Q380842,P1411,c(Q618779))
action filter_type
action find
entity Q380842
relation P1411
type Q618779
['Q380842', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q380842 property:P1411 ?f . ?f rdf:type ontology:Q618779 }
Joseph Bédier
action filter_type
action find
entity Joseph Bédier
relation nominated for
type award
['Joseph Bédier', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Joseph_Bédier property:nominated_for ?f . ?f rdf:type ontology:award }
[]
award
Q37922
SYSTEM
Nobel Prize in Literature
Q37922
(Q380842,P1411,c(Q618779))
action filter_type
action find
entity Q380842
relation P1411
type Q618779
Joseph Bédier has the [ANSWER]
['Q380842', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q380842 property:P1411 ?f . ?f rdf:type ontology:Q618779 }
Nobel Prize in Literature
Joseph Bédier has the Nobel Prize in Literature
Nobel Prize in Literature
action filter_type
action find
entity Joseph Bédier
relation nominated for
type award
['Joseph Bédier', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Joseph_Bédier property:nominated_for ?f . ?f rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q380842
P108
Q41176
USER
Who is the employer of that person ?
(Q37922,P108,c(Q41176))
action filter_type
action find
entity Q380842
relation P108
type Q41176
['Q37922', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?q WHERE { resource:Q380842 property:P108 ?q . ?q rdf:type ontology:Q41176 }
Joseph Bédier
action filter_type
action find
entity Joseph Bédier
relation employer
type building
['Nobel Prize in Literature', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?q WHERE { resource:Joseph_Bédier property:employer ?q . ?q rdf:type ontology:building }
[]
building
Q202660
SYSTEM
Collège de France
Q202660
(Q37922,P108,c(Q41176))
action filter_type
action find
entity Q380842
relation P108
type Q41176
The employer of that person is a [ANSWER]
['Q37922', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?q WHERE { resource:Q380842 property:P108 ?q . ?q rdf:type ontology:Q41176 }
Collège de France
The employer of that person is a Collège de France
Collège de France
action filter_type
action find
entity Joseph Bédier
relation employer
type building
['Nobel Prize in Literature', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?q WHERE { resource:Joseph_Bédier property:employer ?q . ?q rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q202660
P669
Q811979
USER
What is the location of that building ?
(Q202660,P669,c(Q811979))
action filter_type
action find
entity Q202660
relation P669
type Q811979
['Q202660', 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?x WHERE { resource:Q202660 property:P669 ?x . ?x rdf:type ontology:Q811979 }
Collège de France
action filter_type
action find
entity Collège de France
relation located on street
type architectural structure
['Collège de France', 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?x WHERE { resource:Collège_de_France property:located_on_street ?x . ?x rdf:type ontology:architectural_structure }
[]
architectural structure
Q3389966
SYSTEM
place Marcelin-Berthelot
Q3389966
(Q202660,P669,c(Q811979))
action filter_type
action find
entity Q202660
relation P669
type Q811979
The location of that building is the [ANSWER]
['Q202660', 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?x WHERE { resource:Q202660 property:P669 ?x . ?x rdf:type ontology:Q811979 }
place Marcelin-Berthelot
The location of that building is the place Marcelin-Berthelot
place Marcelin-Berthelot
action filter_type
action find
entity Collège de France
relation located on street
type architectural structure
['Collège de France', 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?x WHERE { resource:Collège_de_France property:located_on_street ?x . ?x rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q34442
USER
How many roads are next to the border of that architectural structure ?
(c(Q34442),P47,Q3389966)
action count
action filter_type
action find_reverse
entity Q3389966
relation P47
type Q34442
[{'concept': 'Q34442'}, 'P47', 'Q3389966']
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m rdf:type ontology:Q34442 . ?m property:P47 resource:Q3389966 }
action count
action filter_type
action find_reverse
entity place Marcelin-Berthelot
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'place Marcelin-Berthelot']
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m rdf:type ontology:road . ?m property:shares_border_with resource:place_Marcelin-Berthelot }
[]
road
SYSTEM
2
Q3448527 Q1356926
(c(Q34442),P47,Q3389966)
action count
action filter_type
action find_reverse
entity Q3389966
relation P47
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P47', 'Q3389966']
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m rdf:type ontology:Q34442 . ?m property:P47 resource:Q3389966 }
rue Jean-de-Beauvais Rue Saint-Jacques, Paris
2
action count
action filter_type
action find_reverse
entity place Marcelin-Berthelot
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'place Marcelin-Berthelot']
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m rdf:type ontology:road . ?m property:shares_border_with resource:place_Marcelin-Berthelot }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q380842
P69
Q41176
USER
What is the building where Joseph Bédier was educated ?
(Q380842,P69,c(Q41176))
action filter_type
action find
entity Q380842
relation P69
type Q41176
['Q380842', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?s WHERE { resource:Q380842 property:P69 ?s . ?s rdf:type ontology:Q41176 }
Joseph Bédier
action filter_type
action find
entity Joseph Bédier
relation educated at
type building
['Joseph Bédier', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?s WHERE { resource:Joseph_Bédier property:educated_at ?s . ?s rdf:type ontology:building }
[]
building
Q1059546
SYSTEM
Lycée Louis-le-Grand
Q1059546
(Q380842,P69,c(Q41176))
action filter_type
action find
entity Q380842
relation P69
type Q41176
The building Joseph Bédier was educated is the [ANSWER]
['Q380842', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?s WHERE { resource:Q380842 property:P69 ?s . ?s rdf:type ontology:Q41176 }
Lycée Louis-le-Grand
The building Joseph Bédier was educated is the Lycée Louis-le-Grand
Lycée Louis-le-Grand
action filter_type
action find
entity Joseph Bédier
relation educated at
type building
['Joseph Bédier', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?s WHERE { resource:Joseph_Bédier property:educated_at ?s . ?s rdf:type ontology:building }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17486051
Q41176
USER
And what about Georges Lasserre?
(Q17486051,P69,c(Q41176))
action filter_type
action find
entity Q17486051
relation P69
type Q41176
['Q17486051', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?d WHERE { resource:Q17486051 property:P69 ?d . ?d rdf:type ontology:Q41176 }
Georges Lasserre
action filter_type
action find
entity Georges Lasserre
relation educated at
type building
['Georges Lasserre', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?d WHERE { resource:Georges_Lasserre property:educated_at ?d . ?d rdf:type ontology:building }
[]
building
Q8625
SYSTEM
Collège-lycée Ampère
Q8625
(Q17486051,P69,c(Q41176))
action filter_type
action find
entity Q17486051
relation P69
type Q41176
[ANSWER]
['Q17486051', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?d WHERE { resource:Q17486051 property:P69 ?d . ?d rdf:type ontology:Q41176 }
Collège-lycée Ampère
Collège-lycée Ampère
action filter_type
action find
entity Georges Lasserre
relation educated at
type building
['Georges Lasserre', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?d WHERE { resource:Georges_Lasserre property:educated_at ?d . ?d rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17486051
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q8625,P19,c(Q56061))
action filter_type
action find
entity Q17486051
relation P19
type Q56061
['Q8625', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q17486051 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Georges Lasserre
action filter_type
action find
entity Georges Lasserre
relation place of birth
type administrative territorial entity
['Collège-lycée Ampère', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Georges_Lasserre property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q71
SYSTEM
Geneva
Q71
(Q8625,P19,c(Q56061))
action filter_type
action find
entity Q17486051
relation P19
type Q56061
That person was born in [ANSWER]
['Q8625', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q17486051 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Geneva
That person was born in Geneva
Geneva
action filter_type
action find
entity Georges Lasserre
relation place of birth
type administrative territorial entity
['Collège-lycée Ampère', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Georges_Lasserre property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17486051
P20
Q20667921
USER
Where did the expiration of that person occur ?
(Q71,P20,c(Q20667921))
action filter_type
action find
entity Q17486051
relation P20
type Q20667921
['Q71', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q17486051 property:P20 ?l . ?l rdf:type ontology:Q20667921 }
Georges Lasserre
action filter_type
action find
entity Georges Lasserre
relation place of death
type type of french administrative division
['Geneva', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Georges_Lasserre property:place_of_death ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q48958
SYSTEM
Neuilly-sur-Seine
Q48958
(Q71,P20,c(Q20667921))
action filter_type
action find
entity Q17486051
relation P20
type Q20667921
The expiration of that person occurred in [ANSWER]
['Q71', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q17486051 property:P20 ?l . ?l rdf:type ontology:Q20667921 }
Neuilly-sur-Seine
The expiration of that person occurred in Neuilly-sur-Seine
Neuilly-sur-Seine
action filter_type
action find
entity Georges Lasserre
relation place of death
type type of french administrative division
['Geneva', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Georges_Lasserre property:place_of_death ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q20667921 Q56061
USER
How many french administrative divisions and administrative territories are next to the border of that french administrative division ?
(c(Q20667921),P47,Q48958) (c(Q56061),P47,Q48958) (c(Q20667921),P47,Q48958) (c(Q56061),P47,Q48958)
action count
action union
action filter_type
action find_reverse
entity Q48958
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q48958
relation P47
type Q56061
[{'concept': 'Q20667921'}, 'P47', 'Q48958'] [{'concept': 'Q56061'}, 'P47', 'Q48958'] [{'concept': 'Q20667921'}, 'P47', 'Q48958'] [{'concept': 'Q56061'}, 'P47', 'Q48958']
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:P47 resource:Q48958 . ?c rdf:type ontology:Q20667921 } UNION { ?c property:P47 resource:Q48958 . ?c rdf:type ontology:Q56061 } }
action count
action union
action filter_type
action find_reverse
entity Neuilly-sur-Seine
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Neuilly-sur-Seine
relation shares border with
type administrative territorial entity
[{'concept': 'type of french administrative division'}, 'shares border with', 'Neuilly-sur-Seine'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Neuilly-sur-Seine'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Neuilly-sur-Seine'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Neuilly-sur-Seine']
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:shares_border_with resource:Neuilly-sur-Seine . ?c rdf:type ontology:type_of_french_administrative_division } UNION { ?c property:shares_border_with resource:Neuilly-sur-Seine . ?c rdf:type ontology:administrative_territorial_entity } }
[]
type of french administrative division administrative territorial entity
SYSTEM
3 french administrative divisions and 1 administrative territories
Q234743 Q189715 Q90 Q166640
(c(Q20667921),P47,Q48958) (c(Q56061),P47,Q48958) (c(Q20667921),P47,Q48958) (c(Q56061),P47,Q48958)
action count
action union
action filter_type
action find_reverse
entity Q48958
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q48958
relation P47
type Q56061
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q48958'] [{'concept': 'Q56061'}, 'P47', 'Q48958'] [{'concept': 'Q20667921'}, 'P47', 'Q48958'] [{'concept': 'Q56061'}, 'P47', 'Q48958']
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:P47 resource:Q48958 . ?c rdf:type ontology:Q20667921 } UNION { ?c property:P47 resource:Q48958 . ?c rdf:type ontology:Q56061 } }
Puteaux Courbevoie Paris Levallois-Perret
3 french administrative divisions and 1 administrative territories
action count
action union
action filter_type
action find_reverse
entity Neuilly-sur-Seine
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Neuilly-sur-Seine
relation shares border with
type administrative territorial entity
[{'concept': 'type of french administrative division'}, 'shares border with', 'Neuilly-sur-Seine'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Neuilly-sur-Seine'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Neuilly-sur-Seine'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Neuilly-sur-Seine']
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:shares_border_with resource:Neuilly-sur-Seine . ?c rdf:type ontology:type_of_french_administrative_division } UNION { ?c property:shares_border_with resource:Neuilly-sur-Seine . ?c rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q48958
P190
Q15617994
USER
Which administrative territories are sister towns of Neuilly-sur-Seine ?
(Q48958,P190,c(Q15617994))
action filter_type
action find
entity Q48958
relation P190
type Q15617994
['Q48958', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q48958 property:P190 ?o . ?o rdf:type ontology:Q15617994 }
Neuilly-sur-Seine
action filter_type
action find
entity Neuilly-sur-Seine
relation sister city
type designation for an administrative territorial entity
['Neuilly-sur-Seine', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Neuilly-sur-Seine property:sister_city ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1368496 Q3802
SYSTEM
Windsor and Maidenhead, Hanau
Q1368496 Q3802
(Q48958,P190,c(Q15617994))
action filter_type
action find
entity Q48958
relation P190
type Q15617994
[ANSWERS] are sister towns of Neuilly-sur-Seine
['Q48958', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q48958 property:P190 ?o . ?o rdf:type ontology:Q15617994 }
Windsor and Maidenhead Hanau
Windsor and Maidenhead and Hanau are sister towns of Neuilly-sur-Seine
Windsor and Maidenhead Hanau
action filter_type
action find
entity Neuilly-sur-Seine
relation sister city
type designation for an administrative territorial entity
['Neuilly-sur-Seine', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Neuilly-sur-Seine property:sister_city ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q14524493 Q1048835 Q811979
USER
Which architectural structures are located in max number of terrains or political territories ?
(c(Q811979),P706,c(Q14524493)|c(Q1048835))
action argmax
action union
action find_tuple_counts
relation P706
type Q811979
type Q14524493
action find_tuple_counts
relation P706
type Q811979
type Q1048835
[{'concept': 'Q811979'}, 'P706', [{'concept': 'Q14524493'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?x WHERE { { ?x property:P706 ?a . ?x rdf:type ontology:Q811979 . ?a rdf:type ontology:Q14524493 } UNION { ?x property:P706 ?a . ?a rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q811979 } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?v WHERE { { ?v property:P706 ?n . ?n rdf:type ontology:Q14524493 . ?v rdf:type ontology:Q811979 } UNION { ?v property:P706 ?n . ?v rdf:type ontology:Q811979 . ?n rdf:type ontology:Q1048835 } } GROUP BY ?v } . FILTER ( ?c = ?d ) }
action argmax
action union
action find_tuple_counts
relation located on terrain feature
type architectural structure
type terrain
action find_tuple_counts
relation located on terrain feature
type architectural structure
type political territorial entity
[{'concept': 'architectural structure'}, 'located on terrain feature', [{'concept': 'terrain'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?x WHERE { { ?x property:located_on_terrain_feature ?a . ?x rdf:type ontology:architectural_structure . ?a rdf:type ontology:terrain } UNION { ?x property:located_on_terrain_feature ?a . ?a rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:architectural_structure } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?v WHERE { { ?v property:located_on_terrain_feature ?n . ?n rdf:type ontology:terrain . ?v rdf:type ontology:architectural_structure } UNION { ?v property:located_on_terrain_feature ?n . ?v rdf:type ontology:architectural_structure . ?n rdf:type ontology:political_territorial_entity } } GROUP BY ?v } . FILTER ( ?c = ?d ) }
[]
terrain political territorial entity architectural structure
Q20829844 Q23930039 Q26885373
SYSTEM
Mount Theodore Roosevelt Monument, Gun claim, Erzwies area
Q27510809 Q14935869 Q23848306 Q26270537 Q17562765 Q23930039 Q23893344 Q26885373 Q24449579 Q1134683 Q24067117 Q1621883 Q26883275 Q117767 Q23848218 Q26883247 Q20829844 Q23835375
(c(Q811979),P706,c(Q14524493)|c(Q1048835))
action argmax
action union
action find_tuple_counts
relation P706
type Q811979
type Q14524493
action find_tuple_counts
relation P706
type Q811979
type Q1048835
[ANSWERS] are located in max number of terrains or political territories
[{'concept': 'Q811979'}, 'P706', [{'concept': 'Q14524493'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?x WHERE { { ?x property:P706 ?a . ?x rdf:type ontology:Q811979 . ?a rdf:type ontology:Q14524493 } UNION { ?x property:P706 ?a . ?a rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q811979 } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?v WHERE { { ?v property:P706 ?n . ?n rdf:type ontology:Q14524493 . ?v rdf:type ontology:Q811979 } UNION { ?v property:P706 ?n . ?v rdf:type ontology:Q811979 . ?n rdf:type ontology:Q1048835 } } GROUP BY ?v } . FILTER ( ?c = ?d ) }
North Mesa mine group Mount Keith mine Apatitovyi tsirk California State gem mine Valli-Tarama Gun claim Umbozero mine Erzwies area Gonzen iron mine Sugarloaf Cable Car Clear Creek claim Hochheideturm Bird Nest drift Fløibanen Tsentral'nyi mine Aga mine Mount Theodore Roosevelt Monument Kirovskii apatite mine
Mount Theodore Roosevelt Monument, Gun claim and Erzwies area are located in max number of terrains or political territories
Mount Theodore Roosevelt Monument Gun claim Erzwies area
action argmax
action union
action find_tuple_counts
relation located on terrain feature
type architectural structure
type terrain
action find_tuple_counts
relation located on terrain feature
type architectural structure
type political territorial entity
[{'concept': 'architectural structure'}, 'located on terrain feature', [{'concept': 'terrain'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?x WHERE { { ?x property:located_on_terrain_feature ?a . ?x rdf:type ontology:architectural_structure . ?a rdf:type ontology:terrain } UNION { ?x property:located_on_terrain_feature ?a . ?a rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:architectural_structure } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) ?v WHERE { { ?v property:located_on_terrain_feature ?n . ?n rdf:type ontology:terrain . ?v rdf:type ontology:architectural_structure } UNION { ?v property:located_on_terrain_feature ?n . ?v rdf:type ontology:architectural_structure . ?n rdf:type ontology:political_territorial_entity } } GROUP BY ?v } . FILTER ( ?c = ?d ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24052640 Q23930039
P2695
Q7946
USER
Which minerals can be obtained naturally in Gun claim or Jakobsberg mine ?
OR((c(Q7946),P2695,Q23930039), (c(Q7946),P2695,Q24052640))
action filter_type
action union
action find_reverse
entity Q23930039
relation P2695
action find_reverse
entity Q24052640
relation P2695
type Q7946
{'OR': [[{'concept': 'Q7946'}, 'P2695', 'Q23930039'], [{'concept': 'Q7946'}, 'P2695', 'Q24052640']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q7946 . { { ?t property:P2695 resource:Q23930039 } UNION { ?t property:P2695 resource:Q24052640 } } }
Jakobsberg mine Gun claim
action filter_type
action union
action find_reverse
entity Gun claim
relation type locality
action find_reverse
entity Jakobsberg mine
relation type locality
type mineral
{'OR': [[{'concept': 'mineral'}, 'type locality', 'Gun claim'], [{'concept': 'mineral'}, 'type locality', 'Jakobsberg mine']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:mineral . { { ?t property:type_locality resource:Gun_claim } UNION { ?t property:type_locality resource:Jakobsberg_mine } } }
[]
mineral
Q3784760 Q19862354 Q3982575
SYSTEM
hematophanite, meierite, tegengrenite
Q3784760 Q19862354 Q3982575
OR((c(Q7946),P2695,Q23930039), (c(Q7946),P2695,Q24052640))
action filter_type
action union
action find_reverse
entity Q23930039
relation P2695
action find_reverse
entity Q24052640
relation P2695
type Q7946
[ANSWERS] can be obtained naturally in Gun claim or Jakobsberg mine
{'OR': [[{'concept': 'Q7946'}, 'P2695', 'Q23930039'], [{'concept': 'Q7946'}, 'P2695', 'Q24052640']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q7946 . { { ?t property:P2695 resource:Q23930039 } UNION { ?t property:P2695 resource:Q24052640 } } }
hematophanite meierite tegengrenite
Hematophanite, meierite and tegengrenite can be obtained naturally in Gun claim or Jakobsberg mine
hematophanite meierite tegengrenite
action filter_type
action union
action find_reverse
entity Gun claim
relation type locality
action find_reverse
entity Jakobsberg mine
relation type locality
type mineral
{'OR': [[{'concept': 'mineral'}, 'type locality', 'Gun claim'], [{'concept': 'mineral'}, 'type locality', 'Jakobsberg mine']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:mineral . { { ?t property:type_locality resource:Gun_claim } UNION { ?t property:type_locality resource:Jakobsberg_mine } } }
[]