Simple Question (Direct)
Simple Question
Q367478
P21
Q290
USER
Which sex does Hiland Hall belong to ?
(Q367478,P21,c(Q290))
action filter_type
action find
entity Q367478
relation P21
type Q290
['Q367478', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q367478 property:P21 ?c . ?c rdf:type ontology:Q290 }
Hiland Hall
action filter_type
action find
entity Hiland Hall
relation gender
type sex
['Hiland Hall', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Hiland_Hall property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q367478,P21,c(Q290))
action filter_type
action find
entity Q367478
relation P21
type Q290
N [ANSWER] does Hiland Hall belong to
['Q367478', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q367478 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
N male does Hiland Hall belong to
male
action filter_type
action find
entity Hiland Hall
relation gender
type sex
['Hiland Hall', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Hiland_Hall property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q367478
P937
Q852446
USER
Which is the work location of that person ?
(Q6581097,P937,c(Q852446))
action filter_type
action find
entity Q367478
relation P937
type Q852446
['Q6581097', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?n WHERE { resource:Q367478 property:P937 ?n . ?n rdf:type ontology:Q852446 }
Hiland Hall
action filter_type
action find
entity Hiland Hall
relation work location
type administrative territorial entity of the United States
['male', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?n WHERE { resource:Hiland_Hall property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q26426
SYSTEM
Montpelier
Q26426
(Q6581097,P937,c(Q852446))
action filter_type
action find
entity Q367478
relation P937
type Q852446
The work location of that person is in [ANSWER]
['Q6581097', 'P937', {'concept': 'Q852446'}]
SELECT DISTINCT ?n WHERE { resource:Q367478 property:P937 ?n . ?n rdf:type ontology:Q852446 }
Montpelier
The work location of that person is in Montpelier
Montpelier
action filter_type
action find
entity Hiland Hall
relation work location
type administrative territorial entity of the United States
['male', 'work location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?n WHERE { resource:Hiland_Hall property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P35
Q502895 Q15617994 Q1048835
USER
How many people have the highest formal authority in exactly 2 administrative territories and political territories ?
(c(Q15617994)|c(Q1048835),P35,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
value 2
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { FILTER ( ?h = 2 ) . { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?t } }
action count
action equal
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
value 2
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { FILTER ( ?h = 2 ) . { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?t } }
[]
common name designation for an administrative territorial entity political territorial entity
SYSTEM
15
Q154952 Q157 Q7747 Q147989 Q280856 Q43330 Q12950 Q324108 Q590227 Q156806 Q189575 Q269412 Q151944 Q559756 Q229493
(c(Q15617994)|c(Q1048835),P35,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
value 2
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { FILTER ( ?h = 2 ) . { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?t } }
Willem-Alexander of the Netherlands François Hollande Vladimir Putin Joaquín Balaguer George VI Mikhail Saakashvili Alain Poher Ibrahim Boubacar Keïta Edward VIII Konstantinos Karamanlis Ion Iliescu George V Leonel Fernández el ladron Dragan Čović Nino Burjanadze
15
action count
action equal
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
value 2
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { FILTER ( ?h = 2 ) . { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?t } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26426
P291
Q2342494
USER
Which collectable has Montpelier as its publication place ?
(c(Q2342494),P291,Q26426)
action filter_type
action find_reverse
entity Q26426
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q26426']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q2342494 . ?w property:P291 resource:Q26426 }
Montpelier
action filter_type
action find_reverse
entity Montpelier
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Montpelier']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:collectable . ?w property:place_of_publication resource:Montpelier }
[]
collectable
Q19904509
SYSTEM
First Medical College in Vermont: Castleton 1818–1862
Q19904509
(c(Q2342494),P291,Q26426)
action filter_type
action find_reverse
entity Q26426
relation P291
type Q2342494
[ANSWER] has Montpelier as its publication place
[{'concept': 'Q2342494'}, 'P291', 'Q26426']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q2342494 . ?w property:P291 resource:Q26426 }
First Medical College in Vermont: Castleton 1818–1862
First Medical College in Vermont: Castleton 1818–1862 has Montpelier as its publication place
First Medical College in Vermont: Castleton 1818–1862
action filter_type
action find_reverse
entity Montpelier
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Montpelier']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:collectable . ?w property:place_of_publication resource:Montpelier }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19904509
P275
Q93288
USER
Which contract is used to protect that collectable against piracy ?
(Q19904509,P275,c(Q93288))
action filter_type
action find
entity Q19904509
relation P275
type Q93288
['Q19904509', 'P275', {'concept': 'Q93288'}]
SELECT DISTINCT ?e WHERE { resource:Q19904509 property:P275 ?e . ?e rdf:type ontology:Q93288 }
First Medical College in Vermont: Castleton 1818–1862
action filter_type
action find
entity First Medical College in Vermont: Castleton 1818–1862
relation license
type contract
['First Medical College in Vermont: Castleton 1818–1862', 'license', {'concept': 'contract'}]
SELECT DISTINCT ?e WHERE { resource:First_Medical_College_in_Vermont:_Castleton_1818–1862 property:license ?e . ?e rdf:type ontology:contract }
[]
contract
Q19652
SYSTEM
public domain
Q19652
(Q19904509,P275,c(Q93288))
action filter_type
action find
entity Q19904509
relation P275
type Q93288
[ANSWER] is used to protect that collectable against piracy
['Q19904509', 'P275', {'concept': 'Q93288'}]
SELECT DISTINCT ?e WHERE { resource:Q19904509 property:P275 ?e . ?e rdf:type ontology:Q93288 }
public domain
Public domain is used to protect that collectable against piracy
public domain
action filter_type
action find
entity First Medical College in Vermont: Castleton 1818–1862
relation license
type contract
['First Medical College in Vermont: Castleton 1818–1862', 'license', {'concept': 'contract'}]
SELECT DISTINCT ?e WHERE { resource:First_Medical_College_in_Vermont:_Castleton_1818–1862 property:license ?e . ?e rdf:type ontology:contract }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19904509
P50
Q502895
USER
Who authored First Medical College in Vermont: Castleton 1818–1862 ?
(Q19904509,P50,c(Q502895))
action filter_type
action find
entity Q19904509
relation P50
type Q502895
['Q19904509', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q19904509 property:P50 ?y . ?y rdf:type ontology:Q502895 }
First Medical College in Vermont: Castleton 1818–1862
action filter_type
action find
entity First Medical College in Vermont: Castleton 1818–1862
relation author
type common name
['First Medical College in Vermont: Castleton 1818–1862', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:First_Medical_College_in_Vermont:_Castleton_1818–1862 property:author ?y . ?y rdf:type ontology:common_name }
[]
common name
Q19904513
SYSTEM
Frederick Clayton Waite
Q19904513
(Q19904509,P50,c(Q502895))
action filter_type
action find
entity Q19904509
relation P50
type Q502895
[ANSWER] authored First Medical College in Vermont: Castleton 1818–1862
['Q19904509', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q19904509 property:P50 ?y . ?y rdf:type ontology:Q502895 }
Frederick Clayton Waite
Frederick Clayton Waite authored First Medical College in Vermont: Castleton 1818–1862
Frederick Clayton Waite
action filter_type
action find
entity First Medical College in Vermont: Castleton 1818–1862
relation author
type common name
['First Medical College in Vermont: Castleton 1818–1862', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:First_Medical_College_in_Vermont:_Castleton_1818–1862 property:author ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19904509
P123
Q874405
USER
Who published that collectable ?
(Q19904513,P123,c(Q874405))
action filter_type
action find
entity Q19904509
relation P123
type Q874405
['Q19904513', 'P123', {'concept': 'Q874405'}]
SELECT DISTINCT ?p WHERE { resource:Q19904509 property:P123 ?p . ?p rdf:type ontology:Q874405 }
First Medical College in Vermont: Castleton 1818–1862
action filter_type
action find
entity First Medical College in Vermont: Castleton 1818–1862
relation publisher
type social group
['Frederick Clayton Waite', 'publisher', {'concept': 'social group'}]
SELECT DISTINCT ?p WHERE { resource:First_Medical_College_in_Vermont:_Castleton_1818–1862 property:publisher ?p . ?p rdf:type ontology:social_group }
[]
social group
Q7921723
SYSTEM
Vermont Historical Society
Q7921723
(Q19904513,P123,c(Q874405))
action filter_type
action find
entity Q19904509
relation P123
type Q874405
The [ANSWER] published that collectable
['Q19904513', 'P123', {'concept': 'Q874405'}]
SELECT DISTINCT ?p WHERE { resource:Q19904509 property:P123 ?p . ?p rdf:type ontology:Q874405 }
Vermont Historical Society
The Vermont Historical Society published that collectable
Vermont Historical Society
action filter_type
action find
entity First Medical College in Vermont: Castleton 1818–1862
relation publisher
type social group
['Frederick Clayton Waite', 'publisher', {'concept': 'social group'}]
SELECT DISTINCT ?p WHERE { resource:First_Medical_College_in_Vermont:_Castleton_1818–1862 property:publisher ?p . ?p rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26426
P36
Q852446
USER
Which US administrative territory contains Montpelier as its capital ?
(c(Q852446),P36,Q26426)
action filter_type
action find_reverse
entity Q26426
relation P36
type Q852446
[{'concept': 'Q852446'}, 'P36', 'Q26426']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q852446 . ?g property:P36 resource:Q26426 }
Montpelier
action filter_type
action find_reverse
entity Montpelier
relation capital
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'capital', 'Montpelier']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?g property:capital resource:Montpelier }
[]
administrative territorial entity of the United States
Q16551
SYSTEM
Vermont
Q16551
(c(Q852446),P36,Q26426)
action filter_type
action find_reverse
entity Q26426
relation P36
type Q852446
The [ANSWER] contains Montpelier as its capital
[{'concept': 'Q852446'}, 'P36', 'Q26426']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q852446 . ?g property:P36 resource:Q26426 }
Vermont
The Vermont contains Montpelier as its capital
Vermont
action filter_type
action find_reverse
entity Montpelier
relation capital
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'capital', 'Montpelier']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?g property:capital resource:Montpelier }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16551
P1376
Q852446
USER
Which US administrative territory is the county seat of that one ?
(c(Q852446),P1376,Q16551)
action filter_type
action find_reverse
entity Q16551
relation P1376
type Q852446
[{'concept': 'Q852446'}, 'P1376', 'Q16551']
SELECT DISTINCT ?w WHERE { ?w property:P1376 resource:Q16551 . ?w rdf:type ontology:Q852446 }
Vermont
action filter_type
action find_reverse
entity Vermont
relation capital of
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'capital of', 'Vermont']
SELECT DISTINCT ?w WHERE { ?w property:capital_of resource:Vermont . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q26426
SYSTEM
Montpelier
Q26426
(c(Q852446),P1376,Q16551)
action filter_type
action find_reverse
entity Q16551
relation P1376
type Q852446
In [ANSWER] is the county seat of that one
[{'concept': 'Q852446'}, 'P1376', 'Q16551']
SELECT DISTINCT ?w WHERE { ?w property:P1376 resource:Q16551 . ?w rdf:type ontology:Q852446 }
Montpelier
In Montpelier is the county seat of that one
Montpelier
action filter_type
action find_reverse
entity Vermont
relation capital of
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'capital of', 'Vermont']
SELECT DISTINCT ?w WHERE { ?w property:capital_of resource:Vermont . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]