Simple Question (Direct)
Simple Question
Q823492
P106
Q12737077
USER
Which occupation is the profession of Bernd Gerber ?
(Q823492,P106,c(Q12737077))
action filter_type
action find
entity Q823492
relation P106
type Q12737077
['Q823492', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q823492 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Bernd Gerber
action filter_type
action find
entity Bernd Gerber
relation occupation
type occupation
['Bernd Gerber', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Bernd_Gerber property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q823492,P106,c(Q12737077))
action filter_type
action find
entity Q823492
relation P106
type Q12737077
As [ANSWER] is the profession of Bernd Gerber
['Q823492', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q823492 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
association football player
As association football player is the profession of Bernd Gerber
association football player
action filter_type
action find
entity Bernd Gerber
relation occupation
type occupation
['Bernd Gerber', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Bernd_Gerber property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q823492
P734
Q82799
USER
Who has the surname Bernd Gerber ?
(Q823492,P734,c(Q82799))
action filter_type
action find
entity Q823492
relation P734
type Q82799
['Q823492', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q823492 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Bernd Gerber
action filter_type
action find
entity Bernd Gerber
relation family name
type name
['Bernd Gerber', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Bernd_Gerber property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q1510316
SYSTEM
Gerber
Q1510316
(Q823492,P734,c(Q82799))
action filter_type
action find
entity Q823492
relation P734
type Q82799
[ANSWER] has the surname Bernd [ANSWER]
['Q823492', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q823492 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Gerber
Gerber has the surname Bernd Gerber
Gerber
action filter_type
action find
entity Bernd Gerber
relation family name
type name
['Bernd Gerber', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Bernd_Gerber property:family_name ?h . ?h rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27570641
Q82799
USER
And also tell me about Maurizio Fantoni?
(Q27570641,P734,c(Q82799))
action filter_type
action find
entity Q27570641
relation P734
type Q82799
['Q27570641', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q27570641 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Maurizio Fantoni
action filter_type
action find
entity Maurizio Fantoni
relation family name
type name
['Maurizio Fantoni', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Maurizio_Fantoni property:family_name ?z . ?z rdf:type ontology:name }
[]
name
Q21509790
SYSTEM
Fantoni
Q21509790
(Q27570641,P734,c(Q82799))
action filter_type
action find
entity Q27570641
relation P734
type Q82799
[ANSWER]
['Q27570641', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q27570641 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Fantoni
Fantoni
action filter_type
action find
entity Maurizio Fantoni
relation family name
type name
['Maurizio Fantoni', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Maurizio_Fantoni property:family_name ?z . ?z rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21509790 Q27570641
P734
Q502895
USER
Does Maurizio Fantoni have that one as their family name ?
(Q27570641,P734,Q21509790)
action is_in
entity Q21509790
action find
entity Q27570641
relation P734
['Q27570641', 'P734', 'Q21509790']
ASK WHERE { resource:Q27570641 property:P734 resource:Q21509790 }
Fantoni Maurizio Fantoni
action is_in
entity Fantoni
action find
entity Maurizio Fantoni
relation family name
['Maurizio Fantoni', 'family name', 'Fantoni']
ASK WHERE { resource:Maurizio_Fantoni property:family_name resource:Fantoni }
[]
common name
SYSTEM
YES
(Q27570641,P734,Q21509790)
action is_in
entity Q21509790
action find
entity Q27570641
relation P734
[ANSWER]
['Q27570641', 'P734', 'Q21509790']
ASK WHERE { resource:Q27570641 property:P734 resource:Q21509790 }
Yes
action is_in
entity Fantoni
action find
entity Maurizio Fantoni
relation family name
['Maurizio Fantoni', 'family name', 'Fantoni']
ASK WHERE { resource:Maurizio_Fantoni property:family_name resource:Fantoni }
[]
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 72 names composed in ?
(c(Q82799),P407,c(Q34770))
action count
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 72
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:P407 ?v . ?v rdf:type ontology:Q34770 . ?d rdf:type ontology:Q82799 } GROUP BY ?v } . FILTER ( ?w <= 72 ) }
action count
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 72
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:language_of_work_or_name ?v . ?v rdf:type ontology:language . ?d rdf:type ontology:name } GROUP BY ?v } . FILTER ( ?w <= 72 ) }
[]
language name
SYSTEM
27
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 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 72
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:P407 ?v . ?v rdf:type ontology:Q34770 . ?d rdf:type ontology:Q82799 } GROUP BY ?v } . FILTER ( ?w <= 72 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak 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
27
action count
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 72
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:language_of_work_or_name ?v . ?v rdf:type ontology:language . ?d rdf:type ontology:name } GROUP BY ?v } . FILTER ( ?w <= 72 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q26971562 Q2342494
USER
How many people had done the illustration of approximately 16 comic formats or collectables ?
(c(Q26971562)|c(Q2342494),P110,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 16
[[{'concept': 'Q26971562'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?o WHERE { { ?b property:P110 ?o . ?b rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q502895 } UNION { ?b property:P110 ?o . ?o rdf:type ontology:Q502895 . ?b rdf:type ontology:Q26971562 } } GROUP BY ?o } . FILTER ( ?h = 16 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 16
[[{'concept': 'comic format'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?o WHERE { { ?b property:illustrator ?o . ?b rdf:type ontology:collectable . ?o rdf:type ontology:common_name } UNION { ?b property:illustrator ?o . ?o rdf:type ontology:common_name . ?b rdf:type ontology:comic_format } } GROUP BY ?o } . FILTER ( ?h = 16 ) }
[]
common name comic format collectable
SYSTEM
8
Q6104584 Q201157 Q841310 Q5231938 Q2340811 Q5423369 Q101951 Q711830
(c(Q26971562)|c(Q2342494),P110,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 16
[ANSWER]
[[{'concept': 'Q26971562'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?o WHERE { { ?b property:P110 ?o . ?b rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q502895 } UNION { ?b property:P110 ?o . ?o rdf:type ontology:Q502895 . ?b rdf:type ontology:Q26971562 } } GROUP BY ?o } . FILTER ( ?h = 16 ) }
J. Allen St. John George Roux Garth Williams David Burroughs Mattingly Brett Helquist Ezra Jack Keats Pauline Baynes Chris Riddell
8
action count
action approx
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 16
[[{'concept': 'comic format'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?o WHERE { { ?b property:illustrator ?o . ?b rdf:type ontology:collectable . ?o rdf:type ontology:common_name } UNION { ?b property:illustrator ?o . ?o rdf:type ontology:common_name . ?b rdf:type ontology:comic_format } } GROUP BY ?o } . FILTER ( ?h = 16 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q27570641
P106
Q12737077
USER
How many occupations have Maurizio Fantoni as his/her as a career ?
(Q27570641,P106,c(Q12737077))
action count
action filter_type
action find
entity Q27570641
relation P106
type Q12737077
['Q27570641', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q27570641 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Maurizio Fantoni
action count
action filter_type
action find
entity Maurizio Fantoni
relation occupation
type occupation
['Maurizio Fantoni', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Maurizio_Fantoni property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q644687
(Q27570641,P106,c(Q12737077))
action count
action filter_type
action find
entity Q27570641
relation P106
type Q12737077
[ANSWER]
['Q27570641', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q27570641 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
illustrator
1
action count
action filter_type
action find
entity Maurizio Fantoni
relation occupation
type occupation
['Maurizio Fantoni', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Maurizio_Fantoni property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q823492
P54
Q12973014
USER
What is Bernd Gerber a member of ?
(Q823492,P54,c(Q12973014))
action filter_type
action find
entity Q823492
relation P54
type Q12973014
['Q823492', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12973014 . resource:Q823492 property:P54 ?s }
Bernd Gerber
action filter_type
action find
entity Bernd Gerber
relation member of sports team
type sports team
['Bernd Gerber', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sports_team . resource:Bernd_Gerber property:member_of_sports_team ?s }
[]
sports team
Q16525407
SYSTEM
1. FC Kaiserslautern II
Q16525407
(Q823492,P54,c(Q12973014))
action filter_type
action find
entity Q823492
relation P54
type Q12973014
Bernd Gerber a member of is the [ANSWER]
['Q823492', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12973014 . resource:Q823492 property:P54 ?s }
1. FC Kaiserslautern II
Bernd Gerber a member of is the 1. FC Kaiserslautern II
1. FC Kaiserslautern II
action filter_type
action find
entity Bernd Gerber
relation member of sports team
type sports team
['Bernd Gerber', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sports_team . resource:Bernd_Gerber property:member_of_sports_team ?s }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1891397 Q823492
P54
Q12973014
USER
Or Monty Williams?
OR((Q823492,P54,c(Q12973014)), (Q1891397,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q823492
relation P54
action find
entity Q1891397
relation P54
type Q12973014
{'OR': [['Q823492', 'P54', {'concept': 'Q12973014'}], ['Q1891397', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q823492 property:P54 ?r } UNION { resource:Q1891397 property:P54 ?r } } . ?r rdf:type ontology:Q12973014 }
Monty Williams Bernd Gerber
action filter_type
action union
action find
entity Bernd Gerber
relation member of sports team
action find
entity Monty Williams
relation member of sports team
type sports team
{'OR': [['Bernd Gerber', 'member of sports team', {'concept': 'sports team'}], ['Monty Williams', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Bernd_Gerber property:member_of_sports_team ?r } UNION { resource:Monty_Williams property:member_of_sports_team ?r } } . ?r rdf:type ontology:sports_team }
[]
sports team
Q138089 Q131364 Q162954 Q16525407 Q167253 Q172339 Q161337 Q159729
SYSTEM
Philadelphia 76ers, New York Knicks, Denver Nuggets, 1. FC Kaiserslautern II, Portland Trail Blazers, New Orleans Pelicans, Orlando Magic, San Antonio Spurs
Q138089 Q131364 Q162954 Q16525407 Q167253 Q172339 Q161337 Q159729
OR((Q823492,P54,c(Q12973014)), (Q1891397,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q823492
relation P54
action find
entity Q1891397
relation P54
type Q12973014
[ANSWERS]
{'OR': [['Q823492', 'P54', {'concept': 'Q12973014'}], ['Q1891397', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q823492 property:P54 ?r } UNION { resource:Q1891397 property:P54 ?r } } . ?r rdf:type ontology:Q12973014 }
Philadelphia 76ers New York Knicks Denver Nuggets 1. FC Kaiserslautern II Portland Trail Blazers New Orleans Pelicans Orlando Magic San Antonio Spurs
Philadelphia 76ers New York Knicks Denver Nuggets 1. FC Kaiserslautern II Portland Trail Blazers New Orleans Pelicans Orlando Magic San Antonio Spurs
action filter_type
action union
action find
entity Bernd Gerber
relation member of sports team
action find
entity Monty Williams
relation member of sports team
type sports team
{'OR': [['Bernd Gerber', 'member of sports team', {'concept': 'sports team'}], ['Monty Williams', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Bernd_Gerber property:member_of_sports_team ?r } UNION { resource:Monty_Williams property:member_of_sports_team ?r } } . ?r rdf:type ontology:sports_team }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q500834 Q15991303
USER
Which people were considered to be the statistical leader of exactly 3 tournaments or association football leagues ?
(c(Q500834)|c(Q15991303),P3279,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
value 3
[[{'concept': 'Q500834'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?v WHERE { { ?p property:P3279 ?v . ?v rdf:type ontology:Q502895 . ?p rdf:type ontology:Q500834 } UNION { ?p property:P3279 ?v . ?v rdf:type ontology:Q502895 . ?p rdf:type ontology:Q15991303 } } GROUP BY ?v } . FILTER ( ?x = 3 ) }
action equal
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
value 3
[[{'concept': 'tournament'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?v WHERE { { ?p property:statistical_leader ?v . ?v rdf:type ontology:common_name . ?p rdf:type ontology:tournament } UNION { ?p property:statistical_leader ?v . ?v rdf:type ontology:common_name . ?p rdf:type ontology:association_football_league } } GROUP BY ?v } . FILTER ( ?x = 3 ) }
[]
common name tournament association football league
Q310519 Q152871
SYSTEM
Ulf Kirsten, Karl-Heinz Rummenigge
Q310519 Q152871
(c(Q500834)|c(Q15991303),P3279,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
value 3
[ANSWERS] were considered to be the statistical leader of exactly 3 tournaments or association football leagues
[[{'concept': 'Q500834'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?v WHERE { { ?p property:P3279 ?v . ?v rdf:type ontology:Q502895 . ?p rdf:type ontology:Q500834 } UNION { ?p property:P3279 ?v . ?v rdf:type ontology:Q502895 . ?p rdf:type ontology:Q15991303 } } GROUP BY ?v } . FILTER ( ?x = 3 ) }
Ulf Kirsten Karl-Heinz Rummenigge
Ulf Kirsten and Karl-Heinz Rummenigge were considered to be the statistical leader of exactly 3 tournaments or association football leagues
Ulf Kirsten Karl-Heinz Rummenigge
action equal
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
value 3
[[{'concept': 'tournament'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) ?v WHERE { { ?p property:statistical_leader ?v . ?v rdf:type ontology:common_name . ?p rdf:type ontology:tournament } UNION { ?p property:statistical_leader ?v . ?v rdf:type ontology:common_name . ?p rdf:type ontology:association_football_league } } GROUP BY ?v } . FILTER ( ?x = 3 ) }
[]