Simple Question (Direct)
Simple Question
Q3155147
P20
Q56061
USER
Where did Isaäc Lambertus Cremer van den Berch van Heemstede expire ?
(Q3155147,P20,c(Q56061))
action filter_type
action find
entity Q3155147
relation P20
type Q56061
['Q3155147', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q3155147 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Isaäc Lambertus Cremer van den Berch van Heemstede
action filter_type
action find
entity Isaäc Lambertus Cremer van den Berch van Heemstede
relation place of death
type administrative territorial entity
['Isaäc Lambertus Cremer van den Berch van Heemstede', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Isaäc_Lambertus_Cremer_van_den_Berch_van_Heemstede property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36600
SYSTEM
The Hague
Q36600
(Q3155147,P20,c(Q56061))
action filter_type
action find
entity Q3155147
relation P20
type Q56061
Isaäc Lambertus Cremer van den Berch Heemstede vanned to [ANSWER]
['Q3155147', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q3155147 property:P20 ?y . ?y rdf:type ontology:Q56061 }
The Hague
Isaäc Lambertus Cremer van den Berch Heemstede vanned to The Hague
The Hague
action filter_type
action find
entity Isaäc Lambertus Cremer van den Berch van Heemstede
relation place of death
type administrative territorial entity
['Isaäc Lambertus Cremer van den Berch van Heemstede', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Isaäc_Lambertus_Cremer_van_den_Berch_van_Heemstede property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3155147
P735
Q82799
USER
Which name is Isaäc Lambertus Cremer van den Berch van Heemstede known by ?
(Q3155147,P735,c(Q82799))
action filter_type
action find
entity Q3155147
relation P735
type Q82799
['Q3155147', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q3155147 property:P735 ?x . ?x rdf:type ontology:Q82799 }
Isaäc Lambertus Cremer van den Berch van Heemstede
action filter_type
action find
entity Isaäc Lambertus Cremer van den Berch van Heemstede
relation given name
type name
['Isaäc Lambertus Cremer van den Berch van Heemstede', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Isaäc_Lambertus_Cremer_van_den_Berch_van_Heemstede property:given_name ?x . ?x rdf:type ontology:name }
[]
name
Q19359053
SYSTEM
Isaäc
Q19359053
(Q3155147,P735,c(Q82799))
action filter_type
action find
entity Q3155147
relation P735
type Q82799
[ANSWER] Lambertus Cremer van den Berch van Heemstede is known as [ANSWER]
['Q3155147', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q3155147 property:P735 ?x . ?x rdf:type ontology:Q82799 }
Isaäc
Isaäc Lambertus Cremer van den Berch van Heemstede is known as Isaäc
Isaäc
action filter_type
action find
entity Isaäc Lambertus Cremer van den Berch van Heemstede
relation given name
type name
['Isaäc Lambertus Cremer van den Berch van Heemstede', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Isaäc_Lambertus_Cremer_van_den_Berch_van_Heemstede property:given_name ?x . ?x rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3155147
P22
Q502895
USER
Which person has that one as dad ?
(c(Q502895),P22,Q19359053)
action filter_type
action find_reverse
entity Q3155147
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q19359053']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q3155147 . ?o rdf:type ontology:Q502895 }
Isaäc Lambertus Cremer van den Berch van Heemstede
action filter_type
action find_reverse
entity Isaäc Lambertus Cremer van den Berch van Heemstede
relation father
type common name
[{'concept': 'common name'}, 'father', 'Isaäc']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Isaäc_Lambertus_Cremer_van_den_Berch_van_Heemstede . ?o rdf:type ontology:common_name }
[]
common name
Q2365948
SYSTEM
Isaäc Burchard Diederik van den Berch van Heemstede
Q2365948
(c(Q502895),P22,Q19359053)
action filter_type
action find_reverse
entity Q3155147
relation P22
type Q502895
[ANSWER] has that one as dad
[{'concept': 'Q502895'}, 'P22', 'Q19359053']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q3155147 . ?o rdf:type ontology:Q502895 }
Isaäc Burchard Diederik van den Berch van Heemstede
Isaäc Burchard Diederik van den Berch van Heemstede has that one as dad
Isaäc Burchard Diederik van den Berch van Heemstede
action filter_type
action find_reverse
entity Isaäc Lambertus Cremer van den Berch van Heemstede
relation father
type common name
[{'concept': 'common name'}, 'father', 'Isaäc']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Isaäc_Lambertus_Cremer_van_den_Berch_van_Heemstede . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2365948 Q3155147
P40
Q502895
USER
Does Isaäc Lambertus Cremer van den Berch van Heemstede have that one as a child ?
(Q3155147,P40,Q2365948)
action is_in
entity Q2365948
action find
entity Q3155147
relation P40
['Q3155147', 'P40', 'Q2365948']
ASK WHERE { resource:Q3155147 property:P40 resource:Q2365948 }
Isaäc Burchard Diederik van den Berch van Heemstede Isaäc Lambertus Cremer van den Berch van Heemstede
action is_in
entity Isaäc Burchard Diederik van den Berch van Heemstede
action find
entity Isaäc Lambertus Cremer van den Berch van Heemstede
relation child
['Isaäc Lambertus Cremer van den Berch van Heemstede', 'child', 'Isaäc Burchard Diederik van den Berch van Heemstede']
ASK WHERE { resource:Isaäc_Lambertus_Cremer_van_den_Berch_van_Heemstede property:child resource:Isaäc_Burchard_Diederik_van_den_Berch_van_Heemstede }
[]
common name
SYSTEM
YES
(Q3155147,P40,Q2365948)
action is_in
entity Q2365948
action find
entity Q3155147
relation P40
[ANSWER]
['Q3155147', 'P40', 'Q2365948']
ASK WHERE { resource:Q3155147 property:P40 resource:Q2365948 }
Yes
action is_in
entity Isaäc Burchard Diederik van den Berch van Heemstede
action find
entity Isaäc Lambertus Cremer van den Berch van Heemstede
relation child
['Isaäc Lambertus Cremer van den Berch van Heemstede', 'child', 'Isaäc Burchard Diederik van den Berch van Heemstede']
ASK WHERE { resource:Isaäc_Lambertus_Cremer_van_den_Berch_van_Heemstede property:child resource:Isaäc_Burchard_Diederik_van_den_Berch_van_Heemstede }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 1783 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1783
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P1303 ?r . ?e rdf:type ontology:Q502895 . ?r rdf:type ontology:Q34379 } GROUP BY ?r } . FILTER ( ?c = 1783 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1783
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:instrument ?r . ?e rdf:type ontology:common_name . ?r rdf:type ontology:musical_instrument } GROUP BY ?r } . FILTER ( ?c = 1783 ) }
[]
musical instrument common name
Q46185 Q80019 Q8338
SYSTEM
bass guitar, double bass, trumpet
Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1783
[ANSWERS] are played by around 1783 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P1303 ?r . ?e rdf:type ontology:Q502895 . ?r rdf:type ontology:Q34379 } GROUP BY ?r } . FILTER ( ?c = 1783 ) }
bass guitar double bass trumpet cello organ drum kit
Bass guitar, double bass and trumpet are played by around 1783 people
bass guitar double bass trumpet
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1783
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:instrument ?r . ?e rdf:type ontology:common_name . ?r rdf:type ontology:musical_instrument } GROUP BY ?r } . FILTER ( ?c = 1783 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36600
P17
Q15617994
USER
Which administrative territories are The Hague situated in ?
(Q36600,P17,c(Q15617994))
action filter_type
action find
entity Q36600
relation P17
type Q15617994
['Q36600', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q36600 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
The Hague
action filter_type
action find
entity The Hague
relation country
type designation for an administrative territorial entity
['The Hague', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:The_Hague property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q153136 Q55
SYSTEM
Habsburg Empire, Netherlands
Q153136 Q55
(Q36600,P17,c(Q15617994))
action filter_type
action find
entity Q36600
relation P17
type Q15617994
The Hague are situated in [ANSWERS]
['Q36600', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q36600 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Habsburg Empire Netherlands
The Hague are situated in Habsburg Empire and Netherlands
Habsburg Empire Netherlands
action filter_type
action find
entity The Hague
relation country
type designation for an administrative territorial entity
['The Hague', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:The_Hague property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q153136
P710
Q1190554
USER
Which events have that administrative territory as their participant ?
(c(Q1190554),P710,Q153136)
action filter_type
action find_reverse
entity Q153136
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q153136']
SELECT DISTINCT ?t WHERE { ?t property:P710 resource:Q153136 . ?t rdf:type ontology:Q1190554 }
Habsburg Empire
action filter_type
action find_reverse
entity Habsburg Empire
relation participant
type event
[{'concept': 'event'}, 'participant', 'Habsburg Empire']
SELECT DISTINCT ?t WHERE { ?t property:participant resource:Habsburg_Empire . ?t rdf:type ontology:event }
[]
event
Clarification for simple ques.
Q153136
SYSTEM
Did you mean Habsburg Empire ?
Q153136 Q55
(c(Q1190554),P710,Q153136) (c(Q1190554),P710,Q55)
[ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q153136'] [{'concept': 'Q1190554'}, 'P710', 'Q55']
SELECT DISTINCT ?t WHERE { ?t property:P710 resource:Q153136 . ?t rdf:type ontology:Q1190554 }
Habsburg Empire Netherlands
Did you mean Habsburg Empire ?
Habsburg Empire
[{'concept': 'event'}, 'participant', 'Habsburg Empire'] [{'concept': 'event'}, 'participant', 'Netherlands']
SELECT DISTINCT ?t WHERE { ?t property:participant resource:Habsburg_Empire . ?t rdf:type ontology:event }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1190554),P710,Q153136)
[{'concept': 'Q1190554'}, 'P710', 'Q153136']
[{'concept': 'event'}, 'participant', 'Habsburg Empire']
[]
Q154635 Q840006 Q4872232
SYSTEM
Battle of Blenheim, Battle of Stockach, Battle of Sahay
Q4872232 Q154635 Q2692410 Q840006 Q2887847
(c(Q1190554),P710,Q153136)
action filter_type
action find_reverse
entity Q153136
relation P710
type Q1190554
[ANSWERS] have that administrative territory as their participant
[{'concept': 'Q1190554'}, 'P710', 'Q153136']
SELECT DISTINCT ?t WHERE { ?t property:P710 resource:Q153136 . ?t rdf:type ontology:Q1190554 }
Battle of Sahay Battle of Blenheim Battle of Belgrado Battle of Stockach Battle of Ampfing
Battle of Blenheim, Battle of Stockach and Battle of Sahay have that administrative territory as their participant
Battle of Blenheim Battle of Stockach Battle of Sahay
action filter_type
action find_reverse
entity Habsburg Empire
relation participant
type event
[{'concept': 'event'}, 'participant', 'Habsburg Empire']
SELECT DISTINCT ?t WHERE { ?t property:participant resource:Habsburg_Empire . ?t rdf:type ontology:event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q55 Q750
P530
Q1048835
USER
How many political territories are known to have diplomatic connections with Netherlands and Bolivia ?
(c(Q1048835),P530,Q55) (c(Q1048835),P530,Q750)
action count
action intersection
action filter_type
action find_reverse
entity Q55
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q750
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q55'] [{'concept': 'Q1048835'}, 'P530', 'Q750']
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P530 resource:Q55 . ?s rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q1048835 . ?s property:P530 resource:Q750 }
Netherlands Bolivia
action count
action intersection
action filter_type
action find_reverse
entity Netherlands
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Bolivia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Bolivia']
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:diplomatic_relation resource:Netherlands . ?s rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:political_territorial_entity . ?s property:diplomatic_relation resource:Bolivia }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q55) (c(Q1048835),P530,Q750)
action count
action intersection
action filter_type
action find_reverse
entity Q55
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q750
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q55'] [{'concept': 'Q1048835'}, 'P530', 'Q750']
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P530 resource:Q55 . ?s rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q1048835 . ?s property:P530 resource:Q750 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Netherlands
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Bolivia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Netherlands'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Bolivia']
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:diplomatic_relation resource:Netherlands . ?s rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:political_territorial_entity . ?s property:diplomatic_relation resource:Bolivia }
[]