Simple Question (Direct)
Simple Question
Q558750
P21
Q290
USER
What is the sex of Robert Emmet ?
(Q558750,P21,c(Q290))
action filter_type
action find
entity Q558750
relation P21
type Q290
['Q558750', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q558750 property:P21 ?h . ?h rdf:type ontology:Q290 }
Robert Emmet
action filter_type
action find
entity Robert Emmet
relation gender
type sex
['Robert Emmet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Robert_Emmet property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q558750,P21,c(Q290))
action filter_type
action find
entity Q558750
relation P21
type Q290
The sex of Robert Emmet is the [ANSWER]
['Q558750', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q558750 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
The sex of Robert Emmet is the male
male
action filter_type
action find
entity Robert Emmet
relation gender
type sex
['Robert Emmet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Robert_Emmet property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q558750
P50
Q49848
USER
Which document is Robert Emmet an author of ?
(c(Q49848),P50,Q558750)
action filter_type
action find_reverse
entity Q558750
relation P50
type Q49848
[{'concept': 'Q49848'}, 'P50', 'Q558750']
SELECT DISTINCT ?w WHERE { ?w property:P50 resource:Q558750 . ?w rdf:type ontology:Q49848 }
Robert Emmet
action filter_type
action find_reverse
entity Robert Emmet
relation author
type document
[{'concept': 'document'}, 'author', 'Robert Emmet']
SELECT DISTINCT ?w WHERE { ?w property:author resource:Robert_Emmet . ?w rdf:type ontology:document }
[]
document
Q19099521
SYSTEM
Robert Emmet's letter to Sarah Curran
Q19099521
(c(Q49848),P50,Q558750)
action filter_type
action find_reverse
entity Q558750
relation P50
type Q49848
[ANSWER] is Robert Emmet an author of
[{'concept': 'Q49848'}, 'P50', 'Q558750']
SELECT DISTINCT ?w WHERE { ?w property:P50 resource:Q558750 . ?w rdf:type ontology:Q49848 }
Robert Emmet's letter to Sarah Curran
Robert Emmet's letter to Sarah Curran is Robert Emmet an author of
Robert Emmet's letter to Sarah Curran
action filter_type
action find_reverse
entity Robert Emmet
relation author
type document
[{'concept': 'document'}, 'author', 'Robert Emmet']
SELECT DISTINCT ?w WHERE { ?w property:author resource:Robert_Emmet . ?w rdf:type ontology:document }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q558750
P921
Q191067
USER
Which article is Robert Emmet a main subject of ?
(c(Q191067),P921,Q558750)
action filter_type
action find_reverse
entity Q558750
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q558750']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q191067 . ?h property:P921 resource:Q558750 }
Robert Emmet
action filter_type
action find_reverse
entity Robert Emmet
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Robert Emmet']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:article . ?h property:main_subject resource:Robert_Emmet }
[]
article
Q19094913
SYSTEM
Emmet, Robert (DNB00)
Q19094913
(c(Q191067),P921,Q558750)
action filter_type
action find_reverse
entity Q558750
relation P921
type Q191067
[ANSWER] is Robert Emmet a main subject of
[{'concept': 'Q191067'}, 'P921', 'Q558750']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q191067 . ?h property:P921 resource:Q558750 }
Emmet, Robert (DNB00)
Emmet, Robert (DNB00) is Robert Emmet a main subject of
Emmet, Robert (DNB00)
action filter_type
action find_reverse
entity Robert Emmet
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Robert Emmet']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:article . ?h property:main_subject resource:Robert_Emmet }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q558750
P1412
Q34770
USER
Which language does Robert Emmet speak in ?
(Q558750,P1412,c(Q34770))
action filter_type
action find
entity Q558750
relation P1412
type Q34770
['Q558750', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q558750 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Robert Emmet
action filter_type
action find
entity Robert Emmet
relation languages spoken, written or signed
type language
['Robert Emmet', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Robert_Emmet property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q558750,P1412,c(Q34770))
action filter_type
action find
entity Q558750
relation P1412
type Q34770
Robert Emmet speaks the [ANSWER]
['Q558750', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q558750 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
English
Robert Emmet speaks the English
English
action filter_type
action find
entity Robert Emmet
relation languages spoken, written or signed
type language
['Robert Emmet', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Robert_Emmet property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q1048835
USER
Which political territories are atmost 2 languages associated to as the official language ?
(c(Q1048835),P37,c(Q34770))
action atmost
action find_tuple_counts
relation P37
type Q1048835
type Q34770
value 2
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?h ) WHERE { ?z property:P37 ?y . ?y rdf:type ontology:Q34770 . ?z rdf:type ontology:Q1048835 } GROUP BY ?z } . FILTER ( ?h <= 2 ) }
action atmost
action find_tuple_counts
relation official language
type political territorial entity
type language
value 2
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?h ) WHERE { ?z property:official_language ?y . ?y rdf:type ontology:language . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?z } . FILTER ( ?h <= 2 ) }
[]
language political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q13116 Q127167 Q1000 Q2012050 Q193714 Q49657 Q4540 Q691 Q89959 Q686790 Q785 Q193619 Q769 Q49662 Q49663 Q49660 Q49661 Q240 Q763 Q917883 Q35086 Q766 Q49655 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q300608 Q1771153 Q4395303 Q5705 Q181633 Q13786 Q16 Q5785 Q35 Q171852 Q624511 Q641138 Q4421880 Q15601 Q1628531 Q649612 Q789334 Q757 Q685 Q42780 Q778 Q183 Q25228 Q4474 Q408 Q49659 Q1631311 Q1444150 Q9648 Q643919 Q49654 Q49651 Q231 Q234 Q90027 Q40 Q4218003 Q9331 Q3899 Q1644430 Q9337 Q4410386 Q23635 Q171965 Q18257 Q781 Q1907203 Q4325072 Q1769772
(c(Q1048835),P37,c(Q34770))
action atmost
action find_tuple_counts
relation P37
type Q1048835
type Q34770
value 2
[ANSWERS] are atmost 2 languages associated to as the official language
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?h ) WHERE { ?z property:P37 ?y . ?y rdf:type ontology:Q34770 . ?z rdf:type ontology:Q1048835 } GROUP BY ?z } . FILTER ( ?h <= 2 ) }
Benelux Western Cape Gabon Donetsk Oblast Mandatory Palestine Schaan Eschen Papua New Guinea French Community of Belgium Mediona Jersey Union of South Africa Grenada Gamprin Balzers Planken Mauren Brussels Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Schellenberg Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia A Ver-o-Mar Albuixech Rivne Catalonia Mykolaiv Oblast Cebu Canada Cayman Islands Denmark Odessa Oblast Aracena Duchy of Cleves Skypche Corbera de Llobregat Quintanar de la Orden Coca, Segovia Balažer Saint Vincent and the Grenadines Solomon Islands Ningbo The Bahamas Germany Anguilla Ortuella Australia Ruggell Cuéllar Alboloduy Falkland Islands Torfaen County Borough Triesen Triesenberg Walloon Region Flemish Region German-speaking Community of Belgium Austria Kachkarivka Flemish Community Kalimantan Timur Monreal del Campo Flemish Region Svitlohirske Bermuda Luhansk Oblast Abella de la Conca Antigua and Barbuda San Miguel del Arroyo Zoriane Bierge
Germany, Australia and Denmark are atmost 2 languages associated to as the official language
Germany Australia Denmark
action atmost
action find_tuple_counts
relation official language
type political territorial entity
type language
value 2
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?h ) WHERE { ?z property:official_language ?y . ?y rdf:type ontology:language . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?z } . FILTER ( ?h <= 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q1048835
USER
How many political territories are known to have diplomatic connections with atleast 42 administrative territories and political territories ?
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action count
action atleast
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 42
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?i WHERE { VALUES ( ?h ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?u rdf:type ?h } GROUP BY ?i } . FILTER ( ?e >= 42 ) }
action count
action atleast
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 42
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?i WHERE { VALUES ( ?h ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?u rdf:type ?h } GROUP BY ?i } . FILTER ( ?e >= 42 ) }
[]
designation for an administrative territorial entity political territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action count
action atleast
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 42
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?i WHERE { VALUES ( ?h ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?u rdf:type ?h } GROUP BY ?i } . FILTER ( ?e >= 42 ) }
Germany Australia
2
action count
action atleast
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 42
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?i WHERE { VALUES ( ?h ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?u rdf:type ?h } GROUP BY ?i } . FILTER ( ?e >= 42 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P2860
Q49848 Q49848 Q317623
USER
Which documents are acknowledged by around 15 documents or technical standards ?
(c(Q49848)|c(Q317623),P2860,c(Q49848))
action approx
action union
action find_reverse_tuple_counts
relation P2860
type Q49848
type Q49848
action find_reverse_tuple_counts
relation P2860
type Q49848
type Q317623
value 15
[[{'concept': 'Q49848'}, {'concept': 'Q317623'}], 'P2860', {'concept': 'Q49848'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:P2860 ?l . ?z rdf:type ontology:Q49848 . ?l rdf:type ontology:Q49848 } UNION { ?z property:P2860 ?l . ?l rdf:type ontology:Q49848 . ?z rdf:type ontology:Q317623 } } GROUP BY ?l } . FILTER ( ?k = 15 ) }
action approx
action union
action find_reverse_tuple_counts
relation cites
type document
type document
action find_reverse_tuple_counts
relation cites
type document
type technical standard
value 15
[[{'concept': 'document'}, {'concept': 'technical standard'}], 'cites', {'concept': 'document'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:cites ?l . ?z rdf:type ontology:document . ?l rdf:type ontology:document } UNION { ?z property:cites ?l . ?l rdf:type ontology:document . ?z rdf:type ontology:technical_standard } } GROUP BY ?l } . FILTER ( ?k = 15 ) }
[]
document document technical standard
Q26689923 Q26689924 Q26689925
SYSTEM
XML Data Encoding Specification for Need-To-Know Metadata, version 10, XML Data Encoding Specification for Need-To-Know Metadata, version 9, XML Data Encoding Specification for Need-To-Know Metadata, version 8
Q26689923 Q26689924 Q26689925
(c(Q49848)|c(Q317623),P2860,c(Q49848))
action approx
action union
action find_reverse_tuple_counts
relation P2860
type Q49848
type Q49848
action find_reverse_tuple_counts
relation P2860
type Q49848
type Q317623
value 15
[ANSWERS]
[[{'concept': 'Q49848'}, {'concept': 'Q317623'}], 'P2860', {'concept': 'Q49848'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:P2860 ?l . ?z rdf:type ontology:Q49848 . ?l rdf:type ontology:Q49848 } UNION { ?z property:P2860 ?l . ?l rdf:type ontology:Q49848 . ?z rdf:type ontology:Q317623 } } GROUP BY ?l } . FILTER ( ?k = 15 ) }
XML Data Encoding Specification for Need-To-Know Metadata, version 10 XML Data Encoding Specification for Need-To-Know Metadata, version 9 XML Data Encoding Specification for Need-To-Know Metadata, version 8
XML Data Encoding Specification for Need-To-Know Metadata, version 10, XML Data Encoding Specification for Need-To-Know Metadata, version 9 and XML Data Encoding Specification for Need-To-Know Metadata, version 8 are acknowledged by around 15 documents or technical standards
XML Data Encoding Specification for Need-To-Know Metadata, version 10 XML Data Encoding Specification for Need-To-Know Metadata, version 9 XML Data Encoding Specification for Need-To-Know Metadata, version 8
action approx
action union
action find_reverse_tuple_counts
relation cites
type document
type document
action find_reverse_tuple_counts
relation cites
type document
type technical standard
value 15
[[{'concept': 'document'}, {'concept': 'technical standard'}], 'cites', {'concept': 'document'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:cites ?l . ?z rdf:type ontology:document . ?l rdf:type ontology:document } UNION { ?z property:cites ?l . ?l rdf:type ontology:document . ?z rdf:type ontology:technical_standard } } GROUP BY ?l } . FILTER ( ?k = 15 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q859570 Q183
P6
Q502895
USER
Which people are the heads of the government of Germany or Ceptura ?
OR((Q183,P6,c(Q502895)), (Q859570,P6,c(Q502895)))
action filter_type
action union
action find
entity Q183
relation P6
action find
entity Q859570
relation P6
type Q502895
{'OR': [['Q183', 'P6', {'concept': 'Q502895'}], ['Q859570', 'P6', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q183 property:P6 ?g } UNION { resource:Q859570 property:P6 ?g } } . ?g rdf:type ontology:Q502895 }
Ceptura Germany
action filter_type
action union
action find
entity Germany
relation head of government
action find
entity Ceptura
relation head of government
type common name
{'OR': [['Germany', 'head of government', {'concept': 'common name'}], ['Ceptura', 'head of government', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Germany property:head_of_government ?g } UNION { resource:Ceptura property:head_of_government ?g } } . ?g rdf:type ontology:common_name }
[]
common name
Q2492 Q2512 Q2516 Q2496 Q2530 Q26138258 Q2571 Q567 Q2514 Q23749394
SYSTEM
Some of them are Konrad Adenauer, Kurt Georg Kiesinger, Helmut Schmidt, Ludwig Erhard, Gerhard Schröder, Constantin Chioveanu, Walter Scheel, Angela Merkel, Willy Brandt, Gheorghe Pană
Q2492 Q2518 Q2530 Q2496 Q2514 Q2516 Q2571 Q26138258 Q2512 Q23749394 Q567
OR((Q183,P6,c(Q502895)), (Q859570,P6,c(Q502895)))
action filter_type
action union
action find
entity Q183
relation P6
action find
entity Q859570
relation P6
type Q502895
[ANSWERS] are the heads of the government of Germany or Ceptura
{'OR': [['Q183', 'P6', {'concept': 'Q502895'}], ['Q859570', 'P6', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q183 property:P6 ?g } UNION { resource:Q859570 property:P6 ?g } } . ?g rdf:type ontology:Q502895 }
Konrad Adenauer Helmut Kohl Gerhard Schröder Ludwig Erhard Willy Brandt Helmut Schmidt Walter Scheel Constantin Chioveanu Kurt Georg Kiesinger Gheorghe Pană Angela Merkel
Konrad Adenauer, Kurt Georg Kiesinger, Helmut Schmidt, Ludwig Erhard, Gerhard Schröder, Constantin Chioveanu, Walter Scheel, Angela Merkel, Willy Brandt and Gheorghe Pană are the heads of the government of Germany or Ceptura
Konrad Adenauer Kurt Georg Kiesinger Helmut Schmidt Ludwig Erhard Gerhard Schröder Constantin Chioveanu Walter Scheel Angela Merkel Willy Brandt Gheorghe Pană
action filter_type
action union
action find
entity Germany
relation head of government
action find
entity Ceptura
relation head of government
type common name
{'OR': [['Germany', 'head of government', {'concept': 'common name'}], ['Ceptura', 'head of government', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Germany property:head_of_government ?g } UNION { resource:Ceptura property:head_of_government ?g } } . ?g rdf:type ontology:common_name }
[]