Simple Question (Direct)
Simple Question
Q5307252
P641
Q349
USER
Which sport was Drew Nowak a part of ?
(Q5307252,P641,c(Q349))
action filter_type
action find
entity Q5307252
relation P641
type Q349
['Q5307252', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q5307252 property:P641 ?e . ?e rdf:type ontology:Q349 }
Drew Nowak
action filter_type
action find
entity Drew Nowak
relation sport
type sport
['Drew Nowak', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Drew_Nowak property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q5307252,P641,c(Q349))
action filter_type
action find
entity Q5307252
relation P641
type Q349
Drew Nowak was the [ANSWER]
['Q5307252', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q5307252 property:P641 ?e . ?e rdf:type ontology:Q349 }
American football
Drew Nowak was the American football
American football
action filter_type
action find
entity Drew Nowak
relation sport
type sport
['Drew Nowak', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Drew_Nowak property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5307252
P106
Q12737077
USER
Which occupation has Drew Nowak as his/her 's career ?
(Q5307252,P106,c(Q12737077))
action filter_type
action find
entity Q5307252
relation P106
type Q12737077
['Q5307252', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q5307252 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Drew Nowak
action filter_type
action find
entity Drew Nowak
relation occupation
type occupation
['Drew Nowak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Drew_Nowak property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q5307252,P106,c(Q12737077))
action filter_type
action find
entity Q5307252
relation P106
type Q12737077
As [ANSWER] has Drew Nowak as his/her 's career
['Q5307252', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q5307252 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
American football player
As American football player has Drew Nowak as his/her 's career
American football player
action filter_type
action find
entity Drew Nowak
relation occupation
type occupation
['Drew Nowak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Drew_Nowak property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5307252
P735
Q82799
USER
What is forename of Drew Nowak ?
(Q5307252,P735,c(Q82799))
action filter_type
action find
entity Q5307252
relation P735
type Q82799
['Q5307252', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q5307252 property:P735 ?f . ?f rdf:type ontology:Q82799 }
Drew Nowak
action filter_type
action find
entity Drew Nowak
relation given name
type name
['Drew Nowak', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Drew_Nowak property:given_name ?f . ?f rdf:type ontology:name }
[]
name
Q19819740
SYSTEM
Drew
Q19819740
(Q5307252,P735,c(Q82799))
action filter_type
action find
entity Q5307252
relation P735
type Q82799
Forename of [ANSWER] Nowak is of [ANSWER]
['Q5307252', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q5307252 property:P735 ?f . ?f rdf:type ontology:Q82799 }
Drew
Forename of Drew Nowak is of Drew
Drew
action filter_type
action find
entity Drew Nowak
relation given name
type name
['Drew Nowak', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Drew_Nowak property:given_name ?f . ?f rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19819740
P1533
Q82799
USER
Which name is same as that one ?
(Q19819740,P1533,c(Q82799))
action filter_type
action find
entity Q19819740
relation P1533
type Q82799
['Q19819740', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q19819740 property:P1533 ?t . ?t rdf:type ontology:Q82799 }
Drew
action filter_type
action find
entity Drew
relation family name identical to this first name
type name
['Drew', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Drew property:family_name_identical_to_this_first_name ?t . ?t rdf:type ontology:name }
[]
name
Q16275570
SYSTEM
Drew
Q16275570
(Q19819740,P1533,c(Q82799))
action filter_type
action find
entity Q19819740
relation P1533
type Q82799
[ANSWER] is same as that one
['Q19819740', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q19819740 property:P1533 ?t . ?t rdf:type ontology:Q82799 }
Drew
Drew is same as that one
Drew
action filter_type
action find
entity Drew
relation family name identical to this first name
type name
['Drew', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Drew property:family_name_identical_to_this_first_name ?t . ?t rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are the languages of work for atmost 179 names ?
(c(Q82799),P407,c(Q34770))
action count
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 179
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { FILTER ( ?r <= 179 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P407 ?y . ?y rdf:type ontology:Q34770 . ?s rdf:type ontology:Q82799 } GROUP BY ?y } }
action count
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 179
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { FILTER ( ?r <= 179 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?s rdf:type ontology:name } GROUP BY ?y } }
[]
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 179
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { FILTER ( ?r <= 179 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P407 ?y . ?y rdf:type ontology:Q34770 . ?s rdf:type ontology:Q82799 } GROUP BY ?y } }
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 179
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { FILTER ( ?r <= 179 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?s rdf:type ontology:name } GROUP BY ?y } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5307252
P21
Q290
USER
Which sex does Drew Nowak possess ?
(Q5307252,P21,c(Q290))
action filter_type
action find
entity Q5307252
relation P21
type Q290
['Q5307252', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q5307252 property:P21 ?v . ?v rdf:type ontology:Q290 }
Drew Nowak
action filter_type
action find
entity Drew Nowak
relation gender
type sex
['Drew Nowak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Drew_Nowak property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5307252,P21,c(Q290))
action filter_type
action find
entity Q5307252
relation P21
type Q290
Drew Nowak possesses 1 [ANSWER]
['Q5307252', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q5307252 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
Drew Nowak possesses 1 male
male
action filter_type
action find
entity Drew Nowak
relation gender
type sex
['Drew Nowak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Drew_Nowak property:gender ?v . ?v rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q838948 Q11060274
USER
Which names are expressed in exactly 6 works of art or prints ?
(c(Q838948)|c(Q11060274),P180,c(Q82799))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
value 6
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q11060274 ) } . ?z rdf:type ?t } GROUP BY ?w } . FILTER ( ?o = 6 ) }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type print
value 6
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:print ) } . ?z rdf:type ?t } GROUP BY ?w } . FILTER ( ?o = 6 ) }
[]
name work of art print
Q7369 Q152
SYSTEM
dolphin, fish
Q7369 Q152
(c(Q838948)|c(Q11060274),P180,c(Q82799))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
value 6
[ANSWERS] are expressed in exactly 6 works of art or prints
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q11060274 ) } . ?z rdf:type ?t } GROUP BY ?w } . FILTER ( ?o = 6 ) }
dolphin fish
Dolphin and fish are expressed in exactly 6 works of art or prints
dolphin fish
action equal
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type print
value 6
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:print ) } . ?z rdf:type ?t } GROUP BY ?w } . FILTER ( ?o = 6 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P138
Q82799 Q82799 Q2235308
USER
How many names are lesser number of names and ship types named after than that name ?
(c(Q82799)|c(Q2235308),P138,c(Q82799))
[[{'concept': 'Q82799'}, {'concept': 'Q2235308'}], 'P138', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P138 ?z } UNION { ?y property:P138 ?z } } . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q2235308 }
[[{'concept': 'name'}, {'concept': 'ship type'}], 'named after', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:named_after ?z } UNION { ?y property:named_after ?z } } . ?z rdf:type ontology:name . ?y rdf:type ontology:ship_type }
[]
name name ship type
Comparative|Count over More/Less|Mult. entity type|Clarification
Q7369
SYSTEM
Did you mean dolphin ?
(c(Q82799)|c(Q2235308),P138,c(Q82799))
[ANSWER]
[[{'concept': 'Q82799'}, {'concept': 'Q2235308'}], 'P138', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P138 ?z } UNION { ?y property:P138 ?z } } . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q2235308 }
Did you mean dolphin ?
dolphin
[[{'concept': 'name'}, {'concept': 'ship type'}], 'named after', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:named_after ?z } UNION { ?y property:named_after ?z } } . ?z rdf:type ontology:name . ?y rdf:type ontology:ship_type }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant fish. Could you tell me the answer for that?
(c(Q82799)|c(Q2235308),P138,c(Q82799))
Q152
[[{'concept': 'Q82799'}, {'concept': 'Q2235308'}], 'P138', {'concept': 'Q82799'}]
[[{'concept': 'name'}, {'concept': 'ship type'}], 'named after', {'concept': 'name'}]
[]
SYSTEM
39
Q3060012 Q5 Q726 Q16281046 Q12346339 Q18228686 Q19930319 Q18822560 Q27547 Q10355035 Q19833249 Q201251 Q455758 Q1065917 Q2620506 Q829309 Q17379071 Q9394 Q2734060 Q3065939 Q835808 Q177053 Q16964089 Q11946202 Q21476715 Q18183304 Q846664 Q7378 Q18579278 Q538906 Q308841 Q168903 Q11879590 Q849545 Q1025368 Q18809734 Q185215 Q1277323 Q3469018
(c(Q82799)|c(Q2235308),P138,c(Q82799))
[ANSWER]
[[{'concept': 'Q82799'}, {'concept': 'Q2235308'}], 'P138', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P138 ?z } UNION { ?y property:P138 ?z } } . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q2235308 }
egret human horse Rufus Doktoro Esperanto Evellin Salis Mortimer Sandwich Tern Half-blood Prince Frei peacock Amati weta Vojinović noble family Van Rechteren Lucy rabbit reed Nicolay Brontë family Mr. Walkinshaw butterfly Famille Bánffy Hürlimann hawk elephant Burckhardt thistle snail Bos primigenius female given name Malik Caecilius Metellus Neville piranha Earl of Lauderdale snipe
39
[[{'concept': 'name'}, {'concept': 'ship type'}], 'named after', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:named_after ?z } UNION { ?y property:named_after ?z } } . ?z rdf:type ontology:name . ?y rdf:type ontology:ship_type }
[]