Simple Question (Direct)
Simple Question
Q5713675
P21
Q290
USER
What is the sex of Hendrick Berckman ?
(Q5713675,P21,c(Q290))
action filter_type
action find
entity Q5713675
relation P21
type Q290
['Q5713675', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q5713675 property:P21 ?n . ?n rdf:type ontology:Q290 }
Hendrick Berckman
action filter_type
action find
entity Hendrick Berckman
relation gender
type sex
['Hendrick Berckman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Hendrick_Berckman property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5713675,P21,c(Q290))
action filter_type
action find
entity Q5713675
relation P21
type Q290
The sex of Hendrick Berckman is a [ANSWER]
['Q5713675', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q5713675 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
The sex of Hendrick Berckman is a male
male
action filter_type
action find
entity Hendrick Berckman
relation gender
type sex
['Hendrick Berckman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Hendrick_Berckman property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5713675
P802
Q502895
USER
Which person was that one a student of ?
(c(Q502895),P802,Q6581097)
action filter_type
action find_reverse
entity Q5713675
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q6581097']
SELECT DISTINCT ?v WHERE { ?v property:P802 resource:Q5713675 . ?v rdf:type ontology:Q502895 }
Hendrick Berckman
action filter_type
action find_reverse
entity Hendrick Berckman
relation student
type common name
[{'concept': 'common name'}, 'student', 'male']
SELECT DISTINCT ?v WHERE { ?v property:student resource:Hendrick_Berckman . ?v rdf:type ontology:common_name }
[]
common name
Q454671
SYSTEM
Philips Wouwerman
Q454671
(c(Q502895),P802,Q6581097)
action filter_type
action find_reverse
entity Q5713675
relation P802
type Q502895
[ANSWER] was that one a student of
[{'concept': 'Q502895'}, 'P802', 'Q6581097']
SELECT DISTINCT ?v WHERE { ?v property:P802 resource:Q5713675 . ?v rdf:type ontology:Q502895 }
Philips Wouwerman
Philips Wouwerman was that one a student of
Philips Wouwerman
action filter_type
action find_reverse
entity Hendrick Berckman
relation student
type common name
[{'concept': 'common name'}, 'student', 'male']
SELECT DISTINCT ?v WHERE { ?v property:student resource:Hendrick_Berckman . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q454671
P1066
Q502895
USER
Who is a pupil of that one ?
(c(Q502895),P1066,Q454671)
action filter_type
action find_reverse
entity Q454671
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q454671']
SELECT DISTINCT ?x WHERE { ?x property:P1066 resource:Q454671 . ?x rdf:type ontology:Q502895 }
Philips Wouwerman
action filter_type
action find_reverse
entity Philips Wouwerman
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Philips Wouwerman']
SELECT DISTINCT ?x WHERE { ?x property:student_of resource:Philips_Wouwerman . ?x rdf:type ontology:common_name }
[]
common name
Q1161256
SYSTEM
Jan Griffier I
Q1161256
(c(Q502895),P1066,Q454671)
action filter_type
action find_reverse
entity Q454671
relation P1066
type Q502895
A pupil of that one is of [ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q454671']
SELECT DISTINCT ?x WHERE { ?x property:P1066 resource:Q454671 . ?x rdf:type ontology:Q502895 }
Jan Griffier I
A pupil of that one is of Jan Griffier I
Jan Griffier I
action filter_type
action find_reverse
entity Philips Wouwerman
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Philips Wouwerman']
SELECT DISTINCT ?x WHERE { ?x property:student_of resource:Philips_Wouwerman . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1161256
P1038
Q502895
USER
Which person is a relative of that one ?
(Q1161256,P1038,c(Q502895))
action filter_type
action find
entity Q1161256
relation P1038
type Q502895
['Q1161256', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q1161256 property:P1038 ?i . ?i rdf:type ontology:Q502895 }
Jan Griffier I
action filter_type
action find
entity Jan Griffier I
relation relative
type common name
['Jan Griffier I', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Jan_Griffier_I property:relative ?i . ?i rdf:type ontology:common_name }
[]
common name
Q1902248
SYSTEM
Jan Griffier II
Q1902248
(Q1161256,P1038,c(Q502895))
action filter_type
action find
entity Q1161256
relation P1038
type Q502895
[ANSWER] is a relative of that one
['Q1161256', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q1161256 property:P1038 ?i . ?i rdf:type ontology:Q502895 }
Jan Griffier II
Jan Griffier II is a relative of that one
Jan Griffier II
action filter_type
action find
entity Jan Griffier I
relation relative
type common name
['Jan Griffier I', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Jan_Griffier_I property:relative ?i . ?i rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1902248 Q442426
P27
Q15617994
USER
Does that person belong to Altleiningen ?
(Q1902248,P27,Q442426)
action is_in
entity Q442426
action find
entity Q1902248
relation P27
['Q1902248', 'P27', 'Q442426']
ASK WHERE { resource:Q1902248 property:P27 resource:Q442426 }
Jan Griffier II Altleiningen
action is_in
entity Altleiningen
action find
entity Jan Griffier II
relation country of citizenship
['Jan Griffier II', 'country of citizenship', 'Altleiningen']
ASK WHERE { resource:Jan_Griffier_II property:country_of_citizenship resource:Altleiningen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1902248,P27,Q442426)
action is_in
entity Q442426
action find
entity Q1902248
relation P27
[ANSWER]
['Q1902248', 'P27', 'Q442426']
ASK WHERE { resource:Q1902248 property:P27 resource:Q442426 }
No
action is_in
entity Altleiningen
action find
entity Jan Griffier II
relation country of citizenship
['Jan Griffier II', 'country of citizenship', 'Altleiningen']
ASK WHERE { resource:Jan_Griffier_II property:country_of_citizenship resource:Altleiningen }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1161256
P921
Q191067
USER
Which article has Jan Griffier I as its principal topic ?
(c(Q191067),P921,Q1161256)
action filter_type
action find_reverse
entity Q1161256
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q1161256']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q1161256 . ?a rdf:type ontology:Q191067 }
Jan Griffier I
action filter_type
action find_reverse
entity Jan Griffier I
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Jan Griffier I']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:Jan_Griffier_I . ?a rdf:type ontology:article }
[]
article
Q19065054
SYSTEM
Griffier, Jan (DNB00)
Q19065054
(c(Q191067),P921,Q1161256)
action filter_type
action find_reverse
entity Q1161256
relation P921
type Q191067
[ANSWER] has Jan Griffier I as its principal topic
[{'concept': 'Q191067'}, 'P921', 'Q1161256']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q1161256 . ?a rdf:type ontology:Q191067 }
Griffier, Jan (DNB00)
Griffier, Jan (DNB00) has Jan Griffier I as its principal topic
Griffier, Jan (DNB00)
action filter_type
action find_reverse
entity Jan Griffier I
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Jan Griffier I']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:Jan_Griffier_I . ?a rdf:type ontology:article }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19065054
P1433
Q5292
USER
Which encyclopedia has that article in it ?
(Q19065054,P1433,c(Q5292))
action filter_type
action find
entity Q19065054
relation P1433
type Q5292
['Q19065054', 'P1433', {'concept': 'Q5292'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q5292 . resource:Q19065054 property:P1433 ?r }
Griffier, Jan (DNB00)
action filter_type
action find
entity Griffier, Jan (DNB00)
relation published in
type encyclopedia
['Griffier, Jan (DNB00)', 'published in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:encyclopedia . resource:Griffier,_Jan_(DNB00) property:published_in ?r }
[]
encyclopedia
Q15987216
SYSTEM
Dictionary of National Biography (1885-1900)
Q15987216
(Q19065054,P1433,c(Q5292))
action filter_type
action find
entity Q19065054
relation P1433
type Q5292
[ANSWER] has that article in it
['Q19065054', 'P1433', {'concept': 'Q5292'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q5292 . resource:Q19065054 property:P1433 ?r }
Dictionary of National Biography (1885-1900)
Dictionary of National Biography (1885-1900) has that article in it
Dictionary of National Biography (1885-1900)
action filter_type
action find
entity Griffier, Jan (DNB00)
relation published in
type encyclopedia
['Griffier, Jan (DNB00)', 'published in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:encyclopedia . resource:Griffier,_Jan_(DNB00) property:published_in ?r }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P248
Q5292 Q43229
USER
How many organizations have been stated in approximately 1 encyclopedia ?
(c(Q43229),P248,c(Q5292))
action count
action approx
action find_tuple_counts
relation P248
type Q43229
type Q5292
value 1
[{'concept': 'Q43229'}, 'P248', {'concept': 'Q5292'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?m ) WHERE { ?l rdf:type ontology:Q43229 . ?k rdf:type ontology:Q5292 . ?l property:P248 ?k } GROUP BY ?l } . FILTER ( ?m = 1 ) }
action count
action approx
action find_tuple_counts
relation stated in
type organization
type encyclopedia
value 1
[{'concept': 'organization'}, 'stated in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?m ) WHERE { ?l rdf:type ontology:organization . ?k rdf:type ontology:encyclopedia . ?l property:stated_in ?k } GROUP BY ?l } . FILTER ( ?m = 1 ) }
[]
encyclopedia organization
SYSTEM
1
Q2360847
(c(Q43229),P248,c(Q5292))
action count
action approx
action find_tuple_counts
relation P248
type Q43229
type Q5292
value 1
[ANSWER]
[{'concept': 'Q43229'}, 'P248', {'concept': 'Q5292'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?m ) WHERE { ?l rdf:type ontology:Q43229 . ?k rdf:type ontology:Q5292 . ?l property:P248 ?k } GROUP BY ?l } . FILTER ( ?m = 1 ) }
Zaporizhstal
1
action count
action approx
action find_tuple_counts
relation stated in
type organization
type encyclopedia
value 1
[{'concept': 'organization'}, 'stated in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?m ) WHERE { ?l rdf:type ontology:organization . ?k rdf:type ontology:encyclopedia . ?l property:stated_in ?k } GROUP BY ?l } . FILTER ( ?m = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q454671
P7
Q502895
USER
Who have Philips Wouwerman as their sibling ?
(c(Q502895),P7,Q454671)
action filter_type
action find
entity Q454671
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q454671']
SELECT DISTINCT ?j WHERE { resource:Q454671 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Philips Wouwerman
action filter_type
action find
entity Philips Wouwerman
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Philips Wouwerman']
SELECT DISTINCT ?j WHERE { resource:Philips_Wouwerman property:brother ?j . ?j rdf:type ontology:common_name }
[]
common name
Q7192842 Q6150228
SYSTEM
Pieter Wouwerman, Jan Wouwerman
Q7192842 Q6150228
(c(Q502895),P7,Q454671)
action filter_type
action find
entity Q454671
relation P7
type Q502895
[ANSWERS] have Philips Wouwerman as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q454671']
SELECT DISTINCT ?j WHERE { resource:Q454671 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Pieter Wouwerman Jan Wouwerman
Pieter Wouwerman and Jan Wouwerman have Philips Wouwerman as their sibling
Pieter Wouwerman Jan Wouwerman
action filter_type
action find
entity Philips Wouwerman
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Philips Wouwerman']
SELECT DISTINCT ?j WHERE { resource:Philips_Wouwerman property:brother ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7192842 Q6150228
P20
Q56061
USER
Which administrative territories are the places of death of Pieter Wouwerman and Jan Wouwerman ?
(Q7192842,P20,c(Q56061)) (Q6150228,P20,c(Q56061))
action union
action filter_type
action find
entity Q7192842
relation P20
type Q56061
action filter_type
action find
entity Q6150228
relation P20
type Q56061
['Q7192842', 'P20', {'concept': 'Q56061'}] ['Q6150228', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?j property:P20 ?x . VALUES ( ?j ) { ( resource:Q7192842 ) ( resource:Q6150228 ) } }
Pieter Wouwerman Jan Wouwerman
action union
action filter_type
action find
entity Pieter Wouwerman
relation place of death
type administrative territorial entity
action filter_type
action find
entity Jan Wouwerman
relation place of death
type administrative territorial entity
['Pieter Wouwerman', 'place of death', {'concept': 'administrative territorial entity'}] ['Jan Wouwerman', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?j property:place_of_death ?x . VALUES ( ?j ) { ( resource:Pieter_Wouwerman ) ( resource:Jan_Wouwerman ) } }
[]
administrative territorial entity
Q727 Q9920
SYSTEM
Amsterdam, Haarlem
Q727 Q9920
(Q7192842,P20,c(Q56061)) (Q6150228,P20,c(Q56061))
action union
action filter_type
action find
entity Q7192842
relation P20
type Q56061
action filter_type
action find
entity Q6150228
relation P20
type Q56061
[ANSWERS] are the places of death of Pieter Wouwerman and Jan Wouwerman
['Q7192842', 'P20', {'concept': 'Q56061'}] ['Q6150228', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?j property:P20 ?x . VALUES ( ?j ) { ( resource:Q7192842 ) ( resource:Q6150228 ) } }
Amsterdam Haarlem
Amsterdam and Haarlem are the places of death of Pieter Wouwerman and Jan Wouwerman
Amsterdam Haarlem
action union
action filter_type
action find
entity Pieter Wouwerman
relation place of death
type administrative territorial entity
action filter_type
action find
entity Jan Wouwerman
relation place of death
type administrative territorial entity
['Pieter Wouwerman', 'place of death', {'concept': 'administrative territorial entity'}] ['Jan Wouwerman', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?j property:place_of_death ?x . VALUES ( ?j ) { ( resource:Pieter_Wouwerman ) ( resource:Jan_Wouwerman ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7192842
P495
Q15617994
USER
Where did that person originate ?
(Q7192842,P495,c(Q15617994))
action filter_type
action find
entity Q7192842
relation P495
type Q15617994
['Q7192842', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q7192842 property:P495 ?d . ?d rdf:type ontology:Q15617994 }
Pieter Wouwerman
action filter_type
action find
entity Pieter Wouwerman
relation country of origin
type designation for an administrative territorial entity
['Pieter Wouwerman', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Pieter_Wouwerman property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q7192842
SYSTEM
Did you mean Pieter Wouwerman ?
Q727 Q9920
(Q727,P495,c(Q15617994)) (Q9920,P495,c(Q15617994))
[ANSWER]
['Q727', 'P495', {'concept': 'Q15617994'}] ['Q9920', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q7192842 property:P495 ?d . ?d rdf:type ontology:Q15617994 }
Amsterdam Haarlem
Did you mean Pieter Wouwerman ?
Pieter Wouwerman
['Amsterdam', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Haarlem', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Pieter_Wouwerman property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7192842,P495,c(Q15617994))
['Q7192842', 'P495', {'concept': 'Q15617994'}]
['Pieter Wouwerman', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q55
SYSTEM
Netherlands
Q55
(Q7192842,P495,c(Q15617994))
action filter_type
action find
entity Q7192842
relation P495
type Q15617994
That person originated in [ANSWER]
['Q7192842', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q7192842 property:P495 ?d . ?d rdf:type ontology:Q15617994 }
Netherlands
That person originated in Netherlands
Netherlands
action filter_type
action find
entity Pieter Wouwerman
relation country of origin
type designation for an administrative territorial entity
['Pieter Wouwerman', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Pieter_Wouwerman property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]