Simple Question (Direct)
Simple Question
Q560021
P22
Q502895
USER
Which person was the father of Ferdinand Charles, Archduke of Austria ?
(Q560021,P22,c(Q502895))
action filter_type
action find
entity Q560021
relation P22
type Q502895
['Q560021', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q560021 property:P22 ?h }
Ferdinand Charles, Archduke of Austria
action filter_type
action find
entity Ferdinand Charles, Archduke of Austria
relation father
type common name
['Ferdinand Charles, Archduke of Austria', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Ferdinand_Charles,_Archduke_of_Austria property:father ?h }
[]
common name
Q112066
SYSTEM
Leopold V, Archduke of Austria
Q112066
(Q560021,P22,c(Q502895))
action filter_type
action find
entity Q560021
relation P22
type Q502895
[ANSWER] was the father of Ferdinand Charles, Archduke of Austria
['Q560021', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q560021 property:P22 ?h }
Leopold V, Archduke of Austria
Leopold V, Archduke of Austria was the father of Ferdinand Charles, Archduke of Austria
Leopold V, Archduke of Austria
action filter_type
action find
entity Ferdinand Charles, Archduke of Austria
relation father
type common name
['Ferdinand Charles, Archduke of Austria', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Ferdinand_Charles,_Archduke_of_Austria property:father ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q560021
P25
Q502895
USER
Who was the mom of Ferdinand Charles, Archduke of Austria ?
(Q560021,P25,c(Q502895))
action filter_type
action find
entity Q560021
relation P25
type Q502895
['Q560021', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q560021 property:P25 ?d }
Ferdinand Charles, Archduke of Austria
action filter_type
action find
entity Ferdinand Charles, Archduke of Austria
relation mother
type common name
['Ferdinand Charles, Archduke of Austria', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Ferdinand_Charles,_Archduke_of_Austria property:mother ?d }
[]
common name
Q253814
SYSTEM
Claudia de' Medici
Q253814
(Q560021,P25,c(Q502895))
action filter_type
action find
entity Q560021
relation P25
type Q502895
The mom of Ferdinand Charles , Archduke of Austria was born [ANSWER]
['Q560021', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q560021 property:P25 ?d }
Claudia de' Medici
The mom of Ferdinand Charles , Archduke of Austria was born Claudia de' Medici
Claudia de' Medici
action filter_type
action find
entity Ferdinand Charles, Archduke of Austria
relation mother
type common name
['Ferdinand Charles, Archduke of Austria', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Ferdinand_Charles,_Archduke_of_Austria property:mother ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4683100
Q502895
USER
And also tell me about Adityadhornkitikhun?
(Q4683100,P25,c(Q502895))
action filter_type
action find
entity Q4683100
relation P25
type Q502895
['Q4683100', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q4683100 property:P25 ?j . ?j rdf:type ontology:Q502895 }
Adityadhornkitikhun
action filter_type
action find
entity Adityadhornkitikhun
relation mother
type common name
['Adityadhornkitikhun', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Adityadhornkitikhun property:mother ?j . ?j rdf:type ontology:common_name }
[]
common name
Q1089410
SYSTEM
Chulabhorn Walailak
Q1089410
(Q4683100,P25,c(Q502895))
action filter_type
action find
entity Q4683100
relation P25
type Q502895
[ANSWER]
['Q4683100', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q4683100 property:P25 ?j . ?j rdf:type ontology:Q502895 }
Chulabhorn Walailak
Chulabhorn Walailak
action filter_type
action find
entity Adityadhornkitikhun
relation mother
type common name
['Adityadhornkitikhun', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Adityadhornkitikhun property:mother ?j . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 789 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 789
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?w <= 789 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 789
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?w <= 789 ) }
[]
musical instrument common name
SYSTEM
59
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 789
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?w <= 789 ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
59
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 789
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?w <= 789 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q253814
P734
Q82799
USER
Who is associated with Claudia de' Medici ?
(Q253814,P734,c(Q82799))
action filter_type
action find
entity Q253814
relation P734
type Q82799
['Q253814', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q253814 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Claudia de' Medici
action filter_type
action find
entity Claudia de' Medici
relation family name
type name
["Claudia de' Medici", 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Claudia_de'_Medici property:family_name ?l . ?l rdf:type ontology:name }
[]
name
Q23039018
SYSTEM
Medici
Q23039018
(Q253814,P734,c(Q82799))
action filter_type
action find
entity Q253814
relation P734
type Q82799
Of [ANSWER] is associated with Claudia de' [ANSWER]
['Q253814', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q253814 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Medici
Of Medici is associated with Claudia de' Medici
Medici
action filter_type
action find
entity Claudia de' Medici
relation family name
type name
["Claudia de' Medici", 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Claudia_de'_Medici property:family_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1089410
P19
Q56061
USER
Which administrative territory is the place of birth of Chulabhorn Walailak ?
(Q1089410,P19,c(Q56061))
action filter_type
action find
entity Q1089410
relation P19
type Q56061
['Q1089410', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q1089410 property:P19 ?g }
Chulabhorn Walailak
action filter_type
action find
entity Chulabhorn Walailak
relation place of birth
type administrative territorial entity
['Chulabhorn Walailak', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Chulabhorn_Walailak property:place_of_birth ?g }
[]
administrative territorial entity
Q1861
SYSTEM
Bangkok
Q1861
(Q1089410,P19,c(Q56061))
action filter_type
action find
entity Q1089410
relation P19
type Q56061
[ANSWER] is the place of birth of Chulabhorn Walailak
['Q1089410', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q1089410 property:P19 ?g }
Bangkok
Bangkok is the place of birth of Chulabhorn Walailak
Bangkok
action filter_type
action find
entity Chulabhorn Walailak
relation place of birth
type administrative territorial entity
['Chulabhorn Walailak', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Chulabhorn_Walailak property:place_of_birth ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q964826
Q56061
USER
And what about Lev Karakhan?
(Q964826,P19,c(Q56061))
action filter_type
action find
entity Q964826
relation P19
type Q56061
['Q964826', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q964826 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Lev Karakhan
action filter_type
action find
entity Lev Karakhan
relation place of birth
type administrative territorial entity
['Lev Karakhan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Lev_Karakhan property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q994
SYSTEM
Tbilisi
Q994
(Q964826,P19,c(Q56061))
action filter_type
action find
entity Q964826
relation P19
type Q56061
[ANSWER]
['Q964826', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q964826 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Tbilisi
Tbilisi
action filter_type
action find
entity Lev Karakhan
relation place of birth
type administrative territorial entity
['Lev Karakhan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Lev_Karakhan property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7396115 Q964826
P19 P20
Q56061
USER
Which administrative territories did Lev Karakhan die or are the birthplace of Sabina Magliocco ?
OR((Q964826,P20,c(Q56061)), (Q7396115,P19,c(Q56061)))
action filter_type
action union
action find
entity Q964826
relation P20
action find
entity Q7396115
relation P19
type Q56061
{'OR': [['Q964826', 'P20', {'concept': 'Q56061'}], ['Q7396115', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q964826 property:P20 ?a } UNION { resource:Q7396115 property:P19 ?a } } . ?a rdf:type ontology:Q56061 }
Sabina Magliocco Lev Karakhan
action filter_type
action union
action find
entity Lev Karakhan
relation place of death
action find
entity Sabina Magliocco
relation place of birth
type administrative territorial entity
{'OR': [['Lev Karakhan', 'place of death', {'concept': 'administrative territorial entity'}], ['Sabina Magliocco', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Lev_Karakhan property:place_of_death ?a } UNION { resource:Sabina_Magliocco property:place_of_birth ?a } } . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q41057 Q649
SYSTEM
Topeka, Moscow
Q41057 Q649
OR((Q964826,P20,c(Q56061)), (Q7396115,P19,c(Q56061)))
action filter_type
action union
action find
entity Q964826
relation P20
action find
entity Q7396115
relation P19
type Q56061
Lev Karakhan died in [ANSWERS] or are the birthplace of Sabina Magliocco
{'OR': [['Q964826', 'P20', {'concept': 'Q56061'}], ['Q7396115', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q964826 property:P20 ?a } UNION { resource:Q7396115 property:P19 ?a } } . ?a rdf:type ontology:Q56061 }
Topeka Moscow
Lev Karakhan died in Topeka and Moscow or are the birthplace of Sabina Magliocco
Topeka Moscow
action filter_type
action union
action find
entity Lev Karakhan
relation place of death
action find
entity Sabina Magliocco
relation place of birth
type administrative territorial entity
{'OR': [['Lev Karakhan', 'place of death', {'concept': 'administrative territorial entity'}], ['Sabina Magliocco', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Lev_Karakhan property:place_of_death ?a } UNION { resource:Sabina_Magliocco property:place_of_birth ?a } } . ?a rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q726
P180
Q82799 Q1792379 Q18783400
USER
How many names are expressed in less number of art genres and genres of sculpture than horse ?
(c(Q1792379)|c(Q18783400),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q726
relation P180
type Q1792379
type Q18783400
[[{'concept': 'Q1792379'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) ?a WHERE { { ?j rdf:type ontology:Q1792379 . ?a rdf:type ontology:Q82799 . ?j property:P180 ?a } UNION { ?j property:P180 ?a . ?a rdf:type ontology:Q82799 . ?j rdf:type ontology:Q18783400 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P180 resource:Q726 . { { ?m rdf:type ontology:Q18783400 } UNION { ?m rdf:type ontology:Q1792379 } } } } . FILTER ( ?c < ?n ) }
horse
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity horse
relation depicts
type art genre
type genre of sculpture
[[{'concept': 'art genre'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) ?a WHERE { { ?j rdf:type ontology:art_genre . ?a rdf:type ontology:name . ?j property:depicts ?a } UNION { ?j property:depicts ?a . ?a rdf:type ontology:name . ?j rdf:type ontology:genre_of_sculpture } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:depicts resource:horse . { { ?m rdf:type ontology:genre_of_sculpture } UNION { ?m rdf:type ontology:art_genre } } } } . FILTER ( ?c < ?n ) }
[]
name art genre genre of sculpture
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q1792379)|c(Q18783400),P180,c(Q82799))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q726
relation P180
type Q1792379
type Q18783400
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) ?a WHERE { { ?j rdf:type ontology:Q1792379 . ?a rdf:type ontology:Q82799 . ?j property:P180 ?a } UNION { ?j property:P180 ?a . ?a rdf:type ontology:Q82799 . ?j rdf:type ontology:Q18783400 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P180 resource:Q726 . { { ?m rdf:type ontology:Q18783400 } UNION { ?m rdf:type ontology:Q1792379 } } } } . FILTER ( ?c < ?n ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity horse
relation depicts
type art genre
type genre of sculpture
[[{'concept': 'art genre'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) ?a WHERE { { ?j rdf:type ontology:art_genre . ?a rdf:type ontology:name . ?j property:depicts ?a } UNION { ?j property:depicts ?a . ?a rdf:type ontology:name . ?j rdf:type ontology:genre_of_sculpture } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:depicts resource:horse . { { ?m rdf:type ontology:genre_of_sculpture } UNION { ?m rdf:type ontology:art_genre } } } } . FILTER ( ?c < ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027082
P532
Q56061 Q2235308
USER
How many ship types have more number of administrative territories as their base harbour than Arcturus ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027082
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?c ) WHERE { ?b rdf:type ontology:Q2235308 . ?v rdf:type ontology:Q56061 . ?b property:P532 ?v } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q24027082 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } . FILTER ( ?c > ?g ) }
Arcturus
action count
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 Arcturus
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?c ) WHERE { ?b rdf:type ontology:ship_type . ?v rdf:type ontology:administrative_territorial_entity . ?b property:port_of_registry ?v } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Arcturus property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } . FILTER ( ?c > ?g ) }
[]
administrative territorial entity ship type
SYSTEM
70
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 count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027082
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?c ) WHERE { ?b rdf:type ontology:Q2235308 . ?v rdf:type ontology:Q56061 . ?b property:P532 ?v } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q24027082 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } . FILTER ( ?c > ?g ) }
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
70
action count
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 Arcturus
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?c ) WHERE { ?b rdf:type ontology:ship_type . ?v rdf:type ontology:administrative_territorial_entity . ?b property:port_of_registry ?v } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Arcturus property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } . FILTER ( ?c > ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have approximately 2 administrative territories as registry port ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?h ) WHERE { ?g property:P532 ?y . ?g rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q56061 } GROUP BY ?g } . FILTER ( ?h = 2 ) }
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?h ) WHERE { ?g property:port_of_registry ?y . ?g rdf:type ontology:ship_type . ?y rdf:type ontology:administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?h = 2 ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q33209
SYSTEM
MS Azura, SS Maxim Gorkiy, Mary Celeste
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWERS] have approximately 2 administrative territories as registry port
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?h ) WHERE { ?g property:P532 ?y . ?g rdf:type ontology:Q2235308 . ?y rdf:type ontology:Q56061 } GROUP BY ?g } . FILTER ( ?h = 2 ) }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
MS Azura, SS Maxim Gorkiy and Mary Celeste have approximately 2 administrative territories as registry port
MS Azura SS Maxim Gorkiy Mary Celeste
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?h ) WHERE { ?g property:port_of_registry ?y . ?g rdf:type ontology:ship_type . ?y rdf:type ontology:administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?h = 2 ) }
[]