Simple Question (Direct)
Simple Question
Q12218841
P20
Q56061
USER
Where did the demise of Shu'ba Ibn al-Ḥajjāj occur ?
(Q12218841,P20,c(Q56061))
action filter_type
action find
entity Q12218841
relation P20
type Q56061
['Q12218841', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q12218841 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Shu'ba Ibn al-Ḥajjāj
action filter_type
action find
entity Shu'ba Ibn al-Ḥajjāj
relation place of death
type administrative territorial entity
["Shu'ba Ibn al-Ḥajjāj", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Shu'ba_Ibn_al-Ḥajjāj property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q48195
SYSTEM
Basra
Q48195
(Q12218841,P20,c(Q56061))
action filter_type
action find
entity Q12218841
relation P20
type Q56061
The demise of Shu'ba Ibn al-Ḥajjāj occurred Ibn [ANSWER]
['Q12218841', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q12218841 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Basra
The demise of Shu'ba Ibn al-Ḥajjāj occurred Ibn Basra
Basra
action filter_type
action find
entity Shu'ba Ibn al-Ḥajjāj
relation place of death
type administrative territorial entity
["Shu'ba Ibn al-Ḥajjāj", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Shu'ba_Ibn_al-Ḥajjāj property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12218841
P802
Q502895
USER
Who were Shu'ba Ibn al-Ḥajjāj a notable student of ?
(Q12218841,P802,c(Q502895))
action filter_type
action find
entity Q12218841
relation P802
type Q502895
['Q12218841', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q12218841 property:P802 ?c . ?c rdf:type ontology:Q502895 }
Shu'ba Ibn al-Ḥajjāj
action filter_type
action find
entity Shu'ba Ibn al-Ḥajjāj
relation student
type common name
["Shu'ba Ibn al-Ḥajjāj", 'student', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Shu'ba_Ibn_al-Ḥajjāj property:student ?c . ?c rdf:type ontology:common_name }
[]
common name
Q220697 Q131002 Q205788
SYSTEM
Abu Yusuf, Harun al-Rashid, Sufyan al-Thawri
Q334847 Q205788 Q3814349 Q131002 Q7634669 Q4666111 Q220697 Q2390573
(Q12218841,P802,c(Q502895))
action filter_type
action find
entity Q12218841
relation P802
type Q502895
Shu'ba were [ANSWERS]
['Q12218841', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q12218841 property:P802 ?c . ?c rdf:type ontology:Q502895 }
Ibn Ishaq Sufyan al-Thawri Kisa'i Harun al-Rashid Sufyan ibn `Uyaynah Abdullah ibn Mubarak Abu Yusuf Al-Asma'i
Shu'ba were Abu Yusuf, Harun al-Rashid and Sufyan al-Thawri
Abu Yusuf Harun al-Rashid Sufyan al-Thawri
action filter_type
action find
entity Shu'ba Ibn al-Ḥajjāj
relation student
type common name
["Shu'ba Ibn al-Ḥajjāj", 'student', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Shu'ba_Ibn_al-Ḥajjāj property:student ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131002
P19
Q56061
USER
Which administrative territory was Harun al-Rashid born at ?
(Q131002,P19,c(Q56061))
action filter_type
action find
entity Q131002
relation P19
type Q56061
['Q131002', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q131002 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Harun al-Rashid
action filter_type
action find
entity Harun al-Rashid
relation place of birth
type administrative territorial entity
['Harun al-Rashid', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Harun_al-Rashid property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q636188
SYSTEM
Rey, Iran
Q636188
(Q131002,P19,c(Q56061))
action filter_type
action find
entity Q131002
relation P19
type Q56061
Which administrative territory was Harun al-Rashid born at
['Q131002', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q131002 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Rey, Iran
Which administrative territory was Harun al-Rashid born at
Rey, Iran
action filter_type
action find
entity Harun al-Rashid
relation place of birth
type administrative territorial entity
['Harun al-Rashid', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Harun_al-Rashid property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3619005
Q56061
USER
And what about Antonia Pantoja?
(Q3619005,P19,c(Q56061))
action filter_type
action find
entity Q3619005
relation P19
type Q56061
['Q3619005', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q3619005 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Antonia Pantoja
action filter_type
action find
entity Antonia Pantoja
relation place of birth
type administrative territorial entity
['Antonia Pantoja', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Antonia_Pantoja property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q41211
SYSTEM
San Juan
Q41211
(Q3619005,P19,c(Q56061))
action filter_type
action find
entity Q3619005
relation P19
type Q56061
[ANSWER]
['Q3619005', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q3619005 property:P19 ?i . ?i rdf:type ontology:Q56061 }
San Juan
San Juan
action filter_type
action find
entity Antonia Pantoja
relation place of birth
type administrative territorial entity
['Antonia Pantoja', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Antonia_Pantoja property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have their base port as atleast 3 administrative territories ?
(c(Q2235308),P532,c(Q56061))
action atleast
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?u ) WHERE { ?o property:P532 ?g . ?o rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q56061 } GROUP BY ?o } . FILTER ( ?u >= 3 ) }
action atleast
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?u ) WHERE { ?o property:port_of_registry ?g . ?o rdf:type ontology:ship_type . ?g rdf:type ontology:administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?u >= 3 ) }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action atleast
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[ANSWER] have their base port as atleast 3 administrative territories
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?u ) WHERE { ?o property:P532 ?g . ?o rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q56061 } GROUP BY ?o } . FILTER ( ?u >= 3 ) }
MS Arrow
MS Arrow have their base port as atleast 3 administrative territories
MS Arrow
action atleast
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?u ) WHERE { ?o property:port_of_registry ?g . ?o rdf:type ontology:ship_type . ?g rdf:type ontology:administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?u >= 3 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q20
P532
Q15617994 Q2235308
USER
How many administrative territories are the port of registry of greater number of ship types than Norway ?
(c(Q2235308),P532,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P532
type Q15617994
type Q2235308
action count
action filter_type
action find
entity Q20
relation P532
type Q15617994
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q15617994 . ?o property:P532 ?t } GROUP BY ?t } . FILTER ( ?v > ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Q20 property:P532 ?c . ?c rdf:type ontology:Q15617994 } } }
Norway
action count
action greater
action find_reverse_tuple_counts
relation port of registry
type designation for an administrative territorial entity
type ship type
action count
action filter_type
action find
entity Norway
relation port of registry
type designation for an administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ontology:ship_type . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:port_of_registry ?t } GROUP BY ?t } . FILTER ( ?v > ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Norway property:port_of_registry ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity ship type
SYSTEM
2
Q804 Q490453
(c(Q2235308),P532,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P532
type Q15617994
type Q2235308
action count
action filter_type
action find
entity Q20
relation P532
type Q15617994
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q15617994 . ?o property:P532 ?t } GROUP BY ?t } . FILTER ( ?v > ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Q20 property:P532 ?c . ?c rdf:type ontology:Q15617994 } } }
Panama Eckernförde
2
action count
action greater
action find_reverse_tuple_counts
relation port of registry
type designation for an administrative territorial entity
type ship type
action count
action filter_type
action find
entity Norway
relation port of registry
type designation for an administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ontology:ship_type . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:port_of_registry ?t } GROUP BY ?t } . FILTER ( ?v > ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Norway property:port_of_registry ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q429676
P291
Q56061 Q571 Q21114848
USER
Which administrative territories are the publication regions of more number of books or magazine genres than Sereď ?
(c(Q571)|c(Q21114848),P291,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q429676
relation P291
type Q571
type Q21114848
[[{'concept': 'Q571'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?y ) WHERE { VALUES ( ?f ) { ( ontology:Q571 ) ( ontology:Q21114848 ) } . ?n rdf:type ?f } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P291 resource:Q429676 . { ?v rdf:type ?l . VALUES ( ?l ) { ( ontology:Q571 ) ( ontology:Q21114848 ) } } } } . FILTER ( ?y > ?j ) }
Sereď
action greater
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Sereď
relation place of publication
type book
type magazine genre
[[{'concept': 'book'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?y ) WHERE { VALUES ( ?f ) { ( ontology:book ) ( ontology:magazine_genre ) } . ?n rdf:type ?f } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:place_of_publication resource:Sereď . { ?v rdf:type ?l . VALUES ( ?l ) { ( ontology:book ) ( ontology:magazine_genre ) } } } } . FILTER ( ?y > ?j ) }
[]
administrative territorial entity book magazine genre
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q909146 Q2512312 Q501661 Q982367 Q3150 Q11974 Q10305 Q23337 Q33959 Q586 Q9920 Q1757 Q1754 Q1022 Q90 Q3846 Q597 Q365 Q5836 Q8818 Q8810 Q1155 Q209055 Q3561 Q40347 Q739452 Q8678 Q490 Q495 Q2044 Q23436 Q2280 Q3141 Q671288 Q72 Q334 Q16554 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1297 Q3033 Q936183 Q1748 Q45412 Q84 Q40269 Q5112 Q2103 Q1741 Q178093 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q60 Q1931927 Q1781 Q33935 Q16567 Q1861 Q14314 Q5092 Q956 Q1492 Q437 Q1479 Q2807 Q42735 Q242478 Q220 Q10282 Q26421 Q37995 Q6761 Q761 Q2634 Q3584 Q1726 Q8717 Q3519 Q64 Q65 Q2028 Q61 Q62 Q18125 Q12439 Q470445 Q1352 Q8385 Q72259 Q19785 Q647 Q641 Q193367 Q727 Q649 Q24826 Q128306 Q997170 Q580 Q585 Q34370 Q207639 Q2066 Q100 Q3834 Q216 Q350 Q1348 Q1085
(c(Q571)|c(Q21114848),P291,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q429676
relation P291
type Q571
type Q21114848
[ANSWERS] are the publication regions of more number of books or magazine genres than Sereď
[[{'concept': 'Q571'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?y ) WHERE { VALUES ( ?f ) { ( ontology:Q571 ) ( ontology:Q21114848 ) } . ?n rdf:type ?f } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P291 resource:Q429676 . { ?v rdf:type ?l . VALUES ( ?l ) { ( ontology:Q571 ) ( ontology:Q21114848 ) } } } } . FILTER ( ?y > ?j ) }
Godalming Eppegem Schleswig Mineola Jena Las Palmas de Gran Canaria Zaragoza Salt Lake City Nice Bonn Haarlem Helsinki Stockholm Stuttgart Paris Minden Lisbon Cologne Toledo Valencia Granada Busto Arsizio Torquay Algiers Norman Garden City Rio de Janeiro Milan Turin Florence Edinburgh Minsk Melbourne Bend Zürich Singapore Denver Versailles Shanghai Tbilisi Nagpur Sydney Boulder Chicago Göttingen Tonbridge Copenhagen Coimbra London Porto Alegre Adelaide Bochum Vienna Poughkeepsie Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New York City Bracon Ash Budapest Tel Aviv Columbus Bangkok Santiago de Compostela Baltimore Beijing Barcelona Ljubljana Bordeaux Madrid Olympia Levoča Rome Pamplona Dordrecht Yangon Livorno Białystok Naples Nový Jičín Munich Seville Bari Berlin Los Angeles Verona Washington, D.C. San Francisco Manchester Detroit Prostějov Chennai Ostrava Portsmouth Harpenden Rennes Venice Porvoo Amsterdam Moscow Liverpool Denton Waterville Łódź Oslo Rotterdam Chichester Essen Boston Konstanz Vilnius Cambridge Kolkata Prague
Prague, Zürich and Moscow are the publication regions of more number of books or magazine genres than Sereď
Prague Zürich Moscow
action greater
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Sereď
relation place of publication
type book
type magazine genre
[[{'concept': 'book'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?y ) WHERE { VALUES ( ?f ) { ( ontology:book ) ( ontology:magazine_genre ) } . ?n rdf:type ?f } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:place_of_publication resource:Sereď . { ?v rdf:type ?l . VALUES ( ?l ) { ( ontology:book ) ( ontology:magazine_genre ) } } } } . FILTER ( ?y > ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q15088
P291
Q56061 Q571 Q21114848
USER
And also tell me about Tarragona?
(c(Q571)|c(Q21114848),P291,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q15088
relation P291
type Q571
type Q21114848
[[{'concept': 'Q571'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:Q571 ) ( ontology:Q21114848 ) } . ?m rdf:type ?k } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { { ?f rdf:type ontology:Q21114848 } UNION { ?f rdf:type ontology:Q571 } } . ?f property:P291 resource:Q15088 } } . FILTER ( ?p > ?g ) }
Tarragona
action greater
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Tarragona
relation place of publication
type book
type magazine genre
[[{'concept': 'book'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:book ) ( ontology:magazine_genre ) } . ?m rdf:type ?k } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { { ?f rdf:type ontology:magazine_genre } UNION { ?f rdf:type ontology:book } } . ?f property:place_of_publication resource:Tarragona } } . FILTER ( ?p > ?g ) }
[]
administrative territorial entity book magazine genre
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q909146 Q2512312 Q501661 Q982367 Q3150 Q11974 Q10305 Q23337 Q33959 Q586 Q9920 Q1757 Q1754 Q1022 Q90 Q3846 Q597 Q365 Q5836 Q8818 Q8810 Q1155 Q209055 Q3561 Q40347 Q739452 Q8678 Q490 Q495 Q2044 Q23436 Q2280 Q3141 Q671288 Q72 Q334 Q16554 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1297 Q3033 Q936183 Q1748 Q45412 Q84 Q40269 Q5112 Q2103 Q1741 Q178093 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q60 Q1931927 Q1781 Q33935 Q16567 Q1861 Q14314 Q5092 Q956 Q1492 Q437 Q1479 Q2807 Q42735 Q242478 Q220 Q10282 Q26421 Q37995 Q6761 Q761 Q2634 Q3584 Q1726 Q8717 Q3519 Q64 Q65 Q2028 Q61 Q62 Q18125 Q12439 Q470445 Q1352 Q8385 Q72259 Q19785 Q647 Q641 Q193367 Q727 Q649 Q24826 Q128306 Q997170 Q580 Q585 Q34370 Q207639 Q2066 Q100 Q3834 Q216 Q350 Q1348 Q1085
(c(Q571)|c(Q21114848),P291,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q15088
relation P291
type Q571
type Q21114848
[ANSWERS]
[[{'concept': 'Q571'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:Q571 ) ( ontology:Q21114848 ) } . ?m rdf:type ?k } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { { ?f rdf:type ontology:Q21114848 } UNION { ?f rdf:type ontology:Q571 } } . ?f property:P291 resource:Q15088 } } . FILTER ( ?p > ?g ) }
Godalming Eppegem Schleswig Mineola Jena Las Palmas de Gran Canaria Zaragoza Salt Lake City Nice Bonn Haarlem Helsinki Stockholm Stuttgart Paris Minden Lisbon Cologne Toledo Valencia Granada Busto Arsizio Torquay Algiers Norman Garden City Rio de Janeiro Milan Turin Florence Edinburgh Minsk Melbourne Bend Zürich Singapore Denver Versailles Shanghai Tbilisi Nagpur Sydney Boulder Chicago Göttingen Tonbridge Copenhagen Coimbra London Porto Alegre Adelaide Bochum Vienna Poughkeepsie Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New York City Bracon Ash Budapest Tel Aviv Columbus Bangkok Santiago de Compostela Baltimore Beijing Barcelona Ljubljana Bordeaux Madrid Olympia Levoča Rome Pamplona Dordrecht Yangon Livorno Białystok Naples Nový Jičín Munich Seville Bari Berlin Los Angeles Verona Washington, D.C. San Francisco Manchester Detroit Prostějov Chennai Ostrava Portsmouth Harpenden Rennes Venice Porvoo Amsterdam Moscow Liverpool Denton Waterville Łódź Oslo Rotterdam Chichester Essen Boston Konstanz Vilnius Cambridge Kolkata Prague
Prague Zürich Moscow
action greater
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Tarragona
relation place of publication
type book
type magazine genre
[[{'concept': 'book'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:book ) ( ontology:magazine_genre ) } . ?m rdf:type ?k } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { { ?f rdf:type ontology:magazine_genre } UNION { ?f rdf:type ontology:book } } . ?f property:place_of_publication resource:Tarragona } } . FILTER ( ?p > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027033
P532
Q56061 Q2235308
USER
Which ship types have their base port as more number of administrative territories than Camden ?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027033
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?s ) WHERE { ?f property:P532 ?i . ?f rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q24027033 property:P532 ?n . ?n rdf:type ontology:Q2235308 } } . FILTER ( ?s > ?t ) }
Camden
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Camden
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?s ) WHERE { ?f property:port_of_registry ?i . ?f rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Camden property:port_of_registry ?n . ?n rdf:type ontology:ship_type } } . FILTER ( ?s > ?t ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027033
relation P532
type Q2235308
[ANSWERS] have their base port as more number of administrative territories than Camden
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?s ) WHERE { ?f property:P532 ?i . ?f rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q24027033 property:P532 ?n . ?n rdf:type ontology:Q2235308 } } . FILTER ( ?s > ?t ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura, SS Maxim Gorkiy and RMS Aquitania have their base port as more number of administrative territories than Camden
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Camden
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?s ) WHERE { ?f property:port_of_registry ?i . ?f rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Camden property:port_of_registry ?n . ?n rdf:type ontology:ship_type } } . FILTER ( ?s > ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q24027457
P532
Q56061 Q2235308
USER
And also tell me about Adela S Hills?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027457
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?q ) WHERE { ?w property:P532 ?k . ?w rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Q24027457 property:P532 ?c . ?c rdf:type ontology:Q2235308 } } . FILTER ( ?q > ?y ) }
Adela S Hills
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Adela S Hills
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?q ) WHERE { ?w property:port_of_registry ?k . ?w rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Adela_S_Hills property:port_of_registry ?c . ?c rdf:type ontology:ship_type } } . FILTER ( ?q > ?y ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027457
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?q ) WHERE { ?w property:P532 ?k . ?w rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Q24027457 property:P532 ?c . ?c rdf:type ontology:Q2235308 } } . FILTER ( ?q > ?y ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Adela S Hills
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?q ) WHERE { ?w property:port_of_registry ?k . ?w rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Adela_S_Hills property:port_of_registry ?c . ?c rdf:type ontology:ship_type } } . FILTER ( ?q > ?y ) }
[]