Simple Question (Direct)
Simple Question
Q7182350
P106
Q151885
USER
What is the job of Phil Roof ?
(Q7182350,P106,c(Q151885))
action filter_type
action find
entity Q7182350
relation P106
type Q151885
['Q7182350', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q7182350 property:P106 ?r . ?r rdf:type ontology:Q151885 }
Phil Roof
action filter_type
action find
entity Phil Roof
relation occupation
type concept
['Phil Roof', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Phil_Roof property:occupation ?r . ?r rdf:type ontology:concept }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q7182350,P106,c(Q151885))
action filter_type
action find
entity Q7182350
relation P106
type Q151885
The job of Phil Roof is a [ANSWER]
['Q7182350', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q7182350 property:P106 ?r . ?r rdf:type ontology:Q151885 }
baseball player
The job of Phil Roof is a baseball player
baseball player
action filter_type
action find
entity Phil Roof
relation occupation
type concept
['Phil Roof', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Phil_Roof property:occupation ?r . ?r rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7182350
P734
Q82799
USER
Who has the surname that person ?
(Q10871364,P734,c(Q82799))
action filter_type
action find
entity Q7182350
relation P734
type Q82799
['Q10871364', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q7182350 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Phil Roof
action filter_type
action find
entity Phil Roof
relation family name
type name
['baseball player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Phil_Roof property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q21161971
SYSTEM
Roof
Q21161971
(Q10871364,P734,c(Q82799))
action filter_type
action find
entity Q7182350
relation P734
type Q82799
[ANSWER] has the surname that person
['Q10871364', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q7182350 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Roof
Roof has the surname that person
Roof
action filter_type
action find
entity Phil Roof
relation family name
type name
['baseball player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Phil_Roof property:family_name ?i . ?i rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are atmost 236 names composed in ?
(c(Q82799),P407,c(Q34770))
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 236
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P407 ?t . ?t rdf:type ontology:Q34770 . ?a rdf:type ontology:Q82799 } GROUP BY ?t } . FILTER ( ?l <= 236 ) }
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 236
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:language_of_work_or_name ?t . ?t rdf:type ontology:language . ?a rdf:type ontology:name } GROUP BY ?t } . FILTER ( ?l <= 236 ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 236
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P407 ?t . ?t rdf:type ontology:Q34770 . ?a rdf:type ontology:Q82799 } GROUP BY ?t } . FILTER ( ?l <= 236 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Which languages are atmost 236 names composed in
Old Egyptian Old Church Slavonic Etruscan
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 236
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:language_of_work_or_name ?t . ?t rdf:type ontology:language . ?a rdf:type ontology:name } GROUP BY ?t } . FILTER ( ?l <= 236 ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P364
Q34770 Q21114848 Q201658
USER
Which languages were used originally for the creation of around the same number of magazine genres or film genres as that language ?
(c(Q21114848)|c(Q201658),P364,c(Q34770))
[[{'concept': 'Q21114848'}, {'concept': 'Q201658'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P364 ?y } UNION { ?x property:P364 ?y } } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q201658 }
[[{'concept': 'magazine genre'}, {'concept': 'film genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { { ?z property:original_language_of_work ?y } UNION { ?x property:original_language_of_work ?y } } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:language . ?x rdf:type ontology:film_genre }
[]
language magazine genre film genre
Comparative|More/Less|Mult. entity type|Clarification
Q35726
SYSTEM
Did you mean Etruscan ?
(c(Q21114848)|c(Q201658),P364,c(Q34770))
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q201658'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P364 ?y } UNION { ?x property:P364 ?y } } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q201658 }
Did you mean Etruscan ?
Etruscan
[[{'concept': 'magazine genre'}, {'concept': 'film genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { { ?z property:original_language_of_work ?y } UNION { ?x property:original_language_of_work ?y } } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:language . ?x rdf:type ontology:film_genre }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q21114848)|c(Q201658),P364,c(Q34770))
[[{'concept': 'Q21114848'}, {'concept': 'Q201658'}], 'P364', {'concept': 'Q34770'}]
[[{'concept': 'magazine genre'}, {'concept': 'film genre'}], 'original language of work', {'concept': 'language'}]
[]
Q56530 Q182695 Q35499
SYSTEM
Wappo language, Late Old Japanese, Old Church Slavonic
Q132659 Q13414913 Q13211 Q35499 Q35668 Q8785 Q1072111 Q34909 Q36765 Q33251 Q18130932 Q35726 Q36206 Q1321 Q33976 Q397 Q10862919 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q56530 Q25164 Q36790 Q29977 Q182695 Q3110592 Q837985 Q783605
(c(Q21114848)|c(Q201658),P364,c(Q34770))
[ANSWERS] were used originally for the creation of around the same number of magazine genres or film genres as that language
[[{'concept': 'Q21114848'}, {'concept': 'Q201658'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P364 ?y } UNION { ?x property:P364 ?y } } . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q201658 }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Armenian Galician-Portuguese Old Icelandic Demotic Church Slavonic Traditional Chinese Etruscan Lak Spanish Sardinian language Latin Tibetan language Czech Basque classical Chinese Italian Old Norse language Bokmål Wappo language Nynorsk Sumerian Gaulish Late Old Japanese written Chinese Middle High German Written vernacular Chinese
Wappo language, Late Old Japanese and Old Church Slavonic were used originally for the creation of around the same number of magazine genres or film genres as that language
Wappo language Late Old Japanese Old Church Slavonic
[[{'concept': 'magazine genre'}, {'concept': 'film genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { { ?z property:original_language_of_work ?y } UNION { ?x property:original_language_of_work ?y } } . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:language . ?x rdf:type ontology:film_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q182695
P282
Q8192
USER
Which writing systems are utilized as the script for Late Old Japanese ?
(Q182695,P282,c(Q8192))
action filter_type
action find
entity Q182695
relation P282
type Q8192
['Q182695', 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q8192 . resource:Q182695 property:P282 ?k }
Late Old Japanese
action filter_type
action find
entity Late Old Japanese
relation writing system
type writing system
['Late Old Japanese', 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:writing_system . resource:Late_Old_Japanese property:writing_system ?k }
[]
writing system
Q48332 Q82946
SYSTEM
hiragana, katakana
Q48332 Q82946
(Q182695,P282,c(Q8192))
action filter_type
action find
entity Q182695
relation P282
type Q8192
And [ANSWERS] are utilized as the script for Late Old Japanese
['Q182695', 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q8192 . resource:Q182695 property:P282 ?k }
hiragana katakana
And hiragana and katakana are utilized as the script for Late Old Japanese
hiragana katakana
action filter_type
action find
entity Late Old Japanese
relation writing system
type writing system
['Late Old Japanese', 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:writing_system . resource:Late_Old_Japanese property:writing_system ?k }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q48332 Q82946
P282
Q34770
USER
Which languages are hiragana and katakana the writing system of ?
(c(Q34770),P282,Q48332) (c(Q34770),P282,Q82946)
action union
action filter_type
action find_reverse
entity Q48332
relation P282
type Q34770
action filter_type
action find_reverse
entity Q82946
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', 'Q48332'] [{'concept': 'Q34770'}, 'P282', 'Q82946']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:Q34770 . ?o property:P282 resource:Q48332 } UNION { ?o property:P282 resource:Q82946 . ?o rdf:type ontology:Q34770 } }
hiragana katakana
action union
action filter_type
action find_reverse
entity hiragana
relation writing system
type language
action filter_type
action find_reverse
entity katakana
relation writing system
type language
[{'concept': 'language'}, 'writing system', 'hiragana'] [{'concept': 'language'}, 'writing system', 'katakana']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:language . ?o property:writing_system resource:hiragana } UNION { ?o property:writing_system resource:katakana . ?o rdf:type ontology:language } }
[]
language
Q182695
SYSTEM
Late Old Japanese
Q182695
(c(Q34770),P282,Q48332) (c(Q34770),P282,Q82946)
action union
action filter_type
action find_reverse
entity Q48332
relation P282
type Q34770
action filter_type
action find_reverse
entity Q82946
relation P282
type Q34770
[ANSWER] is hiragana and katakana the writing system of
[{'concept': 'Q34770'}, 'P282', 'Q48332'] [{'concept': 'Q34770'}, 'P282', 'Q82946']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:Q34770 . ?o property:P282 resource:Q48332 } UNION { ?o property:P282 resource:Q82946 . ?o rdf:type ontology:Q34770 } }
Late Old Japanese
Late Old Japanese is hiragana and katakana the writing system of
Late Old Japanese
action union
action filter_type
action find_reverse
entity hiragana
relation writing system
type language
action filter_type
action find_reverse
entity katakana
relation writing system
type language
[{'concept': 'language'}, 'writing system', 'hiragana'] [{'concept': 'language'}, 'writing system', 'katakana']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:language . ?o property:writing_system resource:hiragana } UNION { ?o property:writing_system resource:katakana . ?o rdf:type ontology:language } }
[]