Simple Question (Direct)
Simple Question
Q11928754
P937
Q56061
USER
Which administrative territory is the work location of Josep Maria Santacreu Marginet ?
(Q11928754,P937,c(Q56061))
action filter_type
action find
entity Q11928754
relation P937
type Q56061
['Q11928754', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q11928754 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Josep Maria Santacreu Marginet
action filter_type
action find
entity Josep Maria Santacreu Marginet
relation work location
type administrative territorial entity
['Josep Maria Santacreu Marginet', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Josep_Maria_Santacreu_Marginet property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q11928754,P937,c(Q56061))
action filter_type
action find
entity Q11928754
relation P937
type Q56061
[ANSWER] is the work location of Josep Maria Santacreu Marginet
['Q11928754', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q11928754 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Barcelona
Barcelona is the work location of Josep Maria Santacreu Marginet
Barcelona
action filter_type
action find
entity Josep Maria Santacreu Marginet
relation work location
type administrative territorial entity
['Josep Maria Santacreu Marginet', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Josep_Maria_Santacreu_Marginet property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11928754
P1412
Q34770
USER
Which language is Josep Maria Santacreu Marginet capable of writing ?
(Q11928754,P1412,c(Q34770))
action filter_type
action find
entity Q11928754
relation P1412
type Q34770
['Q11928754', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q34770 . resource:Q11928754 property:P1412 ?i }
Josep Maria Santacreu Marginet
action filter_type
action find
entity Josep Maria Santacreu Marginet
relation languages spoken, written or signed
type language
['Josep Maria Santacreu Marginet', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:language . resource:Josep_Maria_Santacreu_Marginet property:languages_spoken,_written_or_signed ?i }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q11928754,P1412,c(Q34770))
action filter_type
action find
entity Q11928754
relation P1412
type Q34770
[ANSWER] is Josep Maria Santacreu Marginet capable of writing
['Q11928754', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q34770 . resource:Q11928754 property:P1412 ?i }
Spanish
Spanish is Josep Maria Santacreu Marginet capable of writing
Spanish
action filter_type
action find
entity Josep Maria Santacreu Marginet
relation languages spoken, written or signed
type language
['Josep Maria Santacreu Marginet', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:language . resource:Josep_Maria_Santacreu_Marginet property:languages_spoken,_written_or_signed ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3002078
Q34770
USER
And how about Craigie Horsfield?
(Q3002078,P1412,c(Q34770))
action filter_type
action find
entity Q3002078
relation P1412
type Q34770
['Q3002078', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q3002078 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Craigie Horsfield
action filter_type
action find
entity Craigie Horsfield
relation languages spoken, written or signed
type language
['Craigie Horsfield', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Craigie_Horsfield property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3002078,P1412,c(Q34770))
action filter_type
action find
entity Q3002078
relation P1412
type Q34770
[ANSWER]
['Q3002078', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q3002078 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Craigie Horsfield
relation languages spoken, written or signed
type language
['Craigie Horsfield', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Craigie_Horsfield property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q1048835
USER
How many political territories are around 2 languages associated to as the official language ?
(c(Q1048835),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
value 2
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?c ) WHERE { ?e property:P37 ?y . ?e rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q34770 } GROUP BY ?e } . FILTER ( ?c = 2 ) }
action count
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
value 2
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?c ) WHERE { ?e property:official_language ?y . ?e rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:language } GROUP BY ?e } . FILTER ( ?c = 2 ) }
[]
language political territorial entity
SYSTEM
1
Q757
(c(Q1048835),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
value 2
[ANSWER]
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?c ) WHERE { ?e property:P37 ?y . ?e rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q34770 } GROUP BY ?e } . FILTER ( ?c = 2 ) }
Saint Vincent and the Grenadines
1
action count
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
value 2
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?c ) WHERE { ?e property:official_language ?y . ?e rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:language } GROUP BY ?e } . FILTER ( ?c = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a part of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?p WHERE { resource:Q1860 property:P361 ?p . ?p rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?p WHERE { resource:English property:part_of ?p . ?p rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a part of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?p WHERE { resource:Q1860 property:P361 ?p . ?p rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a part of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?p WHERE { resource:English property:part_of ?p . ?p rdf:type ontology:classification_scheme }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5580728
Q5962346
USER
And how about Goliath language?
(Q5580728,P361,c(Q5962346))
action filter_type
action find
entity Q5580728
relation P361
type Q5962346
['Q5580728', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?z WHERE { resource:Q5580728 property:P361 ?z . ?z rdf:type ontology:Q5962346 }
Goliath language
action filter_type
action find
entity Goliath language
relation part of
type classification scheme
['Goliath language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?z WHERE { resource:Goliath_language property:part_of ?z . ?z rdf:type ontology:classification_scheme }
[]
classification scheme
Q34018
SYSTEM
trans–New Guinea languages
Q34018
(Q5580728,P361,c(Q5962346))
action filter_type
action find
entity Q5580728
relation P361
type Q5962346
[ANSWER]
['Q5580728', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?z WHERE { resource:Q5580728 property:P361 ?z . ?z rdf:type ontology:Q5962346 }
trans–New Guinea languages
trans–New Guinea languages
action filter_type
action find
entity Goliath language
relation part of
type classification scheme
['Goliath language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?z WHERE { resource:Goliath_language property:part_of ?z . ?z rdf:type ontology:classification_scheme }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q549323
Q5962346
USER
And what about German submarine U-44?
(Q549323,P361,c(Q5962346))
action filter_type
action find
entity Q549323
relation P361
type Q5962346
['Q549323', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q5962346 . resource:Q549323 property:P361 ?c }
German submarine U-44
action filter_type
action find
entity German submarine U-44
relation part of
type classification scheme
['German submarine U-44', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:classification_scheme . resource:German_submarine_U-44 property:part_of ?c }
[]
classification scheme
Q5551283
SYSTEM
Type IXA submarine
Q5551283
(Q549323,P361,c(Q5962346))
action filter_type
action find
entity Q549323
relation P361
type Q5962346
[ANSWER]
['Q549323', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q5962346 . resource:Q549323 property:P361 ?c }
Type IXA submarine
Type IXA submarine
action filter_type
action find
entity German submarine U-44
relation part of
type classification scheme
['German submarine U-44', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:classification_scheme . resource:German_submarine_U-44 property:part_of ?c }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5551283 Q4867847
P137
Q781132
USER
Does Basque Auxiliary Navy operate that classification scheme ?
(Q5551283,P137,Q4867847)
action is_in
entity Q4867847
action find
entity Q5551283
relation P137
['Q5551283', 'P137', 'Q4867847']
ASK WHERE { resource:Q5551283 property:P137 resource:Q4867847 }
Type IXA submarine Basque Auxiliary Navy
action is_in
entity Basque Auxiliary Navy
action find
entity Type IXA submarine
relation operator
['Type IXA submarine', 'operator', 'Basque Auxiliary Navy']
ASK WHERE { resource:Type_IXA_submarine property:operator resource:Basque_Auxiliary_Navy }
[]
military branch
SYSTEM
NO
(Q5551283,P137,Q4867847)
action is_in
entity Q4867847
action find
entity Q5551283
relation P137
[ANSWER]
['Q5551283', 'P137', 'Q4867847']
ASK WHERE { resource:Q5551283 property:P137 resource:Q4867847 }
No
action is_in
entity Basque Auxiliary Navy
action find
entity Type IXA submarine
relation operator
['Type IXA submarine', 'operator', 'Basque Auxiliary Navy']
ASK WHERE { resource:Type_IXA_submarine property:operator resource:Basque_Auxiliary_Navy }
[]