Simple Question (Direct)
Simple Question
Q3955864
P734
Q82799
USER
Which name is associated with Serena Vitale ?
(Q3955864,P734,c(Q82799))
action filter_type
action find
entity Q3955864
relation P734
type Q82799
['Q3955864', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q3955864 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Serena Vitale
action filter_type
action find
entity Serena Vitale
relation family name
type name
['Serena Vitale', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Serena_Vitale property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q18190892
SYSTEM
Vitale
Q18190892
(Q3955864,P734,c(Q82799))
action filter_type
action find
entity Q3955864
relation P734
type Q82799
Is [ANSWER] is associated with Serena [ANSWER]
['Q3955864', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q3955864 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Vitale
Is Vitale is associated with Serena Vitale
Vitale
action filter_type
action find
entity Serena Vitale
relation family name
type name
['Serena Vitale', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Serena_Vitale property:family_name ?m . ?m rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3955864
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q18190892,P1412,c(Q34770))
action filter_type
action find
entity Q3955864
relation P1412
type Q34770
['Q18190892', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q3955864 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Serena Vitale
action filter_type
action find
entity Serena Vitale
relation languages spoken, written or signed
type language
['Vitale', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Serena_Vitale property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q18190892,P1412,c(Q34770))
action filter_type
action find
entity Q3955864
relation P1412
type Q34770
The [ANSWER] is that person capable of writing
['Q18190892', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q3955864 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Italian
The Italian is that person capable of writing
Italian
action filter_type
action find
entity Serena Vitale
relation languages spoken, written or signed
type language
['Vitale', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Serena_Vitale property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q652 Q1111745
P1412
Q502895
USER
Does Elio Fiore write that language ?
(Q1111745,P1412,Q652)
action is_in
entity Q652
action find
entity Q1111745
relation P1412
['Q1111745', 'P1412', 'Q652']
ASK WHERE { resource:Q1111745 property:P1412 resource:Q652 }
Italian Elio Fiore
action is_in
entity Italian
action find
entity Elio Fiore
relation languages spoken, written or signed
['Elio Fiore', 'languages spoken, written or signed', 'Italian']
ASK WHERE { resource:Elio_Fiore property:languages_spoken,_written_or_signed resource:Italian }
[]
common name
SYSTEM
YES
(Q1111745,P1412,Q652)
action is_in
entity Q652
action find
entity Q1111745
relation P1412
[ANSWER]
['Q1111745', 'P1412', 'Q652']
ASK WHERE { resource:Q1111745 property:P1412 resource:Q652 }
Yes
action is_in
entity Italian
action find
entity Elio Fiore
relation languages spoken, written or signed
['Elio Fiore', 'languages spoken, written or signed', 'Italian']
ASK WHERE { resource:Elio_Fiore property:languages_spoken,_written_or_signed resource:Italian }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3955864 Q43009 Q38
P27
Q15617994
USER
Is Serena Vitale a citizen of San Giacomo delle Segnate and Italy ?
(Q3955864,P27,Q43009) (Q3955864,P27,Q38)
action is_in
entity Q3955864
action intersection
action find_reverse
entity Q43009
relation P27
action find_reverse
entity Q38
relation P27
['Q3955864', 'P27', 'Q43009'] ['Q3955864', 'P27', 'Q38']
ASK WHERE { resource:Q3955864 property:P27 resource:Q43009 . resource:Q3955864 property:P27 resource:Q38 }
Serena Vitale San Giacomo delle Segnate Italy
action is_in
entity Serena Vitale
action intersection
action find_reverse
entity San Giacomo delle Segnate
relation country of citizenship
action find_reverse
entity Italy
relation country of citizenship
['Serena Vitale', 'country of citizenship', 'San Giacomo delle Segnate'] ['Serena Vitale', 'country of citizenship', 'Italy']
ASK WHERE { resource:Serena_Vitale property:country_of_citizenship resource:San_Giacomo_delle_Segnate . resource:Serena_Vitale property:country_of_citizenship resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q3955864,P27,Q43009) (Q3955864,P27,Q38)
action is_in
entity Q3955864
action intersection
action find_reverse
entity Q43009
relation P27
action find_reverse
entity Q38
relation P27
[ANSWER]
['Q3955864', 'P27', 'Q43009'] ['Q3955864', 'P27', 'Q38']
ASK WHERE { resource:Q3955864 property:P27 resource:Q43009 . resource:Q3955864 property:P27 resource:Q38 }
NO and YES respectively
action is_in
entity Serena Vitale
action intersection
action find_reverse
entity San Giacomo delle Segnate
relation country of citizenship
action find_reverse
entity Italy
relation country of citizenship
['Serena Vitale', 'country of citizenship', 'San Giacomo delle Segnate'] ['Serena Vitale', 'country of citizenship', 'Italy']
ASK WHERE { resource:Serena_Vitale property:country_of_citizenship resource:San_Giacomo_delle_Segnate . resource:Serena_Vitale property:country_of_citizenship resource:Italy }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q15709879 Q838948
USER
Which names are demonstrated in max number of artwork series and works of art ?
(c(Q15709879)|c(Q838948),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
[[{'concept': 'Q15709879'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?y ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ?f . VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } } GROUP BY ?n } } . { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?o ) WHERE { { ?w property:P180 ?i . ?i rdf:type ontology:Q82799 . ?w rdf:type ontology:Q838948 } UNION { ?w property:P180 ?i . ?i rdf:type ontology:Q82799 . ?w rdf:type ontology:Q15709879 } } GROUP BY ?i } . FILTER ( ?o = ?y ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type work of art
[[{'concept': 'artwork series'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?y ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ?f . VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } } GROUP BY ?n } } . { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?o ) WHERE { { ?w property:depicts ?i . ?i rdf:type ontology:name . ?w rdf:type ontology:work_of_art } UNION { ?w property:depicts ?i . ?i rdf:type ontology:name . ?w rdf:type ontology:artwork_series } } GROUP BY ?i } . FILTER ( ?o = ?y ) }
[]
name artwork series work of art
Q726
SYSTEM
horse
Q726
(c(Q15709879)|c(Q838948),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
[ANSWER] is demonstrated in max number of artwork series and works of art
[[{'concept': 'Q15709879'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?y ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ?f . VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } } GROUP BY ?n } } . { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?o ) WHERE { { ?w property:P180 ?i . ?i rdf:type ontology:Q82799 . ?w rdf:type ontology:Q838948 } UNION { ?w property:P180 ?i . ?i rdf:type ontology:Q82799 . ?w rdf:type ontology:Q15709879 } } GROUP BY ?i } . FILTER ( ?o = ?y ) }
horse
Horse is demonstrated in max number of artwork series and works of art
horse
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type work of art
[[{'concept': 'artwork series'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?y ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ?f . VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } } GROUP BY ?n } } . { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?o ) WHERE { { ?w property:depicts ?i . ?i rdf:type ontology:name . ?w rdf:type ontology:work_of_art } UNION { ?w property:depicts ?i . ?i rdf:type ontology:name . ?w rdf:type ontology:artwork_series } } GROUP BY ?i } . FILTER ( ?o = ?y ) }
[]
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 approximately 33 names ?
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 33
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:P407 ?e . ?y rdf:type ontology:Q82799 . ?e rdf:type ontology:Q34770 } GROUP BY ?e } . FILTER ( ?a = 33 ) }
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 33
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:language_of_work_or_name ?e . ?y rdf:type ontology:name . ?e rdf:type ontology:language } GROUP BY ?e } . FILTER ( ?a = 33 ) }
[]
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 approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 33
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:P407 ?e . ?y rdf:type ontology:Q82799 . ?e rdf:type ontology:Q34770 } GROUP BY ?e } . FILTER ( ?a = 33 ) }
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 approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 33
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:language_of_work_or_name ?e . ?y rdf:type ontology:name . ?e rdf:type ontology:language } GROUP BY ?e } . FILTER ( ?a = 33 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are atmost 484 names composed in ?
(c(Q82799),P407,c(Q34770))
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 484
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P407 ?b . ?b rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?b } . FILTER ( ?p <= 484 ) }
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 484
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:language_of_work_or_name ?b . ?b rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?b } . FILTER ( ?p <= 484 ) }
[]
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 484
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P407 ?b . ?b rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?b } . FILTER ( ?p <= 484 ) }
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 484 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 484
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:language_of_work_or_name ?b . ?b rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?b } . FILTER ( ?p <= 484 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q36795
P282
Q2001982 Q8192 Q34770
USER
How many languages are greater number of notations or writing systems the writing system of than Tartessian ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q36795
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q36795 property:P282 ?b . { { ?b rdf:type ontology:Q2001982 } UNION { ?b rdf:type ontology:Q8192 } } } } . FILTER ( ?i > ?a ) }
Tartessian
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Tartessian
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ?o . VALUES ( ?o ) { ( ontology:notation ) ( ontology:writing_system ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Tartessian property:writing_system ?b . { { ?b rdf:type ontology:notation } UNION { ?b rdf:type ontology:writing_system } } } } . FILTER ( ?i > ?a ) }
[]
notation writing system language
SYSTEM
2
Q182695 Q29572
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q36795
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q36795 property:P282 ?b . { { ?b rdf:type ontology:Q2001982 } UNION { ?b rdf:type ontology:Q8192 } } } } . FILTER ( ?i > ?a ) }
Late Old Japanese Avestan
2
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Tartessian
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ?o . VALUES ( ?o ) { ( ontology:notation ) ( ontology:writing_system ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Tartessian property:writing_system ?b . { { ?b rdf:type ontology:notation } UNION { ?b rdf:type ontology:writing_system } } } } . FILTER ( ?i > ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q21161942
P282
Q2001982 Q8192 Q34770
USER
And how about Serbian written in Cyrillic?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q21161942
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?d WHERE { { ?d rdf:type ontology:Q34770 . ?p rdf:type ontology:Q2001982 . ?d property:P282 ?p } UNION { ?d property:P282 ?p . ?d rdf:type ontology:Q34770 . ?p rdf:type ontology:Q8192 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { { ?i rdf:type ontology:Q2001982 } UNION { ?i rdf:type ontology:Q8192 } } . resource:Q21161942 property:P282 ?i } } . FILTER ( ?a > ?n ) }
Serbian written in Cyrillic
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Serbian written in Cyrillic
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?d WHERE { { ?d rdf:type ontology:language . ?p rdf:type ontology:notation . ?d property:writing_system ?p } UNION { ?d property:writing_system ?p . ?d rdf:type ontology:language . ?p rdf:type ontology:writing_system } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { { ?i rdf:type ontology:notation } UNION { ?i rdf:type ontology:writing_system } } . resource:Serbian_written_in_Cyrillic property:writing_system ?i } } . FILTER ( ?a > ?n ) }
[]
notation writing system language
SYSTEM
9
Q182695 Q29572 Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q21161942
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?d WHERE { { ?d rdf:type ontology:Q34770 . ?p rdf:type ontology:Q2001982 . ?d property:P282 ?p } UNION { ?d property:P282 ?p . ?d rdf:type ontology:Q34770 . ?p rdf:type ontology:Q8192 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { { ?i rdf:type ontology:Q2001982 } UNION { ?i rdf:type ontology:Q8192 } } . resource:Q21161942 property:P282 ?i } } . FILTER ( ?a > ?n ) }
Late Old Japanese Avestan Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
9
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Serbian written in Cyrillic
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?d WHERE { { ?d rdf:type ontology:language . ?p rdf:type ontology:notation . ?d property:writing_system ?p } UNION { ?d property:writing_system ?p . ?d rdf:type ontology:language . ?p rdf:type ontology:writing_system } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { { ?i rdf:type ontology:notation } UNION { ?i rdf:type ontology:writing_system } } . resource:Serbian_written_in_Cyrillic property:writing_system ?i } } . FILTER ( ?a > ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q726
P921
Q838948
USER
Which works of art were mainly based on horse ?
(c(Q838948),P921,Q726)
action filter_type
action find_reverse
entity Q726
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q726']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q726 . ?e rdf:type ontology:Q838948 }
horse
action filter_type
action find_reverse
entity horse
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'horse']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:horse . ?e rdf:type ontology:work_of_art }
[]
work of art
Q218589 Q284686 Q2368037
SYSTEM
War Horse, National Velvet, Broadway Bill
Q3283474 Q6946249 Q3500376 Q179018 Q5220932 Q3226418 Q7883119 Q3225771 Q7728406 Q7934075 Q7841692 Q3569395 Q7127738 Q13403311 Q5070057 Q7740353 Q7546130 Q3221176 Q7737699 Q7799148 Q5459071 Q5459070 Q7720963 Q1199685 Q13405854 Q5151218 Q5463413 Q1150581 Q13423832 Q7766017 Q767788 Q7379571 Q821604 Q3824960 Q3319820 Q4481165 Q625488 Q7797626 Q6943399 Q7768899 Q5519143 Q468420 Q6673239 Q284686 Q2299188 Q4729285 Q6943388 Q977750 Q4686639 Q1781803 Q6880512 Q695965 Q5518856 Q5261457 Q7305095 Q12125640 Q7745143 Q2707484 Q3988351 Q1214749 Q12126044 Q1347946 Q7759329 Q636629 Q15068718 Q2628688 Q665016 Q537256 Q5084668 Q8031692 Q5688870 Q305151 Q3281934 Q8001214 Q496734 Q12100459 Q5340838 Q7660761 Q2368037 Q1199820 Q7595752 Q1742135 Q7737852 Q7759940 Q1165633 Q1127424 Q641315 Q5048438 Q470665 Q4920356 Q4920355 Q1961589 Q2927444 Q2459734 Q3002671 Q426930 Q7740368 Q2538430 Q2300266 Q3531605 Q2489647 Q7730819 Q7735650 Q7760419 Q2259533 Q6798445 Q2717510 Q3024931 Q7766979 Q7710428 Q946453 Q218589 Q3494058 Q7379538 Q5524268
(c(Q838948),P921,Q726)
action filter_type
action find_reverse
entity Q726
relation P921
type Q838948
[ANSWERS] were mainly based on horse
[{'concept': 'Q838948'}, 'P921', 'Q726']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q726 . ?e rdf:type ontology:Q838948 }
The Story of Seabiscuit My Pal Trigger Stretch Seabiscuit International Velvet The Black Stallion Returns Under My Skin The Red Pony The Cup Virginia's Run Trigger, Jr. Winter's Tale Pallard the Punter Northwest Stampede Champions The Horse with the Flying Tail Smoky The Horse in the Gray Flannel Suit The Great Dan Patch Thunderhead, Son of Flicka Flicka: Country Pride Flicka 2 The Calendar Money from Home Penny's Shadow Come On George! Flying Fifty-Five Kentucky The Victor The Sport of Kings Where Is Winky's Horse? Run for the Roses Black Beauty Boots Malone My Friend Flicka Phar Lap Dreamer Three Men on a Horse Mustang Country The Thoroughbred Gallopin' Gals The Wild Stallion Long Shot National Velvet All the Pretty Horses All Roads Lead Home Mustang! Hidalgo Adventures of Gallant Bess Winky's Horse Misty Hot to Trot Gallant Bess Derby Day Red Stallion in the Rockies The Law of the Wild The Lady Owner The Ex-Mrs. Bradford The Missouri Traveler A Day at the Races The March Hare Equus The Rainbow Jacket Flicka Johnny Steals Europe Princess and the Pony Miracle of the White Stallions Black Beauty Charlie Chan at the Race Track Won by a Head He Married His Wife Saratoga The Greening of Whitney Brown Wildfire Equus The Adventures of Rex and Rinty Educated Evans Sylvester Broadway Bill White Mane Stable Companions Kings of the Turf The Great Mike The Red Stallion Racing Stripes The Horse Whisperer Spirit: Stallion of the Cimarron Casey's Shadow Secretariat Black Beauty Black Beauty Wild Hearts Can't Be Broken Buck Francis Goes to the Races Running Free The Appaloosa The Horsemen Riding High The Black Stallion Tonka Thoroughbreds Don't Cry The Draft Horse The Galloping Major The Return of October The Man from Snowy River Mazeppa Moondance Alexander Let It Ride The Strawberry Roan Thank Evans The Electric Horseman War Horse Sporting Blood Run Wild, Run Free Garryowen
War Horse, National Velvet and Broadway Bill were mainly based on horse
War Horse National Velvet Broadway Bill
action filter_type
action find_reverse
entity horse
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'horse']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:horse . ?e rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q284686
P2554
Q502895
USER
Which person created the production designs of that work of art ?
(Q284686,P2554,c(Q502895))
action filter_type
action find
entity Q284686
relation P2554
type Q502895
['Q284686', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q284686 property:P2554 ?y . ?y rdf:type ontology:Q502895 }
National Velvet
action filter_type
action find
entity National Velvet
relation production designer
type common name
['National Velvet', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:National_Velvet property:production_designer ?y . ?y rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q218589
SYSTEM
Did you mean War Horse ?
Q218589 Q284686 Q2368037
(Q218589,P2554,c(Q502895)) (Q284686,P2554,c(Q502895)) (Q2368037,P2554,c(Q502895))
[ANSWER]
['Q218589', 'P2554', {'concept': 'Q502895'}] ['Q284686', 'P2554', {'concept': 'Q502895'}] ['Q2368037', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q284686 property:P2554 ?y . ?y rdf:type ontology:Q502895 }
War Horse National Velvet Broadway Bill
Did you mean War Horse ?
War Horse
['War Horse', 'production designer', {'concept': 'common name'}] ['National Velvet', 'production designer', {'concept': 'common name'}] ['Broadway Bill', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:National_Velvet property:production_designer ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant National Velvet. Could you tell me the answer for that?
(Q284686,P2554,c(Q502895))
Q284686
['Q284686', 'P2554', {'concept': 'Q502895'}]
['National Velvet', 'production designer', {'concept': 'common name'}]
[]
Q727904
SYSTEM
Cedric Gibbons
Q727904
(Q284686,P2554,c(Q502895))
action filter_type
action find
entity Q284686
relation P2554
type Q502895
[ANSWER] created the production designs of that work of art
['Q284686', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q284686 property:P2554 ?y . ?y rdf:type ontology:Q502895 }
Cedric Gibbons
Cedric Gibbons created the production designs of that work of art
Cedric Gibbons
action filter_type
action find
entity National Velvet
relation production designer
type common name
['National Velvet', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:National_Velvet property:production_designer ?y . ?y rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q727904 Q2707485 Q42973
P106
Q12737077
USER
Does that person have the profession as scenographer and architect ?
(Q727904,P106,Q2707485) (Q727904,P106,Q42973)
action is_in
entity Q727904
action intersection
action find_reverse
entity Q2707485
relation P106
action find_reverse
entity Q42973
relation P106
['Q727904', 'P106', 'Q2707485'] ['Q727904', 'P106', 'Q42973']
ASK WHERE { resource:Q727904 property:P106 resource:Q2707485 . resource:Q727904 property:P106 resource:Q42973 }
Cedric Gibbons scenographer architect
action is_in
entity Cedric Gibbons
action intersection
action find_reverse
entity scenographer
relation occupation
action find_reverse
entity architect
relation occupation
['Cedric Gibbons', 'occupation', 'scenographer'] ['Cedric Gibbons', 'occupation', 'architect']
ASK WHERE { resource:Cedric_Gibbons property:occupation resource:scenographer . resource:Cedric_Gibbons property:occupation resource:architect }
[]
occupation
SYSTEM
YES
(Q727904,P106,Q2707485) (Q727904,P106,Q42973)
action is_in
entity Q727904
action intersection
action find_reverse
entity Q2707485
relation P106
action find_reverse
entity Q42973
relation P106
[ANSWER]
['Q727904', 'P106', 'Q2707485'] ['Q727904', 'P106', 'Q42973']
ASK WHERE { resource:Q727904 property:P106 resource:Q2707485 . resource:Q727904 property:P106 resource:Q42973 }
Yes
action is_in
entity Cedric Gibbons
action intersection
action find_reverse
entity scenographer
relation occupation
action find_reverse
entity architect
relation occupation
['Cedric Gibbons', 'occupation', 'scenographer'] ['Cedric Gibbons', 'occupation', 'architect']
ASK WHERE { resource:Cedric_Gibbons property:occupation resource:scenographer . resource:Cedric_Gibbons property:occupation resource:architect }
[]