Simple Question (Direct)
Simple Question
Q513185
P734
Q82799
USER
Who is associated with Franz Xaver Gruber ?
(Q513185,P734,c(Q82799))
action filter_type
action find
entity Q513185
relation P734
type Q82799
['Q513185', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q513185 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Franz Xaver Gruber
action filter_type
action find
entity Franz Xaver Gruber
relation family name
type name
['Franz Xaver Gruber', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Franz_Xaver_Gruber property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q1028313
SYSTEM
Gruber
Q1028313
(Q513185,P734,c(Q82799))
action filter_type
action find
entity Q513185
relation P734
type Q82799
He [ANSWER] is associated with Franz Xaver [ANSWER]
['Q513185', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q513185 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Gruber
He Gruber is associated with Franz Xaver Gruber
Gruber
action filter_type
action find
entity Franz Xaver Gruber
relation family name
type name
['Franz Xaver Gruber', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Franz_Xaver_Gruber property:family_name ?p . ?p rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1028313 Q235549
P734
Q502895
USER
Does Edita Gruberová have that one as their family name ?
(Q235549,P734,Q1028313)
action is_in
entity Q1028313
action find
entity Q235549
relation P734
['Q235549', 'P734', 'Q1028313']
ASK WHERE { resource:Q235549 property:P734 resource:Q1028313 }
Gruber Edita Gruberová
action is_in
entity Gruber
action find
entity Edita Gruberová
relation family name
['Edita Gruberová', 'family name', 'Gruber']
ASK WHERE { resource:Edita_Gruberová property:family_name resource:Gruber }
[]
common name
SYSTEM
YES
(Q235549,P734,Q1028313)
action is_in
entity Q1028313
action find
entity Q235549
relation P734
[ANSWER]
['Q235549', 'P734', 'Q1028313']
ASK WHERE { resource:Q235549 property:P734 resource:Q1028313 }
Yes
action is_in
entity Gruber
action find
entity Edita Gruberová
relation family name
['Edita Gruberová', 'family name', 'Gruber']
ASK WHERE { resource:Edita_Gruberová property:family_name resource:Gruber }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q513185 Q40
P27
Q1048835
USER
Is Austria the country of citizenship of Franz Xaver Gruber ?
(Q513185,P27,Q40)
action is_in
entity Q40
action find
entity Q513185
relation P27
['Q513185', 'P27', 'Q40']
ASK WHERE { resource:Q513185 property:P27 resource:Q40 }
Franz Xaver Gruber Austria
action is_in
entity Austria
action find
entity Franz Xaver Gruber
relation country of citizenship
['Franz Xaver Gruber', 'country of citizenship', 'Austria']
ASK WHERE { resource:Franz_Xaver_Gruber property:country_of_citizenship resource:Austria }
[]
political territorial entity
SYSTEM
YES
(Q513185,P27,Q40)
action is_in
entity Q40
action find
entity Q513185
relation P27
[ANSWER]
['Q513185', 'P27', 'Q40']
ASK WHERE { resource:Q513185 property:P27 resource:Q40 }
Yes
action is_in
entity Austria
action find
entity Franz Xaver Gruber
relation country of citizenship
['Franz Xaver Gruber', 'country of citizenship', 'Austria']
ASK WHERE { resource:Franz_Xaver_Gruber property:country_of_citizenship resource:Austria }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q513185 Q200661
P106
Q12737077
USER
How many occupations are the job of Franz Xaver Gruber or Juan Rulfo ?
(Q513185,P106,c(Q12737077)) (Q200661,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q513185
relation P106
type Q12737077
action filter_type
action find
entity Q200661
relation P106
type Q12737077
['Q513185', 'P106', {'concept': 'Q12737077'}] ['Q200661', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { ?g rdf:type ontology:Q12737077 . resource:Q200661 property:P106 ?g } UNION { resource:Q513185 property:P106 ?g . ?g rdf:type ontology:Q12737077 } }
Franz Xaver Gruber Juan Rulfo
action count
action union
action filter_type
action find
entity Franz Xaver Gruber
relation occupation
type occupation
action filter_type
action find
entity Juan Rulfo
relation occupation
type occupation
['Franz Xaver Gruber', 'occupation', {'concept': 'occupation'}] ['Juan Rulfo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { ?g rdf:type ontology:occupation . resource:Juan_Rulfo property:occupation ?g } UNION { resource:Franz_Xaver_Gruber property:occupation ?g . ?g rdf:type ontology:occupation } }
[]
occupation
SYSTEM
5
Q36180 Q33231 Q36834 Q6625963 Q49757
(Q513185,P106,c(Q12737077)) (Q200661,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q513185
relation P106
type Q12737077
action filter_type
action find
entity Q200661
relation P106
type Q12737077
[ANSWER]
['Q513185', 'P106', {'concept': 'Q12737077'}] ['Q200661', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { ?g rdf:type ontology:Q12737077 . resource:Q200661 property:P106 ?g } UNION { resource:Q513185 property:P106 ?g . ?g rdf:type ontology:Q12737077 } }
writer photographer composer novelist poet
5
action count
action union
action filter_type
action find
entity Franz Xaver Gruber
relation occupation
type occupation
action filter_type
action find
entity Juan Rulfo
relation occupation
type occupation
['Franz Xaver Gruber', 'occupation', {'concept': 'occupation'}] ['Juan Rulfo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { ?g rdf:type ontology:occupation . resource:Juan_Rulfo property:occupation ?g } UNION { resource:Franz_Xaver_Gruber property:occupation ?g . ?g rdf:type ontology:occupation } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are atmost 85 names in ?
(c(Q82799),P407,c(Q34770))
action count
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 85
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:P407 ?n . ?n rdf:type ontology:Q34770 . ?f rdf:type ontology:Q82799 } GROUP BY ?n } . FILTER ( ?h <= 85 ) }
action count
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 85
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:language_of_work_or_name ?n . ?n rdf:type ontology:language . ?f rdf:type ontology:name } GROUP BY ?n } . FILTER ( ?h <= 85 ) }
[]
language name
SYSTEM
28
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 count
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 85
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:P407 ?n . ?n rdf:type ontology:Q34770 . ?f rdf:type ontology:Q82799 } GROUP BY ?n } . FILTER ( ?h <= 85 ) }
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
28
action count
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 85
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:language_of_work_or_name ?n . ?n rdf:type ontology:language . ?f rdf:type ontology:name } GROUP BY ?n } . FILTER ( ?h <= 85 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2594455 Q1028313
P734
Q502895
USER
Which people have Gruber or Wright as last name ?
OR((c(Q502895),P734,Q1028313), (c(Q502895),P734,Q2594455))
action filter_type
action union
action find_reverse
entity Q1028313
relation P734
action find_reverse
entity Q2594455
relation P734
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P734', 'Q1028313'], [{'concept': 'Q502895'}, 'P734', 'Q2594455']]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?p ) { ( resource:Q1028313 ) ( resource:Q2594455 ) } . ?e property:P734 ?p } . ?e rdf:type ontology:Q502895 }
Wright Gruber
action filter_type
action union
action find_reverse
entity Gruber
relation family name
action find_reverse
entity Wright
relation family name
type common name
{'OR': [[{'concept': 'common name'}, 'family name', 'Gruber'], [{'concept': 'common name'}, 'family name', 'Wright']]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?p ) { ( resource:Gruber ) ( resource:Wright ) } . ?e property:family_name ?p } . ?e rdf:type ontology:common_name }
[]
common name
Q27489535 Q2052465 Q1386524 Q609300 Q3320746 Q3280572 Q235549 Q3274912 Q12028679 Q16983735
SYSTEM
Some of them are Letitia Wright, Jenny Wright, Winky Wright, Dorell Wright, Monica Wright, Major Wright, Edita Gruberová, Michael Gruber, Karl Gruber, James Wright
Q490275 Q24039835 Q27489535 Q106480 Q4755112 Q202122 Q507519 Q727595 Q1066733 Q433927 Q2964899 Q1999611 Q15241244 Q2791097 Q2631275 Q5986010 Q767823 Q3640063 Q26828225 Q223234 Q2569309 Q3746728 Q684849 Q3900804 Q2325110 Q872380 Q3280572 Q17352194 Q2134032 Q3392957 Q16658169 Q2082646 Q2232073 Q466750 Q319820 Q1203621 Q5301033 Q305372 Q5108527 Q6243229 Q5108525 Q235549 Q438355 Q3568307 Q3182789 Q7351270 Q5485900 Q3787279 Q1389621 Q26737162 Q7795332 Q668654 Q889227 Q85603 Q1693584 Q11347562 Q139903 Q1636261 Q23012697 Q689565 Q12028679 Q2895601 Q2737206 Q79161 Q3643499 Q965883 Q526694 Q3720108 Q1047659 Q505498 Q3644275 Q221061 Q324690 Q54218 Q18674178 Q446214 Q22999763 Q15968021 Q11998113 Q309493 Q18709331 Q484953 Q7489563 Q3827871 Q24021032 Q2216446 Q79125 Q105466 Q275803 Q2052465 Q18706123 Q460355 Q692383 Q68719 Q456598 Q6136197 Q23833725 Q2757627 Q3787255 Q335125 Q3809928 Q86826 Q12026034 Q696877 Q1969967 Q3930387 Q3638274 Q3953582 Q375510 Q2016617 Q2560036 Q118817 Q7381291 Q2960465 Q3830806 Q269137 Q4848393 Q3308594 Q5604 Q3531369 Q1058867 Q1189306 Q3156821 Q343059 Q1757629 Q5026684 Q272972 Q23310063 Q16054932 Q4773740 Q14950865 Q3808606 Q2007696 Q381698 Q3676051 Q350183 Q7002441 Q190251 Q499557 Q928571 Q3123126 Q550653 Q230136 Q2080859 Q3320746 Q2394185 Q23011542 Q1066512 Q2687253 Q726365 Q1065696 Q526014 Q3807514 Q3980946 Q370839 Q609300 Q460791 Q469885 Q2448401 Q942702 Q4018042 Q4018043 Q27831887 Q441537 Q3785015 Q5045339 Q2552277 Q2602217 Q21406399 Q1386524 Q3610761 Q8020597 Q3605015 Q276311 Q3640009 Q3814554 Q662044 Q3856908 Q926362 Q977408 Q936306 Q312595 Q522057 Q2444461 Q1662989 Q6214605 Q3807327 Q981825 Q7387474 Q1399223 Q1093489 Q18546848 Q23661488 Q2376235 Q3809965 Q716085 Q2681113 Q2262372 Q1273543 Q15043902 Q368246 Q3274912 Q7351269 Q7351268 Q7351267 Q16983735 Q7351265 Q7351264 Q7351263 Q513185
OR((c(Q502895),P734,Q1028313), (c(Q502895),P734,Q2594455))
action filter_type
action union
action find_reverse
entity Q1028313
relation P734
action find_reverse
entity Q2594455
relation P734
type Q502895
[ANSWERS] have Gruber or Wright as last name
{'OR': [[{'concept': 'Q502895'}, 'P734', 'Q1028313'], [{'concept': 'Q502895'}, 'P734', 'Q2594455']]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?p ) { ( resource:Q1028313 ) ( resource:Q2594455 ) } . ?e property:P734 ?p } . ?e rdf:type ontology:Q502895 }
Eugene Wright David Grant Wright Letitia Wright Joachim Gruber Andrea Gruber John C. Wright Geoffrey Wright Patrick Gruber Jackie Wright Simon Wright Chris Wright Justin Wright Terry Wright Dean Wright David Wright Ichabod Charles Wright Augustin Johann Joseph Gruber Billy Wright Elise Annetta Gruber Billy Wright Julian Wright Florian Gruber David Wright Pete Wright C. S. Wright Hans Gruber Major Wright Stephen Peter Wright Rayfield Wright Jim Wright Armand Curly Wright Lorenzen Wright Sharone Wright Lilli Gruber Richard Wright Peter Wright Doug Wright Brad Wright Chris Wright John Kirtland Wright Chris Wright Edita Gruberová Chely Wright Will Wright John Wright Robert Wright Wilhelm von Wright Howie Wright Rashad Wright Dennis Wright Thomas Wright Kurt Gruber Luke Edward Wright Martin Gruber Alex Gruber Randy Wright Zackary Wright Frazer Wright Garrett Wright Franz Gruber Karl Gruber Ben Wright Bracey Wright Christoph Gruber Brad Wright Craig Wright Mark Wright Edythe Wright Guillermo Hayden Wright Joseph C. Wright Brent Wright Sewall Wright Gordon Wright Marty Wright Martin Wright J. Madison Wright Morris Wendell Wright Robert Wright Robert Wright Will Wright Sophia Wright Freddie Gruber Shareece Wright Laura Wright Keith Sellon-Wright Joseph Gruber Karl Gruber Bonnie Wright Amy Wright Jenny Wright Delon Wright Aloma Wright Magnus von Wright Alex Wright Syreeta Wright James Homer Wright Karl T. Wright Margaret Wright Howard Wright N. T. Wright Jonathan Jasper Wright Sabine Gruber Josef Gruber Michael Gruber Steven Wright Rasheim Wright Ben Wright Sean Wright Richard Wright Francis Gruber Antoine Wright Joe Wright Russel Wright Charles Wright Leroy Wright Sarah Wright Bailey Wright Michael Wright Frank Lloyd Wright Tommy Wright Shannon Wright Trevor Wright J. Mackye Gruber Jeffrey Wright Tim Wright Camille Wright Robin Wright John Gruber Robert Wright Anthony Wright Tim Wright Joby Wright Stephen Wright John Michael Wright Chuck Wright Georg Henrik von Wright Steve Wright Richard Wright Beals Wright Erik Olin Wright Robert Wright Max Wright Teresa Wright Josh Wright Monica Wright Chalky Wright Bruce Wright Charles Wright Neville Wright Chauncey Wright Marc Wright Bernhard Gruber Jay Wright Tanya Wright Jaguar Wright Dorell Wright Thomas Wright Judith Wright Herbert Gruber John Wright Walter Wright Walter Wright Alrahim Rasolhelios Wright III Frances Wright Henry Wright Carolyn D. Wright Craig Gruber Michael Wright Josef Gruber Winky Wright Alexander Gruber William Wright Adam Wright Tanisha Wright Bill Wright Kendall Wright Michael Wright Mick Wright Samuel E. Wright Almroth Wright Alan Wright Ian Wright Edgar Wright Joseph Wright Ingemar Gruber Joey Wright Jarius Wright Tommy Wright S. Fowler Wright Ferdinand von Wright Larry Wright Robert Wright Catherine Hermitage Eric Wright Jonathan Wright Brandan Wright Lonnie Wright Dorsey Wright Edward Maitland Wright Fred E. Wright José Roberto Wright Michael Gruber Robert Wright Robert Wright Robert Wright James Wright Robert Wright Robert Wright Robert Wright Franz Xaver Gruber
Letitia Wright, Jenny Wright, Winky Wright, Dorell Wright, Monica Wright, Major Wright, Edita Gruberová, Michael Gruber, Karl Gruber and James Wright have Gruber or Wright as last name
Letitia Wright Jenny Wright Winky Wright Dorell Wright Monica Wright Major Wright Edita Gruberová Michael Gruber Karl Gruber James Wright
action filter_type
action union
action find_reverse
entity Gruber
relation family name
action find_reverse
entity Wright
relation family name
type common name
{'OR': [[{'concept': 'common name'}, 'family name', 'Gruber'], [{'concept': 'common name'}, 'family name', 'Wright']]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?p ) { ( resource:Gruber ) ( resource:Wright ) } . ?e property:family_name ?p } . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3320746
P641
Q349
USER
Which sport was Monica Wright a part of ?
(Q3320746,P641,c(Q349))
action filter_type
action find
entity Q3320746
relation P641
type Q349
['Q3320746', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q3320746 property:P641 ?x . ?x rdf:type ontology:Q349 }
Monica Wright
action filter_type
action find
entity Monica Wright
relation sport
type sport
['Monica Wright', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Monica_Wright property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3320746,P641,c(Q349))
action filter_type
action find
entity Q3320746
relation P641
type Q349
Which sport was Monica Wright a part of
['Q3320746', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q3320746 property:P641 ?x . ?x rdf:type ontology:Q349 }
basketball
Which sport was Monica Wright a part of
basketball
action filter_type
action find
entity Monica Wright
relation sport
type sport
['Monica Wright', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Monica_Wright property:sport ?x . ?x rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3320746
P69
Q3918
USER
Which university was Monica Wright educated at ?
(Q3320746,P69,c(Q3918))
action filter_type
action find
entity Q3320746
relation P69
type Q3918
['Q3320746', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?m WHERE { resource:Q3320746 property:P69 ?m . ?m rdf:type ontology:Q3918 }
Monica Wright
action filter_type
action find
entity Monica Wright
relation educated at
type university
['Monica Wright', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?m WHERE { resource:Monica_Wright property:educated_at ?m . ?m rdf:type ontology:university }
[]
university
Q213439
SYSTEM
University of Virginia
Q213439
(Q3320746,P69,c(Q3918))
action filter_type
action find
entity Q3320746
relation P69
type Q3918
Monica Wright was educated by [ANSWER]
['Q3320746', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?m WHERE { resource:Q3320746 property:P69 ?m . ?m rdf:type ontology:Q3918 }
University of Virginia
Monica Wright was educated by University of Virginia
University of Virginia
action filter_type
action find
entity Monica Wright
relation educated at
type university
['Monica Wright', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?m WHERE { resource:Monica_Wright property:educated_at ?m . ?m rdf:type ontology:university }
[]