Simple Question (Direct)
Simple Question
Q16105515
P69
Q3918
USER
What is the university where Nurham O. Warwick was educated ?
(Q16105515,P69,c(Q3918))
action filter_type
action find
entity Q16105515
relation P69
type Q3918
['Q16105515', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q16105515 property:P69 ?x . ?x rdf:type ontology:Q3918 }
Nurham O. Warwick
action filter_type
action find
entity Nurham O. Warwick
relation educated at
type university
['Nurham O. Warwick', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Nurham_O._Warwick property:educated_at ?x . ?x rdf:type ontology:university }
[]
university
Q192334
SYSTEM
University of North Carolina at Chapel Hill
Q192334
(Q16105515,P69,c(Q3918))
action filter_type
action find
entity Q16105515
relation P69
type Q3918
The university Nurham O. is the [ANSWER]
['Q16105515', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q16105515 property:P69 ?x . ?x rdf:type ontology:Q3918 }
University of North Carolina at Chapel Hill
The university Nurham O. is the University of North Carolina at Chapel Hill
University of North Carolina at Chapel Hill
action filter_type
action find
entity Nurham O. Warwick
relation educated at
type university
['Nurham O. Warwick', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Nurham_O._Warwick property:educated_at ?x . ?x rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16105515
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q192334,P102,c(Q7210356))
action filter_type
action find
entity Q16105515
relation P102
type Q7210356
['Q192334', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q7210356 . resource:Q16105515 property:P102 ?w }
Nurham O. Warwick
action filter_type
action find
entity Nurham O. Warwick
relation member of political party
type political organization
['University of North Carolina at Chapel Hill', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_organization . resource:Nurham_O._Warwick property:member_of_political_party ?w }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q192334,P102,c(Q7210356))
action filter_type
action find
entity Q16105515
relation P102
type Q7210356
Party [ANSWER] is that person a member of
['Q192334', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q7210356 . resource:Q16105515 property:P102 ?w }
Democratic Party
Party Democratic Party is that person a member of
Democratic Party
action filter_type
action find
entity Nurham O. Warwick
relation member of political party
type political organization
['University of North Carolina at Chapel Hill', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_organization . resource:Nurham_O._Warwick property:member_of_political_party ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16105515
P1412
Q34770
USER
Which language does that person speak in ?
(Q29552,P1412,c(Q34770))
action filter_type
action find
entity Q16105515
relation P1412
type Q34770
['Q29552', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q16105515 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Nurham O. Warwick
action filter_type
action find
entity Nurham O. Warwick
relation languages spoken, written or signed
type language
['Democratic Party', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Nurham_O._Warwick property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q29552,P1412,c(Q34770))
action filter_type
action find
entity Q16105515
relation P1412
type Q34770
That person speaks the [ANSWER]
['Q29552', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q16105515 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
English
That person speaks the English
English
action filter_type
action find
entity Nurham O. Warwick
relation languages spoken, written or signed
type language
['Democratic Party', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Nurham_O._Warwick property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16105515
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q1860,P27,c(Q15617994))
action filter_type
action find
entity Q16105515
relation P27
type Q15617994
['Q1860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q16105515 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Nurham O. Warwick
action filter_type
action find
entity Nurham O. Warwick
relation country of citizenship
type designation for an administrative territorial entity
['English', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Nurham_O._Warwick property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1860,P27,c(Q15617994))
action filter_type
action find
entity Q16105515
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q1860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q16105515 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
That person belongs to the United States of America
United States of America
action filter_type
action find
entity Nurham O. Warwick
relation country of citizenship
type designation for an administrative territorial entity
['English', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Nurham_O._Warwick property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q36790
P364
Q34770 Q21114848 Q2342494
USER
Which languages are the original languages of creation of more number of magazine genres and collectables than Sumerian ?
(c(Q21114848)|c(Q2342494),P364,c(Q34770))
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q36790
relation P364
type Q21114848
type Q2342494
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?x WHERE { { ?e property:P364 ?x . ?x rdf:type ontology:Q34770 . ?e rdf:type ontology:Q21114848 } UNION { ?e property:P364 ?x . ?e rdf:type ontology:Q2342494 . ?x rdf:type ontology:Q34770 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P364 resource:Q36790 . { ?j rdf:type ?g . VALUES ( ?g ) { ( ontology:Q21114848 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?n > ?k ) }
Sumerian
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Sumerian
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?x WHERE { { ?e property:original_language_of_work ?x . ?x rdf:type ontology:language . ?e rdf:type ontology:magazine_genre } UNION { ?e property:original_language_of_work ?x . ?e rdf:type ontology:collectable . ?x rdf:type ontology:language } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:original_language_of_work resource:Sumerian . { ?j rdf:type ?g . VALUES ( ?g ) { ( ontology:magazine_genre ) ( ontology:collectable ) } } } } . FILTER ( ?n > ?k ) }
[]
language magazine genre collectable
Q1860 Q35499 Q33251
SYSTEM
English, Old Church Slavonic, Church Slavonic
Q13414913 Q1860 Q35499 Q8785 Q33251 Q18130932 Q1321 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q3110592 Q783605
(c(Q21114848)|c(Q2342494),P364,c(Q34770))
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q36790
relation P364
type Q21114848
type Q2342494
[ANSWERS] are the original languages of creation of more number of magazine genres and collectables than Sumerian
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?x WHERE { { ?e property:P364 ?x . ?x rdf:type ontology:Q34770 . ?e rdf:type ontology:Q21114848 } UNION { ?e property:P364 ?x . ?e rdf:type ontology:Q2342494 . ?x rdf:type ontology:Q34770 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P364 resource:Q36790 . { ?j rdf:type ?g . VALUES ( ?g ) { ( ontology:Q21114848 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?n > ?k ) }
Simplified Chinese English Old Church Slavonic Armenian Church Slavonic Traditional Chinese Spanish Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk written Chinese Written vernacular Chinese
English, Old Church Slavonic and Church Slavonic are the original languages of creation of more number of magazine genres and collectables than Sumerian
English Old Church Slavonic Church Slavonic
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Sumerian
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?x WHERE { { ?e property:original_language_of_work ?x . ?x rdf:type ontology:language . ?e rdf:type ontology:magazine_genre } UNION { ?e property:original_language_of_work ?x . ?e rdf:type ontology:collectable . ?x rdf:type ontology:language } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:original_language_of_work resource:Sumerian . { ?j rdf:type ?g . VALUES ( ?g ) { ( ontology:magazine_genre ) ( ontology:collectable ) } } } } . FILTER ( ?n > ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q783605
P364
Q34770 Q21114848 Q2342494
USER
And also tell me about Written vernacular Chinese?
(c(Q21114848)|c(Q2342494),P364,c(Q34770))
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q783605
relation P364
type Q21114848
type Q2342494
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?y ) { ( ontology:Q21114848 ) ( ontology:Q2342494 ) } . ?o rdf:type ?y } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P364 resource:Q783605 . { { ?g rdf:type ontology:Q2342494 } UNION { ?g rdf:type ontology:Q21114848 } } } } . FILTER ( ?p > ?a ) }
Written vernacular Chinese
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Written vernacular Chinese
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?y ) { ( ontology:magazine_genre ) ( ontology:collectable ) } . ?o rdf:type ?y } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:original_language_of_work resource:Written_vernacular_Chinese . { { ?g rdf:type ontology:collectable } UNION { ?g rdf:type ontology:magazine_genre } } } } . FILTER ( ?p > ?a ) }
[]
language magazine genre collectable
Q1860 Q33251 Q397
SYSTEM
English, Church Slavonic, Latin
Q1860 Q8785 Q33251 Q18130932 Q1321 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q3110592
(c(Q21114848)|c(Q2342494),P364,c(Q34770))
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q783605
relation P364
type Q21114848
type Q2342494
[ANSWERS]
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?y ) { ( ontology:Q21114848 ) ( ontology:Q2342494 ) } . ?o rdf:type ?y } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P364 resource:Q783605 . { { ?g rdf:type ontology:Q2342494 } UNION { ?g rdf:type ontology:Q21114848 } } } } . FILTER ( ?p > ?a ) }
English Armenian Church Slavonic Traditional Chinese Spanish Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk written Chinese
English Church Slavonic Latin
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Written vernacular Chinese
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?y ) { ( ontology:magazine_genre ) ( ontology:collectable ) } . ?o rdf:type ?y } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:original_language_of_work resource:Written_vernacular_Chinese . { { ?g rdf:type ontology:collectable } UNION { ?g rdf:type ontology:magazine_genre } } } } . FILTER ( ?p > ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P364
Q34770 Q201658 Q838948
USER
How many languages are considered to be the original language of creation of atleast 1760 film genres or works of art ?
(c(Q201658)|c(Q838948),P364,c(Q34770))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
value 1760
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:P364 ?c . ?c rdf:type ontology:Q34770 . ?z rdf:type ontology:Q201658 } UNION { ?z property:P364 ?c . ?c rdf:type ontology:Q34770 . ?z rdf:type ontology:Q838948 } } GROUP BY ?c } . FILTER ( ?v >= 1760 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
value 1760
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:original_language_of_work ?c . ?c rdf:type ontology:language . ?z rdf:type ontology:film_genre } UNION { ?z property:original_language_of_work ?c . ?c rdf:type ontology:language . ?z rdf:type ontology:work_of_art } } GROUP BY ?c } . FILTER ( ?v >= 1760 ) }
[]
language film genre work of art
SYSTEM
3
Q1860 Q1321 Q652
(c(Q201658)|c(Q838948),P364,c(Q34770))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
value 1760
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:P364 ?c . ?c rdf:type ontology:Q34770 . ?z rdf:type ontology:Q201658 } UNION { ?z property:P364 ?c . ?c rdf:type ontology:Q34770 . ?z rdf:type ontology:Q838948 } } GROUP BY ?c } . FILTER ( ?v >= 1760 ) }
English Spanish Italian
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
value 1760
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:original_language_of_work ?c . ?c rdf:type ontology:language . ?z rdf:type ontology:film_genre } UNION { ?z property:original_language_of_work ?c . ?c rdf:type ontology:language . ?z rdf:type ontology:work_of_art } } GROUP BY ?c } . FILTER ( ?v >= 1760 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5239896
P248
Q1914636 Q191067 Q502895
USER
How many people have been recognized first in around the same number of activities or articles as David Smith ?
(c(Q502895),P248,c(Q1914636)|c(Q191067))
action count
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q1914636
action find_tuple_counts
relation P248
type Q502895
type Q191067
action count
action filter_multi_types
action find
entity Q5239896
relation P248
type Q1914636
type Q191067
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1914636'}, {'concept': 'Q191067'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?p WHERE { VALUES ( ?c ) { ( ontology:Q1914636 ) ( ontology:Q191067 ) } . ?m rdf:type ?c } GROUP BY ?p } . FILTER ( ?j = ?g ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q5239896 property:P248 ?e . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:Q191067 ) ( ontology:Q1914636 ) } } } } }
David Smith
action count
action approx
action union
action find_tuple_counts
relation stated in
type common name
type activity
action find_tuple_counts
relation stated in
type common name
type article
action count
action filter_multi_types
action find
entity David Smith
relation stated in
type activity
type article
[{'concept': 'common name'}, 'stated in', [{'concept': 'activity'}, {'concept': 'article'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?p WHERE { VALUES ( ?c ) { ( ontology:activity ) ( ontology:article ) } . ?m rdf:type ?c } GROUP BY ?p } . FILTER ( ?j = ?g ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:David_Smith property:stated_in ?e . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:article ) ( ontology:activity ) } } } } }
[]
activity article common name
SYSTEM
348
Q16859599 Q6130307 Q6255164 Q5144961 Q5239879 Q16210814 Q16013737 Q7342716 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q8017696 Q6237329 Q5232852 Q16859511 Q16011002 Q17402519 Q6255435 Q6262994 Q6262996 Q6262991 Q6249889 Q6255181 Q6249883 Q6255184 Q15996304 Q18527481 Q16225368 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6236088 Q18546647 Q6236083 Q6236081 Q6221407 Q5240345 Q16065533 Q9069823 Q7351119 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q5606268 Q16849502 Q16244253 Q22936292 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q16106932 Q11035229 Q8019373 Q16023331 Q8019371 Q18530179 Q18527610 Q5241202 Q18534216 Q18534214 Q6130313 Q6260650 Q6255174 Q6260652 Q6260653 Q6249871 Q6260655 Q6249873 Q6255172 Q6221412 Q16060029 Q7351128 Q7351124 Q7351121 Q7351123 Q16908903 Q16863901 Q21511610 Q3528952 Q6237337 Q1776423 Q6255426 Q6228764 Q6246935 Q5232850 Q5232854 Q18546651 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q8018834 Q6145023 Q6145020 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q16015315 Q8004402 Q8004400 Q5537303 Q18530282 Q5537308 Q15990337 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q16850547 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130325 Q6130320 Q5606271 Q5606270 Q5606273 Q5606272 Q5606274 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q6221420 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q6221434 Q17423413 Q7493391 Q8020388 Q6237345 Q8020387 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q17308862 Q5239884 Q8019900 Q8019902 Q15995818 Q16859222 Q5240337 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16065305 Q15637844 Q4679001 Q6237308 Q16194812 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q15452052 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q5537315 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16027113 Q16043626 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q6255170 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5239886 Q5233458 Q15982602 Q5233453 Q5233457 Q14951093 Q8020399 Q6239258 Q8020394 Q8020390 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q5241196 Q6255179 Q6262982 Q6262980 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q6244744 Q6470045 Q2778111 Q18546659 Q18546658 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q6263011 Q10363011 Q6257915 Q6145009 Q6145001 Q5233462 Q5233466 Q5233469 Q333770 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246961 Q16066618 Q8020402 Q8019368 Q6262709 Q6262704 Q8019367 Q6262700 Q6242842 Q16225515 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q1914636)|c(Q191067))
action count
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q1914636
action find_tuple_counts
relation P248
type Q502895
type Q191067
action count
action filter_multi_types
action find
entity Q5239896
relation P248
type Q1914636
type Q191067
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1914636'}, {'concept': 'Q191067'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?p WHERE { VALUES ( ?c ) { ( ontology:Q1914636 ) ( ontology:Q191067 ) } . ?m rdf:type ?c } GROUP BY ?p } . FILTER ( ?j = ?g ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q5239896 property:P248 ?e . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:Q191067 ) ( ontology:Q1914636 ) } } } } }
William Thompson James Brown John Roberts Colin Campbell David Smith David Evans John Roberts Robert Campbell Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall John Hall William Robinson John Hall David Davies John Robinson John Parker Greg Smith John Rogers John Ward John Ward John Ward John Murphy John Roberts John Murphy John Roberts John Martin Robert Williams John Rogers John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Gray John Williams John Gray John Gray John Bell David Thomas John Gray Robert Williams Robert Williams Greg Smith James Walker Greg Smith Greg Smith Greg Smith Greg Smith John Smith John Smith Greg Smith David Wilson John Martin Gilles De Haes John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy Léonard Limousin John Davies John Smith John Martin John Parker John Robinson John Robinson David Evans John Carter William Thompson William Walker William Thompson John Brown John Smith David Wilson John Ward John Taylor James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Thompson John Murphy John Roberts John Bell David Davies Robert Williams Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango George Brown John Hall Raud the Strong John Rogers John Davies John Martin David Davies David Davies John Williams James Brown Thomas Williams John Simpson David Smith William Stewart John Jones Greg Smith William Stewart James Walker James Walker John Martin William Robinson John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson David Thomas William Anderson William Anderson George Brown John Randall Clarke George Brown James Walker David Evans John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan John Hill William Brown John Murray John Martin John Gray Ethan Wragge John Murphy William Brown James Walker John Rogers James Brown Epimenides John Martin William Thompson John Walker John Hill James Brown James Brown Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Bell John Murphy David Smith John Bell John Bell John Hill John Bell James Brown Shelby Harris William Williams John Hall William Williams William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson Colin Campbell David Smith William Walker William Walker John Thompson Robert Williams David Thomas John Davies John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown George Brown David Smith Adam Dunkels John Hall David Smith William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson David Wilson John Rogers John Kennedy John Ward John Ward John Davies George Brown George Brown John Martin John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis John Roberts William Thompson John Jones William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Rogers John Roberts David Smith Colin Campbell John Bell John Gray Colin Campbell Colin Campbell John Roberts David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Smith David Evans John Young David Evans David Evans John Jackson William Williams John Hill William Williams William Williams Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson David Wilson John Roberts John Ward John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis Lady Colin Campbell Greg Smith John Williams John Williams John Williams John Rogers John Williams John Williams John Williams Delobel Colin Campbell John Murphy John Hall John Walker James Brown Greg Smith John Davies Brady Sallee Greg Smith John Walker John Hill John Brown John Wright Brown John Hall John Ward Risques Pereira John Simpson James Walker James Walker David Evans David Evans David Evans Victorinus John Parker Robert Williams John Kennedy George Brown George Brown George Brown John Martin John Ward William Williams William Thompson John Walker John Walker William Thompson John Walker John Kennedy John Simpson John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
348
action count
action approx
action union
action find_tuple_counts
relation stated in
type common name
type activity
action find_tuple_counts
relation stated in
type common name
type article
action count
action filter_multi_types
action find
entity David Smith
relation stated in
type activity
type article
[{'concept': 'common name'}, 'stated in', [{'concept': 'activity'}, {'concept': 'article'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?p WHERE { VALUES ( ?c ) { ( ontology:activity ) ( ontology:article ) } . ?m rdf:type ?c } GROUP BY ?p } . FILTER ( ?j = ?g ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:David_Smith property:stated_in ?e . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:article ) ( ontology:activity ) } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192334
P485
Q502895
USER
Which people have archives located at University of North Carolina at Chapel Hill ?
(c(Q502895),P485,Q192334)
action filter_type
action find_reverse
entity Q192334
relation P485
type Q502895
[{'concept': 'Q502895'}, 'P485', 'Q192334']
SELECT DISTINCT ?k WHERE { ?k property:P485 resource:Q192334 . ?k rdf:type ontology:Q502895 }
University of North Carolina at Chapel Hill
action filter_type
action find_reverse
entity University of North Carolina at Chapel Hill
relation archives at
type common name
[{'concept': 'common name'}, 'archives at', 'University of North Carolina at Chapel Hill']
SELECT DISTINCT ?k WHERE { ?k property:archives_at resource:University_of_North_Carolina_at_Chapel_Hill . ?k rdf:type ontology:common_name }
[]
common name
Q273730 Q3312332
SYSTEM
Betty Smith, Laura Riding
Q273730 Q3312332
(c(Q502895),P485,Q192334)
action filter_type
action find_reverse
entity Q192334
relation P485
type Q502895
The [ANSWERS] have archives located at University of North Carolina at Chapel Hill
[{'concept': 'Q502895'}, 'P485', 'Q192334']
SELECT DISTINCT ?k WHERE { ?k property:P485 resource:Q192334 . ?k rdf:type ontology:Q502895 }
Betty Smith Laura Riding
The Betty Smith and Laura Riding have archives located at University of North Carolina at Chapel Hill
Betty Smith Laura Riding
action filter_type
action find_reverse
entity University of North Carolina at Chapel Hill
relation archives at
type common name
[{'concept': 'common name'}, 'archives at', 'University of North Carolina at Chapel Hill']
SELECT DISTINCT ?k WHERE { ?k property:archives_at resource:University_of_North_Carolina_at_Chapel_Hill . ?k rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q273730
P50
Q2342494
USER
Which collectables were written by that person ?
(c(Q2342494),P50,Q273730)
action filter_type
action find_reverse
entity Q273730
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q273730']
SELECT DISTINCT ?k WHERE { ?k property:P50 resource:Q273730 . ?k rdf:type ontology:Q2342494 }
Betty Smith
action filter_type
action find_reverse
entity Betty Smith
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Betty Smith']
SELECT DISTINCT ?k WHERE { ?k property:author resource:Betty_Smith . ?k rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q3312332
SYSTEM
Did you mean Laura Riding ?
Q273730 Q3312332
(c(Q2342494),P50,Q273730) (c(Q2342494),P50,Q3312332)
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q273730'] [{'concept': 'Q2342494'}, 'P50', 'Q3312332']
SELECT DISTINCT ?k WHERE { ?k property:P50 resource:Q273730 . ?k rdf:type ontology:Q2342494 }
Betty Smith Laura Riding
Did you mean Laura Riding ?
Laura Riding
[{'concept': 'collectable'}, 'author', 'Betty Smith'] [{'concept': 'collectable'}, 'author', 'Laura Riding']
SELECT DISTINCT ?k WHERE { ?k property:author resource:Betty_Smith . ?k rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
No, I meant Betty Smith. Could you tell me the answer for that?
(c(Q2342494),P50,Q273730)
Q273730
[{'concept': 'Q2342494'}, 'P50', 'Q273730']
[{'concept': 'collectable'}, 'author', 'Betty Smith']
[]
Q13931921 Q6297310
SYSTEM
A Tree Grows in Brooklyn, Joy in the Morning
Q13931921 Q6297310
(c(Q2342494),P50,Q273730)
action filter_type
action find_reverse
entity Q273730
relation P50
type Q2342494
A Tree grows in Brooklyn and Joy in the Morning were written by that person
[{'concept': 'Q2342494'}, 'P50', 'Q273730']
SELECT DISTINCT ?k WHERE { ?k property:P50 resource:Q273730 . ?k rdf:type ontology:Q2342494 }
A Tree Grows in Brooklyn Joy in the Morning
A Tree grows in Brooklyn and Joy in the Morning were written by that person
A Tree Grows in Brooklyn Joy in the Morning
action filter_type
action find_reverse
entity Betty Smith
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Betty Smith']
SELECT DISTINCT ?k WHERE { ?k property:author resource:Betty_Smith . ?k rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7172391 Q273730
P19 P551
Q56061
USER
Which administrative territories were Betty Smith born or did Peter, 5th Count de Salis-Soglio live ?
OR((Q273730,P19,c(Q56061)), (Q7172391,P551,c(Q56061)))
action filter_type
action union
action find
entity Q273730
relation P19
action find
entity Q7172391
relation P551
type Q56061
{'OR': [['Q273730', 'P19', {'concept': 'Q56061'}], ['Q7172391', 'P551', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q273730 property:P19 ?z } UNION { resource:Q7172391 property:P551 ?z } } . ?z rdf:type ontology:Q56061 }
Peter, 5th Count de Salis-Soglio Betty Smith
action filter_type
action union
action find
entity Betty Smith
relation place of birth
action find
entity Peter, 5th Count de Salis-Soglio
relation residence
type administrative territorial entity
{'OR': [['Betty Smith', 'place of birth', {'concept': 'administrative territorial entity'}], ['Peter, 5th Count de Salis-Soglio', 'residence', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Betty_Smith property:place_of_birth ?z } UNION { resource:Peter,_5th_Count_de_Salis-Soglio property:residence ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q807 Q23436 Q84 Q18419
SYSTEM
Lausanne, Edinburgh, London, Brooklyn
Q807 Q23436 Q84 Q18419
OR((Q273730,P19,c(Q56061)), (Q7172391,P551,c(Q56061)))
action filter_type
action union
action find
entity Q273730
relation P19
action find
entity Q7172391
relation P551
type Q56061
[ANSWERS] were Betty Smith born or did Peter, 5th Count de Salis-Soglio live
{'OR': [['Q273730', 'P19', {'concept': 'Q56061'}], ['Q7172391', 'P551', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q273730 property:P19 ?z } UNION { resource:Q7172391 property:P551 ?z } } . ?z rdf:type ontology:Q56061 }
Lausanne Edinburgh London Brooklyn
Lausanne, Edinburgh, London and Brooklyn were Betty Smith born or did Peter, 5th Count de Salis-Soglio live
Lausanne Edinburgh London Brooklyn
action filter_type
action union
action find
entity Betty Smith
relation place of birth
action find
entity Peter, 5th Count de Salis-Soglio
relation residence
type administrative territorial entity
{'OR': [['Betty Smith', 'place of birth', {'concept': 'administrative territorial entity'}], ['Peter, 5th Count de Salis-Soglio', 'residence', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Betty_Smith property:place_of_birth ?z } UNION { resource:Peter,_5th_Count_de_Salis-Soglio property:residence ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]