Simple Question (Direct)
Simple Question
Q5542865
P1412
Q34770
USER
Which language can George Newton, 1st Baron Eltisley understand ?
(Q5542865,P1412,c(Q34770))
action filter_type
action find
entity Q5542865
relation P1412
type Q34770
['Q5542865', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q5542865 property:P1412 ?h . ?h rdf:type ontology:Q34770 }
George Newton, 1st Baron Eltisley
action filter_type
action find
entity George Newton, 1st Baron Eltisley
relation languages spoken, written or signed
type language
['George Newton, 1st Baron Eltisley', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:George_Newton,_1st_Baron_Eltisley property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5542865,P1412,c(Q34770))
action filter_type
action find
entity Q5542865
relation P1412
type Q34770
George Newton , 1st Baron Eltisley can understand in [ANSWER]
['Q5542865', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q5542865 property:P1412 ?h . ?h rdf:type ontology:Q34770 }
English
George Newton , 1st Baron Eltisley can understand in English
English
action filter_type
action find
entity George Newton, 1st Baron Eltisley
relation languages spoken, written or signed
type language
['George Newton, 1st Baron Eltisley', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:George_Newton,_1st_Baron_Eltisley property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5542865
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q1860,P102,c(Q7210356))
action filter_type
action find
entity Q5542865
relation P102
type Q7210356
['Q1860', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q5542865 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
George Newton, 1st Baron Eltisley
action filter_type
action find
entity George Newton, 1st Baron Eltisley
relation member of political party
type political organization
['English', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:George_Newton,_1st_Baron_Eltisley property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
political organization
Q9626
SYSTEM
Conservative Party
Q9626
(Q1860,P102,c(Q7210356))
action filter_type
action find
entity Q5542865
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q1860', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q5542865 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Conservative Party
That person is affiliated with Conservative Party
Conservative Party
action filter_type
action find
entity George Newton, 1st Baron Eltisley
relation member of political party
type political organization
['English', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:George_Newton,_1st_Baron_Eltisley property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1867823 Q1860
P361
Q5962346
USER
Which classification schemes are English or proper a component of ?
OR((Q1860,P361,c(Q5962346)), (Q1867823,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q1867823
relation P361
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q1867823', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?w ) { ( resource:Q1860 ) ( resource:Q1867823 ) } . ?w property:P361 ?n } . ?n rdf:type ontology:Q5962346 }
proper English
action filter_type
action union
action find
entity English
relation part of
action find
entity proper
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['proper', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?w ) { ( resource:English ) ( resource:proper ) } . ?w property:part_of ?n } . ?n rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q18336 Q5329170
SYSTEM
Anglic languages, heraldry, Anglo-Frisian languages
Q1346342 Q18336 Q5329170
OR((Q1860,P361,c(Q5962346)), (Q1867823,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q1867823
relation P361
type Q5962346
[ANSWERS] are English or proper a component of
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q1867823', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?w ) { ( resource:Q1860 ) ( resource:Q1867823 ) } . ?w property:P361 ?n } . ?n rdf:type ontology:Q5962346 }
Anglic languages heraldry Anglo-Frisian languages
Anglic languages, heraldry and Anglo-Frisian languages are English or proper a component of
Anglic languages heraldry Anglo-Frisian languages
action filter_type
action union
action find
entity English
relation part of
action find
entity proper
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['proper', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?w ) { ( resource:English ) ( resource:proper ) } . ?w property:part_of ?n } . ?n rdf:type ontology:classification_scheme }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q5962346 Q502895 Q21114848
USER
How many classification schemes are the area of around the same number of people and magazine genres as that classification scheme ?
(c(Q502895)|c(Q21114848),P101,c(Q5962346))
[[{'concept': 'Q502895'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q5962346 . ?x rdf:type ontology:Q21114848 }
[[{'concept': 'common name'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:classification_scheme . ?x rdf:type ontology:magazine_genre }
[]
classification scheme common name magazine genre
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1346342
SYSTEM
Did you mean Anglic languages ?
(c(Q502895)|c(Q21114848),P101,c(Q5962346))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q5962346 . ?x rdf:type ontology:Q21114848 }
Did you mean Anglic languages ?
Anglic languages
[[{'concept': 'common name'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:classification_scheme . ?x rdf:type ontology:magazine_genre }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant heraldry. Could you tell me the answer for that?
(c(Q502895)|c(Q21114848),P101,c(Q5962346))
Q18336
[[{'concept': 'Q502895'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q5962346'}]
[[{'concept': 'common name'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'classification scheme'}]
[]
SYSTEM
18
Q188504 Q126842 Q19814 Q10387 Q216545 Q47307 Q20862341 Q18336 Q179957 Q407784 Q715396 Q132116 Q42250 Q47555 Q7193 Q815820 Q161272 Q369472
(c(Q502895)|c(Q21114848),P101,c(Q5962346))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q5962346 . ?x rdf:type ontology:Q21114848 }
alternative medicine philosophy of law Romance languages gerontology Christian theology genealogy midwifery heraldry palaeography child development Solid-state physics folkloristics hydrology political economy microbiology computational fluid dynamics social psychology computational chemistry
18
[[{'concept': 'common name'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:classification_scheme . ?x rdf:type ontology:magazine_genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4701931 Q1346342
P361
Q5962346
USER
Which classification schemes are Anglic languages or Akukem language a part of ?
OR((Q1346342,P361,c(Q5962346)), (Q4701931,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1346342
relation P361
action find
entity Q4701931
relation P361
type Q5962346
{'OR': [['Q1346342', 'P361', {'concept': 'Q5962346'}], ['Q4701931', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?l ) { ( resource:Q4701931 ) ( resource:Q1346342 ) } . ?l property:P361 ?h } . ?h rdf:type ontology:Q5962346 }
Akukem language Anglic languages
action filter_type
action union
action find
entity Anglic languages
relation part of
action find
entity Akukem language
relation part of
type classification scheme
{'OR': [['Anglic languages', 'part of', {'concept': 'classification scheme'}], ['Akukem language', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?l ) { ( resource:Akukem_language ) ( resource:Anglic_languages ) } . ?l property:part_of ?h } . ?h rdf:type ontology:classification_scheme }
[]
classification scheme
Q26721 Q3217471 Q5329170
SYSTEM
West Germanic languages, Ramu–Lower Sepik languages, Anglo-Frisian languages
Q26721 Q3217471 Q5329170
OR((Q1346342,P361,c(Q5962346)), (Q4701931,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1346342
relation P361
action find
entity Q4701931
relation P361
type Q5962346
[ANSWERS] are Anglic languages or Akukem language a part of
{'OR': [['Q1346342', 'P361', {'concept': 'Q5962346'}], ['Q4701931', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?l ) { ( resource:Q4701931 ) ( resource:Q1346342 ) } . ?l property:P361 ?h } . ?h rdf:type ontology:Q5962346 }
West Germanic languages Ramu–Lower Sepik languages Anglo-Frisian languages
West Germanic languages, Ramu–Lower Sepik languages and Anglo-Frisian languages are Anglic languages or Akukem language a part of
West Germanic languages Ramu–Lower Sepik languages Anglo-Frisian languages
action filter_type
action union
action find
entity Anglic languages
relation part of
action find
entity Akukem language
relation part of
type classification scheme
{'OR': [['Anglic languages', 'part of', {'concept': 'classification scheme'}], ['Akukem language', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?l ) { ( resource:Akukem_language ) ( resource:Anglic_languages ) } . ?l property:part_of ?h } . ?h rdf:type ontology:classification_scheme }
[]