Simple Question (Direct)
Simple Question
Q317397
P800
Q484692
USER
Who notable work was done by Uzeyir Hajibeyov ?
(Q317397,P800,c(Q484692))
action filter_type
action find
entity Q317397
relation P800
type Q484692
['Q317397', 'P800', {'concept': 'Q484692'}]
SELECT DISTINCT ?l WHERE { resource:Q317397 property:P800 ?l . ?l rdf:type ontology:Q484692 }
Uzeyir Hajibeyov
action filter_type
action find
entity Uzeyir Hajibeyov
relation notable work
type hymn
['Uzeyir Hajibeyov', 'notable work', {'concept': 'hymn'}]
SELECT DISTINCT ?l WHERE { resource:Uzeyir_Hajibeyov property:notable_work ?l . ?l rdf:type ontology:hymn }
[]
hymn
Q483968
SYSTEM
Azərbaycan marşı
Q483968
(Q317397,P800,c(Q484692))
action filter_type
action find
entity Q317397
relation P800
type Q484692
[ANSWER] was done by Uzeyir Hajibeyov
['Q317397', 'P800', {'concept': 'Q484692'}]
SELECT DISTINCT ?l WHERE { resource:Q317397 property:P800 ?l . ?l rdf:type ontology:Q484692 }
Azərbaycan marşı
Azərbaycan marşı was done by Uzeyir Hajibeyov
Azərbaycan marşı
action filter_type
action find
entity Uzeyir Hajibeyov
relation notable work
type hymn
['Uzeyir Hajibeyov', 'notable work', {'concept': 'hymn'}]
SELECT DISTINCT ?l WHERE { resource:Uzeyir_Hajibeyov property:notable_work ?l . ?l rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q483968
P676
Q502895
USER
Who is the lyricist of that hymn ?
(Q483968,P676,c(Q502895))
action filter_type
action find
entity Q483968
relation P676
type Q502895
['Q483968', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q483968 property:P676 ?f . ?f rdf:type ontology:Q502895 }
Azərbaycan marşı
action filter_type
action find
entity Azərbaycan marşı
relation lyrics by
type common name
['Azərbaycan marşı', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Azərbaycan_marşı property:lyrics_by ?f . ?f rdf:type ontology:common_name }
[]
common name
Q2583170
SYSTEM
Ahmad Javad
Q2583170
(Q483968,P676,c(Q502895))
action filter_type
action find
entity Q483968
relation P676
type Q502895
The lyricist of that hymn is [ANSWER]
['Q483968', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q483968 property:P676 ?f . ?f rdf:type ontology:Q502895 }
Ahmad Javad
The lyricist of that hymn is Ahmad Javad
Ahmad Javad
action filter_type
action find
entity Azərbaycan marşı
relation lyrics by
type common name
['Azərbaycan marşı', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Azərbaycan_marşı property:lyrics_by ?f . ?f rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q131706
P88
Q502895 Q2668072 Q811430
USER
Which people did the commissioning of more number of collections and constructions than Maria Theresa of Austria ?
(c(Q2668072)|c(Q811430),P88,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2668072
action find_reverse_tuple_counts
relation P88
type Q502895
type Q811430
action count
action filter_multi_types
action find_reverse
entity Q131706
relation P88
type Q2668072
type Q811430
[[{'concept': 'Q2668072'}, {'concept': 'Q811430'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?s WHERE { VALUES ( ?v ) { ( ontology:Q2668072 ) ( ontology:Q811430 ) } . ?m rdf:type ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P88 resource:Q131706 . { VALUES ( ?x ) { ( ontology:Q2668072 ) ( ontology:Q811430 ) } . ?z rdf:type ?x } } } . FILTER ( ?n > ?w ) }
Maria Theresa of Austria
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type collection
action find_reverse_tuple_counts
relation commissioned by
type common name
type construction
action count
action filter_multi_types
action find_reverse
entity Maria Theresa of Austria
relation commissioned by
type collection
type construction
[[{'concept': 'collection'}, {'concept': 'construction'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?s WHERE { VALUES ( ?v ) { ( ontology:collection ) ( ontology:construction ) } . ?m rdf:type ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:commissioned_by resource:Maria_Theresa_of_Austria . { VALUES ( ?x ) { ( ontology:collection ) ( ontology:construction ) } . ?z rdf:type ?x } } } . FILTER ( ?n > ?w ) }
[]
common name collection construction
Q937 Q150726 Q153586
SYSTEM
Albert Einstein, Maximilian I, Holy Roman Emperor, Christian IV of Denmark
Q312637 Q2161266 Q937 Q95946 Q3291384 Q60568 Q57628 Q150726 Q49237 Q129857 Q737533 Q177854 Q51056 Q8474 Q715054 Q540802 Q153586 Q62594 Q2551650 Q111354
(c(Q2668072)|c(Q811430),P88,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2668072
action find_reverse_tuple_counts
relation P88
type Q502895
type Q811430
action count
action filter_multi_types
action find_reverse
entity Q131706
relation P88
type Q2668072
type Q811430
[ANSWERS] did the commissioning of more number of collections and constructions than Maria Theresa of Austria
[[{'concept': 'Q2668072'}, {'concept': 'Q811430'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?s WHERE { VALUES ( ?v ) { ( ontology:Q2668072 ) ( ontology:Q811430 ) } . ?m rdf:type ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P88 resource:Q131706 . { VALUES ( ?x ) { ( ontology:Q2668072 ) ( ontology:Q811430 ) } . ?z rdf:type ?x } } } . FILTER ( ?n > ?w ) }
Curzio Malaparte Rodolphe d'Erlanger Albert Einstein Ferdinand Mülhens Mariano Guadalupe Vallejo William V, Duke of Bavaria Maximilian II Emanuel, Elector of Bavaria Maximilian I, Holy Roman Emperor Leo X Francis I of France Louis XIII of France Lorenzo de' Medici Franz Joseph I of Austria Suleiman the Magnificent Borso d'Este, Duke of Ferrara Frederick III, Prince of Salm-Kyrburg Christian IV of Denmark Charles III Philip, Elector Palatine Alberto d'Este, Marquis of Ferrara August Julius Albert Borsig
Albert Einstein, Maximilian I, Holy Roman Emperor and Christian IV of Denmark did the commissioning of more number of collections and constructions than Maria Theresa of Austria
Albert Einstein Maximilian I, Holy Roman Emperor Christian IV of Denmark
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type collection
action find_reverse_tuple_counts
relation commissioned by
type common name
type construction
action count
action filter_multi_types
action find_reverse
entity Maria Theresa of Austria
relation commissioned by
type collection
type construction
[[{'concept': 'collection'}, {'concept': 'construction'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?s WHERE { VALUES ( ?v ) { ( ontology:collection ) ( ontology:construction ) } . ?m rdf:type ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:commissioned_by resource:Maria_Theresa_of_Austria . { VALUES ( ?x ) { ( ontology:collection ) ( ontology:construction ) } . ?z rdf:type ?x } } } . FILTER ( ?n > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q691894
P88
Q502895 Q2668072 Q811430
USER
And how about Pietro Aldobrandini?
(c(Q2668072)|c(Q811430),P88,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2668072
action find_reverse_tuple_counts
relation P88
type Q502895
type Q811430
action count
action filter_multi_types
action find_reverse
entity Q691894
relation P88
type Q2668072
type Q811430
[[{'concept': 'Q2668072'}, {'concept': 'Q811430'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?w WHERE { { ?h property:P88 ?w . ?w rdf:type ontology:Q502895 . ?h rdf:type ontology:Q2668072 } UNION { ?w rdf:type ontology:Q502895 . ?h rdf:type ontology:Q811430 . ?h property:P88 ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { { ?p rdf:type ontology:Q2668072 } UNION { ?p rdf:type ontology:Q811430 } } . ?p property:P88 resource:Q691894 } } . FILTER ( ?u > ?o ) }
Pietro Aldobrandini
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type collection
action find_reverse_tuple_counts
relation commissioned by
type common name
type construction
action count
action filter_multi_types
action find_reverse
entity Pietro Aldobrandini
relation commissioned by
type collection
type construction
[[{'concept': 'collection'}, {'concept': 'construction'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?w WHERE { { ?h property:commissioned_by ?w . ?w rdf:type ontology:common_name . ?h rdf:type ontology:collection } UNION { ?w rdf:type ontology:common_name . ?h rdf:type ontology:construction . ?h property:commissioned_by ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { { ?p rdf:type ontology:collection } UNION { ?p rdf:type ontology:construction } } . ?p property:commissioned_by resource:Pietro_Aldobrandini } } . FILTER ( ?u > ?o ) }
[]
common name collection construction
Q937 Q150726 Q153586
SYSTEM
Albert Einstein, Maximilian I, Holy Roman Emperor, Christian IV of Denmark
Q312637 Q2161266 Q937 Q95946 Q3291384 Q60568 Q57628 Q150726 Q49237 Q129857 Q737533 Q177854 Q51056 Q8474 Q715054 Q540802 Q153586 Q62594 Q2551650 Q111354
(c(Q2668072)|c(Q811430),P88,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2668072
action find_reverse_tuple_counts
relation P88
type Q502895
type Q811430
action count
action filter_multi_types
action find_reverse
entity Q691894
relation P88
type Q2668072
type Q811430
[ANSWERS]
[[{'concept': 'Q2668072'}, {'concept': 'Q811430'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?w WHERE { { ?h property:P88 ?w . ?w rdf:type ontology:Q502895 . ?h rdf:type ontology:Q2668072 } UNION { ?w rdf:type ontology:Q502895 . ?h rdf:type ontology:Q811430 . ?h property:P88 ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { { ?p rdf:type ontology:Q2668072 } UNION { ?p rdf:type ontology:Q811430 } } . ?p property:P88 resource:Q691894 } } . FILTER ( ?u > ?o ) }
Curzio Malaparte Rodolphe d'Erlanger Albert Einstein Ferdinand Mülhens Mariano Guadalupe Vallejo William V, Duke of Bavaria Maximilian II Emanuel, Elector of Bavaria Maximilian I, Holy Roman Emperor Leo X Francis I of France Louis XIII of France Lorenzo de' Medici Franz Joseph I of Austria Suleiman the Magnificent Borso d'Este, Duke of Ferrara Frederick III, Prince of Salm-Kyrburg Christian IV of Denmark Charles III Philip, Elector Palatine Alberto d'Este, Marquis of Ferrara August Julius Albert Borsig
Albert Einstein Maximilian I, Holy Roman Emperor Christian IV of Denmark
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type collection
action find_reverse_tuple_counts
relation commissioned by
type common name
type construction
action count
action filter_multi_types
action find_reverse
entity Pietro Aldobrandini
relation commissioned by
type collection
type construction
[[{'concept': 'collection'}, {'concept': 'construction'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?w WHERE { { ?h property:commissioned_by ?w . ?w rdf:type ontology:common_name . ?h rdf:type ontology:collection } UNION { ?w rdf:type ontology:common_name . ?h rdf:type ontology:construction . ?h property:commissioned_by ?w } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { { ?p rdf:type ontology:collection } UNION { ?p rdf:type ontology:construction } } . ?p property:commissioned_by resource:Pietro_Aldobrandini } } . FILTER ( ?u > ?o ) }
[]