Simple Question (Direct)
Simple Question
Q15908652
P21
Q290
USER
What is the sex of Lieuwe Visser ?
(Q15908652,P21,c(Q290))
action filter_type
action find
entity Q15908652
relation P21
type Q290
['Q15908652', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q15908652 property:P21 ?p . ?p rdf:type ontology:Q290 }
Lieuwe Visser
action filter_type
action find
entity Lieuwe Visser
relation gender
type sex
['Lieuwe Visser', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Lieuwe_Visser property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15908652,P21,c(Q290))
action filter_type
action find
entity Q15908652
relation P21
type Q290
The sex of Lieuwe Visser is a [ANSWER]
['Q15908652', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q15908652 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
The sex of Lieuwe Visser is a male
male
action filter_type
action find
entity Lieuwe Visser
relation gender
type sex
['Lieuwe Visser', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Lieuwe_Visser property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15908652
P735
Q82799
USER
What is forename of Lieuwe Visser ?
(Q15908652,P735,c(Q82799))
action filter_type
action find
entity Q15908652
relation P735
type Q82799
['Q15908652', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q15908652 property:P735 ?y . ?y rdf:type ontology:Q82799 }
Lieuwe Visser
action filter_type
action find
entity Lieuwe Visser
relation given name
type name
['Lieuwe Visser', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Lieuwe_Visser property:given_name ?y . ?y rdf:type ontology:name }
[]
name
Q16216942
SYSTEM
Lieuwe
Q16216942
(Q15908652,P735,c(Q82799))
action filter_type
action find
entity Q15908652
relation P735
type Q82799
Forename of [ANSWER] Visser is of [ANSWER]
['Q15908652', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q15908652 property:P735 ?y . ?y rdf:type ontology:Q82799 }
Lieuwe
Forename of Lieuwe Visser is of Lieuwe
Lieuwe
action filter_type
action find
entity Lieuwe Visser
relation given name
type name
['Lieuwe Visser', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Lieuwe_Visser property:given_name ?y . ?y rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3527347
Q82799
USER
And how about Robin Singh?
(Q3527347,P735,c(Q82799))
action filter_type
action find
entity Q3527347
relation P735
type Q82799
['Q3527347', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q3527347 property:P735 ?a }
Robin Singh
action filter_type
action find
entity Robin Singh
relation given name
type name
['Robin Singh', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Robin_Singh property:given_name ?a }
[]
name
Q1158139
SYSTEM
Robin
Q1158139
(Q3527347,P735,c(Q82799))
action filter_type
action find
entity Q3527347
relation P735
type Q82799
[ANSWER]
['Q3527347', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q3527347 property:P735 ?a }
Robin
Robin
action filter_type
action find
entity Robin Singh
relation given name
type name
['Robin Singh', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Robin_Singh property:given_name ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1158139 Q1860
P407
Q34770
USER
Is English the language of work for Robin ?
(Q1158139,P407,Q1860)
action is_in
entity Q1860
action find
entity Q1158139
relation P407
['Q1158139', 'P407', 'Q1860']
ASK WHERE { resource:Q1158139 property:P407 resource:Q1860 }
Robin English
action is_in
entity English
action find
entity Robin
relation language of work or name
['Robin', 'language of work or name', 'English']
ASK WHERE { resource:Robin property:language_of_work_or_name resource:English }
[]
language
SYSTEM
YES
(Q1158139,P407,Q1860)
action is_in
entity Q1860
action find
entity Q1158139
relation P407
[ANSWER]
['Q1158139', 'P407', 'Q1860']
ASK WHERE { resource:Q1158139 property:P407 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Robin
relation language of work or name
['Robin', 'language of work or name', 'English']
ASK WHERE { resource:Robin property:language_of_work_or_name resource:English }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15908652
P734
Q82799
USER
Which name is associated with Lieuwe Visser ?
(Q15908652,P734,c(Q82799))
action filter_type
action find
entity Q15908652
relation P734
type Q82799
['Q15908652', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q15908652 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Lieuwe Visser
action filter_type
action find
entity Lieuwe Visser
relation family name
type name
['Lieuwe Visser', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Lieuwe_Visser property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q18340752
SYSTEM
Visser
Q18340752
(Q15908652,P734,c(Q82799))
action filter_type
action find
entity Q15908652
relation P734
type Q82799
[ANSWER] is associated with Lieuwe [ANSWER]
['Q15908652', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q15908652 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Visser
Visser is associated with Lieuwe Visser
Visser
action filter_type
action find
entity Lieuwe Visser
relation family name
type name
['Lieuwe Visser', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Lieuwe_Visser property:family_name ?m . ?m rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15908652
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q18340752,P27,c(Q15617994))
action filter_type
action find
entity Q15908652
relation P27
type Q15617994
['Q18340752', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q15908652 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Lieuwe Visser
action filter_type
action find
entity Lieuwe Visser
relation country of citizenship
type designation for an administrative territorial entity
['Visser', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Lieuwe_Visser property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q18340752,P27,c(Q15617994))
action filter_type
action find
entity Q15908652
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q18340752', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q15908652 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Kingdom of the Netherlands is the native country of that person
Kingdom of the Netherlands
action filter_type
action find
entity Lieuwe Visser
relation country of citizenship
type designation for an administrative territorial entity
['Visser', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Lieuwe_Visser property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15908652
P106
Q12737077
USER
What are the professions of that person ?
(Q29999,P106,c(Q12737077))
action filter_type
action find
entity Q15908652
relation P106
type Q12737077
['Q29999', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q15908652 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Lieuwe Visser
action filter_type
action find
entity Lieuwe Visser
relation occupation
type occupation
['Kingdom of the Netherlands', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Lieuwe_Visser property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q14915627 Q2865819 Q177220
SYSTEM
musicologist, opera singer, singer
Q14915627 Q2865819 Q177220
(Q29999,P106,c(Q12737077))
action filter_type
action find
entity Q15908652
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q29999', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q15908652 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
musicologist opera singer singer
The professions of that person are musicologist, opera singer and singer
musicologist opera singer singer
action filter_type
action find
entity Lieuwe Visser
relation occupation
type occupation
['Kingdom of the Netherlands', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Lieuwe_Visser property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q14915627
P101
Q502895
USER
Which person has specialisation in that occupation ?
(c(Q502895),P101,Q14915627)
action filter_type
action find_reverse
entity Q14915627
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q14915627']
SELECT DISTINCT ?s WHERE { ?s property:P101 resource:Q14915627 . ?s rdf:type ontology:Q502895 }
musicologist
action filter_type
action find_reverse
entity musicologist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'musicologist']
SELECT DISTINCT ?s WHERE { ?s property:field_of_work resource:musicologist . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2865819
SYSTEM
Did you mean opera singer ?
Q14915627 Q2865819 Q177220
(c(Q502895),P101,Q14915627) (c(Q502895),P101,Q2865819) (c(Q502895),P101,Q177220)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q14915627'] [{'concept': 'Q502895'}, 'P101', 'Q2865819'] [{'concept': 'Q502895'}, 'P101', 'Q177220']
SELECT DISTINCT ?s WHERE { ?s property:P101 resource:Q14915627 . ?s rdf:type ontology:Q502895 }
musicologist opera singer singer
Did you mean opera singer ?
opera singer
[{'concept': 'common name'}, 'field of work', 'musicologist'] [{'concept': 'common name'}, 'field of work', 'opera singer'] [{'concept': 'common name'}, 'field of work', 'singer']
SELECT DISTINCT ?s WHERE { ?s property:field_of_work resource:musicologist . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant musicologist. Could you tell me the answer for that?
(c(Q502895),P101,Q14915627)
Q14915627
[{'concept': 'Q502895'}, 'P101', 'Q14915627']
[{'concept': 'common name'}, 'field of work', 'musicologist']
[]
Q322381
SYSTEM
Paul Henry Lang
Q322381
(c(Q502895),P101,Q14915627)
action filter_type
action find_reverse
entity Q14915627
relation P101
type Q502895
[ANSWER] has specialisation in that occupation
[{'concept': 'Q502895'}, 'P101', 'Q14915627']
SELECT DISTINCT ?s WHERE { ?s property:P101 resource:Q14915627 . ?s rdf:type ontology:Q502895 }
Paul Henry Lang
Paul Henry Lang has specialisation in that occupation
Paul Henry Lang
action filter_type
action find_reverse
entity musicologist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'musicologist']
SELECT DISTINCT ?s WHERE { ?s property:field_of_work resource:musicologist . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q1048835 Q811979 Q15617994
USER
Which administrative territories are a portion of exactly 1 political territories and architectural structures ?
(c(Q15617994),P361,c(Q1048835)|c(Q811979))
action equal
action union
action find_tuple_counts
relation P361
type Q15617994
type Q1048835
action find_tuple_counts
relation P361
type Q15617994
type Q811979
value 1
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q1048835'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) ?g WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1048835 ) ( ontology:Q811979 ) } } GROUP BY ?g } . FILTER ( ?z = 1 ) }
action equal
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'political territorial entity'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) ?g WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:political_territorial_entity ) ( ontology:architectural_structure ) } } GROUP BY ?g } . FILTER ( ?z = 1 ) }
[]
political territorial entity architectural structure designation for an administrative territorial entity
Q676178 Q57857 Q554282
SYSTEM
Viereck, Zschorlau, Ferdinandshof
Q57857 Q676178 Q706938 Q554282 Q561223 Q640310 Q625844 Q624292 Q252916 Q623929 Q632429
(c(Q15617994),P361,c(Q1048835)|c(Q811979))
action equal
action union
action find_tuple_counts
relation P361
type Q15617994
type Q1048835
action find_tuple_counts
relation P361
type Q15617994
type Q811979
value 1
[ANSWERS] are a portion of exactly 1 political territories and architectural structures
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q1048835'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) ?g WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:Q1048835 ) ( ontology:Q811979 ) } } GROUP BY ?g } . FILTER ( ?z = 1 ) }
Zschorlau Viereck Werder Ferdinandshof Lancken-Granitz Buckautal Görzke Wenzlow administrative quarter Gräben Hinrichshagen
Viereck, Zschorlau and Ferdinandshof are a portion of exactly 1 political territories and architectural structures
Viereck Zschorlau Ferdinandshof
action equal
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'political territorial entity'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) ?g WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:political_territorial_entity ) ( ontology:architectural_structure ) } } GROUP BY ?g } . FILTER ( ?z = 1 ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q811979 Q1048835 Q15617994
USER
Which administrative territories are a component of more number of architectural structures or political territories than that administrative territory ?
(c(Q15617994),P361,c(Q811979)|c(Q1048835))
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:P361 ?p } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q811979 . ?x rdf:type ontology:Q1048835 }
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:part_of ?p } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:architectural_structure . ?x rdf:type ontology:political_territorial_entity }
[]
architectural structure political territorial entity designation for an administrative territorial entity
Comparative|More/Less|Mult. entity type|Clarification
Q676178
SYSTEM
Did you mean Viereck ?
(c(Q15617994),P361,c(Q811979)|c(Q1048835))
[ANSWER]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:P361 ?p } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q811979 . ?x rdf:type ontology:Q1048835 }
Did you mean Viereck ?
Viereck
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:part_of ?p } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:architectural_structure . ?x rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Zschorlau. Could you tell me the answer for that?
(c(Q15617994),P361,c(Q811979)|c(Q1048835))
Q57857
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q1048835'}]]
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'political territorial entity'}]]
[]
SYSTEM
11
Q57857 Q676178 Q706938 Q554282 Q561223 Q640310 Q625844 Q624292 Q252916 Q623929 Q632429
(c(Q15617994),P361,c(Q811979)|c(Q1048835))
[ANSWER]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q811979 . ?x rdf:type ontology:Q1048835 }
Zschorlau Viereck Werder Ferdinandshof Lancken-Granitz Buckautal Görzke Wenzlow administrative quarter Gräben Hinrichshagen
11
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:architectural_structure . ?x rdf:type ontology:political_territorial_entity }
[]